:root {
  --bg: #f6f8fc;
  --white: #ffffff;
  --ink: #0b1220;
  --muted: #5b6478;
  --line: #e4e9f2;
  --blue: #3b5bff;
  --blue-light: #5b7cff;
  --blue-soft: #eef2ff;
  --blue-glow: rgba(59, 91, 255, 0.12);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 12px 40px rgba(11, 18, 32, 0.08);
  --font: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Background blobs (Synthesia-style) ——— */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.blob-a {
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  top: -15%;
  right: -10%;
  background: radial-gradient(circle, rgba(147, 180, 255, 0.45), rgba(147, 180, 255, 0));
}

.blob-b {
  width: 45vw;
  height: 45vw;
  max-width: 560px;
  max-height: 560px;
  bottom: 20%;
  left: -15%;
  background: radial-gradient(circle, rgba(200, 220, 255, 0.5), rgba(200, 220, 255, 0));
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 252, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 233, 242, 0.8);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.nav-main {
  display: flex;
  gap: 2rem;
}

.nav-main a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-main a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.link-muted {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.link-muted:hover { color: var(--ink); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(59, 91, 255, 0.3);
}

.btn-primary:hover {
  background: #2f4de6;
  box-shadow: 0 6px 24px rgba(59, 91, 255, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: #c8d0e0;
  box-shadow: 0 2px 8px rgba(11, 18, 32, 0.06);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  z-index: 1;
  padding: 4rem 0 0;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.75rem;
  box-shadow: 0 1px 3px rgba(11, 18, 32, 0.04);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.hero-title .accent {
  color: var(--blue-light);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 3.5rem;
}

/* ——— Product preview mock ——— */
.hero-preview {
  width: 100%;
  max-width: 920px;
  margin-top: 1rem;
}

.preview-chrome {
  background: linear-gradient(180deg, #e8eeff 0%, #dce6ff 100%);
  border: 1px solid rgba(59, 91, 255, 0.12);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1rem 1rem 0;
  box-shadow: var(--shadow);
}

.preview-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.preview-tabs span {
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
}

.preview-tabs span.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(11, 18, 32, 0.06);
}

.preview-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  background: var(--white);
  border-radius: 12px 12px 0 0;
  min-height: 280px;
  overflow: hidden;
}

.preview-sidebar {
  background: #f8faff;
  border-right: 1px solid var(--line);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.preview-sidebar span {
  height: 10px;
  border-radius: 5px;
  background: var(--line);
}

.preview-sidebar span:first-child {
  width: 70%;
  background: var(--blue-soft);
}

.preview-main {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.preview-stat {
  align-self: flex-start;
  padding: 0.85rem 1.1rem;
  background: var(--blue-soft);
  border-radius: 12px;
}

.preview-stat small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.preview-stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
}

.preview-call {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #93b4ff, var(--blue));
  flex-shrink: 0;
}

.preview-call strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.preview-call span {
  font-size: 0.82rem;
  color: var(--muted);
}

.call-bars {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
}

.call-bars span {
  width: 3px;
  border-radius: 2px;
  background: var(--blue);
  animation: bars 1.2s ease-in-out infinite;
}

.call-bars span:nth-child(1) { animation-delay: 0s; height: 40%; }
.call-bars span:nth-child(2) { animation-delay: 0.1s; height: 70%; }
.call-bars span:nth-child(3) { animation-delay: 0.2s; height: 55%; }
.call-bars span:nth-child(4) { animation-delay: 0.3s; height: 85%; }
.call-bars span:nth-child(5) { animation-delay: 0.4s; height: 50%; }

@keyframes bars {
  0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ——— Trust strip ——— */
.trust-strip {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.trust-strip p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ——— Sections ——— */
.section {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-intro {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-intro.centered {
  margin-inline: auto;
  text-align: center;
}

.section-intro h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 0.75rem;
}

.section-intro p {
  font-size: 1.08rem;
  color: var(--muted);
}

.centered { text-align: center; }

/* ——— Feature grid ——— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ——— Split audience ——— */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split-copy h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.split-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0;
}

.check-list li {
  padding: 1rem 0 1rem 1.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.check-list li:last-child { border-bottom: none; }

/* ——— Partners ——— */
.partner-blocks {
  display: grid;
  gap: 2rem;
  max-width: 720px;
  margin-inline: auto;
}

.label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.partner-block.muted .label { color: var(--muted); }

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.partner-logos span {
  padding: 0.65rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.partner-block.muted .partner-logos span {
  background: transparent;
  border-style: dashed;
  color: var(--muted);
  font-weight: 600;
}

/* ——— CTA ——— */
.cta-section { padding-bottom: 6rem; }

.cta-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.cta-card > p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42ch;
  margin: 0 auto 1.75rem;
}

.cta-card address {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

/* ——— Footer ——— */
footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-row p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ——— Reveal ——— */
.hero .reveal {
  opacity: 1;
  transform: none;
}

.section .reveal,
.trust-strip .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .call-bars span { animation: none; height: 60%; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .nav-main, .link-muted { display: none; }
  .hero { padding-top: 2.5rem; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-sidebar { display: none; }
  .feature-grid, .split-block { grid-template-columns: 1fr; }
  .preview-call { flex-wrap: wrap; }
  .call-bars { margin-left: 0; width: 100%; justify-content: center; }
}

@media (max-width: 520px) {
  .hero-title { max-width: none; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 320px; }
}
