:root {
  color-scheme: dark;
  --bg: #050911;
  --bg-2: #08121e;
  --panel: rgba(17, 28, 44, 0.78);
  --panel-strong: rgba(18, 31, 49, 0.96);
  --line: rgba(129, 196, 255, 0.2);
  --line-bright: rgba(113, 245, 223, 0.62);
  --text: #f4fbff;
  --muted: #aac1d7;
  --soft: #7893ab;
  --cyan: #77f4e2;
  --blue: #80a9ff;
  --green: #55e7ae;
  --warm: #ffd36f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: "Segoe UI", Inter, Aptos, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(46, 190, 174, 0.12), transparent 32rem),
    linear-gradient(180deg, #061019 0%, var(--bg) 58%, #03060b 100%);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

main {
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(132, 196, 255, 0.14);
  background: rgba(5, 9, 17, 0.68);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-elevated {
  background: rgba(5, 9, 17, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(111, 244, 224, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.header-cta,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(132, 196, 255, 0.28);
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta::before,
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.22) 48%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.header-cta,
.button.secondary {
  background: rgba(20, 34, 54, 0.72);
}

.button.primary {
  color: #061019;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-color: rgba(136, 245, 255, 0.72);
  box-shadow: 0 14px 36px rgba(66, 207, 218, 0.24);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
  border-color: var(--line-bright);
  box-shadow: 0 16px 42px rgba(70, 213, 218, 0.18);
}

.header-cta:hover::before,
.button:hover::before {
  transform: translateX(120%);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/hero-banner.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.045);
  transition: transform 900ms ease;
  will-change: transform;
}

body.is-loaded .hero-bg {
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 8, 14, 0.96) 0%, rgba(4, 9, 16, 0.82) 34%, rgba(4, 9, 16, 0.46) 67%, rgba(4, 9, 16, 0.76) 100%),
    linear-gradient(180deg, rgba(3, 8, 14, 0.38) 0%, rgba(3, 8, 14, 0.32) 62%, var(--bg) 100%);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 160px 0 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  overflow-wrap: normal;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #c5dbef;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 890px;
  margin-top: 58px;
}

.hero-metrics span,
.feature-card,
.plan-card,
.timeline article,
.privacy-panel,
.agent-card,
.final-box,
.faq-list details {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-metrics span {
  min-height: 94px;
  padding: 18px;
  border-radius: 16px;
  color: var(--muted);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-metrics span:hover {
  transform: translateY(-3px);
  border-color: rgba(113, 245, 223, 0.46);
  background: rgba(20, 36, 56, 0.86);
}

.hero-metrics strong {
  display: block;
  color: var(--text);
  margin-bottom: 5px;
}

.section {
  padding: 98px clamp(20px, 4vw, 64px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  background: linear-gradient(180deg, var(--bg), #07111b);
  padding-top: 72px;
  padding-bottom: 72px;
}

.intro-grid,
.split,
.agent-layout,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.intro-grid p,
.split p,
.agent-copy p,
.final-box p,
.faq-list p {
  color: var(--muted);
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 620px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.plan-card,
.timeline article {
  position: relative;
  border-radius: 18px;
  padding: 24px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card::before,
.plan-card::before,
.timeline article::before,
.agent-card::before,
.privacy-panel::before,
.faq-list details::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.feature-card:hover,
.plan-card:hover,
.timeline article:hover {
  transform: translateY(-4px);
  border-color: rgba(113, 245, 223, 0.48);
  background: rgba(23, 39, 61, 0.92);
}

.feature-card:hover::before,
.plan-card:hover::before,
.timeline article:hover::before,
.agent-card:hover::before,
.privacy-panel:hover::before,
.faq-list details:hover::before {
  opacity: 1;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 12px;
  background: rgba(113, 245, 223, 0.12);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.feature-card p,
.plan-card li,
.timeline p {
  color: var(--muted);
}

.dark-band {
  background:
    linear-gradient(180deg, rgba(9, 18, 28, 0.72), rgba(5, 9, 17, 0.96)),
    linear-gradient(90deg, rgba(116, 244, 226, 0.08), transparent);
}

.privacy-panel {
  position: relative;
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(17, 30, 48, 0.96), rgba(7, 14, 24, 0.96));
  overflow: hidden;
}

.privacy-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  border-bottom: 1px solid rgba(132, 196, 255, 0.14);
}

.privacy-row:last-child {
  border-bottom: 0;
}

.privacy-row span {
  width: 16px;
  height: 16px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(113, 245, 223, 0.38);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #061019;
  font-weight: 900;
}

.agent-band {
  background: linear-gradient(180deg, #061019, #091625);
}

.agent-card {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(15, 29, 46, 0.96), rgba(7, 13, 22, 0.98));
  overflow: hidden;
}

.agent-card img {
  width: min(310px, 78%);
  height: auto;
  filter: drop-shadow(0 28px 42px rgba(52, 224, 193, 0.2));
  animation: agent-breathe 4.4s ease-in-out infinite alternate;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  min-height: 310px;
}

.plan-card.highlighted {
  border-color: var(--line-bright);
  background: linear-gradient(150deg, rgba(22, 45, 67, 0.98), rgba(7, 17, 27, 0.98));
}

.price {
  margin: 18px 0;
  color: var(--cyan);
  font-size: 24px;
  font-weight: 900;
}

.plan-card ul {
  margin: 0;
  padding-left: 20px;
}

.plan-card li {
  margin: 10px 0;
}

.faq-band {
  background: #06101a;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  position: relative;
  border-radius: 16px;
  padding: 18px 20px;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-top: 12px;
}

code {
  color: var(--cyan);
  font-family: Consolas, "Cascadia Mono", monospace;
}

.final-cta {
  padding-top: 72px;
}

.final-box {
  position: relative;
  min-height: 320px;
  display: grid;
  align-content: center;
  justify-items: start;
  border-radius: 28px;
  padding: clamp(32px, 6vw, 72px);
  background:
    linear-gradient(105deg, rgba(13, 24, 39, 0.96), rgba(13, 34, 47, 0.9)),
    url("assets/hero-banner.png") center / cover;
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes agent-breathe {
  from {
    transform: scale(0.985);
  }

  to {
    transform: scale(1.018);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.final-box h2 {
  max-width: 680px;
}

.final-box p {
  max-width: 580px;
  margin: 16px 0 28px;
}

.footer {
  padding: 28px clamp(20px, 4vw, 64px);
  border-top: 1px solid rgba(132, 196, 255, 0.14);
  color: var(--soft);
  background: #03060b;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.legal-page {
  padding: 132px clamp(20px, 4vw, 64px) 84px;
  background:
    radial-gradient(circle at 18% 0%, rgba(46, 190, 174, 0.1), transparent 28rem),
    linear-gradient(180deg, #061019 0%, var(--bg) 100%);
}

.legal-document {
  width: min(940px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 5vw, 58px);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.legal-document h1 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.legal-document h2 {
  margin-top: 44px;
  font-size: clamp(22px, 3vw, 30px);
}

.legal-document h3 {
  margin-top: 24px;
  font-size: 18px;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document p {
  margin: 14px 0 0;
}

.legal-document ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-document li {
  margin: 8px 0;
}

.legal-document a {
  color: var(--cyan);
}

.legal-updated {
  color: var(--soft);
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-metrics,
  .feature-grid,
  .timeline,
  .plans,
  .intro-grid,
  .split,
  .agent-layout,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero-inner {
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 52px;
  }

  h1 {
    max-width: 340px;
    font-size: clamp(38px, 12vw, 46px);
    line-height: 1.04;
  }

  .hero-copy {
    max-width: 340px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 340px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 72px 16px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
