:root {
  --bg-window: #1D1F26;
  --bg-card: #272A33;
  --bg-deep: #13141A;
  --bg-footer: #0f1015;
  --bg-chrome: #1a1c23;
  --accent: #284CB8;
  --accent-light: #476BD7;
  --accent-lighter: #718CDC;
  --text: #E7E9EE;
  --text-secondary: #C7CCDB;
  --text-muted: #9AA1B2;
  --text-dim: #8B93A6;
  --text-faint: #6E7690;
  --border: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-card: rgba(255, 255, 255, 0.08);
  --container: min(1200px, 100% - 48px);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-window);
}

body {
  margin: 0;
  background: var(--bg-window);
  font-family: -apple-system, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

body.modal-open { overflow: hidden; }

.page {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-window);
  overflow: hidden;
}

.container { width: var(--container); margin-inline: auto; }

img { max-width: 100%; display: block; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 64px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.brand-mark::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #fff;
  margin-left: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 13px;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.lang-toggle {
  display: flex;
  background: var(--bg-deep);
  border-radius: 8px;
  padding: 3px;
  border: 1px solid var(--border);
}

.lang-btn {
  padding: 6px 16px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

/* Hero */
.hero {
  padding: 72px 64px 88px;
  background: radial-gradient(ellipse 900px 500px at 50% 0%, rgba(40, 76, 184, 0.14), transparent 70%);
}

.hero-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.hero-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-subhead {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-body {
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  font-size: 11px;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

/* Overlay hero */
.hero-overlay-wrap {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.hero-video-col { width: 100%; }

.video-panel {
  border-radius: 14px;
  overflow: hidden;
  background: #0d0e12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.video-aspect {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1.5px) brightness(0.55);
}

.video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 14, 18, 0.1), rgba(13, 14, 18, 0.55));
}

.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  border: none;
  border-radius: 50%;
  background: rgba(40, 76, 184, 0.92);
  box-shadow: 0 8px 30px rgba(40, 76, 184, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}

.video-play-btn:hover { transform: scale(1.04); }

.play-triangle {
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #fff;
  margin-left: 5px;
}

.video-demo-tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
}

.video-caption {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin: 12px 0 0;
  padding: 0 20px;
}

/* Webinar overlay card */
.webinar-card {
  position: absolute;
  right: -24px;
  bottom: 0;
  width: 380px;
  max-width: calc(100% - 24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 28px 30px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-lighter);
}

.webinar-card h2 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.webinar-body {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.webinar-meta {
  margin: 0 0 20px;
  font-size: 12px;
  color: var(--text-faint);
}

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

.webinar-actions input[type=email] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--bg-window);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.webinar-actions input:focus {
  outline: 1px solid var(--accent-light);
  outline-offset: 0;
}

.webinar-hint {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.45;
}

.btn {
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover { background: var(--accent-light); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.14);
  font-weight: 500;
}

.btn-ghost:hover { border-color: var(--accent-light); }

/* Sections */
.section { padding: 64px; }
.section-deep { background: var(--bg-deep); padding: 56px 64px; }

.section-head-center,
.section-title-center {
  text-align: center;
  margin: 0 0 40px;
}

.section-head-center h2,
.section-title-center {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
}

.section-head-center p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
}

/* Problem / Solution */
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.ps-label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.ps-label-accent { color: var(--accent-lighter); }

.dot-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: #B7BCCB;
}

.dot-row p { margin: 0; }

.ps-col:last-child .dot-row { color: #DCE0EA; }

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}

.dot-muted { background: var(--text-faint); }
.dot-accent { background: var(--accent-light); }

/* Proof grid */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proof-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.window-chrome {
  background: var(--bg-chrome);
  border-bottom: 1px solid var(--border);
  padding: 8px 12px;
  display: flex;
  gap: 6px;
}

.window-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4a4d57;
}

.proof-shot {
  height: 150px;
  overflow: hidden;
  background: #0d0e12;
}

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

.proof-body {
  padding: 18px 20px 20px;
}

.proof-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.proof-body p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Integrations */
.integrations-inner { text-align: center; }

.integrations-lead {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--text-dim);
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.badge-pill {
  font-size: 13px;
  color: #A0A8B8;
  border: 1px solid var(--border-card);
  padding: 8px 16px;
  border-radius: 100px;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1160px;
}

.step-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 26px 24px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  max-width: 820px;
}

.faq-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.faq-row h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.faq-row p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 64px;
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal-panel {
  position: relative;
  width: min(640px, 100%);
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.modal-panel h2 { margin: 0 0 12px; font-size: 1.25rem; }
.modal-panel > p { margin: 16px 0 0; color: var(--text-muted); font-size: 14px; }

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close-btn { margin-top: 20px; width: auto; }

.video-embed {
  aspect-ratio: 16 / 9;
  background: var(--bg-deep);
  border-radius: 8px;
  overflow: hidden;
}

.video-embed iframe,
.video-embed video {
  width: 100%;
  height: 100%;
  border: none;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 300;
  max-width: min(420px, calc(100% - 32px));
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--accent-light);
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.toast.toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive — mobile pass per handoff */
@media (max-width: 1024px) {
  .site-header { padding: 18px 24px; }
  .site-nav { display: none; }
  .hero { padding: 48px 24px 64px; }
  .section, .section-deep { padding: 48px 24px; }
  .site-footer { padding: 24px; flex-wrap: wrap; gap: 16px; }

  .webinar-card {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 24px;
    right: auto;
  }

  .hero-overlay-wrap { padding-bottom: 0; }

  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .ps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .proof-grid { grid-template-columns: 1fr; }
}
