/* ══════════════════════════════════════════════════════════════════
   Warden — League of Legends companion · Product Page
   Hextech identity: deep magic-blue navy, gold filigree, turquoise glow
   ══════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ────────────────────────────────────────────────── */

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

:root {
    /* ─────────────────────────────────────────────────────────────
       WARDEN — defined Hextech palette
       Void navy bg · Hextech turquoise (primary) · League gold (secondary)
       cream text · slate dim · only green/red as status accents
       ───────────────────────────────────────────────────────────── */

    /* Primary — Hextech turquoise */
    --accent: #0ac8b9;
    --accent-bright: #2ee6d6;
    --accent-dim: rgba(10, 200, 185, 0.6);
    --accent-faint: rgba(10, 200, 185, 0.12);
    --accent-glow: rgba(10, 200, 185, 0.32);
    /* Secondary — League gold / filigree */
    --gold: #c89b3c;
    --gold-bright: #f0e6d2;   /* cream — primary text & headings */
    --gold-mid: #c8aa6e;
    --gold-faint: rgba(200, 155, 60, 0.14);
    --gold-line: rgba(200, 170, 110, 0.30);
    /* Hextech blue (depth accent) */
    --blue: #0a96c4;
    --blue-deep: #0596aa;
    /* Status only */
    --green: #46e3a0;
    --green-faint: rgba(70, 227, 160, 0.12);
    --warm: #f4767b;
    --warm-faint: rgba(244, 118, 123, 0.1);
    /* Surfaces — void / magic-blue navy */
    --bg: #081320;
    --bg-2: #0c1b2c;
    --bg-soft: rgba(255, 255, 255, 0.025);
    --bg-card: rgba(120, 170, 200, 0.05);
    --bg-card-hover: rgba(10, 200, 185, 0.07);
    --bg-glass: rgba(8, 19, 32, 0.84);
    --border: rgba(200, 170, 110, 0.18);
    --border-soft: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(10, 200, 185, 0.42);
    --text: rgba(240, 230, 210, 0.92);
    --text-dim: rgba(190, 206, 216, 0.62);
    --text-faint: rgba(190, 206, 216, 0.38);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'Menlo', 'SF Mono', monospace;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -8%, rgba(10, 200, 185, 0.12), transparent 60%),
        radial-gradient(ellipse 60% 40% at 92% 4%, rgba(200, 155, 60, 0.07), transparent 55%),
        radial-gradient(ellipse 70% 50% at 8% 22%, rgba(3, 151, 171, 0.08), transparent 60%);
    background-attachment: fixed;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s, color 0.2s;
}
a:hover { opacity: 0.82; }

img { max-width: 100%; height: auto; }

/* ── Utility ─────────────────────────────────────────────────────── */

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

.gradient-text {
    background: linear-gradient(100deg, var(--accent-bright) 0%, #4fe0cf 38%, #ead7a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────────────────── */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, opacity 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); opacity: 1; }
.btn:active { transform: translateY(0); }

/* Hextech CTA — turquoise gradient with a gold filigree frame */
.btn-primary {
    background: linear-gradient(180deg, #11e0cf 0%, var(--accent) 48%, #079a8f 100%);
    color: #01231f;
    box-shadow: 0 0 22px var(--accent-glow), inset 0 0 0 1px rgba(240, 230, 210, 0.25);
    outline: 1px solid var(--gold-line);
    outline-offset: 2px;
}
.btn-primary:hover {
    box-shadow: 0 0 34px var(--accent-dim), inset 0 0 0 1px rgba(240, 230, 210, 0.4);
    color: #01231f;
}

.btn-ghost {
    background: rgba(200, 170, 110, 0.04);
    color: var(--gold-bright);
    border: 1px solid var(--gold-line);
}
.btn-ghost:hover {
    border-color: var(--gold-mid);
    color: var(--gold-bright);
    background: var(--gold-faint);
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-xl { padding: 16px 34px; font-size: 1.05rem; }

/* ── Navigation ──────────────────────────────────────────────────── */

#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}

#nav.scrolled {
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--gold-line);
    box-shadow: 0 1px 0 rgba(10, 200, 185, 0.08);
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
}
.nav-logo:hover { opacity: 1; }

.nav-logo-glyph {
    color: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.nav-logo-text {
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 1.1rem;
    color: var(--gold-bright);
}

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

.nav-links a {
    color: var(--text-dim);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color 0.2s;
    text-decoration: none;
}
.nav-links a:hover { color: var(--gold-bright); opacity: 1; }

.nav-cta {
    background: linear-gradient(180deg, #11e0cf, var(--accent) 55%, #079a8f);
    color: #01231f !important;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    outline: 1px solid var(--gold-line);
    outline-offset: 2px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.nav-cta:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-1px);
    color: #01231f !important;
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.nav-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold-mid);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ─────────────────────────────────────────────────────────── */

#hero {
    position: relative;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 56px;
    overflow: hidden;
    padding: 116px 48px 72px;
    max-width: 1260px;
    margin: 0 auto;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* faint hex-grid texture overlay on the hero */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image:
        repeating-linear-gradient(60deg, rgba(200,170,110,0.035) 0 1px, transparent 1px 26px),
        repeating-linear-gradient(-60deg, rgba(200,170,110,0.035) 0 1px, transparent 1px 26px),
        repeating-linear-gradient(0deg, rgba(10,200,185,0.025) 0 1px, transparent 1px 26px);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 0%, transparent 75%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 26px;
    padding: 7px 18px;
    border: 1px solid var(--gold-line);
    border-radius: 100px;
    background: linear-gradient(180deg, rgba(200,155,60,0.10), rgba(10,200,185,0.06));
}
.hero-label::before,
.hero-label::after {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    transform: rotate(45deg);
    box-shadow: 0 0 8px var(--accent-glow);
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.1rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--gold-bright);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    color: var(--text-dim);
    max-width: 580px;
    margin: 0 0 36px;
    line-height: 1.72;
}

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

.hero-platforms {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-dim);
    padding: 4px 13px;
    border: 1px solid var(--border-soft);
    border-radius: 100px;
}

.trust-pill {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--accent-bright);
    padding: 4px 13px;
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    background: var(--accent-faint);
}

/* ── Hero hex halo (decorative) ──────────────────────────────────── */

.hero-visual {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hex-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 142%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.65;
}
.hex-halo svg { width: 100%; height: 100%; overflow: visible; }
.hex-halo .hx,
.hex-halo .hx-ring,
.hex-halo .hx-ticks line {
    fill: none;
    stroke-linejoin: round;
}
.hex-halo .hx-1 {
    stroke: var(--gold-line);
    stroke-width: 1.5;
    transform-origin: 220px 220px;
    animation: spin 64s linear infinite;
}
.hex-halo .hx-2 {
    stroke: rgba(10, 200, 185, 0.35);
    stroke-width: 1.5;
    transform-origin: 220px 220px;
    animation: spinRev 48s linear infinite;
}
.hex-halo .hx-ring {
    stroke: rgba(200, 170, 110, 0.18);
    stroke-width: 1;
    stroke-dasharray: 3 9;
    transform-origin: 220px 220px;
    animation: spin 90s linear infinite;
}
.hex-halo .hx-ticks line {
    stroke: var(--gold-mid);
    stroke-width: 2;
    opacity: 0.5;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinRev { to { transform: rotate(-360deg); } }

/* ── App mockup (champ-select) ───────────────────────────────────── */

.app-window {
    position: relative;
    background: linear-gradient(180deg, #07172a 0%, #03101d 100%);
    border: 1px solid var(--gold-line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 0 70px rgba(10, 200, 185, 0.10),
        inset 0 1px 0 rgba(240, 230, 210, 0.08);
}

/* gold corner brackets */
.aw-corner {
    position: absolute;
    width: 16px; height: 16px;
    border: 2px solid var(--gold-mid);
    z-index: 3;
    opacity: 0.85;
}
.aw-corner.tl { top: 7px; left: 7px; border-right: none; border-bottom: none; }
.aw-corner.tr { top: 7px; right: 7px; border-left: none; border-bottom: none; }
.aw-corner.bl { bottom: 7px; left: 7px; border-right: none; border-top: none; }
.aw-corner.br { bottom: 7px; right: 7px; border-left: none; border-top: none; }

.app-titlebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--gold-line);
    background: linear-gradient(180deg, rgba(200,155,60,0.08), transparent);
}

.app-dots { display: inline-flex; gap: 6px; }
.app-dots i {
    width: 9px; height: 9px;
    transform: rotate(45deg);
    background: rgba(200, 170, 110, 0.4);
}

.app-title {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--gold-bright);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.app-mode {
    margin-left: auto;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent-bright);
    padding: 3px 11px;
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    background: var(--accent-faint);
    letter-spacing: 0.02em;
}

.app-body { padding: 22px 20px; }

.app-champ {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}

/* hexagonal portrait with gold rim */
.champ-portrait {
    width: 54px; height: 58px;
    flex-shrink: 0;
    display: block;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    box-shadow: 0 0 18px var(--accent-glow);
}
.champ-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    transform: scale(0.9);
}

.champ-meta { display: flex; flex-direction: column; gap: 3px; }
.champ-name { font-size: 0.94rem; font-weight: 700; color: var(--gold-bright); }
.champ-role { font-size: 0.74rem; color: var(--text-dim); }

/* tier gem (rotated diamond, upright glyph) */
.tier-badge {
    margin-left: auto;
    width: 34px; height: 34px;
    display: grid;
    place-items: center;
    font-size: 0;
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    box-shadow: 0 0 16px rgba(200, 155, 60, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.tier-badge::before {
    content: 'S';
    transform: rotate(-45deg);
    font-family: var(--mono);
    font-weight: 700;
    font-size: 0.92rem;
    color: #2a1e06;
}

.app-row-label {
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold-mid);
    margin-bottom: 9px;
    opacity: 0.85;
}

.team-row { display: flex; gap: 9px; margin-bottom: 18px; }
.team-dot {
    width: 32px; height: 34px;
    display: block;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--gold-line);
}
.team-dot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    transform: scale(0.88);
}
.team-dot.is-you {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.item-row { display: flex; gap: 8px; margin-bottom: 18px; }
.item-cell {
    width: 34px; height: 34px;
    border-radius: 5px;
    overflow: hidden;
    background: rgba(120, 170, 200, 0.06);
    border: 1px solid var(--border);
}
.item-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spell-cell { border-color: var(--border-accent); box-shadow: 0 0 8px rgba(10, 200, 185, 0.1); }

.rune-row { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.rune-cell {
    width: 32px; height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(10, 10, 16, 0.6);
    border: 1px solid var(--border);
}
.rune-cell img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rune-keystone {
    border-color: var(--gold-mid);
    box-shadow: 0 0 12px rgba(200, 155, 60, 0.35);
}
.rune-sep { width: 1px; height: 22px; background: var(--gold-line); margin: 0 4px; }

.app-import {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #01231f;
    background: linear-gradient(180deg, #11e0cf, var(--accent) 55%, #079a8f);
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px;
    outline: 1px solid var(--gold-line);
    outline-offset: 2px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, var(--gold-mid), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Section Shared ──────────────────────────────────────────────── */

section { position: relative; padding: 120px 0; }

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-mid);
    margin-bottom: 18px;
}
.section-label::before,
.section-label::after {
    content: '';
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-line));
}
.section-label::after { background: linear-gradient(90deg, var(--gold-line), transparent); }

.section-header h2 {
    position: relative;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.02em;
    color: var(--gold-bright);
    margin-bottom: 22px;
    padding-bottom: 28px;
}

/* gold filigree divider under headings */
.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 9px;
    transform: translateX(-50%);
    width: 96px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-mid) 25%, var(--gold-bright) 50%, var(--gold-mid) 75%, transparent);
}
.section-header h2::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%) rotate(45deg);
    width: 9px; height: 9px;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    z-index: 1;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.72;
}

/* ── Problem → Fix two columns ───────────────────────────────────── */

.compare-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}

.compare-col {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    overflow: hidden;
}

.compare-col-new {
    border-color: var(--border-accent);
    background: linear-gradient(180deg, rgba(10,200,185,0.07), rgba(120,170,200,0.03));
    box-shadow: 0 0 40px rgba(10, 200, 185, 0.08);
}
.compare-col-new::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.compare-col-old::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(248,113,113,0.5), transparent);
}

.compare-col-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 20px;
}
.compare-col-new .compare-col-title { color: var(--accent-bright); }

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

.compare-list li {
    position: relative;
    padding-left: 30px;
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.55;
}

.compare-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    font-size: 0.95rem;
}

.compare-list li.bad::before { content: '\2715'; color: var(--warm); }
.compare-list li.good::before { content: '\2713'; color: var(--green); }

/* ── Bento (Standouts) ───────────────────────────────────────────── */

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

.card-surface,
.bento-card,
.feature-card,
.promise-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}

/* gold corner notch that lights up on hover */
.bento-card::after,
.feature-card::after,
.promise-card::after {
    content: '';
    position: absolute;
    top: 10px; right: 10px;
    width: 14px; height: 14px;
    border-top: 1.5px solid var(--gold-line);
    border-right: 1.5px solid var(--gold-line);
    opacity: 0;
    transition: opacity 0.3s;
}

.bento-card { padding: 32px 28px; }

.bento-card:hover,
.feature-card:hover,
.promise-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(10, 200, 185, 0.07);
}
.bento-card:hover::after,
.feature-card:hover::after,
.promise-card:hover::after { opacity: 1; border-color: var(--gold-mid); }

.bento-wide { grid-column: span 2; }

.bento-num {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-mid);
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--gold-line);
    letter-spacing: 0.08em;
}

.bento-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-bright);
    margin-bottom: 10px;
}

.bento-card p {
    font-size: 0.93rem;
    color: var(--text-dim);
    line-height: 1.66;
}

/* ── Feature grid (status badges) ────────────────────────────────── */

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

.feature-card { padding: 28px 26px; }

.feature-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.feature-head h3 {
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--gold-bright);
    line-height: 1.3;
}

.feature-card p {
    font-size: 0.91rem;
    color: var(--text-dim);
    line-height: 1.62;
}

.status {
    flex-shrink: 0;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
    margin-top: 2px;
}

.status-live {
    color: var(--green);
    background: var(--green-faint);
    border: 1px solid rgba(70, 227, 160, 0.28);
}
.status-optin {
    color: var(--gold-bright);
    background: var(--gold-faint);
    border: 1px solid var(--gold-line);
}
.status-roadmap {
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-soft);
}

/* ── Specs strip ─────────────────────────────────────────────────── */

#specs {
    padding: 72px 0;
    border-top: 1px solid var(--gold-line);
    border-bottom: 1px solid var(--gold-line);
    background:
        radial-gradient(ellipse 60% 120% at 50% 50%, rgba(10,200,185,0.05), transparent 70%);
}

.specs-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec {
    text-align: center;
    padding: 0 36px;
    flex: 0 1 260px;
}

.spec-num {
    font-family: var(--mono);
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 0 24px rgba(200, 155, 60, 0.25);
}

.spec-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--accent-bright);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.spec-sub {
    font-size: 0.78rem;
    color: var(--text-faint);
    line-height: 1.4;
}

.spec-divider {
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    background: transparent;
    border: 1px solid var(--gold-mid);
    flex-shrink: 0;
}

/* ── Privacy grid ────────────────────────────────────────────────── */

.promise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}

.promise-card { padding: 32px 28px; }

.promise-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold-bright);
    margin-bottom: 10px;
}

.promise-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.66;
}

/* ── Comparison table ────────────────────────────────────────────── */

.compare-wrap {
    margin: 0 auto;
    max-width: 880px;
    border: 1px solid var(--gold-line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.35);
}

table.compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    letter-spacing: -0.003em;
}

table.compare th,
table.compare td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

table.compare thead th {
    font-family: var(--font);
    font-weight: 700;
    color: var(--gold-bright);
    background: linear-gradient(180deg, rgba(200,155,60,0.10), rgba(200,155,60,0.02));
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

table.compare thead th.col-warden { color: var(--accent-bright); }

table.compare tbody th {
    font-weight: 600;
    color: var(--text);
    width: 30%;
}

table.compare td { color: var(--text-dim); }

table.compare tbody tr { transition: background 0.2s; }
table.compare tbody tr:hover { background: rgba(10, 200, 185, 0.04); }

table.compare td.yes { color: var(--accent-bright); font-weight: 600; }
table.compare td.warn { color: var(--text-faint); }

table.compare tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: none; }

.compare-foot {
    margin: 0.9em auto 0;
    max-width: 880px;
    font-size: 0.8rem;
    color: var(--text-faint);
    text-align: center;
    letter-spacing: -0.003em;
}

/* ── FAQ ──────────────────────────────────────────────────────────── */

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-bright);
    list-style: none;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '';
    width: 9px; height: 9px;
    transform: rotate(45deg);
    border-right: 2px solid var(--gold-mid);
    border-bottom: 2px solid var(--gold-mid);
    transition: transform 0.25s, border-color 0.2s;
    flex-shrink: 0;
    margin-left: 16px;
    margin-top: -4px;
}

.faq-item[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 2px;
    border-color: var(--accent);
}

.faq-item summary:hover { color: var(--accent-bright); }

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.72;
    padding-bottom: 20px;
}

/* ── Download Block ──────────────────────────────────────────────── */

#download { padding-bottom: 90px; }

.download-block {
    text-align: center;
    padding: 84px 40px;
    background: linear-gradient(180deg, rgba(10,200,185,0.05), rgba(120,170,200,0.025));
    border: 1px solid var(--gold-line);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.download-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(10, 200, 185, 0.12) 0%, transparent 62%);
    pointer-events: none;
}
.download-block::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-mid), var(--accent), var(--gold-mid), transparent);
}

.download-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.download-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-faint);
    position: relative;
}

/* ── Footer ──────────────────────────────────────────────────────── */

#footer {
    padding: 64px 0 40px;
    border-top: 1px solid var(--gold-line);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gold-bright);
}
.footer-brand .nav-logo-glyph { color: var(--accent); }

.footer-tagline {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 300px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-heading {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-mid);
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--text-faint);
    font-size: 0.88rem;
    transition: color 0.2s;
    text-decoration: none;
}
.footer-col a:hover { color: var(--gold-bright); opacity: 1; }

.footer-studio-link { color: var(--text-faint) !important; transition: color 0.2s; }
.footer-studio-link:hover { color: var(--accent-bright) !important; }

.footer-legal {
    font-size: 0.74rem;
    color: var(--text-faint);
    line-height: 1.6;
    max-width: 880px;
    margin: 0 auto 24px;
    text-align: center;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-copy { font-size: 0.8rem; color: var(--text-faint); }

.footer-studio-inline { color: var(--text-faint); transition: color 0.2s; }
.footer-studio-inline:hover { color: var(--accent-bright); }

/* ── Fade-in fallback ────────────────────────────────────────────── */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    #hero {
        grid-template-columns: 1fr;
        gap: 56px;
        padding: 120px 24px 64px;
        text-align: center;
        min-height: auto;
    }
    .hero-content { max-width: 640px; margin: 0 auto; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-platforms { justify-content: center; }
    .hero-visual { max-width: 440px; margin: 0 auto; }
    .hex-halo { width: 128%; }
    .hero-scroll-indicator { display: none; }

    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-wide { grid-column: span 2; }

    .footer-top { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 88px 32px 32px;
        background: var(--bg-glass);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--gold-line);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 99;
    }

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

    .nav-links a {
        padding: 14px 0;
        font-size: 1rem;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-cta { margin-top: 12px; text-align: center; justify-content: center; }
    .nav-mobile-toggle { display: flex; }

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

    .compare-cols { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
    .feature-grid { grid-template-columns: 1fr; }
    .promise-grid { grid-template-columns: 1fr; }

    .specs-row { flex-direction: column; gap: 28px; }
    .spec-divider { width: 40px; height: 1px; border: none; transform: none; background: var(--gold-line); }
    .spec { padding: 0; }

    .download-block { padding: 52px 24px; }

    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section-header { margin-bottom: 48px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-platforms { flex-direction: column; gap: 8px; }
    .download-actions { flex-direction: column; align-items: center; }
    .download-actions .btn { width: 100%; justify-content: center; }
    .bento-card, .feature-card, .promise-card, .compare-col { padding: 24px 20px; }
    .app-body { padding: 16px; }

    table.compare { font-size: 0.78rem; }
    table.compare th,
    table.compare td { padding: 10px 10px; }
    table.compare thead th { font-size: 0.7rem; }
    table.compare tbody th { width: 30%; }
}

/* ── GSAP animation fallback ───────────────────────────────────── */
@keyframes gsapFallbackReveal {
    to { opacity: 1; transform: none; }
}

body:not(.gsap-ready) .hero-content > *,
body:not(.gsap-ready) .hero-visual,
body:not(.gsap-ready) .hero-platforms,
body:not(.gsap-ready) .hero-scroll-indicator,
body:not(.gsap-ready) .section-header,
body:not(.gsap-ready) .compare-col,
body:not(.gsap-ready) .bento-card,
body:not(.gsap-ready) .feature-card,
body:not(.gsap-ready) .spec,
body:not(.gsap-ready) .spec-divider,
body:not(.gsap-ready) .promise-card,
body:not(.gsap-ready) .compare-wrap,
body:not(.gsap-ready) .faq-item,
body:not(.gsap-ready) .download-block,
body:not(.gsap-ready) .footer-top {
    animation: gsapFallbackReveal 0s forwards;
    animation-delay: 3s;
}

/* ══════════════════════════════════════════════════════════════════
   Accessibility: Reduced Motion
   ══════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    #hero-canvas { display: none; }
    .hero-scroll-indicator { display: none; }
    .hex-halo { opacity: 0.4; }
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 8px 16px;
    background: var(--accent);
    color: #01231f;
    border-radius: var(--radius-sm);
    font-weight: 700;
    z-index: 200;
    transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
