@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #0a0a0f;
  --bg-muted: #0f0f1a;
  --bg-alt: #12101e;
  --text: #f1f5f9;
  --text-soft: #94a3b8;
  --line: rgba(148, 163, 184, 0.12);
  --line-strong: rgba(148, 163, 184, 0.22);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --surface-dark: #0f172a;
  --surface-dark-2: #1e1b4b;
  /* Logo gradient: purple #a855f7 → blue #3b82f6 */
  --primary: #a855f7;
  --primary-strong: #c084fc;
  --primary-soft: rgba(168, 85, 247, 0.15);
  --accent: #60a5fa;
  --accent-soft: rgba(96, 165, 250, 0.12);
  --grad-start: #a855f7;
  --grad-end: #3b82f6;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.08), transparent 30%),
    var(--bg);
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
}

p,
ul,
ol {
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

h3 {
  font-size: 1.25rem;
}

.container {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-shell,
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  text-decoration: none;
}

/* Use the dark (white text) logo on the dark site */
.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  content: url("./logo-dark.png");
}

.nav-toggle {
  display: none;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 14px;
  position: relative;
  pointer-events: none;
  flex-shrink: 0;
}

.nav-toggle-bars span {
  display: block;
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a.is-active {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
}

.hero,
.page-hero {
  padding: 5rem 0 2rem;
}

.hero--video {
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  /* Ensure 16:9 source fills the section without distortion */
  min-width: 100%;
  min-height: 100%;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 8, 20, 0.72) 0%,
    rgba(15, 10, 35, 0.65) 50%,
    rgba(10, 8, 20, 0.70) 100%
  );
  z-index: 1;
}

.hero--video .container {
  position: relative;
  z-index: 2;
  animation: hero-content-reveal 1.5s ease forwards;
  animation-delay: 5s;
  opacity: 0;
}

@keyframes hero-content-reveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-screenshot-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.2),
    0 32px 80px rgba(0, 0, 0, 0.6);
  align-self: center;
  /* Don't let it grow taller than the image's natural aspect ratio */
  width: 100%;
}

.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  vertical-align: bottom;
}

.hero--video .hero-copy {
  background: rgba(10, 8, 20, 0.72);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.1);
}

.hero--video .hero-copy h1,
.hero--video .hero-copy p,
.hero--video .hero-copy li {
  color: #f1f5f9;
}

.hero--video .hero-copy .lead {
  color: rgba(241, 245, 249, 0.8);
}

.hero-compact,
.page-hero--compact,
.section-tight {
  padding-top: 4.2rem;
}

.hero-grid,
.split-hero,
.grid,
.grid-2,
.grid-3,
.grid-two,
.two-up,
.three-up,
.four-up,
.comparison-grid,
.proof-grid,
.quote-grid,
.value-grid,
.audience-grid {
  display: grid;
  gap: 1.2rem;
}

.hero-grid,
.split-hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.9fr);
  align-items: center;
}

.hero-grid.single-column {
  grid-template-columns: 1fr;
  max-width: 760px;
}

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

.grid-2,
.grid-two,
.two-up,
.value-grid,
.audience-grid,
.quote-grid,
.proof-grid,
.comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.hero-copy,
.hero-panel,
.card,
.surface,
.pillar-card,
.comparison-card,
.proof-card,
.proof-item,
.timeline,
.timeline-item,
.cta-card,
.cta-panel,
.audience-card,
.feature-card,
.value-row,
.quote-card,
.mini-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.hero-copy,
.hero-panel,
.card,
.surface,
.pillar-card,
.comparison-card,
.proof-card,
.proof-item,
.timeline-item,
.cta-card,
.cta-panel,
.audience-card,
.feature-card,
.value-row,
.quote-card {
  padding: 1.5rem;
}

.hero-copy {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  color: #f8fafc;
}

.hero-copy p,
.hero-panel p,
.card p,
.surface p,
.comparison-card p,
.proof-card p,
.proof-item p,
.value-row p,
.quote-card p,
.footer-copy,
.footer-shell p,
.footer-wrap p,
.section-heading p,
.lede,
.lead,
.hero-title + p {
  color: var(--text-soft);
}

.hero-panel p,
.hero-panel .mock-label,
.hero-panel .metric-row span {
  color: rgba(248, 250, 252, 0.65);
}

.lead,
.lede,
.hero-copy .lead {
  font-size: 1.08rem;
  margin-top: 1.2rem;
  max-width: 64ch;
}

.button-row,
.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button,
.button-primary,
.button--primary,
.button-secondary,
.button--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button-primary:hover,
.button--primary:hover,
.button-secondary:hover,
.button--secondary:hover {
  transform: translateY(-1px);
}

.button,
.button-primary,
.button--primary {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #fff;
  box-shadow: 0 16px 34px rgba(168, 85, 247, 0.3);
}

.button-secondary,
.button--secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.section {
  padding: 5rem 0;
}

.section-alt,
.section-muted,
.section--subtle {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.05), rgba(10, 10, 15, 0));
}

.section-accent,
.section--cta,
.cta-section {
  padding-top: 4rem;
}

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

.section-heading.narrow,
.narrow {
  max-width: 680px;
}

.section-heading p {
  margin-top: 1rem;
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-points,
.check-list,
.plain-list,
.feature-list {
  padding-left: 1.2rem;
  margin-top: 1rem;
  color: var(--text-soft);
}

.hero-points li + li,
.check-list li + li,
.plain-list li + li,
.feature-list li + li {
  margin-top: 0.55rem;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--primary-strong);
}

.mock-window {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-toolbar {
  display: flex;
  gap: 0.45rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.mock-content {
  padding: 1.1rem;
}

.mock-status-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mock-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 0.84rem;
  font-weight: 700;
}

.pill-accent {
  background: rgba(96, 165, 250, 0.18);
  color: #bfdbfe;
}

.mock-grid,
.pillar-list {
  display: grid;
  gap: 1rem;
}

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

.mini-card {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.mini-card p,
.mini-card h3,
.hero-panel h2,
.hero-panel h3,
.hero-panel strong,
.hero-panel .panel-title {
  color: #f8fafc;
}

.panel-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.stack-sm {
  display: grid;
  gap: 0.75rem;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.metric-row strong {
  color: #f8fafc;
  text-align: right;
}

.pillar-card {
  padding: 1.5rem;
}

.pillar-card .pill {
  width: fit-content;
  margin-bottom: 1rem;
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.pillar-card p,
.comparison-card p,
.proof-card p,
.proof-item p,
.audience-card p,
.value-row p,
.quote-card p {
  margin-top: 0.8rem;
}

.comparison-card--muted {
  background: rgba(255, 255, 255, 0.03);
}

.proof-grid--single {
  grid-template-columns: 1fr;
}

.timeline-shell .timeline,
.timeline {
  list-style: none;
  padding: 1.4rem;
  margin: 0;
  background: var(--surface);
}

.timeline li,
.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline li + li,
.timeline-item + .timeline-item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

.quote-card {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08), rgba(59, 130, 246, 0.06));
}

.quote-card p {
  font-size: 1.04rem;
  color: var(--text);
}

.cta-card,
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 50%, #1e3a5f 100%);
  border-color: rgba(168, 85, 247, 0.25);
  color: #f8fafc;
}

.cta-card h2,
.cta-panel h2,
.cta-card p,
.cta-panel p,
.cta-card .eyebrow,
.cta-panel .eyebrow {
  color: #f8fafc;
}

.cta-card .eyebrow,
.cta-panel .eyebrow {
  background: rgba(255, 255, 255, 0.12);
}

.cta-card .button-secondary,
.cta-panel .button-secondary,
.cta-card .button--secondary,
.cta-panel .button--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-shell,
.footer-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.footer-title,
.footer-brand {
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.footer-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a,
.footer-links a {
  color: var(--text-soft);
  font-weight: 600;
}

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

.compact {
  padding: 1.25rem;
}

.surface.compact h3 + p,
.card.compact h3 + p {
  margin-top: 0.7rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-hero,
  .grid-3,
  .three-up,
  .four-up,
  .comparison-grid,
  .quote-grid,
  .proof-grid,
  .value-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .mock-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: 18px;
    background: rgba(15, 12, 28, 0.97);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"],
  .site-nav a.is-active {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-cta {
    width: 100%;
  }

  .hero-copy,
  .hero-panel {
    padding: 2rem;
  }

  .cta-card,
  .cta-panel,
  .footer-shell,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  .hero,
  .page-hero {
    padding-top: 4rem;
  }

  .hero-copy,
  .hero-panel,
  .card,
  .surface,
  .pillar-card,
  .comparison-card,
  .proof-card,
  .proof-item,
  .timeline-item,
  .cta-card,
  .cta-panel,
  .audience-card,
  .feature-card,
  .value-row,
  .quote-card,
  .timeline {
    padding: 1.25rem;
    border-radius: 18px;
  }
}
