:root {
  --bg: #071322;
  --bg-soft: #0c1b31;
  --card: rgba(10, 23, 43, 0.88);
  --card-strong: rgba(8, 18, 34, 0.95);
  --text: #f3f8ff;
  --muted: #a9b9d3;
  --line: rgba(151, 180, 221, 0.16);
  --primary: #24c8bb;
  --primary-dark: #17a89b;
  --danger-bg: rgba(255, 106, 106, 0.12);
  --danger-border: rgba(255, 106, 106, 0.28);
  --danger-text: #ffb0b0;
  --success-bg: rgba(55, 205, 125, 0.14);
  --success-border: rgba(55, 205, 125, 0.28);
  --success-text: #9bf1bb;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(36, 200, 187, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(72, 98, 255, 0.10), transparent 22%),
    linear-gradient(180deg, #04101d 0%, #071322 45%, #08111d 100%);
}

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

video {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(4, 10, 18, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #78f3e9);
  color: #06211f;
  font-weight: 900;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--primary);
  color: #06211f;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--primary-dark);
  color: #fff;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 30px;
  align-items: stretch;
}

.eyebrow {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(36, 200, 187, 0.1);
  border: 1px solid rgba(36, 200, 187, 0.22);
  color: #bdf9f2;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-text {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.point-card,
.info-card,
.demo-card,
.pricing-card,
.hero-panel,
.cta-box,
.video-shell,
.section-nav,
.demo-switcher {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
}

.point-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.point-card strong {
  font-size: 0.98rem;
}

.point-card span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
}

.hero-panel {
  padding: 24px;
}

.hero-panel-top h3 {
  margin: 0 0 18px;
  font-size: 1.32rem;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--card-strong);
  border: 1px solid var(--line);
}

.feature-item strong {
  display: block;
  margin-bottom: 8px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.section {
  padding: 84px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-nav-wrap {
  padding-top: 8px;
  padding-bottom: 0;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  position: sticky;
  top: 92px;
  z-index: 15;
  background: rgba(10, 23, 43, 0.88);
}

.section-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
  transition: 0.16s ease;
}

.section-nav-link:hover,
.section-nav-link.active {
  background: rgba(36, 200, 187, 0.14);
  border-color: rgba(36, 200, 187, 0.25);
  color: #d7fffa;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 900px;
}

.section-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 760px;
}

.grid-2,
.grid-3,
.pricing-grid,
.cta-grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.demo-card,
.pricing-card {
  padding: 24px;
}

.card-number,
.demo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(36, 200, 187, 0.12);
  border: 1px solid rgba(36, 200, 187, 0.18);
  color: #9ef7ed;
  font-weight: 900;
  margin-bottom: 16px;
}

.demo-badge {
  border-radius: 999px;
  min-height: 34px;
  font-size: 0.8rem;
}

.info-card h3,
.demo-card h3,
.pricing-card h3,
.cta-box h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.info-card p,
.demo-card p,
.pricing-card p,
.cta-box p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.demo-card ul,
.pricing-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.demo-switcher {
  display: inline-flex;
  gap: 10px;
  padding: 10px;
  margin-bottom: 22px;
}

.demo-tab {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: 0.16s ease;
}

.demo-tab.active,
.demo-tab:hover {
  background: rgba(36, 200, 187, 0.16);
  color: #d6fffb;
  border-color: rgba(36, 200, 187, 0.24);
}

.demo-panel {
  display: none;
}

.demo-panel.active {
  display: block;
}

.demo-highlight-card {
  border-color: rgba(36, 200, 187, 0.24);
  background: linear-gradient(180deg, rgba(36, 200, 187, 0.08), rgba(255,255,255,0.03));
}

.video-shell {
  margin-top: 24px;
  padding: 18px;
}

.featured-video-shell {
  border-color: rgba(36, 200, 187, 0.34);
  background: linear-gradient(180deg, rgba(36, 200, 187, 0.08), rgba(255,255,255,0.03));
}

.video-note {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.price {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin: 10px 0 8px;
  color: var(--primary);
}

.price-note {
  margin-bottom: 14px;
}

.price-monthly {
  margin-bottom: 12px !important;
  color: #d8fdf9 !important;
  font-weight: 700;
}

.pricing-card.featured {
  position: relative;
  border-color: rgba(36, 200, 187, 0.34);
  background: linear-gradient(180deg, rgba(36, 200, 187, 0.1), rgba(255,255,255,0.03));
}

.featured-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(36, 200, 187, 0.14);
  color: #d8fffb;
  border: 1px solid rgba(36, 200, 187, 0.22);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.pricing-fit {
  margin-top: 18px !important;
  color: #d5e9ff !important;
  font-weight: 600;
}

.cta-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.cta-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
}

.cta-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.cta-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}

.cta-checks {
  display: grid;
  gap: 12px;
}

.check-item {
  color: var(--muted);
  font-weight: 500;
}

.cta-box {
  padding: 26px;
}

.cta-box > p {
  margin-bottom: 20px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #dfeafb;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  color: white;
  background: rgba(3, 11, 23, 0.55);
  border: 1px solid rgba(151, 180, 221, 0.17);
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
  transition: 0.16s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7e93b5;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(36, 200, 187, 0.65);
  box-shadow: 0 0 0 4px rgba(36, 200, 187, 0.12);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-helper {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.submit-button {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  font-size: 1rem;
}

.form-status {
  display: none;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  line-height: 1.6;
  font-size: 0.94rem;
  border: 1px solid transparent;
}

.form-status.show {
  display: block;
}

.form-status.error {
  background: var(--danger-bg);
  border-color: var(--danger-border);
  color: var(--danger-text);
}

.form-status.success {
  background: var(--success-bg);
  border-color: var(--success-border);
  color: var(--success-text);
}

.site-footer {
  padding: 30px 0 44px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  padding: 72px 0 88px;
}

.legal-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
}

.legal-shell h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.legal-shell h2 {
  margin: 28px 0 12px;
  font-size: 1.15rem;
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.legal-shell ul {
  padding-left: 20px;
}

.legal-kicker {
  margin-bottom: 18px;
}

.legal-contact {
  padding: 18px;
  margin-top: 24px;
  border-radius: 18px;
  background: var(--card-strong);
  border: 1px solid var(--line);
}

.legal-contact strong {
  color: var(--text);
}

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

@media (max-width: 1050px) {
  .hero-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-nav {
    top: 84px;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 72px;
  }

  .nav-actions {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-points,
  .grid-2,
  .grid-3,
  .pricing-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .hero-copy h1,
  .section-heading h2,
  .cta-copy h2,
  .legal-shell h1 {
    font-size: 2rem;
  }

  .hero-panel,
  .info-card,
  .demo-card,
  .pricing-card,
  .cta-box,
  .video-shell,
  .legal-shell {
    padding: 20px;
  }

  .section-nav-wrap {
    padding-top: 0;
  }

  .section-nav {
    top: 76px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }
}