/* QuickEarnHub 3.0 - Hyper Modern (Freecash Style) */
:root {
    --bg-main: #09090b;
    /* Deepest Black/Zinc */
    --bg-card: #18181b;
    /* Zinc 900 */
    --primary: #22c55e;
    /* Neon Green */
    --primary-glow: rgba(34, 197, 94, 0.4);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --accent-hot: #ef4444;
    /* Red for HOT items */
    --accent-xp: #3b82f6;
    /* Blue for XP/Level */
    --border: #27272a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Touch-friendly improvements */
a, button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.text-green {
    color: var(--primary);
}

.text-hot {
    color: var(--accent-hot);
}

.btn-cta {
    background: var(--primary);
    color: #000;
    font-weight: 800;
    padding: 1rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.2s;
    box-shadow: 0 0 20px var(--primary-glow);
    display: inline-block;
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--primary-glow);
}

/* Navbar */
.navbar {
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 0;
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--primary);
}

.stats-bar {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-item i {
    color: var(--primary);
    margin-right: 5px;
}

.hidden-mobile {
    display: flex;
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    padding: 5rem 0;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.trust-badge {
    background: var(--bg-card);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Live Feed Widget */
.live-feed {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.live-feed h3 {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: scrollFeed 20s linear infinite;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.8rem;
    border-radius: 8px;
}

.feed-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
}

.feed-info {
    font-size: 0.9rem;
}

.feed-info b {
    display: block;
    color: white;
}

.feed-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.feed-amount {
    margin-left: auto;
    color: var(--primary);
    font-weight: bold;
}

@keyframes scrollFeed {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-300px);
    }
}

/* Gamified Offers Grid */
.offers-section {
    padding: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.offer-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    transition: 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-hot {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-hot);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-featured {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.offer-icon {
    width: 60px;
    height: 60px;
    background: #27272a;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.offer-card.featured .offer-icon {
    background: var(--primary);
    color: black;
    box-shadow: 0 0 15px var(--primary-glow);
}

.offer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.offer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.offer-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.payout {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
}

.rating {
    font-size: 0.8rem;
    color: #fbbf24;
}

/* ========================================
   Platforms Section
   ======================================== */
.platforms-section {
    margin-top: 3rem;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.platform-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.platform-logo {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.platform-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 8px;
}

.platform-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.platform-rating {
    font-size: 0.85rem;
    color: #fbbf24;
    margin-bottom: 0.4rem;
}

.platform-payout {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.platform-bonus {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 4px 10px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* ========================================
   Responsive Design - Tablet (900px)
   ======================================== */
@media (max-width: 900px) {
    .container {
        padding: 0 15px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 3rem 0;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .live-feed {
        display: none;
    }

    .offers-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .platforms-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .payment-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   NEW SECTIONS STYLES
======================================== */

/* Stats Showcase */
.stats-showcase {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    padding: 4rem 0;
    margin: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-box {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Payment Methods */
.payment-methods {
    padding: 5rem 0;
    background: var(--bg-card);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.payment-card {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s;
}

.payment-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.payment-card h4 {
    margin: 1rem 0 0.3rem;
    font-size: 1.1rem;
}

.payment-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-card > p {
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.testimonial-author div {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-size: 0.95rem;
    color: var(--text-main);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-card);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question:hover {
    background: rgba(34, 197, 94, 0.05);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* CTA Final */
.cta-final {
    padding: 5rem 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-box > p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer Professional */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary);
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.payment-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-bottom-right a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-right a:hover {
    color: var(--primary);
}

/* Responsive for New Sections */
/* ========================================
   Responsive Design - Mobile (768px)
   ======================================== */
@media (max-width: 768px) {
    /* Typography Adjustments */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-box h2 {
        font-size: 1.6rem;
    }

    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hidden-mobile {
        display: none !important;
    }

    .stats-bar {
        gap: 1rem;
        font-size: 0.8rem;
    }

    /* Buttons */
    .btn-cta {
        padding: 0.85rem 2rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    /* Trust Badges */
    .trust-badges {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .trust-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    /* Offers Grid */
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .offer-card {
        padding: 1.25rem;
    }

    /* Platforms Grid */
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }

    .platform-card {
        padding: 1rem;
    }

    .platform-logo {
        font-size: 2rem;
        width: 48px;
        height: 48px;
    }

    .platform-logo img {
        padding: 6px;
        border-radius: 8px;
    }

    .platform-name {
        font-size: 0.9rem;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Payment Grid */
    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* FAQ */
    .faq-item {
        padding: 1.25rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Sections Padding */
    .offers-section,
    .stats-showcase,
    .how-it-works,
    .payment-methods,
    .testimonials-section,
    .faq-section,
    .cta-final {
        padding: 3rem 0;
    }
}

/* ========================================
   Video Demo Section
   ======================================== */
.video-demo {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(34, 197, 94, 0));
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.video-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #18181b, #27272a);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, #27272a, #3f3f46);
}

.video-placeholder i {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.video-placeholder:hover i {
    transform: scale(1.1);
}

.video-placeholder p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

.video-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.video-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.video-stat:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.video-stat i {
    font-size: 2rem;
    color: var(--primary);
}

.video-stat strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.video-stat span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ========================================
   Earnings Calculator
   ======================================== */
.earnings-calculator {
    padding: 6rem 0;
    background: var(--bg-main);
}

.calculator-container {
    max-width: 700px;
    margin: 0 auto;
}

.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
}

.calculator-inputs {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.input-group-calc label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.input-group-calc input[type="range"] {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.input-group-calc input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.5);
}

.input-group-calc input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.5);
}

.slider-value {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 8px;
    color: var(--primary);
    font-weight: 600;
}

.input-group-calc select {
    width: 100%;
    padding: 1rem;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-group-calc select:focus {
    outline: none;
    border-color: var(--primary);
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-box {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.result-box:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.featured-result {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border-color: var(--primary);
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #15803d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calculator-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
}

.calculator-note i {
    color: #3b82f6;
    margin-top: 0.25rem;
}

.calculator-note p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   Leaderboard Section
   ======================================== */
.leaderboard-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.03), rgba(34, 197, 94, 0.03));
}

.leaderboard-container {
    max-width: 900px;
    margin: 0 auto;
}

.leaderboard-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 100px 1fr 150px 100px;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 100px 1fr 150px 100px;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: all 0.3s ease;
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.leaderboard-row:hover {
    background: rgba(34, 197, 94, 0.05);
}

.rank-1, .rank-2, .rank-3 {
    background: rgba(251, 191, 36, 0.03);
}

.lb-col-rank {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
}

.rank-badge.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.rank-badge.silver {
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    color: #000;
    box-shadow: 0 4px 12px rgba(203, 213, 225, 0.4);
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #d97706, #92400e);
    color: #fff;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

.rank-badge i {
    font-size: 1.5rem;
}

.lb-col-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lb-col-user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.lb-col-user strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.user-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.lb-col-earnings strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.lb-col-tasks {
    color: var(--text-secondary);
    font-weight: 600;
}

.leaderboard-cta {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.leaderboard-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ========================================
   Mobile App Section
   ======================================== */
.mobile-app-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(34, 197, 94, 0.05));
}

.mobile-app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mobile-app-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.app-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.app-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.app-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.app-feature i {
    font-size: 1.5rem;
    color: var(--primary);
    padding: 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
}

.app-feature strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.app-feature span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.app-download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.app-download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-download-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.app-download-btn i {
    font-size: 2rem;
    color: var(--text-primary);
}

.app-download-btn span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.app-download-btn strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-rating-stars {
    display: flex;
    gap: 0.25rem;
}

.app-rating-stars i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.app-rating p {
    color: var(--text-secondary);
    margin: 0;
}

.mobile-app-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #18181b, #27272a);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 8px solid #18181b;
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #18181b;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-main);
    border-radius: 28px;
    overflow: hidden;
}

.phone-content {
    padding: 2.5rem 1.5rem 1.5rem;
}

.app-preview-header {
    margin-bottom: 2rem;
}

.app-balance {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    border-radius: 16px;
}

.app-balance span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.app-balance strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.app-preview-offers {
    display: grid;
    gap: 0.75rem;
}

.preview-offer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.preview-offer-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
}

.preview-offer-info strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.preview-offer-info span {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

/* ========================================
   Referral Program Section
   ======================================== */
.referral-program {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(34, 197, 94, 0.05));
}

.referral-container {
    display: grid;
    gap: 3rem;
}

.referral-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.referral-benefit-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.referral-benefit-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #15803d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.referral-benefit-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.referral-benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.referral-calculator-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.referral-calculator-box h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.referral-calc-input {
    margin-bottom: 2rem;
}

.referral-calc-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.referral-calc-input input {
    width: 100%;
    padding: 1rem;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.referral-calc-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.referral-calc-result {
    padding: 1.5rem;
    background: var(--bg-main);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.calc-breakdown {
    display: grid;
    gap: 1rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.calc-row:last-child {
    border-bottom: none;
}

.calc-row span {
    color: var(--text-secondary);
}

.calc-row strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.total-row {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--primary);
    border-bottom: none;
}

.total-row span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.total-row strong {
    font-size: 1.5rem;
}

.referral-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.referral-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
}

.referral-stat-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.referral-stat-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.referral-stat-item span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   Responsive Design - New Sections
   ======================================== */
@media (max-width: 900px) {
    .video-stats {
        grid-template-columns: 1fr;
    }
    
    .calculator-results {
        grid-template-columns: 1fr;
    }
    
    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 80px 1fr 120px 80px;
        gap: 0.75rem;
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .rank-badge {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .lb-col-user img {
        width: 40px;
        height: 40px;
    }
    
    .mobile-app-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mobile-app-visual {
        order: -1;
    }
    
    .referral-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* New Sections Padding */
    .video-demo,
    .earnings-calculator,
    .leaderboard-section,
    .mobile-app-section,
    .referral-program {
        padding: 3rem 0;
    }
    
    /* Calculator */
    .calculator-card {
        padding: 1.5rem 1rem;
    }

    .calculator-results {
        gap: 1rem;
    }

    .result-box {
        padding: 1.5rem 1rem;
    }

    .result-value {
        font-size: 1.5rem;
    }
    
    /* Leaderboard */
    .leaderboard-header {
        display: none;
    }
    
    .leaderboard-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem 1rem;
    }
    
    .lb-col-rank {
        justify-content: flex-start;
    }

    .lb-col-user {
        gap: 0.75rem;
    }

    .lb-col-user img {
        width: 44px;
        height: 44px;
    }
    
    .lb-col-earnings strong {
        font-size: 1.2rem;
    }
    
    .lb-col-tasks::before {
        content: 'Tasks: ';
        color: var(--text-secondary);
        font-weight: normal;
    }
    
    /* Mobile App Section */
    .mobile-app-content h2 {
        font-size: 2rem;
    }

    .app-subtitle {
        font-size: 1rem;
    }

    .app-download-buttons {
        flex-direction: column;
    }

    .app-download-btn {
        width: 100%;
        justify-content: center;
    }
    
    .phone-mockup {
        transform: scale(0.85);
        margin: 0 auto;
    }
    
    /* Referral Program */
    .referral-benefit-card {
        padding: 2rem 1.5rem;
    }

    .benefit-number {
        font-size: 2.5rem;
    }

    .referral-calculator-box {
        padding: 1.5rem;
    }

    .referral-stats {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Responsive Design - Small Mobile (480px)
   ======================================== */
@media (max-width: 480px) {
    /* Ultra compact for very small screens */
    .container {
        padding: 0 12px;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .stats-bar {
        font-size: 0.75rem;
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .offer-card {
        padding: 1rem;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .platform-card {
        padding: 0.9rem;
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .rank-badge {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }

    .phone-mockup {
        transform: scale(0.75);
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-col h4 {
        font-size: 0.95rem;
    }

    .newsletter-input input {
        font-size: 0.9rem;
    }
}

/* ========================================
   Mobile-Specific Touch Optimizations
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    /* Touch device optimizations */
    .offer-card:active,
    .platform-card:active,
    .payment-item:active,
    .testimonial-card:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    /* Larger tap targets for mobile */
    .offer-card,
    .platform-card,
    .payment-item,
    .faq-question {
        min-height: 48px;
    }

    /* Disable problematic hover effects */
    .btn-cta:hover {
        transform: none;
        box-shadow: 0 0 20px var(--primary-glow);
    }

    .btn-cta:active {
        transform: scale(0.95);
    }

    .offer-card:hover {
        transform: none;
    }
}

/* ========================================
   Accessibility - Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================
   High Contrast Mode Support
   ======================================== */
@media (prefers-contrast: high) {
    .offer-card,
    .calculator-card,
    .leaderboard-table,
    .referral-benefit-card {
        border-width: 2px;
    }

    .btn-cta {
        border: 2px solid #000;
    }

    .text-green,
    .stat-number {
        font-weight: 900;
    }
}

/* ========================================
   Landscape Mobile Optimization
   ======================================== */
@media (max-width: 900px) and (orientation: landscape) {
    .hero-grid {
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .stats-showcase,
    .how-it-works,
    .video-demo {
        padding: 2.5rem 0;
    }
}

/* ========================================
   Very Large Screens (Desktop)
   ======================================== */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-content h1 {
        font-size: 5rem;
    }

    .offers-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .navbar,
    .live-feed,
    .btn-cta,
    .footer,
    .video-demo,
    .mobile-app-section {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .offer-card,
    .testimonial-card {
        page-break-inside: avoid;
    }
}
