/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0088cc;
    --primary-light: #29b6f6;
    --primary-dark: #006ba6;
    --accent: #00c853;
    /* Slightly darker green for light mode readability */
    --accent-glow: rgba(0, 200, 83, 0.4);
    --bg-main: #f8fafc;
    /* Light background */
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --text-primary: #0f172a;
    /* Dark text */
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --gradient-1: linear-gradient(135deg, #00c6ff, #0072ff);
    --gradient-2: linear-gradient(135deg, #0088cc, #00c853);
    --gradient-accent: linear-gradient(135deg, #00e676, #00c853);
    --border-color: rgba(0, 0, 0, 0.08);
    /* Dark subtle border */
    --shadow-glow: 0 0 25px rgba(0, 200, 83, 0.4), 0 0 50px rgba(0, 200, 83, 0.2);
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 100px;
}

/* ========== PARTICLES BACKGROUND ========== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px 40px;
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #ff2d55);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
    animation: pulse-badge 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(255, 45, 85, 0.3);
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.hero h1 {
    font-size: clamp(28px, 7vw, 48px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: var(--accent);
}

/* ========== STATS ROW ========== */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 28px;
    min-width: 130px;
    box-shadow: var(--shadow-card);
}

.stat-number {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ========== INLINE CTA ========== */
.inline-cta {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: 20px;
    margin-top: 10px;
}

/* ========== SECTION COMMON ========== */
.section-title {
    text-align: center;
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 32px;
}

/* ========== FEATURES SECTION ========== */
.features {
    position: relative;
    z-index: 1;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(0, 200, 83, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: inline-block;
    animation: bounceIcon 3s ease-in-out infinite;
}

@keyframes bounceIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== LIVE EARNINGS SECTION ========== */
.live-earnings {
    position: relative;
    z-index: 1;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.earnings-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 420px;
    overflow: hidden;
    position: relative;
}

.earnings-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--bg-main), transparent);
    pointer-events: none;
}

.earning-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: var(--shadow-card);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.earning-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.earning-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: white;
}

.earning-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.earning-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.earning-amount {
    font-weight: 800;
    font-size: 18px;
    color: var(--accent);
    white-space: nowrap;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    position: relative;
    z-index: 1;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 24px;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}

.step:hover {
    border-color: rgba(0, 136, 204, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.1);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
}

.step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-arrow {
    font-size: 28px;
    color: var(--text-muted);
    font-weight: 300;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    position: relative;
    z-index: 1;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}

.testimonial-card:hover {
    border-color: rgba(0, 136, 204, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
    font-size: 14px;
    margin-bottom: 14px;
}

.testimonial-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.testimonial-user strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
}

.testimonial-user span {
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
}

/* ========== CTA SECTION ========== */
.cta-section {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px 30px;
}

.cta-content h2 {
    font-size: clamp(24px, 5vw, 34px);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 16px;
}

.cta-content strong {
    color: var(--accent);
}

/* ========== GLOW BUTTON ========== */
.sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 20px 24px;
    background: linear-gradient(to top, var(--bg-main) 60%, rgba(248, 250, 252, 0));
    display: flex;
    justify-content: center;
}

.glow-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    padding: 18px 36px;
    border: none;
    border-radius: 60px;
    background: var(--gradient-accent);
    color: #ffffff;
    /* White text looks better against light bg inside the button */
    font-size: 19px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    animation: glowPulse 2s ease-in-out infinite;
    letter-spacing: 0.3px;
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(0, 200, 83, 0.4),
            0 0 30px rgba(0, 200, 83, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 200, 83, 0.6),
            0 0 50px rgba(0, 200, 83, 0.3);
    }
}

.glow-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: rotate(45deg);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.glow-button:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(0, 200, 83, 0.7),
        0 0 60px rgba(0, 200, 83, 0.4);
}

.glow-button:active {
    transform: scale(0.97);
}

.btn-icon {
    display: flex;
    align-items: center;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    font-size: 26px;
    font-weight: 300;
    position: relative;
    z-index: 1;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* ========== FOOTER ========== */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px 20px 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.footer p {
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-disclaimer {
    margin-top: 6px;
    font-size: 11px !important;
    color: var(--text-muted) !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
    .hero {
        padding: 40px 16px 30px;
    }

    .stats-row {
        gap: 12px;
    }

    .stat-item {
        padding: 14px 18px;
        min-width: 100px;
    }

    .stat-number {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        gap: 12px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .step {
        max-width: 100%;
        width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .glow-button {
        font-size: 17px;
        padding: 16px 28px;
    }

    .sticky-bottom {
        padding: 12px 16px 20px;
    }
}