@font-face {
  font-family: Outfit;
  src: url(/fonts/outfit-latin.woff2) format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --night: #071019;
  --midnight: #0b1620;
  --teal: #12303c;
  --cyan: #2fb3d6;
  --cyan-hi: #6fdaf3;
  --mist: #e8f4f8;
  --text: #e8f4f8;
  --muted: #9db4bf;
  --dim: #6f8794;
  --line: rgba(232, 244, 248, 0.1);
  --glass: rgba(18, 48, 60, 0.42);
  --glass-hi: rgba(18, 48, 60, 0.7);
  --radius: 22px;
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 17px/1.6 Outfit, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan-hi); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.eyebrow {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); font-weight: 300; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 700px; display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 16, 25, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 23px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span { font-weight: 400; }
.brand b { font-weight: 600; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--text); text-decoration: none; }
.lang { color: var(--muted); font-size: 14px; border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; }
.lang:hover { color: var(--text); text-decoration: none; border-color: rgba(232, 244, 248, 0.25); }

/* Buttons and chips */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  background: rgba(232, 244, 248, 0.06);
  border: 1px solid rgba(232, 244, 248, 0.16);
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { text-decoration: none; background: rgba(232, 244, 248, 0.1); transform: translateY(-1px); }
.btn.primary {
  color: #062330;
  background: linear-gradient(180deg, #5fd1ef, var(--cyan));
  border-color: transparent;
  box-shadow: 0 10px 30px -10px rgba(47, 179, 214, 0.7);
}
.btn.primary:hover { background: linear-gradient(180deg, #7adcf4, #3cbde0); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(18, 48, 60, 0.3);
  color: var(--muted);
  font-size: 14px;
}
.chip svg { width: 16px; height: 16px; color: var(--cyan); flex: none; }
.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 99px;
  background: rgba(47, 179, 214, 0.12);
  border: 1px solid rgba(47, 179, 214, 0.3);
  color: var(--cyan-hi);
  font-size: 14px;
  font-weight: 500;
}
.soon::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(47, 179, 214, 0.2); }

/* Hero */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto 30%;
  height: 120%;
  background:
    radial-gradient(closest-side at 60% 40%, rgba(47, 179, 214, 0.22), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(40, 90, 200, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero h1 { font-size: clamp(44px, 6.2vw, 76px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #8fe4f7, var(--cyan) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { color: var(--dim); font-size: 14px; }

.stage { position: relative; padding-bottom: 40px; }
.tv {
  position: relative;
  border-radius: 18px;
  padding: 10px;
  background: linear-gradient(180deg, #1a2730, #0a1117);
  box-shadow: 0 0 0 1px rgba(232, 244, 248, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 120px -40px rgba(47, 179, 214, 0.45);
}
.tv img { border-radius: 10px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tv::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -26px;
  width: 26%;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: linear-gradient(180deg, #24343e, #0d151b);
}
.phone {
  position: absolute;
  right: -4%;
  bottom: -2%;
  width: 26%;
  border-radius: 34px;
  padding: 7px;
  background: linear-gradient(180deg, #24343e, #0a1117);
  box-shadow: 0 0 0 1px rgba(232, 244, 248, 0.1), 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}
.phone img { border-radius: 28px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--glass), rgba(11, 22, 32, 0.4));
  display: grid;
  gap: 10px;
  align-content: start;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(47, 179, 214, 0.14);
  color: var(--cyan-hi);
  font-weight: 600;
  margin-bottom: 8px;
}
.step p { color: var(--muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(18, 48, 60, 0.22);
  display: grid;
  gap: 10px;
  align-content: start;
}
.feature.wide { grid-column: span 2; background: linear-gradient(135deg, rgba(47, 179, 214, 0.16), rgba(18, 48, 60, 0.25) 60%); }
.feature .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(232, 244, 248, 0.07);
  color: var(--cyan-hi);
  margin-bottom: 8px;
}
.feature .ico svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); }

/* Screens */
.screens { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.shot { margin: 0; display: grid; gap: 12px; }
.shot img { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.shot figcaption { color: var(--muted); font-size: 15px; }
.screens .side { display: grid; gap: 20px; align-content: start; }
.note-demo { margin-top: 18px; color: var(--dim); font-size: 14px; }

/* Devices */
.devices { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.device {
  padding: 24px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(18, 48, 60, 0.22);
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}
.device svg { width: 34px; height: 34px; color: var(--cyan-hi); }
.devices-note { margin-top: 18px; color: var(--muted); text-align: center; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(18, 48, 60, 0.22);
  display: grid;
  gap: 18px;
  align-content: start;
}
.plan.best { border-color: rgba(47, 179, 214, 0.55); background: linear-gradient(180deg, rgba(47, 179, 214, 0.16), rgba(18, 48, 60, 0.3)); box-shadow: 0 30px 80px -40px rgba(47, 179, 214, 0.6); }
.plan .tag {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 3px 12px;
  border-radius: 99px;
  background: var(--cyan);
  color: #062330;
  font-size: 13px;
  font-weight: 600;
}
.plan .name { color: var(--muted); font-weight: 500; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 46px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.price span { color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  background: var(--cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.notice {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(232, 244, 248, 0.03);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--muted);
}
.notice svg { flex: none; width: 24px; height: 24px; color: var(--cyan-hi); margin-top: 2px; }
.notice strong { color: var(--text); font-weight: 600; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(18, 48, 60, 0.22);
  padding: 0 24px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 500;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--cyan-hi); font-size: 24px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; }

/* Closing */
.closing {
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 24px;
  border-radius: 32px;
  border: 1px solid rgba(47, 179, 214, 0.25);
  background:
    radial-gradient(closest-side at 50% 0%, rgba(47, 179, 214, 0.25), transparent 80%),
    linear-gradient(180deg, rgba(18, 48, 60, 0.5), rgba(11, 22, 32, 0.5));
  display: grid;
  gap: 18px;
  justify-items: center;
}
.closing img { width: 72px; height: 72px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--dim); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.foot .brand { font-size: 19px; }
.foot .brand img { width: 28px; height: 28px; }

/* Reveal on scroll (only once JS says it can) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1080px) {
  .devices { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { margin-right: 6%; }
  .steps, .features, .plans { grid-template-columns: 1fr 1fr; }
  .feature.wide { grid-column: span 2; }
  .screens { grid-template-columns: 1fr; }
  .screens .side { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top .wrap { height: 60px; }
  .steps, .features, .plans, .screens .side { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; }
  .devices { grid-template-columns: repeat(2, 1fr); }
  .hero .actions { width: 100%; }
  .hero .actions .btn { flex: 1 1 auto; justify-content: center; }
  .plan .tag { left: 22px; }
  .notice { flex-direction: column; gap: 10px; }
  .foot .wrap { flex-direction: column; align-items: flex-start; }
}
