:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #0f172a;
  --muted: #475569;
  --border: #dbe4f0;
  --primary: #1d4ed8;
  --primary-strong: #1e3a8a;
  --portal: #0b1223;
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
  --radius: 16px;
  --radius-xl: 24px;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 0% 0%, rgba(37, 99, 235, 0.09), transparent 55%),
    radial-gradient(900px 600px at 100% 0%, rgba(56, 189, 248, 0.08), transparent 55%),
    linear-gradient(180deg, #fbfdff, var(--bg));
  line-height: 1.55;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 251, 255, 0.85);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-copy {
  line-height: 1.1;
}

.brand-name {
  font-weight: 800;
  letter-spacing: -0.3px;
}

.brand-sub {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.desktop-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #334155;
  font-weight: 600;
  font-size: 14px;
}

.desktop-nav a:hover {
  background: rgba(15, 23, 42, 0.05);
}

.nav-ctas {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  transition: transform 130ms ease, box-shadow 130ms ease, background-color 130ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 12px 16px;
  font-size: 15px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  border-color: rgba(30, 58, 138, 0.45);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3);
}

.btn-ghost {
  color: #0f172a;
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.btn-portal {
  color: #fff;
  background: linear-gradient(180deg, #111827, #020617);
  border-color: rgba(2, 6, 23, 0.7);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.35);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #1e293b;
  margin: 0 auto;
  position: relative;
  content: "";
}

.menu-btn span::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.menu-btn span::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(248, 251, 255, 0.95);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 24px 18px;
}

.mobile-menu-inner > a {
  font-weight: 600;
  color: #334155;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-pad {
  padding: 72px 0;
}

.section-transition {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms ease;
  will-change: opacity, transform;
}

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

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.2));
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
}

.pilot-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pilotPulse 4s ease-in-out infinite;
}

@keyframes pilotPulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  50% {
    opacity: 0.35;
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
}

.hero-copy h1 {
  margin: 14px 0 10px;
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.1px;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-metrics {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

.metric-value {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.metric-label {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.fine-print {
  margin-top: 10px;
  color: #64748b;
  font-size: 12px;
}

.fine-print.center {
  text-align: center;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 28px;
  background:
    radial-gradient(220px 180px at 15% 10%, rgba(59, 130, 246, 0.26), transparent 70%),
    radial-gradient(220px 180px at 90% 90%, rgba(99, 102, 241, 0.18), transparent 70%);
  filter: blur(10px);
}

.screen-card {
  border-radius: var(--radius-xl);
  border: 1px solid #ced9e7;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.screen-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid #dde6f2;
  background: #f8fbff;
}

.screen-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}

.screen-bar span:nth-child(1) { background: #ef4444; }
.screen-bar span:nth-child(2) { background: #f59e0b; }
.screen-bar span:nth-child(3) { background: #22c55e; }

.screen-bar strong {
  margin-left: 8px;
  font-size: 12px;
  color: #475569;
}

.screen-card img {
  width: 100%;
  height: auto;
  display: block;
}

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(29px, 3.1vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 78ch;
}

.card-grid {
  display: grid;
  gap: 14px;
}

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

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

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.3px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.info-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #334155;
}

.info-card li {
  margin: 6px 0;
}

.workflow-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.workflow-grid li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.step-dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.11);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 10px;
}

.workflow-grid h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.workflow-grid p {
  margin: 0;
  color: var(--muted);
}

.how-video {
  margin-top: 24px;
}

.how-video h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

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

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
}

.showcase-kicker {
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-card h3 {
  margin: 8px 0 8px;
}

.showcase-card p {
  margin: 0;
  color: var(--muted);
}

.showcase-shot {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f8fbff;
}

.showcase-shot img {
  width: 100%;
  height: auto;
  display: block;
}

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

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card.featured {
  border-color: rgba(29, 78, 216, 0.3);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.2);
  position: relative;
}

.chip {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 999px;
  color: #1d4ed8;
  border: 1px solid rgba(29, 78, 216, 0.22);
  background: rgba(37, 99, 235, 0.08);
}

.plan {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.price span {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}

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

.price-card ul {
  margin: 0;
  padding-left: 18px;
  color: #334155;
}

.price-card li {
  margin: 7px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.faq-grid details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.final-cta-card {
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.15), rgba(15, 23, 42, 0.06));
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 26px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 18px;
  box-shadow: var(--shadow);
}

.cta-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.15;
}

.cta-copy p {
  margin: 0;
  color: #334155;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 0 12px;
  background: #fff;
  font-size: 14px;
  color: #0f172a;
}

.input:focus {
  outline: 3px solid rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.65);
}

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.65);
  padding-top: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 30px;
  height: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px 16px;
}

.footer-links a {
  color: #334155;
  font-weight: 600;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 18px;
  padding: 14px 0 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

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

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-ctas .btn-ghost {
    display: none;
  }

  .mobile-menu[data-open="true"] {
    display: block;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .card-grid.three,
  .card-grid.two,
  .workflow-grid,
  .showcase-grid,
  .pricing-grid,
  .faq-grid,
  .final-cta-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 8vw, 46px);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }

  .brand-sub {
    display: none;
  }

  .nav-ctas .btn-portal {
    display: none;
  }

  .mobile-menu-actions .btn-portal {
    display: inline-flex;
  }

  .section-pad {
    padding: 60px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-transition {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pilot-status-dot {
    animation: none;
  }
}
