:root {
  --teal: #286f81;
  --teal-dark: #1f5a6b;
  --teal-light: #3a9aad;
  --teal-muted: #e8f4f7;
  --navy: #0a1428;
  --navy-soft: #111d35;
  --text: #1e293b;
  --text-muted: #64748b;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(10, 20, 40, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 20, 40, 0.12);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

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

.container {
  width: min(100% - 3rem, var(--max-width));
  margin-inline: auto;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}

.nav:not(.scrolled) .nav-links a:hover {
  color: white;
}

.nav:not(.scrolled) .nav-toggle span {
  background: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--teal);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: relative;
  min-height: 100vh;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, var(--navy) 100%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 4rem 2rem;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-light);
}

.hero-lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--teal);
  color: white;
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40, 111, 129, 0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.hero-stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Sections ── */
section { padding: 6rem 0; }

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-lead {
  margin-inline: auto;
}

/* ── Problem / Value ── */
.value-section {
  background: var(--surface-alt);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.value-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.value-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-point-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--teal-muted);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.value-point h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.value-point p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Process ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}

.process-step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.process-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal-muted);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Features ── */
.features-section { background: var(--navy); color: white; }

.features-section .section-title { color: white; }
.features-section .section-lead { color: rgba(255,255,255,0.65); }
.features-section .section-eyebrow { color: var(--teal-light); }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 154, 173, 0.4);
}

.feature-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--navy);
}

.feature-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.feature-card-body {
  padding: 1.75rem;
}

.feature-card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card-body p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ── AI Section ── */
.ai-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2847 100%);
  color: white;
  padding: 4rem 0;
}

.ai-banner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ai-banner .section-eyebrow { color: var(--teal-light); }
.ai-banner .section-title { color: white; margin-bottom: 1rem; }
.ai-banner .section-lead { color: rgba(255, 255, 255, 0.75); max-width: none; }
.ai-banner .section-lead strong { color: var(--teal-light); }

.ai-benefits {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ai-benefits li {
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
}

.ai-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-light);
  font-weight: 700;
}

.ai-banner-visual {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  overflow: hidden;
}

.ai-banner-visual img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  display: block;
}

.ai-example-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* ── Flow diagram ── */
.flow-section { background: var(--surface-alt); }

.flow-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.flow-visual {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.flow-visual img {
  position: absolute;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.flow-visual img.active { opacity: 1; }

#flow-mast {
  left: 0;
  bottom: 0;
  height: 90%;
  z-index: 1;
}

#flow-arrow {
  left: 6%;
  bottom: 47%;
  height: 28%;
  z-index: 2;
}

#flow-hop {
  left: 24%;
  bottom: 0;
  height: 55%;
  z-index: 3;
}

.flow-caption {
  max-width: 440px;
}

.flow-caption h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.flow-caption p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Compare ── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.compare-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.compare-card.them {
  background: var(--surface-alt);
  opacity: 0.85;
}

.compare-card.us {
  background: var(--teal-muted);
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.compare-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.compare-card.them .compare-label { color: var(--text-muted); }
.compare-card.us .compare-label { color: var(--teal); }

.compare-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.compare-list li {
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.compare-card.us .compare-list li { color: var(--text); }

.compare-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.compare-card.us .compare-list li::before { background: var(--teal); }

/* ── Pricing ── */
.pricing-section { background: var(--surface-alt); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.pricing-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-inline: auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-grow: 0;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.9rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.pricing-card .btn-secondary {
  background: var(--teal-muted);
  color: var(--teal);
}

.pricing-card .btn-secondary:hover {
  background: var(--teal);
  color: white;
}

.pricing-card.featured .btn-primary { background: var(--teal-dark); }

.pricing-addons {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.pricing-addons h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

.addon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.addon-tag {
  padding: 0.5rem 1rem;
  background: var(--teal-muted);
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 999px;
}

/* ── Apps ── */
.apps-section {
  text-align: center;
  padding: 4rem 0;
  background: var(--navy);
  color: white;
}

.apps-section p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
}

.app-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
}

.app-badge:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.app-badge svg { width: 28px; height: 28px; }

.app-badge-text strong {
  display: block;
  font-size: 0.7rem;
  opacity: 0.7;
}

.app-badge-text span {
  font-size: 1rem;
  font-weight: 600;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--surface-alt);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(40, 111, 129, 0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover { background: var(--teal-dark); }

.form-notice {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  display: none;
}

.form-notice.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-notice.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 50vh; }
  .hero-media::after {
    background: linear-gradient(180deg, transparent 30%, var(--navy) 100%);
  }
  .hero-content { padding: 2rem 2rem 4rem; }
  .value-grid, .contact-grid, .compare-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .feature-cards { grid-template-columns: 1fr; }
  .pricing-grid, .pricing-grid-6 { grid-template-columns: 1fr; }
  .flow-layout { grid-template-columns: 1fr; }
  .flow-visual { height: 300px; }
  .flow-caption { text-align: center; max-width: 100%; margin-inline: auto; }
  .ai-banner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    gap: 1rem;
  }
  .nav-toggle { display: block; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  section { padding: 4rem 0; }
}