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

:root {
    --bg-main: #0F0B16;
    --bg-section: #1A1524;
    --bg-card: #14101A;
    --primary: #7C4DFF;
    --primary-dark: #6A3FE8;
    --primary-light: #9D6FFF;
    --text-primary: #E9E7FF;
    --text-secondary: #9B92A8;
    --glow: rgba(124, 77, 255, 0.5);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-section) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 24px 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.2;
    animation: pulse 8s ease-in-out infinite;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-dark) 0%, transparent 70%);
    opacity: 0.15;
    animation: pulse 10s ease-in-out infinite reverse;
    filter: blur(80px);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.2); opacity: 0.25; }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.2) 0%, rgba(106, 63, 232, 0.2) 100%);
    backdrop-filter: blur(10px);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-light);
    border: 2px solid rgba(124, 77, 255, 0.3);
    margin-bottom: 30px;
    animation: bounceIn 1.2s ease-out;
    box-shadow: 0 8px 25px rgba(124, 77, 255, 0.3);
}

.hero-badge i {
    width: 1.2rem;
    height: 1.2rem;
    stroke-width: 2;
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
}

.stat-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-character {
    position: absolute;
    right: -100px;
    bottom: -50px;
    width: 400px;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

.floating-character {
    width: 100%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(124, 77, 255, 0.4));
    border-radius: 20px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(-5deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

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

.hero h1 {
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 0 40px var(--glow);
}

.hero p {
    font-size: clamp(1.05rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.4), 0 0 0 1px rgba(124, 77, 255, 0.2) inset;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(124, 77, 255, 0.6), 0 0 0 1px rgba(124, 77, 255, 0.4) inset;
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-primary);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.3);
    border-color: var(--primary-light);
}

.btn-secondary:active {
    transform: translateY(-2px) scale(0.98);
}

/* Section Styles */
section {
    padding: 100px 20px;
    position: relative;
}

section:nth-child(even) {
    background-color: var(--bg-section);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: linear-gradient(135deg, rgba(20, 16, 26, 0.8) 0%, rgba(20, 16, 26, 0.6) 100%);
    backdrop-filter: blur(20px);
    padding: 30px 25px 45px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(124, 77, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.step-image {
    width: 100%;
    height: 220px;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
}

.step-card:hover .step-image img {
    transform: scale(1.1);
}

.xp-reward {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1A1524;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 16px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.step-card:hover::before {
    transform: translateX(100%);
}

.step-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(124, 77, 255, 0.4), 0 0 0 1px rgba(124, 77, 255, 0.2) inset;
    background: linear-gradient(135deg, rgba(20, 16, 26, 0.95) 0%, rgba(20, 16, 26, 0.8) 100%);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 8px 25px rgba(124, 77, 255, 0.5), 0 0 0 4px rgba(124, 77, 255, 0.1);
    transition: all 0.4s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(124, 77, 255, 0.7), 0 0 0 4px rgba(124, 77, 255, 0.2);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(20, 16, 26, 0.8) 0%, rgba(20, 16, 26, 0.6) 100%);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(124, 77, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 15px 45px rgba(124, 77, 255, 0.35), 0 0 0 1px rgba(124, 77, 255, 0.2) inset;
    background: linear-gradient(135deg, rgba(20, 16, 26, 0.95) 0%, rgba(20, 16, 26, 0.8) 100%);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(124, 77, 255, 0.3));
    transition: all 0.4s ease;
}

.feature-icon i {
    width: 3.5rem;
    height: 3.5rem;
    stroke-width: 1.5;
    color: var(--primary-light);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 8px 20px rgba(124, 77, 255, 0.5));
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
}

/* Gamification Section */
.gamification {
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-main) 100%);
}

.gamification-content {
    max-width: 1100px;
    margin: 0 auto;
}

.gamification-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.gamification-left {
    position: relative;
}

.game-character {
    width: 100%;
    max-width: 400px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 50px rgba(124, 77, 255, 0.5));
    border-radius: 24px;
}

.gamification-right {
    text-align: left;
}

.badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.badge {
    background: linear-gradient(135deg, rgba(20, 16, 26, 0.9) 0%, rgba(20, 16, 26, 0.7) 100%);
    backdrop-filter: blur(15px);
    padding: 24px 32px;
    border-radius: 18px;
    border: 2px solid var(--primary);
    box-shadow: 0 8px 25px rgba(124, 77, 255, 0.3), 0 0 0 1px rgba(124, 77, 255, 0.1) inset;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-light);
    box-shadow: 0 12px 35px rgba(124, 77, 255, 0.5), 0 0 0 1px rgba(124, 77, 255, 0.2) inset;
}

.badge-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 10px rgba(124, 77, 255, 0.4));
}

.badge-icon i {
    width: 2.8rem;
    height: 2.8rem;
    stroke-width: 2;
    color: var(--primary-light);
}

.badge-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.progress-bar {
    background: var(--bg-card);
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    width: 0%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: width 2.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-fill.animated {
    width: 65%;
}

/* Community Section */
.community-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.community-card {
    background: linear-gradient(135deg, rgba(20, 16, 26, 0.8) 0%, rgba(20, 16, 26, 0.6) 100%);
    backdrop-filter: blur(20px);
    padding: 35px 30px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(124, 77, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(124, 77, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.community-card:hover::before {
    opacity: 1;
}

.community-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(124, 77, 255, 0.35), 0 0 0 1px rgba(124, 77, 255, 0.2) inset;
}

.avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 18px;
    box-shadow: 0 8px 25px rgba(124, 77, 255, 0.4), 0 0 0 4px rgba(124, 77, 255, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.avatar-image {
    background: var(--bg-card);
}

.avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.community-card:hover .avatar {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(124, 77, 255, 0.6), 0 0 0 4px rgba(124, 77, 255, 0.2);
}

.community-card:hover .avatar-image img {
    transform: scale(1.15);
}

/* Why Different Section */
.why-different {
    max-width: 800px;
    margin: 0 auto;
}

.why-list {
    display: grid;
    gap: 25px;
}

.why-item {
    background: linear-gradient(135deg, rgba(20, 16, 26, 0.8) 0%, rgba(20, 16, 26, 0.6) 100%);
    backdrop-filter: blur(20px);
    padding: 28px 32px;
    border-radius: 18px;
    border-left: 5px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(124, 77, 255, 0.1);
    border-left: 5px solid var(--primary);
}

.why-item:hover {
    transform: translateX(12px) scale(1.02);
    box-shadow: 0 10px 35px rgba(124, 77, 255, 0.3), 0 0 0 1px rgba(124, 77, 255, 0.2) inset;
    border-left-color: var(--primary-light);
}

.why-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(124, 77, 255, 0.3));
    transition: all 0.4s ease;
}

.why-icon i {
    width: 2.2rem;
    height: 2.2rem;
    stroke-width: 2;
    color: var(--primary);
}

.why-item:hover .why-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 6px 15px rgba(124, 77, 255, 0.5));
}

.why-text {
    font-size: 1.12rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--bg-main) 0%, #1F1628 100%);
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
}

.final-cta-content {
    position: relative;
    z-index: 1;
}

.phone-mockup {
    max-width: 350px;
    margin: 0 auto 40px;
    animation: float 8s ease-in-out infinite;
}

.phone-image {
    width: 100%;
    filter: drop-shadow(0 20px 60px rgba(124, 77, 255, 0.6));
    animation: glow 3s ease-in-out infinite;
    border-radius: 32px;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 20px 60px rgba(124, 77, 255, 0.6)); }
    50% { filter: drop-shadow(0 25px 70px rgba(124, 77, 255, 0.8)); }
}

.achievement-showcase {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.achievement-item {
    background: linear-gradient(135deg, rgba(20, 16, 26, 0.8) 0%, rgba(20, 16, 26, 0.6) 100%);
    backdrop-filter: blur(20px);
    padding: 16px 28px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(124, 77, 255, 0.3);
    font-size: 0.95rem;
    font-weight: 600;
}

.achievement-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-light);
    box-shadow: 0 12px 35px rgba(124, 77, 255, 0.5);
}

.achievement-emoji {
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 8px rgba(124, 77, 255, 0.4));
}

.achievement-emoji i {
    width: 1.6rem;
    height: 1.6rem;
    stroke-width: 2;
    color: var(--primary-light);
}

.final-cta h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 80px 24px;
    }

    .hero-character {
        display: none;
    }

    .hero-stats {
        gap: 30px;
        margin-top: 40px;
    }

    .stat-item {
        flex: 1;
        min-width: 100px;
    }

    .gamification-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gamification-left {
        text-align: center;
    }

    .game-character {
        max-width: 300px;
    }

    .gamification-right {
        text-align: center;
    }

    .step-image {
        height: 240px;
    }

    .step-image img {
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .floating-character {
        animation: float 8s ease-in-out infinite;
    }

    .game-character {
        animation: float 8s ease-in-out infinite;
    }

    .phone-mockup {
        animation: float 10s ease-in-out infinite;
    }

    .phone-image {
        animation: glow 4s ease-in-out infinite;
    }

    .steps, .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        padding: 20px 40px;
        font-size: 1.08rem;
        min-height: 58px;
    }

    .hero {
        min-height: 100vh;
        padding: 100px 24px 80px;
    }

    .hero h1 {
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero p {
        margin-bottom: 40px;
        line-height: 1.65;
    }

    .section-title {
        margin-bottom: 48px;
    }

    .step-card, .feature-card {
        padding: 35px 28px;
    }

    .badges {
        gap: 16px;
    }

    .badge {
        padding: 20px 28px;
        flex: 1 1 calc(50% - 8px);
        min-width: 140px;
    }

    .badge-icon {
        font-size: 2.5rem;
    }

    .community-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-item {
        padding: 24px 20px;
        gap: 18px;
    }

    .why-icon {
        font-size: 2rem;
    }

    .why-text {
        font-size: 1.05rem;
    }

    .final-cta {
        padding: 80px 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px 60px;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 10px 24px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 20px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .step-image {
        height: 280px;
    }

    .step-image img {
        transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 12px;
    }

    .floating-character,
    .game-character {
        animation: float 10s ease-in-out infinite;
    }

    .phone-mockup {
        animation: float 12s ease-in-out infinite;
    }

    .phone-image {
        animation: glow 5s ease-in-out infinite;
    }

    .game-character {
        max-width: 250px;
    }

    .phone-mockup {
        max-width: 280px;
    }

    .achievement-showcase {
        flex-direction: column;
        align-items: stretch;
    }

    .achievement-item {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.25;
    }

    .hero p {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .section-title {
        font-size: 1.9rem;
        margin-bottom: 40px;
    }

    section {
        padding: 60px 20px;
    }

    .step-card, .feature-card {
        padding: 30px 24px;
    }

    .step-number {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }

    .feature-icon {
        font-size: 3.2rem;
    }

    .btn {
        padding: 18px 36px;
        font-size: 1.05rem;
        min-height: 56px;
    }

    .badge {
        padding: 18px 24px;
        min-width: 120px;
    }

    .badge-icon {
        font-size: 2.3rem;
    }

    .badge-label {
        font-size: 0.85rem;
    }

    .avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .why-item {
        padding: 20px 18px;
        flex-direction: row;
        gap: 16px;
    }

    .why-icon {
        font-size: 1.8rem;
    }

    .why-text {
        font-size: 1rem;
    }

    .final-cta {
        padding: 60px 20px;
    }

    .final-cta h2 {
        margin-bottom: 24px;
    }

    .final-cta p {
        font-size: 1.15rem;
        margin-bottom: 32px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero {
        padding: 60px 16px 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section {
        padding: 50px 16px;
    }

    .btn {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .step-card, .feature-card {
        padding: 24px 20px;
    }

    .badges {
        flex-direction: column;
    }

    .badge {
        width: 100%;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:active {
        transform: scale(0.96);
    }

    .step-card:active,
    .feature-card:active,
    .community-card:active {
        transform: scale(0.98);
    }

    .badge:active {
        transform: scale(0.95);
    }

    /* Optimize animations for touch devices */
    .step-image img {
        transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .floating-character,
    .game-character {
        animation-duration: 12s;
    }

    .phone-mockup {
        animation-duration: 14s;
    }

    .phone-image {
        animation-duration: 6s;
    }
}
