/* Design Tokens */
:root {
    --bg-light: #f8fafc;
    --primary-blue: #2563eb;
    --primary-hover: #1d4ed8;
    --text-navy: #0f172a;
    --text-muted: #475569;
    --card-bg: #ffffff;
    --accent-gold: #f59e0b;
    --accent-emerald: #10b981;
    --border-light: rgba(37, 99, 235, 0.08);
    --shadow-soft: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
    
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-light);
    font-family: var(--font-primary);
    color: var(--text-muted);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    line-height: 1.6;
}

/* Ambient Glowing Background Orbs (Premium Light Pastel Theme) */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    left: -200px;
    animation: floatOrb 15s infinite ease-in-out alternate;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
    top: 20%;
    right: -250px;
    animation: floatOrb 18s infinite ease-in-out alternate-reverse;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: 10%;
    left: 20%;
}

.page-wrapper {
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    width: 100%;
}

.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 850;
    font-size: 26px;
    color: var(--text-navy);
    letter-spacing: -0.5px;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-gold);
    border-radius: 50%;
}

.gradient-blue {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: transform 0.2s, background-color 0.2s;
}

.nav-btn:hover {
    transform: translateY(-1px);
    background-color: var(--primary-hover);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-emerald);
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 54px;
    line-height: 1.15;
    color: var(--text-navy);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

/* Premium Download Badge */
.download-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--text-navy) 0%, #1e293b 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.download-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.3);
}

.badge-icon {
    color: var(--primary-blue);
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.badge-main {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
}

/* QR Code */
.qr-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qr-code-placeholder {
    width: 64px;
    height: 64px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
}

.qr-label {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-navy);
}

.trust-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.stat-item h4 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-navy);
}

.stat-item p {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-item-divider {
    width: 1px;
    height: 32px;
    background-color: rgba(15, 23, 42, 0.1);
}

/* Smartphone Mockup */
.mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-bg-circle {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background-color: #0f172a;
    border-radius: 40px;
    border: 12px solid #0f172a;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.phone-notch {
    width: 120px;
    height: 20px;
    background-color: #0f172a;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 5;
}

.phone-screen {
    background-color: #f8fafc;
    width: 100%;
    height: 100%;
    padding: 28px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.p-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    color: var(--text-navy);
}

.p-logo span {
    color: var(--primary-blue);
}

.p-wallet {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--accent-gold);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 9999px;
}

.phone-hero-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #60a5fa 100%);
    border-radius: 16px;
    padding: 16px;
    color: #ffffff;
    position: relative;
}

.phone-hero-card h4 {
    font-size: 13px;
    margin-bottom: 2px;
}

.phone-hero-card p {
    font-size: 10px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.phone-badge {
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.phone-tasks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-task-item {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.task-emoji {
    font-size: 16px;
}

.task-details {
    flex: 1;
}

.task-details h5 {
    font-size: 11px;
    color: var(--text-navy);
}

.task-details p {
    font-size: 9px;
    color: var(--text-muted);
}

.task-payout {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12px;
    color: var(--accent-emerald);
}

/* Floating Widgets */
.floating-widget {
    position: absolute;
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    z-index: 3;
}

.widget-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: -20px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatAsset 5s infinite ease-in-out;
}

.widget-1 img {
    width: 56px;
    height: auto;
}

.widget-2 {
    padding: 10px 18px;
    bottom: 25%;
    right: -30px;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-navy);
    animation: floatAsset 4.2s infinite ease-in-out reverse;
}

/* Marquee Ticker */
.marquee-ticker {
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.04);
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    padding: 16px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
    animation: runTicker 25s linear infinite;
}

.ticker-track span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12px;
    color: var(--primary-blue);
    margin-right: 64px;
    letter-spacing: 0.5px;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 36px;
    color: var(--text-navy);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 50px -15px rgba(30, 92, 255, 0.1);
}

.feat-icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-navy);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Steps Section */
.steps-section {
    padding: 100px 0;
    background-color: #f1f5f9;
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.steps-timeline .step-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.step-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 14px;
    color: var(--primary-blue);
    background-color: rgba(37, 99, 235, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.steps-timeline .step-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-navy);
    margin-bottom: 12px;
}

.steps-timeline .step-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
}

.faq-accordion {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-navy);
    margin-bottom: 8px;
}

.faq-answer {
    font-size: 14px;
    color: var(--text-muted);
}

/* CTA Download Block */
.download-cta-section {
    padding: 60px 0 100px;
}

.cta-panel {
    background: linear-gradient(135deg, var(--text-navy) 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-panel h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 36px;
    margin-bottom: 12px;
}

.cta-panel p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-download-btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s, background-color 0.2s;
}

.cta-download-btn:hover {
    transform: translateY(-2px);
    background-color: var(--primary-hover);
}

/* Footer Section */
.main-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-left h3 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-left p {
    max-width: 320px;
    font-size: 14px;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
    gap: 80px;
}

.footer-links h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 11px;
    opacity: 0.8;
}

/* Animations */
@keyframes floatOrb {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-40px) scale(1.05); }
}

@keyframes floatAsset {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes runTicker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes pulseActive {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: static;
    }
    
    .nav-container {
        padding: 12px 16px;
    }

    .logo-text {
        font-size: 20px;
    }

    .nav-btn {
        font-size: 12px;
        padding: 8px 16px;
    }

    .nav-links {
        display: none; /* Hide nav links on tablet/mobile */
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .hero-ctas {
        justify-content: center;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 32px;
    }

    .qr-container {
        display: none; /* QR code is useless on a mobile device */
    }
    
    .trust-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .features-grid, .steps-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-right {
        justify-content: flex-start;
        gap: 60px;
    }

    .mockup-wrapper {
        padding: 20px 0 40px; /* Extra bottom padding to prevent overlap with the marquee */
    }

    .phone-frame {
        width: 240px;
        height: 480px;
        border-width: 8px;
    }

    .floating-widget {
        display: none; /* Hide floating widgets to prevent horizontal offset/cut-off on mobile */
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 0 40px;
    }

    .hero-title {
        font-size: 30px;
        line-height: 1.25;
    }

    .download-badge {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 14px 20px;
    }

    .stat-item h4 {
        font-size: 22px;
    }

    .section-title {
        font-size: 26px;
    }

    .cta-panel {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .cta-panel h2 {
        font-size: 26px;
    }
}
