/* ======================================================
   FUBER — Dark Web3 Landing Page Stylesheet
   Colors: deep-navy bg, #FFD166 gold, #00CFFF neon-blue
   ====================================================== */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-900: #07080d;
    --bg-800: #0b0d19;
    --bg-700: #10132a;
    --bg-card: #111628;
    --bg-card-h: #182040;
    --bg-glass: rgba(17, 22, 40, 0.75);

    --gold: #FFD166;
    --gold-dim: #c9a23b;
    --blue: #00CFFF;
    --blue-dim: #0099cc;
    --blue-glow: rgba(0, 207, 255, 0.2);
    --gold-glow: rgba(255, 209, 102, 0.2);

    --text: #eef0f8;
    --text-muted: #8f9ab0;
    --border: rgba(255, 255, 255, 0.09);
    --border-h: rgba(255, 255, 255, 0.16);

    --radius: 16px;
    --radius-lg: 24px;
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

    --font-body: 'Inter', sans-serif;
    --font-head: 'Space Grotesk', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-900);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

/* RTL support */
[dir="rtl"] .nav-links {
    direction: rtl;
}

[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .compare-grid {
    direction: rtl;
}

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

.section {
    padding: 100px 0;
    position: relative;
}

/* ---- TYPOGRAPHY ---- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.15;
}

.text-gold {
    color: var(--gold);
}

.text-blue {
    color: var(--blue);
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(0, 207, 255, 0.1);
    border: 1px solid rgba(0, 207, 255, 0.3);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 52px;
    max-width: 640px;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 100px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #f4a72a 100%);
    color: #0a0a0a;
    box-shadow: 0 0 22px rgba(255, 209, 102, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 38px rgba(255, 209, 102, 0.55);
}

.btn-secondary {
    background: transparent;
    color: var(--blue);
    border: 1.5px solid var(--blue);
    box-shadow: 0 0 14px rgba(0, 207, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(0, 207, 255, 0.08);
    box-shadow: 0 0 28px rgba(0, 207, 255, 0.3);
    transform: translateY(-2px);
}

.btn-tg {
    background: linear-gradient(135deg, #229ED9, #1A8BBD);
    color: #fff;
    box-shadow: 0 0 20px rgba(34, 158, 217, 0.3);
}

.btn-tg:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(34, 158, 217, 0.5);
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2, #404EED);
    color: #fff;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(88, 101, 242, 0.5);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.05rem;
}

/* ======================================================
   NAVBAR
   ====================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    background: rgba(8, 9, 13, 0.82);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(0, 207, 255, 0.55)) drop-shadow(0 0 4px rgba(255, 209, 102, 0.3));
    transition: filter var(--transition), transform var(--transition);
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 18px rgba(0, 207, 255, 0.9)) drop-shadow(0 0 8px rgba(255, 209, 102, 0.5));
    transform: scale(1.1) rotate(-3deg);
}

.logo-text {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 40%, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

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

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- LANGUAGE SWITCHER ---------- */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-h);
    border-radius: 100px;
    padding: 7px 14px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.lang-btn:hover {
    border-color: var(--blue);
    color: var(--text);
    background: rgba(0, 207, 255, 0.08);
}

.lang-globe {
    font-size: 1rem;
}

.lang-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.lang-btn[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-h);
    border-radius: var(--radius);
    list-style: none;
    padding: 6px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.22s ease;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
    z-index: 2000;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 9px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: all 0.18s;
}

.lang-option:hover {
    background: rgba(0, 207, 255, 0.08);
    color: var(--text);
}

.lang-option.active {
    background: rgba(0, 207, 255, 0.12);
    color: var(--blue);
    font-weight: 600;
}

/* ======================================================
   HERO
   ====================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

/* Dot-grid background */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 0;
}

/* Glows */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 209, 102, 0.12);
    top: 10%;
    left: -8%;
    animation: floatGlow 6s ease-in-out infinite;
}

.hero-glow-2 {
    width: 600px;
    height: 600px;
    background: rgba(0, 207, 255, 0.1);
    bottom: 0%;
    right: -10%;
    animation: floatGlow 8s ease-in-out infinite reverse;
}

@keyframes floatGlow {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 209, 102, 0.08);
    border: 1px solid rgba(255, 209, 102, 0.3);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 30px;
    animation: fadeSlideUp 0.8s ease both;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 6px var(--gold);
    }

    50% {
        box-shadow: 0 0 16px var(--gold);
    }
}

.hero-headline {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #a8b4cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 22px;
    animation: fadeSlideUp 0.8s 0.1s ease both;
    max-width: 800px;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 42px;
    animation: fadeSlideUp 0.8s 0.2s ease both;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeSlideUp 0.8s 0.3s ease both;
}

/* Stats bar */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-h);
    border-radius: var(--radius);
    padding: 20px 40px;
    animation: fadeSlideUp 0.8s 0.4s ease both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 36px;
}

.stat-value {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 44px;
    background: var(--border);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--blue);
    border-radius: 2px;
    animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    80% {
        transform: translateY(10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

/* ======================================================
   PROBLEM / SOLUTION COMPARE
   ====================================================== */
.compare {
    background: var(--bg-800);
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.compare-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--border);
    transition: border-color var(--transition), transform var(--transition);
}

.compare-card:hover {
    transform: translateY(-4px);
}

.compare-card.problem {
    border-color: rgba(255, 80, 80, 0.2);
    background: linear-gradient(135deg, #1a0e0e, var(--bg-card));
}

.compare-card.problem:hover {
    border-color: rgba(255, 80, 80, 0.45);
}

.compare-card.solution {
    border-color: rgba(0, 207, 255, 0.2);
    background: linear-gradient(135deg, #091921, var(--bg-card));
}

.compare-card.solution:hover {
    border-color: var(--blue);
    box-shadow: 0 0 30px rgba(0, 207, 255, 0.1);
}

.compare-card-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.compare-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--text);
}

.compare-card.problem h3 {
    color: #ff6b6b;
}

.compare-card.solution h3 {
    color: var(--blue);
}

.compare-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.compare-card ul li {
    font-size: 0.93rem;
    color: var(--text-muted);
    padding-left: 22px;
    position: relative;
}

.compare-card.problem ul li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: 700;
}

.compare-card.solution ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4ece7f;
    font-weight: 700;
}

.compare-card ul li strong {
    color: var(--text);
}

.compare-vs {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--text-muted);
    text-align: center;
    padding: 0 8px;
    flex-shrink: 0;
}

/* ======================================================
   UTILITY
   ====================================================== */
.utility {
    background: var(--bg-900);
}

.utility-glow {
    position: absolute;
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 207, 255, 0.06) 0%, transparent 70%);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.util-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.util-card {
    background: linear-gradient(160deg, #161d36 0%, var(--bg-card) 100%);
    border: 1px solid rgba(0, 207, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.util-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), rgba(0, 207, 255, 0.2));
    opacity: 1;
    transition: opacity var(--transition);
}

.util-card:hover {
    border-color: rgba(0, 207, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 207, 255, 0.08);
}

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

.util-icon {
    font-size: 2.4rem;
    line-height: 1;
}

.util-card h3 {
    font-size: 1.1rem;
    color: var(--text);
}

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

.util-tag {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(0, 207, 255, 0.1);
    border: 1px solid rgba(0, 207, 255, 0.25);
    padding: 3px 10px;
    border-radius: 100px;
}

/* ======================================================
   ROADMAP
   ====================================================== */
.roadmap {
    background: var(--bg-800);
}

.road-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 720px;
}

.road-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 24px;
    padding-bottom: 0;
}

.road-node {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.road-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    flex-shrink: 0;
    margin-top: 6px;
    transition: all var(--transition);
    position: relative;
    z-index: 1;
}

.road-item.complete .road-dot {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 16px rgba(255, 209, 102, 0.5);
}

.road-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(180deg, var(--border), transparent);
    margin-top: 4px;
    min-height: 40px;
}

.road-line.last {
    background: transparent;
}

.road-item.complete .road-line {
    background: linear-gradient(180deg, var(--gold-dim), var(--border));
}

.road-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    transition: all var(--transition);
}

.road-card:hover {
    border-color: rgba(255, 209, 102, 0.25);
    transform: translateX(4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.road-item.complete .road-card {
    border-color: rgba(255, 209, 102, 0.2);
}

.road-phase {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.road-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.road-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.road-card ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
}

.road-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-size: 0.8rem;
}

.road-status {
    display: inline-block;
    margin-top: 18px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
}

.road-status.active {
    background: rgba(255, 209, 102, 0.12);
    color: var(--gold);
    border: 1px solid rgba(255, 209, 102, 0.35);
}

.road-status.upcoming {
    background: rgba(136, 146, 164, 0.08);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* ======================================================
   COMMUNITY CTA
   ====================================================== */
.community {
    background: var(--bg-900);
    text-align: center;
}

.community-glow {
    position: absolute;
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0, 207, 255, 0.07) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.community-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.community-sub {
    max-width: 540px;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.community-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 32px 48px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 100px;
    border: 1px solid var(--border-h);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
}

.social-link:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(0, 207, 255, 0.06);
}

.footer-disclaimer {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 700px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid var(--border);
    line-height: 1.6;
}

.footer-copy {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    color: rgba(136, 146, 164, 0.5);
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

/* ======================================================
   ANIMATIONS
   ====================================================== */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

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

/* Reveal starts visible; JS adds animation class when observed */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

/* Applied by JS before observing so entrance animation works */
.reveal.pre-animate {
    opacity: 0;
    transform: translateY(28px);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================================================
   RESPONSIVE — 6 BREAKPOINTS
   1280 · 1024 · 768 · 600 · 480 · 360
   ====================================================== */

/* ---------- 1280px: Large desktop cap ---------- */
@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }

    .hero-headline {
        font-size: 4.6rem;
    }
}

/* ---------- 1024px: Tablet landscape / small laptop ---------- */
@media (max-width: 1024px) {
    .nav-links a {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .util-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        padding: 18px 28px;
    }

    .stat {
        padding: 0 24px;
    }
}

/* ---------- 900px: Tablet ---------- */
@media (max-width: 900px) {
    .compare-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .compare-vs {
        text-align: center;
        padding: 4px 0;
        font-size: 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        padding: 20px 24px;
    }

    .stat {
        padding: 12px 24px;
    }

    .stat-divider {
        display: none;
    }

    .stat {
        border-bottom: 1px solid var(--border);
        width: 50%;
    }

    .stat:nth-child(3) {
        border-bottom: none;
        width: 100%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-social {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    }
}

/* ---------- 768px: Mobile nav kicks in ---------- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Mobile drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(300px, 85vw);
        background: rgba(11, 13, 25, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: 1px solid var(--border-h);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 88px 24px 40px;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 999;
        box-shadow: -8px 0 48px rgba(0, 0, 0, 0.6);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    /* Mobile nav backdrop */
    .nav-menu::before {
        display: none;
    }

    .nav-links {
        flex-direction: column;
        gap: 4px;
    }

    .nav-links a {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 12px;
        border: 1px solid transparent;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-links a:hover {
        border-color: var(--border);
    }

    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .nav-actions .btn {
        justify-content: center;
        min-height: 48px;
    }

    .lang-switcher {
        width: 100%;
    }

    .lang-btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    .lang-dropdown {
        right: auto;
        left: 0;
        width: 100%;
        position: relative;
        top: 8px;
    }

    /* Sections */
    .section {
        padding: 72px 0;
    }

    .hero-inner {
        padding: 56px 16px 40px;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

    .section-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
        margin-bottom: 36px;
        max-width: 100%;
    }

    /* Hero CTAs */
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 340px;
    }

    .hero-ctas .btn {
        justify-content: center;
        min-height: 52px;
        width: 100%;
    }

    /* Stats */
    .hero-stats {
        width: 100%;
        border-radius: var(--radius);
        padding: 16px;
    }

    .stat {
        width: 33.33%;
        border-bottom: none;
        padding: 8px 12px;
    }

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

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

    /* Utility grid */
    .util-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .util-card {
        padding: 28px 22px;
    }

    /* Roadmap */
    .road-timeline {
        max-width: 100%;
    }

    .road-item {
        grid-template-columns: 28px 1fr;
        gap: 16px;
    }

    .road-card {
        padding: 22px 18px;
        margin-bottom: 16px;
    }

    /* Compare */
    .compare-grid {
        max-width: 100%;
    }

    .compare-card {
        padding: 28px 22px;
    }

    /* Community */
    .community-btns {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .community-btns .btn {
        justify-content: center;
        min-height: 52px;
    }

    .community-sub {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 36px 0 24px;
    }

    .social-link span {
        display: none;
    }

    .social-link {
        padding: 10px 14px;
        border-radius: 50%;
    }

    .footer-social {
        gap: 8px;
    }

    .footer-disclaimer {
        font-size: 0.78rem;
    }
}

/* ---------- 600px: Large phone ---------- */
@media (max-width: 600px) {
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }

    .stat {
        width: 100%;
        border-right: 1px solid var(--border);
        padding: 10px 8px;
    }

    .stat:last-child {
        border-right: none;
    }

    .road-card h3 {
        font-size: 1.05rem;
    }

    .util-card h3 {
        font-size: 1rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .nav-inner {
        height: 64px;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .hero-ctas {
        max-width: 100%;
        padding: 0 4px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* ---------- 480px: Phone ---------- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 9vw, 2.4rem);
        letter-spacing: -0.02em;
    }

    .hero-inner {
        padding: 48px 0 32px;
    }

    .hero-stats {
        padding: 12px 8px;
    }

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

    .compare-card {
        padding: 24px 18px;
    }

    .compare-card-icon {
        font-size: 1.8rem;
    }

    .compare-card h3 {
        font-size: 1.05rem;
    }

    .compare-card ul li {
        font-size: 0.88rem;
    }

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

    .util-card p {
        font-size: 0.85rem;
    }

    .road-phase {
        font-size: 0.68rem;
    }

    .road-card h3 {
        font-size: 1rem;
    }

    .road-card ul li {
        font-size: 0.85rem;
    }

    .footer-copy {
        font-size: 0.72rem;
    }

    .footer-tagline {
        font-size: 0.8rem;
    }

    .section-tag {
        font-size: 0.68rem;
        padding: 4px 12px;
    }

    .section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
        margin-bottom: 28px;
    }
}

/* ---------- 360px: Small phone ---------- */
@media (max-width: 360px) {
    .hero-headline {
        font-size: 1.6rem;
    }

    .hero-sub {
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 13px 20px;
        font-size: 0.92rem;
    }

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

    .logo-text {
        font-size: 1.15rem;
    }

    .nav-inner {
        height: 60px;
    }

    .road-item {
        grid-template-columns: 22px 1fr;
        gap: 12px;
    }
}

/* ---------- Touch: no-hover devices ---------- */
@media (hover: none) {

    .util-card:hover,
    .compare-card:hover,
    .road-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .nav-links a {
        min-height: 44px;
    }

    .social-link {
        min-height: 44px;
        min-width: 44px;
        justify-content: center;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .reveal.pre-animate {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-badge,
    .hero-headline,
    .hero-sub,
    .hero-ctas,
    .hero-stats {
        animation: none !important;
    }
}

/* ---------- Print ---------- */
@media print {

    .navbar,
    .scroll-indicator,
    .hero-glow,
    .hero-bg-grid,
    .utility-glow,
    .community-glow {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero-headline,
    .logo-text {
        -webkit-text-fill-color: black;
    }

    .btn {
        border: 2px solid black;
        color: black;
        background: white;
    }

    .section {
        padding: 32px 0;
    }
}