/* =============================================================
   Revo Player — Public site design tokens (marketing pages:
   home, privacy, terms). Shares the brand red (--pri) with the
   logo; the admin/reseller panels use their own dark "signal
   room" system in app.css but read the same font stack so the
   whole product feels like one family.
   ============================================================= */
:root {
    --pri: #e50914;
    --pri-dark: #7a0710;
    --bg: #0b0b0f;
    --surface: #17171d;
    --text: #f5f5f7;
    --sub: #a0a0ab;
    --gold: #ffc107;
    --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body), system-ui, sans-serif; overflow-x: hidden; padding-top: 68px; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); }
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(11,11,15,0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    height: 68px;
}
.nav-inner {
    max-width: 1100px; margin: 0 auto; height: 100%;
    padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .icon { width: 46px; height: 46px; object-fit: contain; }
.nav-logo .wordmark { height: 22px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--sub); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: var(--pri); color: #fff; padding: 9px 20px;
           border-radius: 8px; font-size: 14px; font-weight: 700;
           transition: background .2s; }
.nav-cta:hover { background: #c40812; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }
.hero {
    min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center;
    padding: 52px 40px 80px;
    background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(229,9,20,0.12) 0%, transparent 70%);
    position: relative; overflow: hidden;
}
.hero-content { max-width: 1200px; width: 100%; display: grid;
                grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px;
              background: rgba(229,9,20,0.12); border: 1px solid rgba(229,9,20,0.3);
              border-radius: 20px; padding: 6px 14px; font-size: 12px;
              color: var(--pri); font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900;
           line-height: 1.1; margin-bottom: 18px; letter-spacing: -1px; }
.hero h1 span { color: var(--pri); }
.hero p { font-size: 16px; color: var(--sub); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-pri { background: var(--pri); color: #fff; padding: 14px 28px;
                border-radius: 10px; font-weight: 700; font-size: 15px;
                transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-hero-pri:hover { background: #c40812; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(229,9,20,0.35); }
.btn-hero-sec { background: rgba(255,255,255,0.06); color: var(--text);
                padding: 14px 28px; border-radius: 10px; font-weight: 700;
                font-size: 15px; border: 1px solid rgba(255,255,255,0.1);
                transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-hero-sec:hover { background: rgba(255,255,255,0.1); }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; }
.hero-stat .n { font-size: 22px; font-weight: 800; color: var(--text); }
.hero-stat .l { font-size: 12px; color: var(--sub); margin-top: 2px; }
.mockup { position: relative; }
.tv-frame {
    background: #1a1a22; border-radius: 16px;
    padding: 12px 12px 32px; border: 2px solid #2a2a38;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
}
.tv-screen { background: #0b0b0f; border-radius: 8px; overflow: hidden; aspect-ratio: 16/9; }
.tv-screen-inner { padding: 14px; height: 100%; }
.tv-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.tv-logo { font-size: 11px; font-weight: 800; color: var(--pri); }
.tv-expiry { font-size: 9px; color: var(--sub); }
.tv-menu { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; height: calc(100% - 40px); }
.tv-tile {
    background: linear-gradient(135deg, var(--pri-dark), #0f0005);
    border-radius: 8px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 5px;
    cursor: pointer; border: 1px solid rgba(229,9,20,0.2);
    font-size: 10px; font-weight: 600; transition: all .2s;
}
.tv-tile:hover { transform: scale(1.03); border-color: var(--pri); }
.tv-tile.big { grid-column: span 1; grid-row: span 2; font-size: 13px; }
.tv-tile .ti { font-size: 20px; }
.tv-tile.big .ti { font-size: 28px; }
.tv-right { display: flex; flex-direction: column; gap: 6px; }
.tv-right-btn { background: rgba(255,255,255,0.04); border: 1px solid rgba(229,9,20,0.3);
                border-radius: 6px; padding: 5px 10px; font-size: 9px;
                display: flex; align-items: center; gap: 5px; }
.tv-stand { width: 60px; height: 16px; background: #1a1a22;
            margin: 0 auto; border-radius: 0 0 6px 6px;
            border: 2px solid #2a2a38; border-top: none; }
.glow { position: absolute; inset: -20px; background: radial-gradient(ellipse, rgba(229,9,20,0.15), transparent 70%);
        pointer-events: none; z-index: -1; }
section { padding: 80px 40px; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-label { font-size: 12px; color: var(--pri); font-weight: 700;
                 text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.5px; }
.section-sub { font-size: 15px; color: var(--sub); margin-top: 10px; max-width: 500px; margin-left: auto; margin-right: auto; }
.features-grid { max-width: 1100px; margin: 0 auto;
                 display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card {
    background: var(--surface); border-radius: 14px; padding: 26px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(229,9,20,0.4); transform: translateY(-3px); }
.feature-icon { width: 48px; height: 48px; background: rgba(229,9,20,0.12);
                border-radius: 10px; display: flex; align-items: center;
                justify-content: center; font-size: 22px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--sub); line-height: 1.6; }
.steps { max-width: 900px; margin: 0 auto;
         display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { text-align: center; }
.step-num { width: 52px; height: 52px; background: var(--pri); border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 20px; font-weight: 800; margin: 0 auto 16px; }
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--sub); line-height: 1.6; }
.download-section { background: var(--surface); border-top: 1px solid rgba(255,255,255,0.05); }
.dl-grid { max-width: 900px; margin: 0 auto;
           display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.dl-btn {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 16px 18px;
    display: flex; align-items: center; gap: 12px;
    transition: all .2s; cursor: pointer;
}
.dl-btn:hover { background: rgba(255,255,255,0.08); border-color: var(--pri); transform: translateY(-2px); }
.dl-icon { font-size: 26px; }
.dl-text .dl-sub { font-size: 10px; color: var(--sub); }
.dl-text .dl-name { font-size: 14px; font-weight: 700; }
.cta-banner {
    max-width: 800px; margin: 0 auto; text-align: center;
    background: linear-gradient(135deg, var(--pri-dark), #1a0005);
    border-radius: 20px; padding: 52px 40px;
    border: 1px solid rgba(229,9,20,0.3);
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.cta-banner p { color: var(--sub); font-size: 15px; margin-bottom: 28px; }
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); overflow: hidden; }
.faq-q { padding: 16px 20px; font-weight: 600; font-size: 14px; cursor: pointer;
         display: flex; justify-content: space-between; align-items: center; }
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-a { padding: 0 20px 16px; font-size: 13px; color: var(--sub); line-height: 1.7; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform .2s; font-size: 18px; color: var(--sub); }
footer { background: #080810; border-top: 1px solid rgba(255,255,255,0.05);
         padding: 40px 40px 24px; }
.footer-grid { max-width: 1100px; margin: 0 auto;
               display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand p { font-size: 13px; color: var(--sub); margin-top: 10px; line-height: 1.6; max-width: 260px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase;
                 letter-spacing: 1px; color: var(--sub); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--sub);
                margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: 1100px; margin: 0 auto;
                 display: flex; justify-content: space-between; align-items: center;
                 padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05);
                 font-size: 12px; color: var(--sub); }
.disclaimer {
    background: #111118; border: 1px solid rgba(255,255,255,0.06);
    padding: 14px 20px; text-align: center; font-size: 12px; color: var(--sub); line-height: 1.6;
}
@media (max-width: 768px) {
    .nav-inner { padding: 0 20px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero { padding: 32px 20px 60px; }
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .mockup { order: -1; }
    .hero-stats { gap: 20px; }
    section { padding: 60px 20px; }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--pri); outline-offset: 2px; border-radius: 4px; }

/* ---------- Interior page header (Privacy / Terms / etc.) ---------- */
.page-hero {
    padding: 60px 40px 60px;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(229,9,20,0.10) 0%, transparent 70%);
    text-align: center;
}
.page-hero .section-label { justify-content: center; display: flex; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 10px; }
.page-hero .updated { font-size: 13px; color: var(--sub); }

/* ---------- Legal / prose content ---------- */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 0 40px 100px; }
.legal-wrap section { padding: 0 0 36px; text-align: left; }
.legal-wrap h2 { font-size: 19px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.legal-wrap p { font-size: 14.5px; color: var(--sub); line-height: 1.8; margin-bottom: 14px; }
.legal-wrap ul { margin: 0 0 14px; padding-left: 20px; color: var(--sub); font-size: 14.5px; line-height: 1.8; }
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap strong { color: var(--text); }
.legal-toc { background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 20px 24px; margin: 0 auto 50px; }
.legal-toc h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--sub); margin-bottom: 12px; }
.legal-toc ol { padding-left: 18px; margin: 0; display: grid; gap: 6px; }
.legal-toc a { font-size: 13.5px; color: var(--text); }
.legal-toc a:hover { color: var(--pri); }

@media (max-width: 768px) {
    .page-hero { padding: 40px 20px 50px; }
    .legal-wrap { padding: 0 20px 70px; }
}
