/* ════════════════════════════════════════════
   UK STREAMING — GLOBAL CSS v4
   Mobile-first. Every breakpoint tested.
════════════════════════════════════════════ */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=plus-jakarta-sans@300,400,500,600&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --coral:      #FF5533;
  --coral-dk:   #CC3311;
  --coral-pale: #FFF0ED;
  --ink:        #111111;
  --ink2:       #222222;
  --slate:      #64748B;
  --mist:       #F7F7F6;
  --border:     #E5E5E1;
  --white:      #FFFFFF;
  --green:      #16A34A;
  --wa:         #25D366;
  --r:          10px;
  --r-lg:       16px;
  --r-pill:     999px;
  --sh-sm:      0 1px 4px rgba(0,0,0,.07);
  --sh-md:      0 4px 20px rgba(0,0,0,.08);
  --sh-lg:      0 12px 48px rgba(0,0,0,.11);
  --sh-coral:   0 6px 28px rgba(255,85,51,.28);

  /* Nav heights — used by drawer positioning */
  --urgency-h:  38px;
  --nav-h:      60px;
  --header-h:   calc(var(--urgency-h) + var(--nav-h)); /* ~98px total */
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* Prevent font size inflation on iOS */
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Prevent horizontal scroll from any overflow */
  overflow-x: hidden;
  max-width: 100vw;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 2px; }

/* ── SKIP LINK ── */
.skip-link {
  position: absolute; top: -120px; left: 16px; z-index: 10000;
  background: var(--coral); color: #fff;
  padding: 8px 18px; font-weight: 600; border-radius: 6px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ════════════════════════════
   TYPOGRAPHY
════════════════════════════ */
h1, h2, h3, h4 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  /* Ensure wrapping on small screens */
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Mobile-first sizes */
h1 { font-size: 1.85rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--slate); }

/* Scale up on larger screens */
@media (min-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }
}
@media (min-width: 768px) {
  h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
  h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
  h3 { font-size: 1.15rem; }
}
@media (min-width: 1024px) {
  h1 { font-size: clamp(2.8rem, 4.5vw, 4rem); }
}

/* ════════════════════════════
   LAYOUT UTILITIES
════════════════════════════ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* Mobile-first section padding */
.section    { padding: 56px 0; }
.section-sm { padding: 40px 0; }

@media (min-width: 768px) {
  .section    { padding: 80px 0; }
  .section-sm { padding: 52px 0; }
}
@media (min-width: 1024px) {
  .section    { padding: 96px 0; }
}

.text-center { text-align: center; }
.accent      { color: var(--coral); }
.check       { color: var(--green); font-weight: 700; }

.section-label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 10px;
}

/* ════════════════════════════
   URGENCY BAR
════════════════════════════ */
.urgency-bar {
  background: var(--ink);
  color: #fff;
  text-align: center;
  /* Enough padding for close button, wraps gracefully on mobile */
  padding: 9px 44px 9px 16px;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.5;
  position: relative;
  z-index: 300;
  min-height: var(--urgency-h);
  display: flex;
  align-items: center;
  justify-content: center;
}
.urgency-bar strong { color: var(--coral); }
.urgency-bar a {
  color: var(--coral); font-weight: 700;
  text-decoration: underline; white-space: nowrap;
  margin-left: 6px;
}
.urgency-close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.6);
  font-size: .9rem; cursor: pointer; padding: 6px;
  line-height: 1; min-width: 28px; min-height: 28px;
  display: flex; align-items: center; justify-content: center;
}
.urgency-close:hover { color: #fff; }

/* ════════════════════════════
   NAVIGATION
════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 250;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 8px;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Clash Display', sans-serif;
  font-weight: 700; font-size: 1.1rem;
  letter-spacing: -0.03em; color: var(--ink);
  flex-shrink: 0; text-decoration: none;
}
.nav-logo-mark {
  width: 30px; height: 30px;
  background: var(--coral); border-radius: 7px;
  display: grid; place-items: center;
  color: #fff; font-size: 12px; flex-shrink: 0;
}

/* Desktop links — hidden by default, shown on desktop */
.nav-links {
  display: none;
  align-items: center; gap: 2px; list-style: none;
}
.nav-links a {
  padding: 7px 11px; font-size: .84rem; font-weight: 500;
  color: var(--slate); border-radius: 8px;
  transition: background .15s, color .15s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--mist); color: var(--ink);
}

/* Desktop CTA button — hidden on mobile */
.nav-cta { display: none; }

/* Right side wrapper */
.nav-right {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}

/* ── HAMBURGER ── */
.hamburger {
  /* Always rendered, visibility controlled by media query */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  /* Touch target minimum */
  min-width: 44px; min-height: 44px;
}
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
  pointer-events: none;
}

/* ── MOBILE DRAWER ── */
.nav-drawer {
  /* Hidden until .open added by JS */
  display: none;
  flex-direction: column;
  gap: 2px;

  /* Position below nav (not urgency bar — urgency bar scrolls away, nav is sticky) */
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 240;
  padding: 16px 18px 100px; /* bottom padding clears sticky bar */
  overflow-y: auto;
  border-top: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);

  animation: drawerSlide .2s ease forwards;
}
@keyframes drawerSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.nav-drawer.open { display: flex; }

.nav-drawer a {
  display: flex; align-items: center;
  padding: 14px 16px;
  font-size: 1rem; font-weight: 600; color: var(--ink2);
  border-radius: 10px;
  transition: background .12s, color .12s;
  min-height: 48px; /* touch target */
}
.nav-drawer a:hover,
.nav-drawer a:active { background: var(--mist); color: var(--coral); }

.nav-drawer-divider {
  height: 1px; background: var(--border);
  margin: 8px 0; flex-shrink: 0;
}
.nav-drawer-cta {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 8px;
}
.nav-drawer-cta .btn {
  /* Bigger touch target in drawer */
  padding: 14px 20px;
  font-size: .95rem;
}

/* ════════════════════════════
   DESKTOP NAV (show links, hide hamburger)
════════════════════════════ */
@media (min-width: 769px) {
  .hamburger  { display: none !important; }
  .nav-links  { display: flex !important; }
  .nav-cta    { display: inline-flex !important; }
  .nav-drawer { display: none !important; }
  .nav-inner  { height: var(--nav-h); }
}

/* ════════════════════════════
   BUTTONS
════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: .875rem;
  cursor: pointer; border: none;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap; letter-spacing: .01em;
  text-decoration: none;
  /* Minimum touch target */
  min-height: 44px;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary      { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dk); box-shadow: var(--sh-coral); }

.btn-outline       { background: transparent; border: 1.5px solid var(--border); color: var(--ink2); }
.btn-outline:hover { border-color: var(--coral); color: var(--coral); }

.btn-white       { background: #fff; color: var(--coral); }
.btn-white:hover { box-shadow: 0 6px 20px rgba(0,0,0,.14); }

.btn-wa       { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5d; box-shadow: 0 6px 24px rgba(37,211,102,.38); }

.btn-lg   { padding: 14px 28px; font-size: .95rem; border-radius: 12px; }
.btn-sm   { padding: 8px 16px; font-size: .8rem; min-height: 36px; }
.btn-full { width: 100%; justify-content: center; }

/* ════════════════════════════
   BADGE
════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--coral-pale); border: 1px solid rgba(255,85,51,.2);
  border-radius: var(--r-pill); padding: 5px 13px;
  font-size: .74rem; font-weight: 600; color: var(--coral); letter-spacing: .04em;
  /* Allow wrapping on very small screens */
  white-space: normal; text-align: center;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral); flex-shrink: 0;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ════════════════════════════
   CARD
════════════════════════════ */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: box-shadow .2s, transform .2s;
}
/* Disable hover lift on touch — prevents sticky hover state */
@media (hover: hover) {
  .card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
}

/* ════════════════════════════
   WHATSAPP FLOATING BUTTON
════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 80px; /* above sticky bar on mobile */
  right: 18px;
  z-index: 9000;
  display: flex; align-items: center; gap: 10px;
}
.wa-label {
  background: var(--ink); color: #fff;
  padding: 8px 13px; border-radius: 9px;
  font-size: .76rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--sh-md);
  opacity: 0; transform: translateX(6px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  /* Hidden on mobile to avoid clutter */
  display: none;
}
.wa-float:hover .wa-label { opacity: 1; transform: translateX(0); }

.wa-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  border: none; cursor: pointer; text-decoration: none;
  flex-shrink: 0;
  transition: transform .2s, box-shadow .2s;
  animation: waPulse 2.8s ease-in-out infinite;
  /* Touch target */
  min-width: 52px;
}
.wa-btn:hover { transform: scale(1.1); animation: none; }
.wa-btn svg   { width: 24px; height: 24px; fill: #fff; pointer-events: none; }

@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50%     { box-shadow: 0 4px 32px rgba(37,211,102,.65), 0 0 0 8px rgba(37,211,102,.1); }
}

@media (min-width: 769px) {
  .wa-float  { bottom: 28px; right: 24px; }
  .wa-label  { display: block; }
  .wa-btn    { width: 56px; height: 56px; min-width: 56px; }
  .wa-btn svg { width: 26px; height: 26px; }
}

/* ════════════════════════════
   EXIT POPUP
════════════════════════════ */
.popup-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.popup-overlay.active { opacity: 1; pointer-events: all; }

.popup-box {
  background: #fff; border-radius: 18px;
  max-width: 480px; width: 100%;
  /* Prevent popup being taller than screen */
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  transform: scale(.93) translateY(16px);
  transition: transform .25s;
  box-shadow: 0 20px 72px rgba(0,0,0,.22);
}
.popup-overlay.active .popup-box { transform: scale(1) translateY(0); }

.popup-top {
  background: var(--coral); padding: 28px 24px 20px;
  text-align: center; position: relative;
  /* Stick to top when scrolling */
  position: sticky; top: 0; z-index: 1;
}
.popup-top h2 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.popup-top p  { color: rgba(255,255,255,.88); font-size: .875rem; }
.popup-close {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255,255,255,.18); border: none; color: #fff;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: .9rem; cursor: pointer;
  display: grid; place-items: center;
}
.popup-close:hover { background: rgba(255,255,255,.3); }

.popup-body   { padding: 20px 22px 24px; }
.popup-offer  {
  background: var(--mist); border-radius: 10px;
  padding: 13px; text-align: center; margin-bottom: 16px;
}
.popup-price {
  font-family: 'Clash Display', sans-serif; font-weight: 700;
  font-size: 2rem; color: var(--coral); line-height: 1;
}
.popup-note   { font-size: .75rem; color: var(--slate); margin-top: 4px; }

.popup-feats  {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 7px; margin-bottom: 16px;
}
@media (max-width: 380px) { .popup-feats { grid-template-columns: 1fr; } }

.popup-feat {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 500; color: var(--ink2);
}
.popup-feat::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

.popup-ctas   { display: flex; flex-direction: column; gap: 8px; }
.popup-ctas .btn { font-size: .875rem; }

.popup-dismiss {
  text-align: center; margin-top: 10px;
  font-size: .72rem; color: var(--slate); cursor: pointer;
  padding: 6px; /* bigger tap area */
}
.popup-dismiss:hover { color: var(--coral); }

/* ════════════════════════════
   STICKY MOBILE BAR
════════════════════════════ */
.sticky-bar {
  /* Hidden on desktop, shown on mobile */
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 8000;
  background: #fff;
  border-top: 2px solid var(--coral);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  align-items: center; justify-content: space-between; gap: 10px;
  /* Safe area for iPhone home bar */
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.sticky-bar-text {
  font-size: .75rem; font-weight: 600; color: var(--ink2);
  line-height: 1.3; min-width: 0;
}
.sticky-bar-text span {
  font-size: .68rem; color: var(--slate);
  display: block; font-weight: 400;
}
.sticky-bar-btns { display: flex; gap: 7px; flex-shrink: 0; }
.sticky-bar-btns .btn { min-height: 40px; }

/* Show sticky bar only on mobile */
@media (max-width: 768px) {
  .sticky-bar { display: flex; }
  /* Keep WA button above sticky bar */
  .wa-float   { bottom: 80px; }
  /* Add padding so page content doesn't hide behind sticky bar */
  body { padding-bottom: 68px; }
}

/* ════════════════════════════
   FOOTER
════════════════════════════ */
.footer {
  background: var(--ink);
  padding: 52px 0 24px;
  color: #fff;
}

/* Mobile: single column */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
}

.footer-brand p {
  font-size: .84rem; color: #9CA3AF;
  margin-top: 12px; line-height: 1.6;
  max-width: 28ch;
}
.footer-col h5 {
  font-family: 'Clash Display', sans-serif;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: #6B7280; margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: .84rem; color: #9CA3AF; transition: color .15s; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  font-size: .76rem; color: #6B7280;
}
.pay-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px; padding: 3px 9px;
  font-size: .68rem; color: #9CA3AF; font-weight: 600;
}

/* ════════════════════════════
   SCROLL REVEAL
════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* Disable reveal animations on mobile for performance */
@media (max-width: 768px) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ════════════════════════════
   FAQ (shared across pages)
════════════════════════════ */
.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); margin-bottom: 8px; overflow: hidden;
}
.faq-item.open { border-color: var(--coral); }

.faq-q {
  padding: 15px 18px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 14px;
  font-weight: 600; font-size: .9rem; color: var(--ink2);
  cursor: pointer;
  /* Minimum touch target height */
  min-height: 52px;
}
.faq-icon {
  color: var(--coral); font-size: 1.2rem;
  font-weight: 300; flex-shrink: 0; line-height: 1;
}
.faq-body { padding: 0 18px; }
.faq-body p { font-size: .875rem; padding-bottom: 16px; line-height: 1.7; }
