/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #000000; /* Pure Black */
    --card-bg: #1C1C1C; /* Dark Charcoal / Deep Gray */
    --text-color: #ffffff;
    --text-secondary: #8E8E93;
    --accent-color: #B3FF00; /* Electric Neon Lime Green */
    --accent-hover: #9ED400;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 5%;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

#nav-logo {
    height: 40px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-blog-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-blog-link:hover {
    color: #ffffff;
}

/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 5% 6rem 5%;
    flex-grow: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 800px;
}

.badge {
    background: rgba(179, 255, 0, 0.1);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2.5px;
    color: #ffffff;
}

.gradient-text {
    color: var(--accent-color); /* Flat color instead of gradient as per Finza theme */
}

#hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    font-weight: 400;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

/* Buttons */
.cta-button, .cta-button-small {
    background: var(--accent-color);
    color: #000000; /* Black text on neon green */
    border: none;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-family);
    border-radius: 100px; /* Fully rounded pill buttons */
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

.cta-button-small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.cta-button:hover, .cta-button-small:hover {
    transform: translateY(-2px) scale(1.02);
    background-color: var(--accent-hover);
}

.secondary-button {
    background: #1C1C1C; /* Solid dark gray */
    color: white;
    border: none;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.secondary-button:hover {
    background-color: #2C2C2E;
    transform: translateY(-2px);
}

/* How It Works Section - Finza Style */
#how-it-works {
    padding: 6rem 5% 10rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--card-bg); /* Solid Dark Gray */
    padding: 3.5rem 2.5rem;
    border-radius: 32px; /* Deeply rounded corners */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    text-align: left;
}

.step-card:hover {
    transform: translateY(-10px);
    background-color: #242424;
}

.step-icon {
    font-size: 2.5rem;
    background: #2C2C2E;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.step-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.step-card:hover .step-icon {
    transform: scale(1.05);
    background-color: #3A3A3C;
}

.step-number {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color); /* Highlighted number */
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 10px;
    color: #ffffff;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Footer */
footer {
    padding: 3rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1C1C1C;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}


.footer-socials {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-socials a {
    color: #ffffff; /* Keep the logo colors white! */
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* App Showcase */
#showcase {
    width: 100%;
    padding: 1rem 0 3rem 0;
    background: #000000;
    overflow: hidden;
    position: relative;
}

.showcase-container {
    overflow-x: auto;
    display: flex;
    padding: 2rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.showcase-container::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.showcase-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.slider-wrapper {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 2%;
}

.slider-nav {
    background: #1C1C1C;
    border: 2px solid #2C2C2E;
    color: #ffffff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    flex-shrink: 0;
}

.slider-nav:hover {
    background: var(--accent-color);
    color: #000000;
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: #2C2C2E;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
    width: 24px;
    border-radius: 100px;
}

.showcase-track {
    display: flex;
    gap: 30px;
    padding: 10px;
}

.screenshot-card {
    flex: 0 0 280px;
    width: 280px;
    background: #1C1C1C;
    border-radius: 36px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 4px solid #2C2C2E;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-card img {
    width: 100%;
    height: auto;
    border-radius: 28px;
    object-fit: cover;
    display: block;
}

.screenshot-card:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 30px 60px rgba(179, 255, 0, 0.15);
}

/* Full-Screen Welcome Overlay */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fullscreen-overlay.show {
    opacity: 1;
}

.fullscreen-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('App Screenshots/1.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.25);
    transform: scale(1.1); /* Prevent blur edges from showing */
    z-index: 1;
}

.fullscreen-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
}

.fullscreen-content h1 {
    font-size: 4.5rem;
    margin: 1.5rem 0;
    color: var(--text-light);
    letter-spacing: -2px;
    line-height: 1.1;
}

.fullscreen-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.fullscreen-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.popup-badge {
    background: rgba(179, 255, 0, 0.15);
    color: var(--accent-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fullscreen-overlay.show .fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.5s; }
.delay-4 { transition-delay: 0.7s; }

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(179, 255, 0, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(179, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(179, 255, 0, 0); }
}

.popup-cta {
    animation: pulse-glow 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .fullscreen-content h1 {
        font-size: 3.5rem;
    }
    .fullscreen-content p {
        font-size: 1.1rem;
    }
    .fullscreen-actions .cta-button {
        padding: 15px 30px !important;
        font-size: 1rem !important;
    }
    
    nav {
        padding: 1.5rem 5%;
    }
    
    .logo-container {
        gap: 8px;
    }
    
    #nav-logo {
        height: 32px;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links .cta-button {
        display: none !important;
    }

    #hero {
        padding: 5rem 5% 4rem 5%;
    }
    
    #hero-title {
        font-size: 3rem;
        letter-spacing: -1.2px;
    }
    
    #hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-button, .secondary-button {
        width: 100%;
    }
    
    .slider-wrapper {
        padding: 0;
    }
    
    .slider-nav {
        display: none; /* Hide navigation buttons on mobile; let users swipe naturally */
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
        letter-spacing: -0.5px;
    }
    
    .section-header p {
        font-size: 1rem;
    }

    #how-it-works {
        padding: 4rem 5% 0 5%;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-card {
        padding: 2.5rem 2rem;
        border-radius: 24px;
    }
    
    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 2.5rem 5%;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 16px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1.25rem 4%;
    }
    
    .brand-name {
        font-size: 1.15rem;
    }
    
    #nav-logo {
        height: 28px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-blog-link {
        font-size: 0.85rem;
    }
    
    .nav-links .cta-button {
        display: none !important;
    }
    
    #hero {
        padding: 4rem 4% 3rem 4%;
    }
    
    #hero-title {
        font-size: 2.25rem;
        letter-spacing: -0.8px;
    }
    
    #hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.85rem;
    }
    
    .step-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .step-number {
        top: 2rem;
        right: 1.5rem;
        font-size: 1rem;
    }
    
    .step-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }
    
    .step-icon img {
        width: 28px;
        height: 28px;
    }
    
    .step-card h3 {
        font-size: 1.35rem;
    }
}

/* Pricing Section */
#pricing {
    width: 100%;
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.toggle-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-yearly {
    background: rgba(179, 255, 0, 0.15);
    color: var(--accent-color);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Switch styling */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #2C2C2E;
    transition: .4s;
    border: 1px solid #3A3A3C;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-color);
    transition: .4s;
}
input:checked + .slider {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}
input:checked + .slider:before {
    transform: translateX(22px);
    background-color: #000;
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}

.pricing-table-container {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    background: #1C1C1C !important;
    border-radius: 24px !important;
    padding: 3rem 4rem !important;
    box-sizing: border-box !important;
}

.pricing-table {
    display: flex;
    flex-direction: column;
}

.table-header-row, .table-row {
    display: grid;
    grid-template-columns: 55% 22.5% 22.5%;
    align-items: stretch;
}

.table-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.02);
}


.feature-cell {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 0.9rem 1rem 0.9rem 0;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
}

.feature-table-icon {
    width: 24px;
    height: 24px;
    margin-right: 14px;
    object-fit: contain;
}

.plan-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 3rem 0.5rem 2rem;
}

.plan-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    color: #fff;
    flex-wrap: wrap;
}

.plan-price .currency-symbol {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-right: 2px;
}

.plan-price .amount {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.plan-price .period {
    display: block;
    width: 100%;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

.plan-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.9rem 1rem;
}

.premium-header, .premium-cell {
    background: #151515;
    border-left: 1px solid rgba(255,255,255,0.03);
    border-right: 1px solid rgba(255,255,255,0.03);
}

.premium-header {
    border-top: 1px solid rgba(255,255,255,0.03);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.table-row.last-row .premium-cell {
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.dash {
    color: #555;
    font-weight: bold;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.outline-btn {
    background: transparent !important;
    border: 1px solid var(--text-muted) !important;
    color: var(--text-color) !important;
}
.outline-btn:hover {
    border-color: var(--text-color) !important;
}

.cta-button {
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
    padding: 12px 20px;
}

@media (max-width: 768px) {
    .pricing-table-container {
        padding: 1rem;
    }
    
    .table-header-row, .table-row {
        grid-template-columns: 50% 50%;
    }
    
    .empty-cell {
        display: none;
    }
    
    .feature-cell {
        grid-column: span 2;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        margin-bottom: 0.5rem;
    }
    
    .plan-header {
        padding: 1rem 0.5rem;
    }
    
    .table-row {
        padding: 1rem 0;
    }
}
