@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ============================================
   DARK MODE VARIABLES (Default)
   ============================================ */
:root,
html.dark {
    --bg-deep: #020617;
    --bg-darker: #01030a;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    --electric-cyan: #06b6d4;
    --cobalt: #1e3a8a;
    --neon-glow: 0 0 20px rgba(6, 182, 212, 0.3);
    --gradient-start: #1e3a8a;
    --gradient-end: #06b6d4;
    --card-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
    --btn-secondary-bg: rgba(255, 255, 255, 0.03);
    --btn-secondary-border: rgba(255, 255, 255, 0.1);
    --modal-bg: #0f172a;
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.1);
}

/* ============================================
   LIGHT MODE VARIABLES - EMERALD DARK GREEN
   ============================================ */
html.light {
    --bg-deep: #ffffff;
    --bg-darker: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --border-light: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --electric-cyan: #047857;
    --cobalt: #065f46;
    --neon-glow: 0 0 20px rgba(4, 120, 87, 0.15);
    --gradient-start: #065f46;
    --gradient-end: #047857;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 10px 25px -5px rgba(0, 0, 0, 0.03);
    --btn-secondary-bg: rgba(0, 0, 0, 0.02);
    --btn-secondary-border: #e2e8f0;
    --modal-bg: #ffffff;
    --input-bg: #f8fafc;
    --input-border: #e2e8f0;
}

/* ============================================
   LIGHT MODE OVERRIDES
   ============================================ */
html.light .hero-stat-number,
html.light .stat-value,
html.light .result-number,
html.light .product-price,
html.light .level-link,
html.light .stat-plus,
html.light .stat-pound,
html.light .stat-percent,
html.light .step-metric,
html.light .level-badge,
html.light .hero-badge {
    color: #047857;
}

html.light .stat-number {
    color: #0f172a !important;
}

html.light .stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

html.light .stat-card:hover {
    background: rgba(4, 120, 87, 0.04);
    border-color: #047857;
}

html.light .stats-dashboard {
    animation: none;
    border-color: rgba(4, 120, 87, 0.3);
}

html.light .level-hero-visual {
    background: linear-gradient(135deg, rgba(4,120,87,0.05), rgba(6,95,70,0.03));
    border-color: rgba(4,120,87,0.2);
}

html.light .btn-small:hover,
html.light .level-card:hover,
html.light .service-card:hover,
html.light .process-step:hover,
html.light .faq-item:hover {
    border-color: #047857;
}

html.light .filter-btn:hover,
html.light .filter-btn.active {
    background: #047857;
    border-color: #047857;
}

/* ============================================
   LIGHT MODE BUTTONS
   ============================================ */
html.light .btn-moving {
    background: linear-gradient(135deg, #065f46, #047857);
    color: white;
}

html.light .btn-moving:hover {
    background: linear-gradient(135deg, #047857, #059669);
    box-shadow: 0 15px 30px -10px rgba(4, 120, 87, 0.4);
}

html.light .btn-secondary {
    background: transparent;
    border: 1px solid #0f172a;
    color: #0f172a;
}

html.light .btn-secondary:hover {
    background: #047857;
    color: white;
    border-color: #047857;
}

/* ============================================
   THEME TRANSITION (No Flicker)
   ============================================ */
html {
    transition: none !important;
}

html.light,
html.dark {
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* ============================================
   THEME TOGGLE CHECKBOX
   ============================================ */
.theme-switch {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
    border-radius: 50%;
    transition: 0.3s ease;
}

.theme-switch:hover {
    border-color: var(--electric-cyan);
}

.theme-switch input {
    display: none;
}

.theme-switch-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

html.dark .sun-icon { display: none; }
html.dark .moon-icon { display: block; }
html.light .sun-icon { display: block; }
html.light .moon-icon { display: none; }

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end), var(--gradient-start));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 6s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.level-badge {
    font-family: 'JetBrains Mono', monospace;
    color: var(--electric-cyan);
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
    opacity: 0.8;
}

.hero-badge {
    font-family: 'JetBrains Mono', monospace;
    color: var(--electric-cyan);
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border-radius: 100px;
    border: 1px solid var(--border-light);
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--electric-cyan);
    border-radius: 50%;
    box-shadow: var(--neon-glow);
}

.logo-text {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--electric-cyan);
    font-style: italic;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--electric-cyan);
    text-shadow: var(--neon-glow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
    color: var(--text-primary);
}

.theme-toggle:hover {
    border-color: var(--electric-cyan);
}

.btn-moving {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end), var(--gradient-start));
    background-size: 200% auto;
    color: white;
    font-weight: 700;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    padding: 0 24px;
    height: 44px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: btnMove 4s linear infinite;
}

.btn-moving:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -10px rgba(6, 182, 212, 0.4);
}

@keyframes btnMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.btn-header {
    height: 40px;
    padding: 0 20px;
}

.btn-secondary {
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
    border-radius: 100px;
    color: var(--text-primary);
    font-weight: 600;
    padding: 0 24px;
    height: 44px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--electric-cyan);
}

.btn-large {
    height: 55px;
    padding: 0 32px;
    font-size: 14px;
}

.btn-massive {
    height: 60px;
    padding: 0 40px;
    font-size: 16px;
}

.btn-small {
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    color: var(--text-primary);
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-small:hover {
    border-color: var(--electric-cyan);
    color: var(--electric-cyan);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s ease;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-deep);
    border-left: 1px solid var(--border-light);
    padding: 100px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 999;
    transition: 0.4s ease;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.mobile-cta {
    margin-top: 20px;
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-deep);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    word-wrap: break-word;
}

.hero-subtitle {
    max-width: 100%;
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* ============================================
   HOMEPAGE HERO STATS (Below Buttons)
   ============================================ */
.hero-stats {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 48px;
    margin-top: 32px;
}

.hero-stats div {
    text-align: left;
}

.hero-stats .hero-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--electric-cyan);
    line-height: 1.2;
}

.hero-stats div span:last-child {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ============================================
   STATS DASHBOARD
   ============================================ */
.stats-dashboard {
    background: linear-gradient(135deg, rgba(6,182,212,0.05), rgba(139,92,246,0.05));
    border: 1px solid rgba(6,182,212,0.2);
    border-radius: 32px;
    padding: 32px 24px;
    backdrop-filter: blur(20px);
    transition: 0.3s ease;
    animation: dashboardGlow 3s ease-in-out infinite;
}

@keyframes dashboardGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
        border-color: rgba(6, 182, 212, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(6, 182, 212, 0.3);
        border-color: rgba(6, 182, 212, 0.5);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 16px 8px;
    background: rgba(255,255,255,0.02);
    border-radius: 24px;
    transition: 0.3s ease;
}

.stat-card:hover {
    background: rgba(6,182,212,0.08);
    transform: translateY(-5px);
}

.stat-ring {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.stat-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 800;
    color: white;
}

.stat-plus, .stat-pound, .stat-percent {
    position: absolute;
    font-size: 14px;
    font-weight: 600;
    color: var(--electric-cyan);
}

.stat-plus { top: 20px; right: 15px; }
.stat-pound { top: 20px; right: 12px; }
.stat-percent { top: 20px; right: 10px; }

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   LEVEL CARDS
   ============================================ */
.level-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.level-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 32px;
    transition: 0.4s ease;
    cursor: pointer;
    text-align: center;
}

.level-card:hover {
    transform: translateY(-8px);
    border-color: var(--electric-cyan);
    background: var(--bg-card-hover);
}

.level-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 48px;
    font-weight: 700;
    color: var(--electric-cyan);
    opacity: 0.3;
    margin-bottom: 24px;
    text-align: center;
    display: block;
}

.level-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    text-align: center;
}

.level-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-align: center;
}

.level-link {
    color: var(--electric-cyan);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: block;
}

/* ============================================
   CHART SECTION
   ============================================ */
.chart-section {
    background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.05) 0%, var(--bg-darker) 100%);
    position: relative;
}

.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 32px;
    transition: 0.3s;
}

.chart-card:hover {
    border-color: var(--electric-cyan);
    box-shadow: 0 20px 40px -20px rgba(6,182,212,0.2);
}

.chart-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.metric-bar {
    margin-bottom: 24px;
}

.metric-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.progress-container {
    height: 8px;
    background: var(--border-light);
    border-radius: 10px;
    overflow: hidden;
}

.metric-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--electric-cyan), #8b5cf6);
    border-radius: 10px;
    width: 0%;
    transition: width 1.2s ease;
}

/* ============================================
   TECH BELTS
   ============================================ */
.tech-belt-wrapper {
    overflow: hidden;
    padding: 30px 0;
}

.belt-1 {
    background: linear-gradient(90deg, rgba(6,182,212,0.05), rgba(6,182,212,0.02));
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.belt-2 {
    background: linear-gradient(270deg, rgba(139,92,246,0.05), rgba(6,182,212,0.02));
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.belt-3 {
    background: linear-gradient(90deg, rgba(6,182,212,0.04), rgba(139,92,246,0.04));
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.marquee-track-left {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content-left {
    display: flex;
    gap: 50px;
    animation: scrollLeft 40s linear infinite;
    white-space: nowrap;
}

.marquee-track-right {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content-right {
    display: flex;
    gap: 50px;
    animation: scrollRight 40s linear infinite;
    white-space: nowrap;
}

@keyframes scrollLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scrollRight {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.tech-tag {
    padding: 10px 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 13px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    transition: 0.3s ease;
}

.tech-tag:hover {
    transform: scale(1.05);
    border-color: var(--electric-cyan);
}

.tech-tag.make { color: #eb4034; }
.tech-tag.n8n { color: #ff6d5a; }
.tech-tag.openai { color: #10a37f; }
.tech-tag.ghl { color: #2a5bd7; }

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    position: relative;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.02) 0%, rgba(30, 58, 138, 0.05) 100%);
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg, rgba(6, 182, 212, 0.03) 0px, rgba(6, 182, 212, 0.03) 1px, transparent 1px, transparent 15px);
    pointer-events: none;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 40px 28px;
    text-align: center;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6,182,212,0.08), transparent);
    transition: 0.6s ease;
}

.process-step:hover::before {
    left: 100%;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--electric-cyan);
    box-shadow: 0 20px 40px -20px rgba(6,182,212,0.3);
}

.step-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 56px;
    font-weight: 700;
    color: var(--electric-cyan);
    opacity: 0.3;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.process-step p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.step-metric {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--electric-cyan);
    background: rgba(6,182,212,0.1);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    position: relative;
    background: transparent;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: background 0.3s ease;
}

.faq-question:hover {
    color: var(--electric-cyan);
}

.faq-icon {
    color: var(--electric-cyan);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out;
}

.faq-answer .answer-content {
    overflow: hidden;
    padding: 0 24px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.open .faq-answer .answer-content {
    padding: 0 24px 24px 24px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(to top, rgba(6, 182, 212, 0.05), var(--bg-deep));
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    border-top: 1px solid var(--border-light);
    background: var(--bg-darker);
    padding: 64px 0 32px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    display: inline-flex;
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--electric-cyan);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 280px;
}

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

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: 0.3s ease;
}

.social-icon:hover {
    background: var(--electric-cyan);
    border-color: var(--electric-cyan);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 12px;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: var(--electric-cyan);
    transform: translateX(4px);
}

.footer-tech {
    padding: 24px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 32px;
}

.tech-stack-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.tech-stack-footer span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    color: var(--text-secondary);
    transition: 0.3s ease;
}

.tech-stack-footer span:hover {
    border-color: var(--electric-cyan);
    color: var(--electric-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-legal a:hover {
    color: var(--electric-cyan);
}

.footer-cookie-note span {
    font-size: 11px;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--modal-bg);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-secondary);
}

.modal-content h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

#quote-form input,
#quote-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
}

#quote-form input:focus,
#quote-form textarea:focus {
    outline: none;
    border-color: var(--electric-cyan);
}

#quote-form button {
    width: 100%;
}

/* ============================================
   LEVEL PAGE STYLES
   ============================================ */
.level-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08) 0%, var(--bg-deep) 60%);
}

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

.level-hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.level-hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.level-hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--electric-cyan);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.level-hero-visual {
    background: linear-gradient(135deg, rgba(6,182,212,0.05), rgba(139,92,246,0.05));
    border: 1px solid rgba(6,182,212,0.2);
    border-radius: 32px;
    padding: 28px 24px;
    backdrop-filter: blur(20px);
    transition: 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
}

.badge-static-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.hero-badge-static {
    text-align: center;
    padding: 12px 8px;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
    transition: 0.3s ease;
}

.hero-badge-static:hover {
    background: rgba(6,182,212,0.08);
    transform: translateY(-3px);
}

.hero-badge-static .badge-icon {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}

.hero-badge-static .badge-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-badge-static .badge-sub {
    font-size: 9px;
    color: var(--electric-cyan);
    opacity: 0.8;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-section {
    background: var(--bg-darker);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 32px;
    transition: 0.4s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--electric-cyan);
    background: var(--bg-card-hover);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
    text-align: center;
    display: block;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-stat {
    background: rgba(6, 182, 212, 0.05);
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 24px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--electric-cyan);
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

@media (min-width: 769px) {
    .service-footer {
        justify-content: space-between;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SHOP PAGE STYLES
   ============================================ */
.shop-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 120px;
    background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, var(--bg-deep) 80%);
}

.shop-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.shop-hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.shop-hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.shop-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--electric-cyan);
    color: white;
    border-color: var(--electric-cyan);
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 28px;
    transition: 0.4s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--electric-cyan);
    background: var(--bg-card-hover);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--electric-cyan), #8b5cf6);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-features span {
    background: rgba(6, 182, 212, 0.1);
    color: var(--electric-cyan);
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 100px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--electric-cyan);
}

.shop-cta {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(to top, rgba(6, 182, 212, 0.05), var(--bg-deep));
}

@media (max-width: 1200px) {
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .shop-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
    .shop-filters {
        gap: 10px;
    }
    .filter-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
}

/* ============================================
   PRODUCT CARD CENTERING
   ============================================ */
.product-card {
    text-align: center;
}

.product-icon {
    display: block;
    text-align: center;
    font-size: 44px !important;
    margin-bottom: 20px;
}

.product-footer {
    justify-content: center;
}

@media (min-width: 769px) {
    .product-footer {
        justify-content: space-between;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 120px;
    background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, var(--bg-deep) 80%);
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.contact-section {
    background: var(--bg-darker);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;
}

.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 40px;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--electric-cyan);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 13px;
    color: var(--text-secondary);
}

.btn-submit {
    width: 100%;
    height: 55px;
    font-size: 16px;
    margin-top: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card,
.estimator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 32px;
}

.info-card h3,
.estimator-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-divider {
    height: 1px;
    background: var(--border-light);
    margin: 24px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    font-size: 28px;
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-details strong {
    font-size: 14px;
    margin-bottom: 4px;
}

.info-details a,
.info-details span {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.info-details a:hover {
    color: var(--electric-cyan);
}

.info-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.info-badge span {
    background: rgba(6, 182, 212, 0.1);
    color: var(--electric-cyan);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
}

.estimator-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    margin-bottom: 16px;
    transition: 0.3s ease;
    cursor: pointer;
}

.estimator-option:hover {
    border-color: var(--electric-cyan);
    transform: translateX(5px);
}

.estimator-icon {
    font-size: 28px;
}

.estimator-text strong {
    font-size: 15px;
    margin-bottom: 4px;
}

.estimator-text span {
    font-size: 13px;
    color: var(--electric-cyan);
}

.estimator-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 16px;
    text-align: center;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-form-container {
        padding: 28px;
    }
    .form-title {
        font-size: 1.5rem;
    }
    .info-card,
    .estimator-card {
        padding: 24px;
    }
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 120px;
    background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, var(--bg-deep) 80%);
}

.legal-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.legal-hero-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.legal-section {
    background: var(--bg-darker);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 48px;
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block:last-child {
    margin-bottom: 0;
}

.legal-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--electric-cyan);
}

.legal-block p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.legal-block ul {
    margin: 16px 0 0 24px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-block li {
    margin-bottom: 8px;
}

.legal-block a {
    color: var(--electric-cyan);
    text-decoration: none;
}

.legal-block a:hover {
    text-decoration: underline;
}

.legal-cta {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(to top, rgba(6, 182, 212, 0.05), var(--bg-deep));
}

@media (max-width: 768px) {
    .legal-hero-title {
        font-size: 2.5rem;
    }
    .legal-content {
        padding: 28px 20px;
    }
    .legal-block h2 {
        font-size: 1.25rem;
    }
}

/* ============================================
   RESULTS SECTION - INTERNAL PAGES
   ============================================ */
.results-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(6,182,212,0.03), rgba(139,92,246,0.03));
}

.results-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 48px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.result-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--electric-cyan);
    margin-bottom: 8px;
}

.result-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .results-card {
        padding: 32px 24px;
    }
    .result-number {
        font-size: 2rem;
    }
}

/* ============================================
   STACK SECTION - BUILD YOUR STACK
   ============================================ */
.stack-section {
    background: var(--bg-deep);
    padding: 80px 0;
}

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

.stack-content .level-badge {
    margin-bottom: 1rem;
}

.stack-content .section-title {
    text-align: left;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.stack-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.stack-list {
    list-style: none;
    margin-bottom: 32px;
}

.stack-list li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.stack-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--electric-cyan);
}

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

.stack-icon-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.stack-icon {
    font-size: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 16px;
    transition: 0.3s ease;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stack-icon:hover {
    transform: scale(1.1);
    border-color: var(--electric-cyan);
}

.stack-note {
    color: var(--text-secondary);
    font-size: 13px;
}

@media (max-width: 768px) {
    .stack-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .stack-content .section-title {
        text-align: center;
    }
    .stack-list {
        text-align: left;
        display: inline-block;
    }
    .stack-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}

/* ============================================
   MARQUEE FIX
   ============================================ */
.marquee-track-left > div,
.marquee-track-right > div {
    display: flex;
    gap: 50px;
    white-space: nowrap;
}

.marquee-track-left > div {
    animation: scrollLeft 40s linear infinite;
}

.marquee-track-right > div {
    animation: scrollRight 40s linear infinite;
}

/* ============================================
   RESPONSIVE - MAIN BREAKPOINTS
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .level-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .cta-title {
        font-size: 2.5rem;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   MOBILE FIXES - ALL IN ONE
   ============================================ */
@media (max-width: 768px) {
    /* Navigation */
    .main-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Header */
    main {
        padding-top: 60px;
    }
    #hero,
    .level-hero,
    .shop-hero,
    .quiz-hero,
    .contact-hero {
        padding-top: 60px !important;
    }
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    .header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .mobile-menu-btn {
        margin-left: 0;
        padding: 8px;
    }
    .theme-toggle {
        margin: 0;
        padding: 8px;
    }
    
    /* Grid Layouts */
    .level-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* Typography */
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .cta-title {
        font-size: 2rem;
    }
    .section-padding {
        padding: 60px 0;
    }
    
    /* Modal */
    .modal-content {
        padding: 32px 24px;
    }
    
    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer-legal {
        justify-content: center;
    }
    .footer-grid {
        gap: 32px;
        text-align: center;
    }
    .footer-brand {
        text-align: center;
    }
    .footer-description {
        max-width: 100%;
    }
    .social-icons {
        justify-content: center;
    }
    
    /* Hero Text Centering */
    .hero-content {
        text-align: center;
    }
    .hero-title {
        text-align: center;
    }
    .hero-subtitle {
        text-align: center;
    }
    .hero-badge {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    
    /* Hero Stats Border */
    .hero-stats {
        justify-content: center;
        gap: 0;
        border: 1px solid var(--border-light);
        border-radius: 20px;
        background: var(--bg-card);
        margin-top: 24px;
    }
    .hero-stats div {
        flex: 1;
        text-align: center;
        padding: 16px 8px;
        border-right: 1px solid var(--border-light);
    }
    .hero-stats div:last-child {
        border-right: none;
    }
    .hero-stats .hero-stat-number {
        font-size: 1.25rem;
    }
    .hero-stats div span:last-child {
        font-size: 10px;
    }
    
    /* Internal Pages - Stack Hero Vertically */
    .level-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .level-hero-content {
        text-align: center;
    }
    .level-hero-title {
        text-align: center;
        font-size: 2.5rem;
    }
    .level-hero-subtitle {
        text-align: center;
    }
    .level-badge {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }
    .level-hero-stats {
        justify-content: center;
        flex-direction: column;
        gap: 16px;
        align-items: center;
        border: 1px solid var(--border-light);
        border-radius: 20px;
        background: var(--bg-card);
        margin-top: 24px;
        padding: 16px 0;
    }
    .hero-stat {
        text-align: center;
        padding: 8px 16px;
        border-right: none;
    }
    
    /* Hero Visual Badges */
    .level-hero-visual {
        margin-top: 20px;
        width: 100%;
        padding: 20px 16px;
    }
    .badge-static-grid {
        gap: 12px;
    }
    .hero-badge-static {
        padding: 10px 6px;
    }
    .hero-badge-static .badge-icon {
        font-size: 22px;
    }
    .hero-badge-static .badge-title {
        font-size: 9px;
    }
    .hero-badge-static .badge-sub {
        font-size: 8px;
    }
    
    /* Center Hero Text on All Pages */
    .level-hero-content,
    .shop-hero-content,
    .quiz-hero-content,
    .contact-hero-content {
        text-align: center;
    }
    .level-hero-title,
    .shop-hero-title,
    .quiz-hero-title,
    .contact-hero-title {
        text-align: center;
    }
    .level-hero-subtitle,
    .shop-hero-subtitle,
    .quiz-hero-subtitle,
    .contact-hero-subtitle {
        text-align: center;
    }
}

/* ============================================
   EXTRA SMALL DEVICES (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .header-container {
        padding: 8px 16px;
    }
    .logo-text {
        font-size: 11px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-ring svg {
        width: 60px;
        height: 60px;
    }
    .stat-number {
        font-size: 16px;
    }
}