/* ============================================================
   Zaptik: IPTV Player — landing page.

   Shares its palette and type stack with zaptik-legal.css so the site, the legal pages and the
   store listing all read as one thing. Kept as a second file rather than merged into that one:
   the legal pages are a long single column and this is not, and a stylesheet that serves both
   ends up with most of its rules qualified by which page is asking.
   ============================================================ */

:root {
    --zap-cyan: #22D3EE;
    --zap-cyan-dim: #67E8F9;
    --zap-navy: #0F172A;
    --zap-navy-deep: #080D19;
    --zap-surface: #131C2F;
    --zap-surface-hi: #1B2740;
    --zap-border: rgba(148, 187, 233, 0.16);
    --zap-border-hi: rgba(34, 211, 238, 0.38);
    --zap-ink: #EEF4FF;
    --zap-muted: #A9BAD4;
    --zap-faint: #7C8CA8;
    color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.zaptik-home {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 88% -6%, rgba(34, 211, 238, 0.17), transparent 34rem),
        radial-gradient(circle at 4% 44%, rgba(109, 40, 217, 0.20), transparent 40rem),
        var(--zap-navy);
    background-attachment: fixed;
    color: var(--zap-ink);
    font-family: 'Space Grotesk', 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 10;
    padding: 12px 0;
    border-bottom: 1px solid var(--zap-border);
    background: rgba(15, 23, 42, 0.84);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--zap-ink); font-size: 21px; font-weight: 700; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 8px 22px rgba(34, 211, 238, 0.22); }
.brand-tail { white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
    padding: 9px 16px; border-radius: 11px; color: var(--zap-muted);
    font-size: 15px; font-weight: 600; text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease;
}
.nav-links a:hover { background: var(--zap-surface); color: var(--zap-ink); }

/* ---------- hero ---------- */

.hero { padding: 76px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.kicker {
    margin: 0 0 14px; color: var(--zap-cyan);
    font-size: 13px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
}
.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4rem);
    font-weight: 700; line-height: 1.05; letter-spacing: -0.03em;
}
.hero p { margin: 0 0 26px; max-width: 34rem; color: var(--zap-muted); font-size: 1.14rem; }
.hero-shot { justify-self: center; max-width: 340px; width: 100%; }
.hero-shot img { width: 60%; height: auto; display: block; border-radius: 16px; border: 1px solid var(--zap-border); box-shadow: 0 34px 80px rgba(4, 8, 18, 0.7); }

.badges { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.badges li {
    padding: 9px 18px; border: 1px solid var(--zap-border-hi); border-radius: 999px;
    background: rgba(34, 211, 238, 0.08); color: var(--zap-cyan-dim);
    font-size: 15px; font-weight: 700;
}

/* ---------- feature rows ---------- */

.feature { padding: 62px 0; border-top: 1px solid var(--zap-border); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feature.flip .feature-grid > .feature-shot { order: -1; }
.feature h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.feature p { margin: 0 0 14px; max-width: 32rem; color: var(--zap-muted); }
.feature-shot { justify-self: center; max-width: 300px; width: 100%; }
.feature-shot img { width: 80%; height: auto; display: block; border-radius: 16px; border: 1px solid var(--zap-border); box-shadow: 0 26px 60px rgba(4, 8, 18, 0.6); }

.points { margin: 18px 0 0; padding-left: 20px; color: var(--zap-muted); }
.points li { margin-bottom: 8px; }
.points li::marker { color: var(--zap-cyan); }

/* ---------- the compliance panel: stated plainly, not buried ---------- */

.notice { padding: 62px 0; border-top: 1px solid var(--zap-border); }
.notice-card {
    padding: clamp(26px, 3.6vw, 46px);
    border: 1px solid var(--zap-border); border-left: 3px solid var(--zap-cyan);
    border-radius: 22px; background: linear-gradient(180deg, rgba(27, 39, 64, 0.62), rgba(19, 28, 47, 0.86));
}
.notice-card h2 { margin: 0 0 14px; font-size: 1.55rem; font-weight: 700; }
.notice-card p { margin: 0 0 12px; max-width: 62ch; color: var(--zap-muted); }
.notice-card p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--zap-border); background: var(--zap-navy-deep); padding: 50px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 36px; }
.footer-brand a { display: inline-flex; align-items: center; gap: 11px; color: var(--zap-ink); font-size: 19px; font-weight: 700; text-decoration: none; }
.footer-brand img { width: 38px; height: 38px; border-radius: 10px; }
.footer-brand p { margin: 12px 0 0; max-width: 26rem; color: var(--zap-faint); font-size: 15px; }
.site-footer h4 { margin: 0 0 12px; color: var(--zap-faint); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer a { color: var(--zap-muted); text-decoration: none; }
.footer-links a { display: block; margin-bottom: 8px; font-size: 15px; }
.footer-links a:hover, .footer-support a:hover { color: var(--zap-cyan); }
.footer-support p { margin: 0 0 8px; color: var(--zap-faint); font-size: 15px; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--zap-border); color: var(--zap-faint); font-size: 14px; }
.footer-bottom p { margin: 0; }

.zaptik-home a:focus-visible { outline: 2px solid var(--zap-cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- responsive ---------- */

@media (max-width: 940px) {
    .hero-grid, .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    /* On one column the picture goes back under the words on every row - an alternating order
       only reads as rhythm while there are two columns to alternate between. */
    .feature.flip .feature-grid > .feature-shot { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
    body.zaptik-home { font-size: 16px; }
    .brand-tail { display: none; }
    .hero { padding: 48px 0 24px; }
    .feature, .notice { padding: 46px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .zaptik-home * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
