/* Root System Design Design Tokens */
:root {
    --bg-dark: #0a120e;
    --bg-card: #122119;
    --bg-nav: rgba(10, 18, 14, 0.85);
    
    --primary: #10b981; /* Emerald green */
    --primary-glow: rgba(16, 185, 129, 0.3);
    
    --gold: #f59e0b; /* Bright amber gold */
    --gold-glow: rgba(245, 158, 11, 0.45);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-success: #34d399;
    --text-warning: #fbbf24;
    
    --border-color: rgba(16, 185, 129, 0.15);
    --border-glow: rgba(16, 185, 129, 0.25);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Ambient Background Glows */
.glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

.glow-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--gold);
}

.glow-2 {
    top: 40%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary);
}

/* Base Classes */
.text-success { color: var(--text-success); }
.text-warning { color: var(--text-warning); }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--bg-nav);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

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

.logo span span {
    color: var(--gold);
}

.gold-glow {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.50rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #059669);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--gold), #d97706);
    color: #fff;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 14px;
}

/* Header / Hero Section */
.hero {
    padding: 10rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-text .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 60%, #a7f3d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-features-mini {
    display: flex;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-features-mini span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Visual / Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup-wrapper {
    position: relative;
    width: 290px;
    height: 580px;
}

.phone-mockup {
    width: 100%;
    height: 100%;
    background: #000;
    border: 12px solid #1f2937;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px var(--border-glow);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.screen-header {
    background: #111827;
    padding: 1.5rem 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #374151;
}

.screen-logo {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
}

.screen-coins {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: bold;
}

.screen-content {
    flex: 1;
    background: #030712;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-card-preview {
    background: #1f2937;
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quiz-category {
    font-size: 0.65rem;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 1px;
}

.quiz-card-preview h3 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
}

.options-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.opt-prev {
    background: #111827;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.correct-preview {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
    color: var(--text-success);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.payout-status-preview {
    background: #111827;
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payout-status-preview .lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: bold;
}

.wallet-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.wallet-item {
    background: #030712;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 0.75rem;
    text-align: center;
    color: var(--text-muted);
}

.active-wallet {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(245, 158, 11, 0.05);
}

/* Floating Elements around phone */
.floating-coin {
    position: absolute;
    font-size: 1.5rem;
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold-glow);
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

.float-1 {
    top: 20%;
    left: -15%;
    animation-delay: 0s;
}

.float-2 {
    bottom: 30%;
    right: -10%;
    animation-delay: 1.5s;
    font-size: 1.8rem;
}

.floating-card {
    position: absolute;
    background: #1f2937;
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    z-index: 10;
    bottom: 15%;
    left: -35%;
    animation: float 5s ease-in-out infinite;
    animation-delay: 0.7s;
}

.floating-card i {
    font-size: 1.25rem;
}

.card-title {
    display: block;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--text-main);
}

.card-desc {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Section Common Header */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
    padding: 0 1rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff;
}

.section-header p {
    color: var(--text-muted);
}

/* Demo Section */
.demo {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.demo-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(16, 185, 129, 0.05);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quiz-progress {
    width: 100%;
    height: 6px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--text-success));
    width: 33.3%;
    transition: width 0.4s ease;
}

.quiz-question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--text-muted);
}

.quiz-score {
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

#question-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.option-btn {
    background: rgba(10, 18, 14, 0.5);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem 1.5rem;
    color: var(--text-main);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-btn:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.08);
}

.option-btn:active {
    transform: scale(0.98);
}

/* Quiz Answer Feedback Styles */
.option-btn.correct {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: var(--primary) !important;
    color: var(--text-success) !important;
    font-weight: bold;
}

.option-btn.wrong {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
}

.quiz-result {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 3.5rem;
    color: var(--text-success);
    margin-bottom: 1rem;
}

.coins-earned {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    margin: 1rem 0;
}

.result-notice {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.hidden {
    display: none !important;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(16, 185, 129, 0.05);
    border-color: var(--primary);
}

.step-icon {
    width: 65px;
    height: 65px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Trust & Payment Proof Section */
.trust {
    padding: 5rem 2rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.trust-text h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.trust-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.trust-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.trust-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.proof-card {
    background: var(--bg-card);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.proof-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.proof-amount {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.proof-method {
    font-size: 0.8rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem;
    text-align: center;
    background: #060b08;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.05);
}

.testi-rating {
    color: var(--gold);
    font-size: 0.9rem;
    display: flex;
    gap: 0.25rem;
}

.testi-text {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    flex: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    padding-top: 1rem;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid var(--border-color);
}

.author-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.author-role {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive Layouts */
@media (max-width: 1024px) {
    .hero-container, .trust-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.75rem;
    }
    
    .hero-ctas, .hero-features-mini {
        justify-content: center;
    }
    
    .floating-card {
        left: -15%;
    }
    
    .steps-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .hero {
        padding: 8rem 1rem 4rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-features-mini {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .demo-container {
        padding: 1.5rem;
    }
    
    .floating-card, .floating-coin {
        display: none;
    }
    
    .phone-mockup-wrapper {
        width: 250px;
        height: 500px;
    }
    
    .testimonials {
        padding: 4rem 1rem;
    }
    
    .testimonial-card {
        padding: 1.75rem;
    }
}
