:root {
  --bg: #06070d;
  --panel: #0d101a;
  --panel-2: #121826;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f7ff;
  --muted: #9aa6c1;
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --indigo: #6366f1;
  --green: #34d399;
  --orange: #fb923c;
  --red: #f472b6;
  --radius: 18px;
  --font: "Manrope", system-ui, sans-serif;
  --shadow: 0 40px 100px rgba(30, 60, 160, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 10px 14px;
  background: #fff;
  color: #000;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site {
  position: relative;
  z-index: 2;
}

.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  mix-blend-mode: screen;
}

body.has-pointer .cursor-glow {
  opacity: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(6, 7, 13, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.badge-new {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--green);
  color: #052e1c;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(115deg, #3b82f6, #6366f1);
  box-shadow: 0 12px 36px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 16px 44px rgba(59, 130, 246, 0.55);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(99, 140, 230, 0.45);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(147, 180, 255, 0.7);
  background: rgba(59, 130, 246, 0.08);
}

.btn-lg {
  min-height: 50px;
  padding: 0 24px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  background: transparent;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 54px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  font-weight: 800;
}

.hero .tagline {
  margin: 14px 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-line {
  margin: 42px 0 0;
  text-align: center;
  font-weight: 750;
  letter-spacing: -0.02em;
}

/* Hero stage */
.hero-stage {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.stage-glow {
  position: absolute;
  width: 70%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
  filter: blur(18px);
  animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.city {
  position: relative;
  width: min(480px, 100%);
  aspect-ratio: 1.1;
  animation: float-y 6s ease-in-out infinite;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.city svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Panels */
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.92), rgba(10, 12, 20, 0.95));
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.section {
  padding: 36px 0;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 36px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* Marquee */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  margin-bottom: 36px;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  opacity: 0.45;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Feature cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 18px;
  padding: 22px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 20px 50px rgba(30, 60, 160, 0.2);
}

.card .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.card .ico.lock {
  background: rgba(244, 114, 182, 0.14);
  color: var(--red);
  box-shadow: 0 0 24px rgba(244, 114, 182, 0.25);
}

.card .ico.gear {
  background: rgba(59, 130, 246, 0.14);
  color: var(--blue-2);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.25);
}

.card .ico.shield {
  background: rgba(251, 146, 60, 0.14);
  color: var(--orange);
  box-shadow: 0 0 24px rgba(251, 146, 60, 0.25);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.split h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}

.split p {
  margin: 12px 0 0;
  color: var(--muted);
}

.device-stage {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.device {
  width: min(280px, 80%);
  animation: float-y 5.5s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(30, 80, 200, 0.35));
}

/* How it works */
.how {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.diagram {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.diagram svg {
  width: min(520px, 100%);
  overflow: visible;
}

.hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.45);
  animation: hotspot-pulse 2.2s ease-out infinite;
}

@keyframes hotspot-pulse {
  70% {
    box-shadow: 0 0 0 14px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.hotspot.is-on {
  outline: 2px solid #fff;
}

.tip {
  position: absolute;
  width: min(220px, 60%);
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tip.is-on {
  opacity: 1;
  transform: none;
}

.tip h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.tip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Why */
.why-copy {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-bottom: 28px;
}

.why-copy p {
  margin: 0;
  color: var(--muted);
}

.why-copy .lead {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.center {
  text-align: center;
  margin-top: 28px;
}

/* Phones */
.phones {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.phone {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0e18;
  padding: 12px;
  min-height: 210px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
}

.phone:hover {
  transform: translateY(-6px) scale(1.02);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.72rem;
  margin-bottom: 10px;
}

.sparkline {
  height: 54px;
  margin: 8px 0 12px;
}

.sparkline svg {
  width: 100%;
  height: 100%;
}

.metric-row {
  display: grid;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--muted);
}

.metric-row strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.power {
  width: 88px;
  height: 88px;
  margin: 28px auto;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.5);
  display: grid;
  place-items: center;
  color: var(--blue-2);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.35);
  animation: breathe 2.8s ease-in-out infinite;
  font-size: 1.6rem;
}

.store-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.store {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 650;
  text-transform: none;
  letter-spacing: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.footer-links a {
  font-size: 0.86rem;
  padding: 6px 8px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

/* Forms / pages */
.page-hero {
  padding: 64px 0 28px;
  text-align: center;
}

.page-hero h1 {
  margin: 0 auto;
  max-width: 16ch;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.04em;
}

.page-hero p {
  margin: 14px auto 0;
  max-width: 38rem;
  color: var(--muted);
}

.form-panel {
  max-width: 480px;
  margin: 0 auto 80px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  padding: 0 14px;
  outline: none;
}

.field textarea {
  min-height: 100px;
  padding: 12px 14px;
  resize: vertical;
}

.form-success {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
  margin-bottom: 14px;
}

.form.is-sent .form-success {
  display: block;
}

.form.is-sent .form-fields {
  display: none;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  color: var(--muted);
  margin: 10px 0 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 0.05s;
}
.hero-copy > *:nth-child(2) {
  animation-delay: 0.14s;
}
.hero-copy > *:nth-child(3) {
  animation-delay: 0.22s;
}
.hero-copy > *:nth-child(4) {
  animation-delay: 0.3s;
}
.hero-copy > *:nth-child(5) {
  animation-delay: 0.38s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-copy > *,
  .reveal,
  .city,
  .device,
  .stage-glow,
  .power,
  .hotspot,
  .marquee-track {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .cursor-glow {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .cards-3,
  .split,
  .how,
  .why-copy,
  .phones,
  .phone-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu-btn {
    display: grid;
  }

  .nav {
    display: none;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(8, 10, 18, 0.96);
  }

  .site-header {
    position: relative;
  }
}
