/* Win TV registration — built from the Omotola template (tokens on :root, mobile first).
   Brand: the app icon's violet → magenta, on a deep night-blue. */

:root {
  --night-950: #0B0820;
  --night-900: #140F33;
  --night-800: #22184F;
  --violet-700: #5B21B6;
  --violet-600: #7C3AED;
  --violet-500: #8B5CF6;
  --violet-300: #C4B5FD;
  --magenta-600: #DB2777;
  --magenta-500: #EC4899;
  --lilac-100: #EFE9FF;
  --lilac-50: #F8F5FF;
  --gold: #FBBF24;

  --bg: #FFFFFF;
  --text: #17132E;
  --muted: #5F5A7A;
  --line: #E6E0F5;
  --ok: #15803D;
  --warn: #B45309;
  --danger: #B91C1C;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 34px -14px rgba(34, 24, 79, .35);
  --shadow-sm: 0 2px 10px -4px rgba(34, 24, 79, .25);
  --grad: linear-gradient(135deg, var(--violet-600), var(--magenta-500));
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 64px;
  color-scheme: light;
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.12; color: var(--night-900); }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }
a { color: var(--violet-600); text-decoration: none; }
a:hover { color: var(--violet-700); }
.muted { color: var(--muted) !important; }
.container-xl { padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .container-xl { padding-left: 24px; padding-right: 24px; } }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--night-900); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
code, .key { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* Buttons */
.btn { font-weight: 700; border-radius: 999px; padding: .72rem 1.4rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:active { transform: scale(.97); }
.btn-brand { background: var(--grad); color: #fff; border: 0; box-shadow: 0 10px 24px -10px rgba(219, 39, 119, .7); }
.btn-brand:hover, .btn-brand:focus { color: #fff; filter: brightness(1.08); }
.btn-outline-brand { border: 2px solid var(--violet-600); color: var(--violet-700); background: transparent; }
.btn-outline-brand:hover { background: var(--violet-600); color: #fff; }
.btn-ghost-light { border: 2px solid rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem .95rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* Header */
.announce { background: var(--night-900); color: #E9E3FF; text-align: center; font-size: .85rem; padding: 7px 16px; }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .bar { height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--night-900); flex-shrink: 0; }
.brand:hover { color: var(--night-900); }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--magenta-600); margin-top: 4px; }
.main-nav { display: none; list-style: none; margin: 0 auto; padding: 0; gap: 4px; }
.main-nav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: .95rem; }
.main-nav a:hover { background: var(--lilac-50); color: var(--violet-700); }
.main-nav a.active { background: var(--lilac-100); color: var(--violet-700); }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (min-width: 992px) { .main-nav { display: flex; } .header-actions { margin-left: 0; } }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--night-900); }
.mobile-nav { background: var(--night-900); color: #fff; max-width: 320px; }
.mobile-nav .offcanvas-header { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-nav nav a { display: flex; gap: 12px; align-items: center; padding: 14px 6px; color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.mobile-nav nav a i { color: var(--magenta-500); font-size: 1.2rem; }
.mobile-nav .icon-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .2); }

/* Flash */
.flash-wrap { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 8px; background: var(--lilac-50); border: 1px solid var(--line); font-weight: 600; }
.flash-success { background: #ECFDF3; border-color: #BBF7D0; color: var(--ok); }
.flash-error { background: #FEF2F2; border-color: #FECACA; color: var(--danger); }
.flash-warning { background: #FFFBEB; border-color: #FDE68A; color: var(--warn); }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(236, 72, 153, .35), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(124, 58, 237, .45), transparent 60%), var(--night-950); color: #E9E3FF; padding: 56px 0 64px; overflow: hidden; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #CFC6F5; font-size: 1.15rem; max-width: 36rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.hero-badges span { border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 6px 12px; font-size: .86rem; color: #E9E3FF; }
.hero-badges i { color: var(--magenta-500); margin-right: 6px; }
.screen { aspect-ratio: 16 / 10; border-radius: 22px; background: #000; border: 8px solid #1F1A3D; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 4px; padding: 4px; }
.screen div { border-radius: 8px; background: linear-gradient(135deg, #2A1F5C, #4C1D95); position: relative; }
.screen div:nth-child(1) { grid-row: span 2; background: linear-gradient(135deg, #7C3AED, #DB2777); outline: 3px solid var(--gold); }
.screen div:nth-child(2) { background: linear-gradient(135deg, #1E3A8A, #0EA5E9); }
.screen div:nth-child(3) { background: linear-gradient(135deg, #065F46, #10B981); }
.screen div:nth-child(4) { background: linear-gradient(135deg, #7C2D12, #F97316); }
.screen div:nth-child(5) { background: linear-gradient(135deg, #312E81, #6366F1); }
.screen div:nth-child(6) { background: linear-gradient(135deg, #831843, #F472B6); }
.screen div span { position: absolute; left: 8px; bottom: 6px; font-size: .7rem; color: #fff; font-weight: 700; opacity: .9; }
@media (min-width: 992px) { .hero { padding: 88px 0 96px; } }

/* Sections */
.section { padding: 56px 0; }
.section-soft { background: var(--lilac-50); }
.eyebrow { font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--magenta-600); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; height: 100%; box-shadow: var(--shadow-sm); }
.feature i { font-size: 1.6rem; width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--lilac-100); color: var(--violet-600); margin-bottom: 12px; }
.feature .tag { font-size: .72rem; font-weight: 800; border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: middle; }
.tag-pro { background: var(--grad); color: #fff; }
.tag-free { background: #DCFCE7; color: var(--ok); }

/* Plans */
.plan { background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 26px; height: 100%; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--violet-600); box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .75rem; font-weight: 800; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.plan .price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--night-900); line-height: 1; margin: 10px 0 2px; }
.plan .per { color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; flex-grow: 1; }
.plan li { padding: 5px 0; }
.plan li i { color: var(--ok); margin-right: 8px; }

/* Forms / cards */
.card-x { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .card-x { padding: 30px; } }
.form-label { font-weight: 700; }
.form-control, .form-select { border-radius: 12px; padding: .7rem .9rem; border-color: #D9D1EE; }
.form-control:focus, .form-select:focus { border-color: var(--violet-500); box-shadow: 0 0 0 .2rem rgba(124, 58, 237, .18); }
.errorlist { list-style: none; padding: 0; margin: 4px 0 0; color: var(--danger); font-size: .9rem; font-weight: 600; }
.choice-grid { display: grid; gap: 10px; }
@media (min-width: 768px) { .choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; display: block; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 48px; cursor: pointer; background: #fff; height: 100%; transition: border-color .15s, background .15s; }
.choice input { position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; accent-color: var(--violet-600); }
.choice:hover { border-color: var(--violet-300); }
.choice:has(input:checked) { border-color: var(--violet-600); background: var(--lilac-50); box-shadow: 0 0 0 3px rgba(124, 58, 237, .15); }
.choice .t { font-weight: 800; display: block; }
.choice .d { color: var(--muted); font-size: .88rem; display: block; }
.choice .p { float: right; font-weight: 800; color: var(--violet-700); }
.status-pill { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; border-radius: 999px; padding: 4px 12px; font-size: .88rem; }
.st-active { background: #DCFCE7; color: var(--ok); }
.st-pending { background: #FEF3C7; color: var(--warn); }
.st-revoked, .st-expired { background: #FEE2E2; color: var(--danger); }
.keybox { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: clamp(1.15rem, 4.6vw, 1.7rem); font-weight: 800; letter-spacing: .06em; background: var(--night-950); color: #fff; border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; word-break: break-all; }
.keybox button { flex-shrink: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.table-x { width: 100%; border-collapse: collapse; }
.table-x th, .table-x td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table-x th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.prose h2 { margin-top: 28px; font-size: 1.4rem; }
.prose { max-width: 760px; }

/* Footer */
.site-footer { background: var(--night-950); color: #B9B1DD; padding: 48px 0 24px; margin-top: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #E9E3FF; }
.site-footer a:hover { color: var(--magenta-500); }
.site-footer .brand-name { color: #fff; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }
