/* ══════════════════════════════════════════
   VIEWCAM — Design System
   ══════════════════════════════════════════ */

:root {
  --accent:        #4FC3F7;
  --accent-hover:  #67CFFA;
  --accent-dim:    rgba(79, 195, 247, 0.10);
  --accent-border: rgba(79, 195, 247, 0.22);
  --gold:          #FBBF24;
  --gold-dim:      rgba(251, 191, 36, 0.12);
  --green:         #34D399;
  --green-dim:     rgba(52, 211, 153, 0.10);
  --red:           #F87171;
  --purple:        #A78BFA;
  --blue:          #60A5FA;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 40px;

  --nav-h: 62px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t1: 0.14s ease;
  --t2: 0.28s ease;
  --t3: 0.5s var(--ease-out);
}

/* ── Dark theme ── */
[data-theme="dark"] {
  --bg:         #070A14;
  --s1:         #0C0F1D;
  --s2:         #121626;
  --s3:         #18202E;
  --s4:         #1F2737;
  --glass:      rgba(7, 10, 20, 0.84);

  --border-xs:  rgba(255,255,255,0.04);
  --border-sm:  rgba(255,255,255,0.07);
  --border-md:  rgba(255,255,255,0.11);
  --border-lg:  rgba(255,255,255,0.16);

  --t0: #EDF1FB;
  --t1c: #B8C4D8;
  --t2c: #697A93;
  --t3c: #3E4D61;

  --sh-sm:  0 2px 8px rgba(0,0,0,.35);
  --sh-md:  0 8px 32px rgba(0,0,0,.45);
  --sh-lg:  0 24px 64px rgba(0,0,0,.55);
  --sh-glow: 0 0 80px rgba(79,195,247,.07);

  --cam-bg: #000;
  --ov-bg:  rgba(5,8,16,.72);
}

/* ── Light theme ── */
[data-theme="light"] {
  --bg:         #F2F5FA;
  --s1:         #FAFCFF;
  --s2:         #FFFFFF;
  --s3:         #EEF2F8;
  --s4:         #E4E9F2;
  --glass:      rgba(242,245,250,.88);

  --border-xs:  rgba(0,0,0,.04);
  --border-sm:  rgba(0,0,0,.07);
  --border-md:  rgba(0,0,0,.11);
  --border-lg:  rgba(0,0,0,.16);

  --t0: #0D1320;
  --t1c: #2D3A50;
  --t2c: #56697F;
  --t3c: #8D9FB5;

  --sh-sm:  0 2px 8px rgba(0,0,0,.06);
  --sh-md:  0 8px 32px rgba(0,0,0,.08);
  --sh-lg:  0 24px 64px rgba(0,0,0,.10);
  --sh-glow: 0 0 80px rgba(79,195,247,.05);

  --cam-bg: #0a0a0a;
  --ov-bg:  rgba(0,0,0,.56);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  background: var(--bg);
  color: var(--t0);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .28s ease, color .28s ease;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand-accent { color: var(--accent); }

.muted { color: var(--t2c); }

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t1);
  text-decoration: none;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 13px 26px; font-size: 15px; }

.btn-primary {
  background: var(--accent);
  color: #050B16;
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px rgba(79,195,247,.28);
  transform: translateY(-1px);
}
.btn-ghost {
  background: var(--s2);
  color: var(--t1c);
  border: 1px solid var(--border-md);
}
.btn-ghost:hover {
  background: var(--s3);
  border-color: var(--border-lg);
  color: var(--t0);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 200;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-sm);
  transition: background .28s ease, border-color .28s ease, box-shadow .2s ease;
}
.nav.scrolled { box-shadow: var(--sh-sm); }

.nav-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.nav-logo { width: 26px; height: 26px; }
.nav-name { line-height: 1; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  display: block;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--t2c);
  border-radius: var(--r-xs);
  transition: color var(--t1), background var(--t1);
}
.nav-links a:hover { color: var(--t0); background: var(--border-xs); }

.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-md);
  background: var(--s3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t2c);
  transition: all var(--t1);
}
.theme-btn:hover { border-color: var(--accent-border); color: var(--t0); }
.theme-btn svg { width: 16px; height: 16px; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--t1c);
  border-radius: 2px;
  transition: all var(--t1);
}

@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    inset: var(--nav-h) 0 auto 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-sm);
    padding: 12px 20px 16px;
    gap: 4px;
    position: fixed;
  }
  .nav-links.open a { font-size: 15px; }
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  padding-top: calc(var(--nav-h) + 70px);
  padding-bottom: 64px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at 50% 0%, rgba(79,195,247,.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  border-radius: 30px;
  border: 1px solid var(--border-md);
  background: var(--s2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--t2c);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(52,211,153,.5);
  flex-shrink: 0;
}

.hero-h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin-bottom: 22px;
  color: var(--t0);
}
.br-lg { display: block; }

.hero-p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--t2c);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-platforms {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--t3c);
  font-weight: 500;
}

/* ── Hero Device ── */
.hero-device {
  position: relative;
}

/* Desktop window */
.win-frame {
  background: var(--s1);
  border: 1.5px solid var(--border-md);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh-lg), var(--sh-glow);
  position: relative;
  z-index: 1;
}
.win-titlebar {
  height: 36px;
  background: var(--s2);
  border-bottom: 1px solid var(--border-sm);
  display: flex;
  align-items: center;
  padding: 0 12px;
}
.win-dots { display: flex; gap: 6px; }
.wd { width: 10px; height: 10px; border-radius: 50%; }
.wd.red    { background: #FF5F57; }
.wd.yellow { background: #FEBC2E; }
.wd.green  { background: #28C840; }
.win-title {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--t2c);
  font-family: 'Inter', sans-serif;
}
.win-body {
  display: flex;
  height: 380px;
}
.win-sidebar {
  width: 180px;
  background: var(--s2);
  border-right: 1px solid var(--border-sm);
  display: flex;
  flex-direction: column;
  padding: 12px 8px;
  gap: 3px;
  flex-shrink: 0;
}
.ws-brand {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 8px 10px;
  letter-spacing: -0.2px;
}
.ws-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--t2c);
  font-family: 'Inter', sans-serif;
  border: 1px solid transparent;
}
.ws-item svg { width: 15px; height: 15px; opacity: 0.45; }
.ws-item.active {
  background: var(--s3);
  color: var(--accent);
  border-color: var(--accent-border);
}
.ws-item.active svg { opacity: 1; }
.ws-spacer { flex: 1; }
.ws-device {
  background: var(--s3);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-md);
  padding: 10px;
}
.wsd-head { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.wsd-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52,211,153,.5);
  flex-shrink: 0;
}
.wsd-name { font-size: 11px; font-weight: 700; color: var(--t0); font-family: 'Inter', sans-serif; }
.wsd-sub { display: block; font-size: 9.5px; color: var(--t3c); font-family: 'Inter', sans-serif; padding-left: 14px; margin-bottom: 9px; }
.wsd-disc {
  width: 100%;
  padding: 6px;
  border-radius: var(--r-xs);
  border: 1px solid rgba(248,113,113,.2);
  background: rgba(248,113,113,.07);
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  cursor: default;
}

.win-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  min-width: 0;
}
.win-feed {
  flex: 1;
  margin: 8px 8px 0;
  border-radius: var(--r-md);
  border: 1px solid var(--border-sm);
  background: var(--cam-bg);
  position: relative;
  overflow: hidden;
}
.wf-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1e2818 0%, #0f130c 35%, #0c0c0c 100%);
}
.wf-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  color: #fff;
}
.wf-stats {
  position: absolute;
  top: 9px; left: 9px;
  background: var(--ov-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-sm);
  padding: 7px 11px;
  display: flex;
  gap: 12px;
}
.wfstat { display: flex; flex-direction: column; gap: 1px; }
.wfstat-l { font-size: 7.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.7px; color: rgba(255,255,255,.3); font-family: 'Inter', sans-serif; }
.wfstat-v { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; color: #fff; }
.wfstat-v.gold { color: var(--gold); }
.wfstat-v.cyan { color: var(--accent); }
.wf-live {
  position: absolute;
  top: 9px; right: 9px;
  background: var(--red);
  border-radius: var(--r-xs);
  padding: 4px 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  animation: livePulse 2.5s ease-in-out infinite;
}
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: #fff; }

@keyframes livePulse {
  0%, 100% { opacity: .85; }
  50% { opacity: 1; }
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 6px 8px 8px;
  padding: 7px 10px;
  background: var(--s2);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-sm);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 9.5px;
  font-weight: 700;
  border: 1px solid;
  font-family: 'Inter', sans-serif;
}
.chip-green  { color: var(--green); border-color: rgba(52,211,153,.2); background: rgba(52,211,153,.07); }
.chip-green .chip-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.chip-dim    { color: var(--t2c); border-color: var(--border-sm); background: var(--s3); }
.chip-cyan   { color: var(--accent); border-color: var(--accent-border); background: var(--accent-dim); }
.bw-text { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 9.5px; color: var(--t3c); }

/* ── Phone float ── */
.phone-float {
  position: absolute;
  bottom: -28px;
  right: -20px;
  width: 142px;
  height: 296px;
  background: var(--s1);
  border: 2px solid var(--border-md);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-md), var(--sh-glow);
  z-index: 2;
}
.pf-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 14px;
  background: #000;
  border-radius: 10px;
  z-index: 5;
}
[data-theme="light"] .pf-notch { background: #111; }
.pf-status {
  height: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 14px 4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--t2c);
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}
.pf-feed {
  flex: 1;
  margin: 4px 7px;
  border-radius: 14px;
  background: var(--cam-bg);
  position: relative;
  overflow: hidden;
}
.pf-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1a2214 0%, #0d0f0a 100%);
}
.pf-badge {
  position: absolute;
  top: 7px; right: 7px;
  background: var(--red);
  border-radius: 5px;
  padding: 3px 7px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 7px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  animation: livePulse 2.5s ease-in-out infinite;
}
.pf-meta {
  position: absolute;
  bottom: 7px;
  left: 7px;
  right: 7px;
  display: flex;
  justify-content: space-between;
}
.pf-fps, .pf-res {
  font-size: 7px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--ov-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.06);
}
.pf-fps { color: var(--gold); }
.pf-res { color: rgba(255,255,255,.5); }
.pf-controls {
  padding: 7px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}
.pfc-btn {
  width: 32px; height: 32px;
  border-radius: 10px;
  border: 1px solid var(--border-sm);
  background: var(--s3);
  color: var(--t1c);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.pfc-torch {
  border-color: rgba(251,191,36,.3);
  background: rgba(251,191,36,.08);
}
.pfc-rec {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2.5px solid rgba(248,113,113,.25);
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  box-shadow: 0 4px 16px rgba(248,113,113,.3);
}
.pfc-sq { width: 12px; height: 12px; border-radius: 3px; background: #fff; }

/* Hero stats bar */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--s1);
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  padding: 18px 36px;
  box-shadow: var(--sh-md);
}
.hstat { text-align: center; }
.hstat-val {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 21px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.5px;
  line-height: 1;
}
.hstat-key {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--t3c);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.hstat-sep { width: 1px; height: 32px; background: var(--border-sm); flex-shrink: 0; }

@media (max-width: 1060px) {
  .hero-grid { gap: 36px; }
  .phone-float { right: -10px; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-device { max-width: 580px; margin: 0 auto; }
  .br-lg { display: none; }
}
@media (max-width: 620px) {
  .win-sidebar { display: none; }
  .win-body { height: 300px; }
  .phone-float { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 20px; padding: 16px 24px; }
  .hstat-sep { display: none; }
}

/* ══════════════════════════════════════════
   COMPAT STRIP (MARQUEE)
   ══════════════════════════════════════════ */
.compat {
  padding: 16px 0 56px;
  overflow: hidden;
}
.compat-inner { display: flex; flex-direction: column; gap: 20px; }
.compat-label {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--t3c);
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 28px;
  color: var(--t2c);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: color var(--t1);
  white-space: nowrap;
  border-right: 1px solid var(--border-xs);
}
.marquee-item:hover { color: var(--t0); }
.marquee-item svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ══════════════════════════════════════════
   SECTION HEADERS (shared)
   ══════════════════════════════════════════ */
.sec-head {
  text-align: center;
  margin-bottom: 52px;
}
.sec-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  padding: 5px 16px;
  margin-bottom: 18px;
}
.sec-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.7px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--t0);
}
.sec-sub {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  color: var(--t2c);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════ */
.features { padding: 80px 0; }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.feat-card {
  background: var(--s1);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color var(--t2), box-shadow var(--t2), transform var(--t2);
}
.feat-card:hover {
  border-color: var(--border-md);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.feat-large {
  grid-column: span 2;
  background: var(--s2);
  border-color: var(--border-md);
  display: flex;
  flex-direction: column;
}
.feat-pro {
  border-color: var(--accent-border);
  background: linear-gradient(145deg, var(--s1) 0%, rgba(79,195,247,.04) 100%);
}
.feat-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.feat-icon svg { width: 20px; height: 20px; }
.fc-cyan   { background: rgba(79,195,247,.1); color: var(--accent); border: 1px solid rgba(79,195,247,.15); }
.fc-gold   { background: rgba(251,191,36,.1); color: var(--gold);   border: 1px solid rgba(251,191,36,.15); }
.fc-green  { background: rgba(52,211,153,.1); color: var(--green);  border: 1px solid rgba(52,211,153,.15); }
.fc-purple { background: rgba(167,139,250,.1); color: var(--purple); border: 1px solid rgba(167,139,250,.15); }
.fc-blue   { background: rgba(96,165,250,.1); color: var(--blue);   border: 1px solid rgba(96,165,250,.15); }
.fc-red    { background: rgba(248,113,113,.1); color: var(--red);   border: 1px solid rgba(248,113,113,.15); }

.feat-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--t0);
}
.feat-card p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--t2c);
  line-height: 1.65;
}
.feat-large-stat {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.fls-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 38px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
}
.fls-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--t3c);
  font-weight: 500;
}

.pro-pill {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #F59E0B);
  color: #0A0800;
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.8px;
  vertical-align: middle;
  margin-left: 5px;
}

@media (max-width: 980px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-large { grid-column: span 2; }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat-large { grid-column: span 1; }
}

/* ══════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════ */
.how { padding: 80px 0; }

.how-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.how-step {
  flex: 1;
  background: var(--s1);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--t2), box-shadow var(--t2);
  position: relative;
}
.how-step:hover {
  border-color: var(--accent-border);
  box-shadow: var(--sh-md);
}
.how-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  font-weight: 600;
  color: var(--border-md);
  line-height: 1;
  user-select: none;
}
.how-content {}
.how-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--t0);
  margin-bottom: 8px;
}
.how-content p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--t2c);
  line-height: 1.65;
}
.how-connector {
  display: flex;
  align-items: center;
  padding: 0 8px;
  flex-shrink: 0;
}
.hc-line {
  width: 32px; height: 1px;
  background: var(--border-md);
  position: relative;
}
.hc-line::after {
  content: '';
  position: absolute;
  right: -4px; top: -3px;
  border: 3px solid transparent;
  border-left-color: var(--border-md);
}

/* Step visuals */
.how-icons { display: flex; gap: 8px; }
.hico {
  width: 36px; height: 36px;
  background: var(--s3);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t2c);
}
.hico svg { width: 18px; height: 18px; }
.hico.android svg { width: 16px; height: 16px; }

.how-wifi {
  position: relative;
  width: 56px;
  height: 56px;
}
.hw-ring {
  position: absolute;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: wifiPulse 3s ease-out infinite;
}
.hw-ring.r1 { inset: 22%; animation-delay: 0s; }
.hw-ring.r2 { inset: 11%; animation-delay: 0.6s; }
.hw-ring.r3 { inset: 0;   animation-delay: 1.2s; }
.hw-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(79,195,247,.5);
}
@keyframes wifiPulse {
  0%   { opacity: .65; transform: scale(.85); }
  100% { opacity: 0;   transform: scale(1.15); }
}

.how-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.ha-icon {
  width: 32px; height: 32px;
  background: var(--s3);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t2c);
}
.ha-icon svg { width: 16px; height: 16px; }

@media (max-width: 700px) {
  .how-steps { flex-direction: column; }
  .how-connector { padding: 4px 0; justify-content: flex-start; }
  .hc-line { width: 1px; height: 28px; }
  .hc-line::after {
    right: -3px; bottom: -4px; top: auto;
    border-left-color: transparent;
    border-top-color: var(--border-md);
  }
  .how-step { flex-direction: row; gap: 16px; align-items: flex-start; }
  .how-num { font-size: 24px; flex-shrink: 0; }
}

/* ══════════════════════════════════════════
   USE CASES
   ══════════════════════════════════════════ */
.usecases { padding: 80px 0; }
.uc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.uc-card {
  background: var(--s1);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  transition: border-color var(--t2), box-shadow var(--t2), transform var(--t2);
}
.uc-card:hover {
  border-color: var(--border-md);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.uc-icon { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--accent); }
.uc-icon svg { width: 100%; height: 100%; }
.uc-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.uc-card p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--t2c);
  line-height: 1.65;
}
@media (max-width: 900px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .uc-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════ */
.pricing { padding: 80px 0; }

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}
.ptog-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--t2c);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: color var(--t1);
}
.ptog-label.active { color: var(--t0); }
.save-tag {
  background: var(--green-dim);
  color: var(--green);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(52,211,153,.2);
}
.ptog-switch {
  width: 44px; height: 24px;
  border-radius: 12px;
  background: var(--s4);
  border: 1px solid var(--border-md);
  cursor: pointer;
  position: relative;
  transition: all var(--t1);
}
.ptog-switch:hover { border-color: var(--accent-border); }
.ptog-knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform var(--t1);
  box-shadow: 0 2px 6px rgba(79,195,247,.3);
}
.ptog-switch.yearly .ptog-knob { transform: translateX(20px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.pc-card {
  background: var(--s1);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  transition: border-color var(--t2), box-shadow var(--t2);
  overflow: hidden;
}
.pc-card:hover { box-shadow: var(--sh-md); }
.pc-pro {
  border-color: var(--accent-border);
}
.pc-pro:hover { border-color: rgba(79,195,247,.4); }
.pc-glow {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 480px; height: 280px;
  background: radial-gradient(ellipse, rgba(79,195,247,.08) 0%, transparent 70%);
  pointer-events: none;
}
.pc-popular {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--accent), #0288d1);
  color: #050B16;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.pcc-head { margin-bottom: 20px; }
.pcc-name { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.pcc-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--t2c);
}
.pcc-price { margin-bottom: 28px; }
.pcp-was {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.pcp-old {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--t3c);
  text-decoration: line-through;
  font-weight: 500;
}
.pcp-discount-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(251,191,36,.25);
  padding: 2px 9px;
  border-radius: 20px;
}
.pcp-now { display: flex; align-items: baseline; gap: 6px; }
.pcp-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1;
}
.pcp-accent { color: var(--accent); }
.pcp-period {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--t2c);
  font-weight: 500;
}

.pcc-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pcc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-xs);
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
}
.pcc-list li:last-child { border-bottom: none; }
.pcc-list li svg { width: 16px; height: 16px; flex-shrink: 0; }
.pcc-list li.ok svg { color: var(--green); }
.pcc-list li.no { color: var(--t3c); }
.pcc-list li.no svg { color: var(--t3c); }
.pcc-cta { width: 100%; justify-content: center; }

.pricing-assurances {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pa-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--t2c);
}
.pa-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--t3c); }

@media (max-width: 680px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .pricing-assurances { gap: 18px; }
}

/* ══════════════════════════════════════════
   COMPARISON
   ══════════════════════════════════════════ */
.compare { padding: 80px 0; }

.cmp-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-md);
  background: var(--s1);
  box-shadow: var(--sh-md);
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  min-width: 500px;
}
.cmp-table th,
.cmp-table td {
  padding: 13px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border-xs);
}
.cmp-table thead th {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--t2c);
  background: var(--s2);
  border-bottom: 1px solid var(--border-sm);
  font-family: 'Space Grotesk', sans-serif;
}
.cmp-table th:first-child,
.cmp-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--t1c);
}
.cmp-table td { color: var(--t2c); }
.cmp-table th.cmp-hl,
.cmp-table td.cmp-hl {
  background: rgba(79,195,247,.04);
  color: var(--t0);
  font-weight: 600;
}
.cmp-table th.cmp-hl { color: var(--accent); }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.yes { color: var(--green); font-size: 16px; font-weight: 700; }
.no-x { color: var(--t3c); font-size: 16px; }

/* ══════════════════════════════════════════
   PLATFORMS
   ══════════════════════════════════════════ */
.platforms { padding: 80px 0; }
.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plat-card {
  background: var(--s1);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  transition: border-color var(--t2), box-shadow var(--t2), transform var(--t2);
}
.plat-card:hover {
  border-color: var(--border-md);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.plat-icon { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--t1c); }
.plat-icon svg { width: 100%; height: 100%; }
.plat-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.plat-card p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--t2c);
  line-height: 1.6;
  margin-bottom: 16px;
}
.plat-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.plat-badge.avail {
  background: rgba(52,211,153,.1);
  color: var(--green);
  border: 1px solid rgba(52,211,153,.2);
}
.plat-badge.soon {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(251,191,36,.2);
}
@media (max-width: 840px) { .plat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .plat-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════ */
.faq { padding: 80px 0; }
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-item {
  background: var(--s1);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t1);
}
.faq-item.open { border-color: var(--accent-border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--t0);
  text-align: left;
  transition: color var(--t1);
}
.faq-q:hover { color: var(--accent); }
.faq-chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--t3c);
  transition: transform var(--t2);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
.faq-item.open .faq-a { max-height: 220px; }
.faq-a p {
  padding: 0 22px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--t2c);
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   CTA
   ══════════════════════════════════════════ */
.cta { padding: 80px 0 100px; }
.cta-card {
  position: relative;
  text-align: center;
  background: var(--s1);
  border: 1px solid var(--border-md);
  border-radius: var(--r-2xl);
  padding: 72px 40px;
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.cta-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 560px; height: 320px;
  background: radial-gradient(ellipse, rgba(79,195,247,.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-logo { width: 68px; height: 68px; margin-bottom: 24px; position: relative; }
.cta-card h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  position: relative;
}
.cta-card > p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--t2c);
  margin-bottom: 36px;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  position: relative;
}
.cta-plat {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--t3c);
  position: relative;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  background: var(--s1);
  border-top: 1px solid var(--border-sm);
  padding: 52px 0 28px;
}
.footer-wrap { display: flex; flex-direction: column; gap: 40px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-logo { width: 28px; height: 28px; }
.footer-name { font-size: 17px; font-weight: 700; }
.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--t3c);
  margin-top: 2px;
}
.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.fl-col { display: flex; flex-direction: column; gap: 8px; }
.fl-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--t3c);
  margin-bottom: 4px;
}
.fl-col a {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--t2c);
  transition: color var(--t1);
}
.fl-col a:hover { color: var(--t0); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border-xs);
}
.footer-bottom p {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--t3c);
}
.footer-privacy { color: var(--t3c); }

@media (max-width: 600px) {
  .footer-top { flex-direction: column; }
  .footer-links { gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
}

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   SCROLLBAR
   ══════════════════════════════════════════ */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--s4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--t3c); }

::selection {
  background: rgba(79,195,247,.22);
  color: var(--t0);
}
