/* ═══════════════════════════════════════════════════════════
   Sahretna Website v2.0.0 — single shared design system.
   Night-lounge identity (mirrors the Flutter app):
   Violet #6C63FF · Night #24215B · Gold #C9A227 / #FBBF24
   Tajawal · RTL-first · Zero emojis (inline SVG only)
   ═══════════════════════════════════════════════════════════ */

:root {
    --primary: #6C63FF;
    --primary-deep: #5A52D6;
    --violet-900: #24215B;
    --violet-800: #363284;
    --night-1: #2A1B54;
    --night-2: #1E133E;
    --night-3: #140B2B;
    --gold: #C9A227;
    --gold-bright: #FBBF24;
    --gold-soft: #FDE68A;
    --gold-deep: #451A03;

    --bg-primary: #F6F5F2;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;

    --text-primary: #1A1C1E;
    --text-secondary: #6B6560;
    --text-muted: #9A9590;

    --hairline: rgba(15, 17, 23, 0.08);
    --shadow-card: 0 2px 16px rgba(15, 17, 23, 0.06), 0 8px 32px rgba(15, 17, 23, 0.05);

    --radius: 16px;
    --radius-sm: 12px;
    --radius-full: 999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-primary: #0F1117;
    --bg-secondary: #1A1D23;
    --bg-card: #1A1D23;

    --text-primary: #E8E9EB;
    --text-secondary: #9AA0B0;
    --text-muted: #6E7686;

    --hairline: rgba(255, 255, 255, 0.08);
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* ── Base ─────────────────────────────── */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 3px;
    border-radius: 6px;
}

section { padding: 72px 0; scroll-margin-top: 70px; }
.section-title { font-size: 28px; font-weight: 900; text-align: center; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--text-secondary); font-size: 15px; margin-bottom: 36px; }

/* ── Shared top nav (all pages) ───────── */

.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    background: rgba(20, 11, 43, 0.82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 900;
    font-size: 18px;
}
.nav-brand img { border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--gold-soft); }
.nav-links a.nav-cta {
    color: var(--gold-deep);
    background: linear-gradient(180deg, #FBBF24, #F59E0B);
    border-radius: var(--radius-full);
    padding: 7px 18px;
}
.nav-links a.nav-cta:hover { color: var(--gold-deep); filter: brightness(1.06); }

/* ── Floating controls ────────────────── */

.theme-toggle, .lang-toggle {
    position: fixed;
    z-index: 1000;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(36, 33, 91, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    color: #fff;
}
.theme-toggle { top: 76px; left: 20px; }
.lang-toggle {
    top: 76px;
    left: 76px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    font-size: 13px;
}
.theme-toggle:hover, .lang-toggle:hover { transform: scale(1.08); }
.theme-toggle svg { width: 22px; height: 22px; }
.theme-toggle .icon { display: flex; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: flex; }

/* ── Hero (night lounge) ──────────────── */

.hero {
    position: relative;
    background: linear-gradient(180deg, #2A1B54 0%, #1E133E 60%, #140B2B 100%);
    color: #fff;
    padding: 130px 0 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    inset-inline-end: -100px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -140px;
    inset-inline-start: -120px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.16) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-content { flex: 1 1 320px; }
.logo-container { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.logo-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    border: 1.5px solid rgba(201, 162, 39, 0.7);
    box-shadow: 0 0 24px rgba(201, 162, 39, 0.35);
}
.logo { font-size: 44px; font-weight: 900; line-height: 1.15; }
.tagline { font-size: 18px; font-weight: 500; color: #DDD6FE; margin: 14px 0 26px; max-width: 500px; }
.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    padding: 4px 12px;
}
.version-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); }

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 12px;
    padding: 13px 26px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary {
    color: var(--gold-deep);
    background: linear-gradient(180deg, #FBBF24 0%, #F59E0B 100%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(245, 158, 11, 0.5); }
.btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 30px; font-weight: 900; color: #fff; line-height: 1.1; }
.stat-label { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

/* Live sample card (real game content) */
.hero-visual { flex: 1 1 280px; display: flex; justify-content: center; }
.phone-mockup {
    width: 270px;
    border-radius: 36px;
    padding: 12px;
    background: #0d0a1f;
    border: 1px solid rgba(139, 92, 246, 0.5);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(108, 99, 255, 0.3);
}
.phone-screen {
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(180deg, #363284 0%, #1E133E 100%);
    padding: 16px 14px 18px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
}
.app-preview { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.preview-header { font-size: 15px; font-weight: 900; color: #fff; text-align: center; }
.preview-card {
    border-radius: 16px;
    padding: 18px 14px;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    transition: opacity 0.35s ease;
}
.preview-card.fading { opacity: 0; }
.preview-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.preview-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-full);
    padding: 2px 9px;
}
.preview-deck { font-size: 10.5px; font-weight: 700; color: rgba(255, 255, 255, 0.75); }
.preview-text { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.8; }
.preview-dots { display: flex; gap: 6px; justify-content: center; margin-top: auto; padding-top: 8px; }
.preview-dots button {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 0;
}
.preview-dots button.active { background: var(--gold-bright); }
.preview-hint { text-align: center; font-size: 10.5px; color: rgba(255, 255, 255, 0.55); }

/* ── Decks ────────────────────────────── */

.decks { background: var(--bg-secondary); }
.decks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 14px; }
.deck-card {
    position: relative;
    border-radius: 20px;
    padding: 20px 14px 16px;
    color: #fff;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    min-height: 215px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}
.deck-card:hover { transform: translateY(-4px); }
.deck-general { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.deck-funny { background: linear-gradient(135deg, #F59E0B, #D97706); }
.deck-personal { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.deck-friend { background: linear-gradient(135deg, #10B981, #047857); }
.deck-crazy { background: linear-gradient(135deg, #EF4444, #B91C1C); }
.deck-spicy { background: linear-gradient(135deg, #F97316, #C2410C); }
.deck-art {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-bottom: 10px;
}
.deck-art svg { width: 34px; height: 34px; }
.deck-card h3 { font-size: 15px; font-weight: 900; margin-bottom: 2px; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.deck-count { font-size: 13px; font-weight: 800; }
.deck-mix { font-size: 11px; opacity: 0.85; margin-bottom: 10px; }
.deck-tag {
    font-size: 10.5px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-full);
    padding: 2px 10px;
    margin-top: auto;
}
.deck-tag.pro { background: rgba(0, 0, 0, 0.25); border-color: var(--gold-soft); color: var(--gold-soft); }

/* ── About / features ─────────────────── */

.about-content { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.about-text { flex: 1 1 300px; }
.about-text p { color: var(--text-secondary); font-size: 15.5px; margin-bottom: 14px; }
.about-cards { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow-card);
}
.info-card .card-icon {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(108, 99, 255, 0.12);
    border-radius: 12px;
    color: var(--primary);
}
.info-card .card-icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 2px; }
.info-card p { font-size: 13px; color: var(--text-secondary); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-3px); }
.feature-icon {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(108, 99, 255, 0.12);
    border-radius: 13px;
    color: var(--primary);
    margin-bottom: 14px;
}
.feature-icon svg { width: 23px; height: 23px; }
.feature-icon.gold { background: rgba(201, 162, 39, 0.14); color: var(--gold); }
[data-theme="dark"] .feature-icon.gold { color: var(--gold-bright); }
.feature-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.feature-card p { font-size: 13.5px; color: var(--text-secondary); }

/* ── Pro ──────────────────────────────── */

.pro { background: linear-gradient(180deg, #1E133E 0%, #140B2B 100%); color: #fff; }
.pro .section-title { color: #fff; }
.pro .section-sub { color: rgba(255, 255, 255, 0.7); }
.pro-card {
    max-width: 640px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(201, 162, 39, 0.55);
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 0 44px rgba(201, 162, 39, 0.18);
}
.pro-crown {
    width: 68px; height: 68px;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, #FBBF24, #D97706);
    border-radius: 50%;
    box-shadow: 0 8px 26px rgba(245, 158, 11, 0.45);
    color: #451A03;
}
.pro-crown svg { width: 32px; height: 32px; }
.pro-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.pro-price { font-size: 14px; color: var(--gold-soft); font-weight: 700; margin-bottom: 18px; }
.pro-list { list-style: none; text-align: start; margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.pro-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.9); }
.pro-list svg { width: 18px; height: 18px; color: var(--gold-bright); flex: 0 0 18px; }
.pro-note { margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, 0.6); }

/* ── How to play + rules ─────────────── */

.steps { list-style: none; display: flex; flex-direction: column; gap: 12px; max-width: 700px; margin: 0 auto; }
.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-card);
}
.step-number {
    flex: 0 0 40px;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 900;
    color: #fff;
    background: linear-gradient(180deg, var(--primary), var(--primary-deep));
    border-radius: 50%;
}
.step-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: var(--radius-full);
    padding: 1px 10px;
    margin-top: 6px;
}
.step-content h3 { font-size: 16px; font-weight: 800; margin-bottom: 2px; }
.step-content p { font-size: 13.5px; color: var(--text-secondary); }

.rules { background: var(--bg-secondary); }
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.rule-card {
    background: var(--bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: var(--shadow-card);
}
.rule-card .feature-icon { margin-bottom: 12px; }
.rule-card h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 6px; }
.rule-card p { font-size: 13.5px; color: var(--text-secondary); }

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

.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    padding: 16px 20px;
    text-align: start;
}
.faq-q svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--primary); transition: var(--transition); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 14px;
    color: var(--text-secondary);
}
.faq-a p { padding: 0 20px 18px; }

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

.download { background: var(--bg-secondary); }
.download-content { text-align: center; max-width: 560px; margin: 0 auto; }
.download-text { color: var(--text-secondary); margin-bottom: 26px; }
.store-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0d0a1f;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 14px;
    padding: 12px 22px;
    transition: var(--transition);
    position: relative;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.3); }
.store-btn svg { width: 30px; height: 30px; }
.store-text { display: flex; flex-direction: column; align-items: flex-start; }
.store-label { font-size: 11px; opacity: 0.7; }
.store-name { font-size: 17px; font-weight: 800; }
.store-btn.coming-soon { opacity: 0.55; cursor: default; }
.open-app-link { color: var(--gold-soft); font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.open-app-link:hover { color: var(--gold-bright); }.coming-soon-badge {
    position: absolute;
    top: -10px;
    inset-inline-end: 12px;
    font-size: 10px;
    font-weight: 800;
    color: var(--gold-deep);
    background: linear-gradient(180deg, #FBBF24, #F59E0B);
    border-radius: var(--radius-full);
    padding: 2px 10px;
}

/* ── Subpage band + legal + contact ───── */

.page-band {
    background: linear-gradient(180deg, #2A1B54 0%, #1E133E 60%, #140B2B 100%);
    color: #fff;
    padding: 124px 0 44px;
    text-align: center;
}
.page-band h1 { font-size: 30px; font-weight: 900; }
.page-band p { color: rgba(255, 255, 255, 0.72); margin-top: 8px; font-size: 15px; }
.date-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    padding: 4px 14px;
    margin-top: 12px;
}
.legal-wrap { max-width: 780px; margin: 0 auto; }
.tldr-card {
    background: var(--bg-card);
    border: 1.5px solid rgba(201, 162, 39, 0.5);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-card);
}
.tldr-card h2 { font-size: 17px; font-weight: 900; margin-bottom: 12px; }
.tldr-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tldr-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-secondary); }
.tldr-card li svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--gold); margin-top: 4px; }
[data-theme="dark"] .tldr-card li svg { color: var(--gold-bright); }
.section-card {
    background: var(--bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-card);
}
.section-card h2 { font-size: 16.5px; font-weight: 900; margin-bottom: 8px; }
.section-card p { font-size: 14px; color: var(--text-secondary); }
.contact-chip {
    display: inline-block;
    direction: ltr;
    font-weight: 800;
    font-size: 14px;
    color: #6C63FF;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    text-decoration: none;
    margin-top: 10px;
}
.contact-grid { display: grid; gap: 14px; max-width: 560px; margin: 0 auto; }
.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-card);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
a.contact-card:hover { transform: translateY(-2px); }
.contact-card .cicon {
    flex: 0 0 46px;
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(108, 99, 255, 0.12);
    border-radius: 13px;
    color: #6C63FF;
}
.contact-card .cicon svg { width: 23px; height: 23px; }
.contact-card h3 { font-size: 15px; font-weight: 800; }
.contact-card p { font-size: 13px; color: var(--text-secondary); }
.contact-card p.ltr { direction: ltr; }
html[dir="rtl"] .contact-card p.ltr { text-align: right; }

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

.footer { background: #0d0a1f; color: rgba(255,255,255,0.75); padding: 48px 0 24px; }
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.footer-logo { color: #fff; font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.footer-brand p { font-size: 13px; max-width: 280px; }
.footer-cols { display: flex; gap: 36px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.footer-col nav { display: flex; flex-direction: column; gap: 8px; }
.footer-links a, .footer-col nav a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
}
.footer-links a:hover, .footer-col nav a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; font-size: 12.5px; text-align: center; }

/* ── Reveal animation ─────────────────── */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────── */

@media (max-width: 760px) {
    section { padding: 52px 0; }
    .hero { padding: 112px 0 60px; }
    .logo { font-size: 34px; }
    .tagline { font-size: 16px; }
    .hero-stats { gap: 24px; }
    .nav-links a:not(.nav-cta) { display: none; }
    .theme-toggle { top: 70px; }
    .lang-toggle { top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
