/* ============================================================
   DigitalWaveTV — Design System & Homepage Styles
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors */
  --black:        #0B0B0F;
  --black-2:      #101018;
  --surface:      #14141d;
  --surface-2:    #1a1a26;
  --electric:     #00BFFF;
  --purple:       #7B61FF;
  --white:        #FFFFFF;
  --gray:         #A0A0A0;
  --gray-2:       #c7c7d1;

  --gradient:     linear-gradient(135deg, #00BFFF 0%, #7B61FF 100%);
  --gradient-soft:linear-gradient(135deg, rgba(0,191,255,.18), rgba(123,97,255,.18));

  /* Borders & glass */
  --border:       rgba(255,255,255,.08);
  --border-2:     rgba(255,255,255,.14);
  --glass:        rgba(255,255,255,.04);
  --glass-2:      rgba(255,255,255,.06);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(0,0,0,.35);
  --shadow-md: 0 16px 40px rgba(0,0,0,.45);
  --shadow-glow: 0 12px 50px rgba(0,191,255,.25);
  --shadow-glow-p: 0 12px 50px rgba(123,97,255,.30);

  /* Spacing scale */
  --space-section: clamp(64px, 9vw, 130px);

  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: 'Sora', 'Inter', system-ui, sans-serif;

  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.section { padding-block: var(--space-section); position: relative; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--electric); color: #001018; padding: 12px 18px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--gray-2); max-width: 38ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray-2);
  background: var(--glass); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: var(--r-pill); backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 10px var(--electric); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-sub { color: var(--gray); margin-top: 16px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  padding: 12px 22px; border-radius: var(--r-pill);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; }

.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 60px rgba(0,191,255,.4); }

.btn-glass { background: var(--glass-2); color: #fff; border-color: var(--border-2); backdrop-filter: blur(10px); }
.btn-glass:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }

.btn-ghost { background: transparent; color: var(--gray-2); }
.btn-ghost:hover { color: #fff; background: var(--glass); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11,11,15,.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.brand-mark { display: grid; place-items: center; }
.brand-accent { color: var(--electric); }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 9px 14px; border-radius: var(--r-pill);
  color: var(--gray-2); font-weight: 500; font-size: .94rem;
  transition: color .2s ease, background .2s ease;
}
.main-nav a:hover { color: #fff; background: var(--glass); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(60px, 9vw, 120px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(0,191,255,.5), transparent 65%); top: -160px; right: -120px; animation: drift 14s ease-in-out infinite; }
.orb-2 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(123,97,255,.5), transparent 65%); bottom: -200px; left: -140px; animation: drift 18s ease-in-out infinite reverse; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px, 30px); } }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--gray); font-size: .9rem; }
.hero-badges li { color: var(--gray-2); }

/* Hero visual — device mockups */
.hero-visual { position: relative; height: 440px; }
.device { position: absolute; }
.device .screen {
  background: linear-gradient(160deg, #11131f, #0b0c14);
  border: 1px solid var(--border-2);
  overflow: hidden; position: relative;
}
.ui-poster { background: var(--gradient-soft); border-radius: 8px; }
.ui-poster.main { height: 96px; margin-bottom: 10px; background: linear-gradient(135deg, rgba(0,191,255,.4), rgba(123,97,255,.4)); }
.ui-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.ui-row .ui-poster { height: 46px; }
.ui-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.ui-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.ui-bar span:first-child { background: var(--electric); }

/* TV */
.device-tv { top: 10px; left: 4%; width: 64%; z-index: 2; animation: floaty 6s ease-in-out infinite; }
.device-tv .screen { border-radius: 14px; padding: 16px; box-shadow: var(--shadow-md); aspect-ratio: 16/10; }
.tv-stand { width: 30%; height: 22px; margin: 0 auto; background: linear-gradient(180deg,#1b1d2b,#0d0e16); border-radius: 0 0 8px 8px; border: 1px solid var(--border); border-top: 0; }

/* Laptop */
.device-laptop { bottom: 6px; left: 0; width: 42%; z-index: 3; animation: floaty 7s ease-in-out infinite .5s; }
.device-laptop .screen { border-radius: 10px 10px 0 0; padding: 12px; aspect-ratio: 16/10; box-shadow: var(--shadow-sm); }
.device-laptop .ui-poster.lap { height: 100%; }
.device-laptop::after { content:""; display:block; height: 10px; background: linear-gradient(180deg,#1b1d2b,#0d0e16); border-radius: 0 0 10px 10px; border:1px solid var(--border); border-top:0; }

/* Phone */
.device-phone { bottom: 0; right: 2%; width: 23%; z-index: 4; animation: floaty 5.5s ease-in-out infinite .8s; }
.device-phone .screen { border-radius: 22px; padding: 12px; aspect-ratio: 9/19; box-shadow: var(--shadow-glow-p); }
.device-phone .ui-poster.ph { height: 120px; margin-bottom: 12px; }
.ui-line { height: 9px; border-radius: 5px; background: rgba(255,255,255,.12); margin-bottom: 8px; }
.ui-line.short { width: 60%; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.float-chip {
  position: absolute; z-index: 5; font-size: .8rem; font-weight: 600;
  background: rgba(11,11,15,.7); border: 1px solid var(--border-2);
  padding: 8px 14px; border-radius: var(--r-pill); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm);
}
.chip-1 { top: 0; right: 6%; color: var(--electric); animation: floaty 6s ease-in-out infinite; }
.chip-2 { bottom: 28%; right: -4%; color: var(--purple); animation: floaty 7s ease-in-out infinite 1s; }

/* ---------- Trust / Counters ---------- */
.trust { border-block: 1px solid var(--border); background: linear-gradient(180deg, var(--black-2), var(--black)); }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-block: 46px; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.8rem); background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--gray); font-size: .92rem; margin-top: 6px; }

/* ---------- Cards (shared) ---------- */
.card {
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--r-lg);
  backdrop-filter: blur(12px); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
}

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 30px; position: relative; overflow: hidden; }
.feature-card::before { content:""; position:absolute; inset:0; background: var(--gradient-soft); opacity:0; transition: opacity .35s ease; }
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow-md); }
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }
.feature-icon {
  width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.5rem;
  background: var(--gradient-soft); border: 1px solid var(--border-2);
  border-radius: 14px; margin-bottom: 18px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--gray); font-size: .96rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }

.price-card {
  padding: 30px 24px; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.price-card::after {            /* gradient sheen on top edge */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); opacity: 0; transition: opacity .35s ease;
}
.price-card:hover { transform: translateY(-8px); border-color: var(--border-2); box-shadow: var(--shadow-md); }
.price-card:hover::after { opacity: 1; }

.price-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.price-duration { font-size: 1.2rem; }

/* Savings + trial pills */
.price-save {
  font-size: .7rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap;
  padding: 5px 11px; border-radius: var(--r-pill); color: #001018;
  background: linear-gradient(135deg, #34d399, #00BFFF);
  box-shadow: 0 4px 14px rgba(52,211,153,.3);
}
.price-trial {
  color: #fff; background: linear-gradient(135deg, #7B61FF, #00BFFF);
  box-shadow: 0 4px 14px rgba(123,97,255,.35);
}

.price-amount { display: flex; align-items: flex-start; gap: 2px; font-family: var(--font-head); margin-bottom: 6px; }
.price-amount .currency { font-size: 1.3rem; font-weight: 700; color: var(--gray-2); margin-top: 6px; }
.price-amount .value { font-size: 2.7rem; font-weight: 800; line-height: 1; }
.price-permonth { color: var(--gray); font-size: .86rem; margin-bottom: 22px; }
.price-permonth strong { color: #fff; font-weight: 700; }

.price-card .btn { margin-bottom: 24px; }

.price-features { display: grid; gap: 10px; }
.price-features li { position: relative; padding-left: 27px; color: var(--gray-2); font-size: .88rem; line-height: 1.45; }
.price-features li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; display: grid; place-items: center; font-size: .66rem; font-weight: 900;
  color: #001018; background: var(--gradient); border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,191,255,.3);
}

/* Featured (12-month) card */
.price-featured {
  padding-top: 52px;
  background: linear-gradient(165deg, rgba(0,191,255,.12), rgba(123,97,255,.13));
  border-color: rgba(0,191,255,.45);
  box-shadow: 0 0 0 1px rgba(0,191,255,.22), 0 22px 70px rgba(0,191,255,.20);
  animation: glowPulse 4.5s ease-in-out infinite;
}
.price-featured .price-duration { font-size: 1.35rem; }
.price-featured .price-amount .value { font-size: 3rem; }
.price-ribbon {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 16px; border-radius: var(--r-pill); color: #fff;
  background: var(--gradient); box-shadow: var(--shadow-glow);
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0,191,255,.22), 0 22px 70px rgba(0,191,255,.18); }
  50%      { box-shadow: 0 0 0 1px rgba(0,191,255,.4),  0 28px 90px rgba(0,191,255,.32); }
}

/* Trust indicators row */
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 34px; margin-top: 44px;
}
.trust-row li { display: inline-flex; align-items: center; gap: 11px; color: var(--gray-2); font-weight: 600; font-size: .92rem; }
.trust-ic {
  width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; font-size: 1rem;
  background: var(--gradient-soft); border: 1px solid var(--border-2); border-radius: 11px;
}

.price-note { text-align: center; color: var(--gray); margin-top: 22px; font-size: .9rem; }

@media (min-width: 1101px) {
  .price-featured { transform: scale(1.045); z-index: 3; }
  .price-featured:hover { transform: scale(1.045) translateY(-8px); }
}
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-featured { padding-top: 52px; }
}

/* ---------- VOD Showcase ---------- */
.vod { overflow: hidden; }
.vod-rows { display: grid; gap: clamp(14px, 2vw, 20px); margin-top: clamp(36px, 5vw, 56px); }

.vod-row { position: relative; display: flex; }
.vod-row::before,
.vod-row::after {
  content: ""; position: absolute; top: -1px; bottom: -1px; width: clamp(64px, 15vw, 240px); z-index: 3; pointer-events: none;
}
.vod-row::before { left: 0;  background: linear-gradient(90deg,  var(--black) 0%, var(--black) 12%, rgba(11,11,15,0) 100%); }
.vod-row::after  { right: 0; background: linear-gradient(270deg, var(--black) 0%, var(--black) 12%, rgba(11,11,15,0) 100%); }

.vod-track {
  display: flex; width: max-content;
  animation: vodScroll var(--dur, 46s) linear infinite;
  will-change: transform; backface-visibility: hidden; transform: translateZ(0);
}
.vod-row:hover .vod-track,
.vod-track:focus-within { animation-play-state: paused; }
.vod-row--reverse .vod-track { animation-direction: reverse; }
.vod-group { display: flex; flex: 0 0 auto; }

@keyframes vodScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.vod-poster {
  position: relative; flex: 0 0 auto;
  width: clamp(124px, 19vw, 166px); aspect-ratio: 2 / 3;
  margin-right: clamp(12px, 1.6vw, 18px);
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(155deg, var(--g1, #1f2a5a), var(--g2, #0bd1ff));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .4s ease, box-shadow .4s ease;
}
.vod-poster::before {           /* subtle cinematic vignette over artwork */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 60%, rgba(6,6,10,.45));
}
.vod-poster img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }

.vod-tag {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff;
  padding: 4px 9px; border-radius: var(--r-pill);
  background: rgba(11,11,15,.5); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px);
}

.vod-play {
  position: absolute; top: 46%; left: 50%; z-index: 3;
  transform: translate(-50%, -50%) scale(.75);
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; color: #fff; font-size: .95rem; padding-left: 3px;
  background: var(--gradient); box-shadow: var(--shadow-glow);
  opacity: 0; transition: opacity .4s ease, transform .4s ease;
}

.vod-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; padding: 13px;
  background: linear-gradient(180deg, transparent 45%, rgba(8,8,12,.88));
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.vod-title { font-family: var(--font-head); font-size: .9rem; font-weight: 700; line-height: 1.2; }
.vod-meta  { font-size: .72rem; color: var(--gray-2); }

.vod-poster:hover {
  transform: translateY(-10px) scale(1.05); z-index: 5;
  box-shadow: var(--shadow-glow), var(--shadow-md);
}
.vod-poster:hover .vod-overlay { opacity: 1; transform: none; }
.vod-poster:hover .vod-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .vod-track { animation: none; }
}

/* ---------- Devices strip ---------- */
.device-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.device-chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--border);
  font-weight: 600; font-size: 1rem; backdrop-filter: blur(10px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.device-chip:hover { transform: translateY(-4px); border-color: rgba(0,191,255,.5); box-shadow: var(--shadow-glow); background: var(--glass-2); }
.dev-ic { font-size: 1.4rem; }

/* ---------- Why choose ---------- */
.why-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.why-copy .eyebrow { margin-bottom: 18px; }
.why-copy .btn { margin-top: 28px; }
.why-list { display: grid; gap: 14px; }
.why-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; }
.why-item:hover { transform: translateX(6px); border-color: var(--border-2); }
.why-ic {
  flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.3rem;
  background: var(--gradient-soft); border: 1px solid var(--border-2); border-radius: 12px;
}
.why-item h3 { font-size: 1.05rem; margin-bottom: 3px; }
.why-item p { color: var(--gray); font-size: .92rem; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.testimonial:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow-md); }
.stars { color: #FFC93C; letter-spacing: 2px; font-size: 1.05rem; }
.testimonial blockquote { color: var(--gray-2); font-size: 1.02rem; line-height: 1.6; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: #fff;
  background: linear-gradient(135deg, var(--a), var(--b));
}
.testimonial figcaption span:last-child { display: flex; flex-direction: column; }
.testimonial figcaption strong { font-size: .96rem; }
.testimonial figcaption small { color: var(--gray); font-size: .82rem; }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 820px; margin-inline: auto; }
.accordion { display: grid; gap: 14px; }
.acc-item { background: var(--glass); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color .3s ease; }
.acc-item.open { border-color: rgba(0,191,255,.4); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; background: none; border: 0; color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; text-align: left;
}
.acc-icon { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; font-size: 1.4rem; color: var(--electric); transition: transform .3s ease; }
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-panel p { padding: 0 24px 22px; color: var(--gray); }

/* ---------- CTA ---------- */
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(48px, 7vw, 80px) 30px;
  background: linear-gradient(160deg, rgba(0,191,255,.1), rgba(123,97,255,.12));
  border: 1px solid var(--border-2); border-radius: var(--r-xl);
  backdrop-filter: blur(12px); box-shadow: var(--shadow-md);
}
.cta-glow { position: absolute; width: 420px; height: 420px; background: radial-gradient(circle, rgba(0,191,255,.4), transparent 65%); top: -180px; left: 50%; transform: translateX(-50%); filter: blur(60px); pointer-events: none; }
.cta-card h2 { position: relative; margin-bottom: 14px; }
.cta-card p { position: relative; color: var(--gray-2); font-size: 1.1rem; margin-bottom: 32px; }
.cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--black-2); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.6fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-about { color: var(--gray); font-size: .92rem; max-width: 30ch; margin-bottom: 20px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--border); color: var(--gray-2);
  transition: transform .25s ease, color .25s ease, border-color .25s ease, background .25s ease;
}
.social a:hover { transform: translateY(-3px); color: #fff; border-color: rgba(0,191,255,.5); background: var(--glass-2); }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--gray-2); font-size: .94rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--electric); }
.footer-newsletter h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); margin-bottom: 12px; }
.footer-newsletter p { color: var(--gray); font-size: .9rem; margin-bottom: 14px; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 0; padding: 12px 16px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--border); color: #fff; font-family: inherit; font-size: .92rem;
}
.newsletter-form input::placeholder { color: var(--gray); }
.newsletter-form input:focus { outline: none; border-color: rgba(0,191,255,.5); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid var(--border); color: var(--gray); font-size: .86rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .feature-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-newsletter { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed; inset: 74px 0 auto 0; z-index: 99;
    background: rgba(11,11,15,.96); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .main-nav.open { max-height: 70vh; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px; }
  .main-nav a { padding: 14px 16px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-visual { height: 360px; margin-top: 20px; }
  .lead { max-width: none; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
}

@media (max-width: 560px) {
  .feature-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 300px; }
  .hero-badges { gap: 12px; font-size: .82rem; }
  .float-chip { font-size: .72rem; padding: 6px 11px; }
  .btn-lg { padding: 13px 24px; }
}

/* ============================================================
   RTL support (set <html dir="rtl">)
   ============================================================ */
[dir="rtl"] .plan-features li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .plan-features li::before { left: auto; right: 0; }
[dir="rtl"] .why-item:hover { transform: translateX(-6px); }
[dir="rtl"] .skip-link { border-radius: 0 0 0 8px; }
