/* =========================================
   1. VARIABLES & RESET & FONTS
   ========================================= */
:root {
    /* Premium Dark Palette */
    --bg-main: #0B0F17;
    /* Even darker for contrast */
    --bg-surface: #151C28;
    --bg-surface-hover: #1E2736;

    --primary: #00FFC6;
    /* Cyan Neon */
    --primary-dim: rgba(0, 255, 198, 0.15);
    --primary-glow: rgba(0, 255, 198, 0.4);

    --accent-red: #FF4D4D;

    --text-main: #FFFFFF;
    --text-muted: #94A3B8;

    --border: rgba(255, 255, 255, 0.08);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    /* Strict limit */
    position: relative;
    /* Prevent iOS horizontal bouncing if possible, though overflow-hidden usually handles it */
}

/* NUCLEAR OPTION: ISOLATE EVERYTHING */
section,
header,
footer {
    max-width: 100vw;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   2. GLOBAL UTILITIES
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Text Gradients */
.text-gradient {
    background: linear-gradient(90deg, #FFFFFF 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-highlight {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: #050b14;
    box-shadow: 0 0 20px rgba(0, 255, 198, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 255, 198, 0.4);
    background: #33FFD1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-dim);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Shine Effect for Buttons */
.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.shine-effect:hover::after {
    left: 100%;
}

/* Tags */
.tag-sm {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.primary-tag {
    background: var(--primary-dim);
    border: 1px solid rgba(0, 255, 198, 0.3);
    color: var(--primary);
}

.error-tag {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    color: var(--accent-red);
}

.alert-tag {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #F59E0B;
}

/* Background Glows */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 198, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    /* Ensure it doesn't cause scroll even if parent fails */
    max-width: 100vw;
}

.glow-top-left {
    top: -200px;
    left: -200px;
}

.glow-bottom-right {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
}

@media (max-width: 600px) {

    /* Shrink or constrain glows on mobile to prevent overflow */
    .glow {
        width: 300px;
        height: 300px;
    }

    .glow-top-left {
        left: -100px;
    }

    .glow-bottom-right {
        right: -100px;
    }
}

/* =========================================
   3. HEADINGS & SECTIONS
   ========================================= */
.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 64px;
    /* Increased from 0 auto */
}

.gamification .text-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.gamification .text-content p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 32px;
}

/* =========================================
   4. HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(11, 15, 23, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, #00CBA0 100%);
    border-radius: 12px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-list a:hover {
    color: var(--text-main);
}

.nav {
    display: flex;
    align-items: center;
    gap: 48px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 100px;
    overflow: hidden;
    /* Critical for containing absolute elements like glows/circles */
    width: 100%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    color: var(--primary);
    font-weight: 500;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 255, 198, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 198, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 255, 198, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 198, 0);
    }
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

/* FIX: ensure "point" stays with word or just styling */
.hero h1 span {
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.avatars {
    display: flex;
    margin-left: 10px;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #333;
    border: 2px solid var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    margin-left: -10px;
}

.avatar-circle:nth-child(1) {
    background: #3B82F6;
    z-index: 3;
}

.avatar-circle:nth-child(2) {
    background: #8B5CF6;
    z-index: 2;
}

.avatar-circle:nth-child(3) {
    background: #F59E0B;
    z-index: 1;
}

/* Phone Mockup */
.hero-visual {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.5;
    z-index: -1;
    filter: blur(60px);
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 48px;
    border: 10px solid #222;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #222;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 20;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 15, 23, 0.95);
    backdrop-filter: blur(16px);
    z-index: 2000;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
    transform: translateX(0);
    display: flex;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
    /* Reduced from 60px */
}

.close-menu {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 2rem;
    padding: 8px;
    border-radius: 50%;
    transition: 0.3s;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    /* Reduced from 32px/excessive spacing */
    width: 100%;
}

.mobile-nav-list li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s forwards;
}

/* Stagger animation for menu items */
.mobile-nav-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-nav-list li:nth-child(2) {
    animation-delay: 0.15s;
}

.mobile-nav-list li:nth-child(3) {
    animation-delay: 0.2s;
}

.mobile-nav-list li:nth-child(4) {
    animation-delay: 0.25s;
}

/* Standard Links (NOT buttons) */
.mobile-nav-list a:not(.btn) {
    font-size: 1.75rem;
    /* Bigger, bolder */
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    display: block;
    padding: 12px;
    transition: all 0.2s;
    letter-spacing: -0.5px;
}

.mobile-nav-list a:not(.btn):hover,
.mobile-nav-list a:not(.btn):active {
    color: var(--primary);
    transform: scale(1.05);
    /* Subtle pop */
}

/* Button inside Menu - Reset generic link styles */
.mobile-nav-list .btn {
    margin-top: 20px;
    display: inline-flex;
    /* Restore flex */
    width: auto;
    min-width: 200px;
    /* Ensure colors are correct (Dark text on Cyan bg) */
    color: #050b14 !important;
}

/* Fix for the disappearing text issue: prevent hover color override on the button */
.mobile-nav-list .btn:hover {
    color: #050b14 !important;
    background: #33FFD1 !important;
}


/* =========================================
   6. COMPARISON SECTION
   ========================================= */
.comparison {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(11, 15, 23, 0) 100%);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* VS Badge as overlay centered */
.vs-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-heading);
    border: 4px solid var(--bg-main);
    z-index: 10;
    box-shadow: 0 0 0 4px var(--bg-surface);
    /* Gentle blending */
}

.comparison-card {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 24px;
    position: relative;
    border: 1px solid var(--border);
    height: 100%;
}

.comparison-card.error {
    border-right: 1px solid rgba(255, 77, 77, 0.2);
    background: rgba(255, 77, 77, 0.03);
    transform: rotate(-1.5deg);
    margin-top: 10px;
    /* Offset the lift from rotation */
    transition: transform 0.3s ease;
}

.comparison-card.error:hover {
    transform: rotate(0deg);
    /* Straighten on interaction */
}

.comparison-card.success {
    border-left: 1px solid rgba(0, 255, 198, 0.2);
    background: linear-gradient(145deg, #1A2332 0%, #0F141C 100%);
    overflow: hidden;
}

.glow-card {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 255, 198, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.comparison-list li div {
    flex: 1;
}

.comparison-list li .material-icons-round {
    font-size: 24px;
    margin-top: 0px;
    /* Align with first line of text */
    flex-shrink: 0;
    /* Prevent icon from shrinking */
}

.error .comparison-list li .material-icons-round {
    color: var(--accent-red);
}

.success .comparison-list li .material-icons-round {
    color: var(--primary);
}

.success .comparison-list li strong {
    color: var(--text-main);
}


/* =========================================
   7. FEATURES SECTION
   ========================================= */
.features {
    padding: 80px 0 120px;
}

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

.feature-card {
    background: var(--bg-surface);
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card.highlighted {
    background: linear-gradient(145deg, #1A2332 0%, #151C28 100%);
    border: 1px solid rgba(0, 255, 198, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card.highlighted::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

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


/* =========================================
   8. GAMIFICATION SECTION
   ========================================= */
.gamification {
    padding: 100px 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
}

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

.rarity-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rarity-item {
    font-size: 1.5rem;
    font-weight: 700;
    padding-left: 20px;
    position: relative;
    transition: 0.3s;
    opacity: 0.5;
}

.rarity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.5;
}

.rarity-item:hover {
    opacity: 1;
    transform: translateX(10px);
    cursor: default;
}

.common {
    color: #10B981;
}

.common::before {
    background: #10B981;
}

.rare {
    color: #3B82F6;
}

.rare::before {
    background: #3B82F6;
}

.epic {
    color: #8B5CF6;
}

.epic::before {
    background: #8B5CF6;
}

.legendary {
    color: #F59E0B;
}

.legendary::before {
    background: #F59E0B;
}

.mythic {
    color: #EF4444;
    opacity: 1;
    font-size: 1.8rem;
}

.mythic::before {
    background: #EF4444;
    opacity: 1;
    box-shadow: 0 0 10px #EF4444;
}

.badge-showcase {
    width: 300px;
    height: 300px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    gap: 10px;
}

.badge-halo {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 2px dashed rgba(239, 68, 68, 0.3);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.main-icon {
    font-size: 100px;
    color: #EF4444;
    filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.6));
}

.badge-label {
    font-size: 1.5rem;
    font-weight: 800;
    color: #EF4444;
    letter-spacing: 2px;
}


/* =========================================
   9. PRICING
   ========================================= */
.pricing {
    padding: 120px 0;
}

.pricing-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 400px));
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-surface);
    border-radius: 32px;
    padding: 48px 32px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.pricing-card.premium {
    background: linear-gradient(180deg, #151C28 0%, #0F151F 100%);
    border: 1px solid var(--primary);
    transform: scale(1.08);
    position: relative;
    box-shadow: 0 25px 60px -20px rgba(0, 255, 198, 0.15);
}

.popular-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #000;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 16px 0;
    color: var(--text-main);
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-features {
    flex: 1;
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.plan-features .material-icons-round {
    color: var(--primary);
}

.plan-features li:has(span:nth-child(1).material-icons-round:contains('close')) span {
    color: rgba(255, 255, 255, 0.2) !important;
}

/* Fallback tricky selector, relying on order */
.plan-features li .material-icons-round.close {
    color: rgba(255, 255, 255, 0.2) !important;
}

/* Mobile Nav Logic handled by .active class */

/* =========================================
   10. WAITLIST
   ========================================= */
.waitlist {
    padding: 120px 0 80px;
}

.waitlist-card {
    background: linear-gradient(135deg, #1A2332 0%, #0F151F 100%);
    border-radius: 40px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 198, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.waitlist-content {
    position: relative;
    z-index: 2;
}

.waitlist-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.waitlist-form {
    margin: 40px auto;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.waitlist-form input {
    width: 100%;
    padding: 18px 20px 18px 56px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.waitlist-form input:focus {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.success-message {
    background: rgba(0, 255, 198, 0.1);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0, 255, 198, 0.2);
    margin-top: 20px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
    animation: fadeInUp 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   11. FOOTER
   ========================================= */
.footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
}

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

.footer-links-group a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links-group a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    color: var(--primary);
    background: rgba(0, 255, 198, 0.1);
    transform: translateY(-3px);
    border-color: var(--primary);
}

/* =========================================
   12. RESPONSIVE
   ========================================= */
/* Tablet Specific Fixes */
@media (max-width: 960px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
        padding-top: 40px;
    }

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

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .vs-badge {
        display: none;
    }

    .comparison-card {
        border-radius: 24px;
        border: 1px solid var(--border);
    }

    /* Fix potential overflow from negative margins or scaling */
    .container {
        overflow-x: visible;
        /* Let container breathe, body catches overflow */
    }

    .pricing-card.premium {
        transform: scale(1);
        /* Disable scaling on tablet to prevent overflow */
        margin: 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gamification-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .badge-showcase {
        margin: 40px auto 0;
    }

    .rarity-list {
        align-items: center;
        padding: 0;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
        /* Slightly smaller for mobile */
    }

    .pricing-card.premium {
        transform: scale(1);
    }

    .hero-visual {
        overflow: hidden;
        /* Clip mockup if it's too wide */
    }

    .phone-mockup {
        width: 280px;
        /* Smaller mockup for mobile */
        height: 580px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        align-items: center;
    }

    .footer-links-group {
        flex-direction: column;
        gap: 16px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Legal Consent Checkbox */
.legal-consent {
    margin: 16px 0;
    text-align: left;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    top: 2px;
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    flex-shrink: 0;
    transition: 0.2s;
}

.checkbox-container:hover input~.checkmark {
    background-color: rgba(255, 255, 255, 0.2);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #0F151F;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.label-text {
    line-height: 1.4;
}