/* ============================================================
   VELA — Getflix-style design system
   Light surfaces · humanist type · blue primary · rounded cards
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Surfaces */
  --bg:            #ffffff;
  --bg-soft:       #f4f6f9;   /* light gray section */
  --bg-soft-2:     #eef1f6;
  --card:          #ffffff;
  --line:          #e3e7ee;
  --line-strong:   #d4d9e2;

  /* Text */
  --ink:           #14181f;   /* near-black headings */
  --ink-2:         #3b424d;   /* body */
  --muted:         #7b828d;   /* captions */
  --muted-2:       #9aa1ab;

  /* Brand / accents (Getflix palette) */
  --blue:          #1c6ee0;   /* primary action / CTA band */
  --blue-ink:      #1559bd;
  --blue-soft:     #e8f1fd;
  --red:           #ff5a3d;   /* sign-up accent */
  --red-ink:       #e0442d;
  --green:         #18b66b;   /* status ok */
  --amber:         #e0911a;
  --sky:           #2fc4ec;   /* a touch of Vela cyan, used sparingly */

  /* Type */
  --font:   'Mulish', -apple-system, system-ui, sans-serif;
  --mono:   'JetBrains Mono', ui-monospace, monospace;

  /* Radii / shadow */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(20,24,31,.06), 0 1px 3px rgba(20,24,31,.05);
  --shadow:    0 4px 16px rgba(20,24,31,.08);
  --shadow-lg: 0 18px 50px rgba(20,24,31,.14);

  --max: 1180px;
  --nav-h: 74px;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
img, svg, video, canvas { max-width: 100%; }
img { display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-ink); }
h1,h2,h3,h4 { color: var(--ink); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 800; font-size: 15px;
  padding: 13px 24px; border-radius: var(--r);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-blue   { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(28,110,224,.28); }
.btn-blue:hover { background: var(--blue-ink); color:#fff; }
.btn-red    { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(255,90,61,.28); }
.btn-red:hover { background: var(--red-ink); color:#fff; }
.btn-dark   { background: #1c2430; color:#fff; }
.btn-dark:hover { background:#0f1620; color:#fff; }
.btn-ghost  { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.badge { display:inline-block; font-size:12px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; padding:4px 10px; border-radius:999px; }
.badge-blue  { background: var(--blue-soft); color: var(--blue-ink); }
.badge-green { background: #e4f7ee; color: #0f8a4f; }
.badge-amber { background: #fdf1dc; color: #a96a09; }
.badge-red   { background: #fde7e5; color: var(--red-ink); }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: var(--nav-h); max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 22px; color: var(--ink); letter-spacing: -.03em; }
.brand .tri { width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 16px solid var(--blue); display:inline-block; }
.brand .sub { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: 8px; }
.nav-links a { color: var(--ink-2); font-weight: 700; font-size: 15px; }
.nav-links a:hover { color: var(--blue); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-cta-login { font-weight:800; color: var(--ink); border:1.5px solid var(--line-strong); padding:9px 18px; border-radius: var(--r); }
.nav-cta-login:hover { border-color: var(--blue); color: var(--blue); }
.nav-burger { display:none; background:none; border:1.5px solid var(--line-strong); border-radius:10px; width:42px; height:42px; cursor:pointer; align-items:center; justify-content:center; }
.nav-burger span { display:block; width:18px; height:2px; background:var(--ink); position:relative; }
.nav-burger span::before, .nav-burger span::after { content:''; position:absolute; left:0; width:18px; height:2px; background:var(--ink); }
.nav-burger span::before { top:-6px; } .nav-burger span::after { top:6px; }

/* ---------- Footer ---------- */
.foot { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h5 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 800; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 9px; }
.foot li a { color: var(--ink-2); font-weight: 600; font-size: 14px; }
.foot li a:hover { color: var(--blue); }
.foot-brand .brand { margin-bottom: 12px; }
.foot-bottom { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot-bottom a { color: var(--muted); }
.pay-row { display:flex; gap:8px; align-items:center; }
.pay-chip { font-family:var(--mono); font-size:10px; font-weight:700; color:var(--muted-2); border:1px solid var(--line-strong); border-radius:5px; padding:3px 6px; background:#fff; }

/* ---------- Section scaffolding ---------- */
.sec { padding: 80px 0; }
.sec-soft { background: var(--bg-soft); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.sec h2 { font-size: clamp(30px, 4.4vw, 46px); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 620px; }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.card-pad { padding: 28px; }

/* ---------- Forms ---------- */
label.fl { display:block; font-size:13px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin: 0 0 8px; }
.input { width:100%; font-family:var(--font); font-size:16px; color:var(--ink); background:#fff; border:1.5px solid var(--line-strong); border-radius:var(--r); padding:13px 15px; transition:border-color .15s, box-shadow .15s; }
.input:focus { outline:none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.input::placeholder { color: var(--muted-2); }

/* ---------- FAQ accordion ---------- */
.faq-item { border:1px solid var(--line); border-radius: var(--r); background:#fff; margin-bottom:12px; overflow:hidden; }
.faq-q { display:flex; justify-content:space-between; align-items:center; gap:16px; width:100%; text-align:left; background:none; border:none; cursor:pointer; padding:20px 22px; font-family:var(--font); font-weight:800; font-size:17px; color:var(--ink); }
.faq-q .chev { transition:transform .2s; color:var(--blue); flex:none; }
.faq-item.open .chev { transform:rotate(180deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .28s ease; }
.faq-a-in { padding:0 22px 20px; color:var(--ink-2); }
.faq-item.open .faq-a { max-height:360px; }

/* ---------- CTA blue band (Getflix signature) ---------- */
.cta-band { background: var(--blue); color:#fff; padding: 64px 0; text-align:center; }
.cta-band h2 { color:#fff; }
.cta-band .lead { color: rgba(255,255,255,.85); margin:14px auto 26px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: clamp(32px,5vw,52px); }
.legal .eff { font-family:var(--mono); font-size:13px; color:var(--muted); letter-spacing:.06em; text-transform:uppercase; margin:10px 0 34px; }
.legal h2 { font-size:22px; margin:40px 0 12px; }
.legal h2 .n { color: var(--blue); margin-right:8px; }
.legal p, .legal li { color: var(--ink-2); font-size:15.5px; }
.legal ul { padding-left:20px; }
.legal li { margin-bottom:8px; }
.legal .note { background: var(--bg-soft); border:1px solid var(--line); border-left:4px solid var(--blue); border-radius: var(--r); padding:20px 22px; margin-top:28px; }
.legal table { width:100%; border-collapse:collapse; font-size:13.5px; margin:8px 0 20px; }
.legal th, .legal td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
.legal th { font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }

/* ---------- Utilities ---------- */
.grid { display:grid; gap:24px; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }
.hide-mob { } .show-mob { display:none !important; }
.flex { display:flex; } .items-center { align-items:center; } .gap-12 { gap:12px; } .gap-16{gap:16px;}
.mt-8{margin-top:8px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;} .mt-40{margin-top:40px;}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-in { gap: 14px; }
  .nav-links { display:none; }
  .nav-burger { display:flex; }
  .nav-right .nav-cta-login { display:none; }
  .g-4 { grid-template-columns: repeat(2,1fr); }
  .g-3 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sec { padding: 56px 0; }
  .hide-mob { display:none !important; }
  .show-mob { display:block !important; }
}
@media (max-width: 680px) {
  .nav-in { padding: 0 18px; }
  .nav-right { gap: 0; }
  .nav-right > .btn-blue { display:none; }
}
@media (max-width: 560px) {
  .g-2, .g-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
  .brand { min-width: 0; font-size: 20px; }
  .brand .sub { overflow: hidden; max-width: 104px; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; letter-spacing: .08em; }
}

/* Mobile menu drawer */
.mobile-menu { display:none; position:fixed; inset:var(--nav-h) 0 0 0; background:#fff; z-index:49; padding:24px; flex-direction:column; gap:6px; border-top:1px solid var(--line); }
.mobile-menu.open { display:flex; }
.mobile-menu a { padding:14px 8px; font-weight:800; font-size:18px; color:var(--ink); border-bottom:1px solid var(--line); }
.mobile-menu .btn { margin-top:14px; min-height:52px; padding:14px 18px; white-space:normal; text-align:center; border-bottom:0; }
