:root {
  --bg: #fbf8f6;
  --ink: #14141c;
  --muted: #6b6b76;
  --orange: #f7941d;
  --pink: #ee2e63;
  --magenta: #c6179a;
  --card: #ffffff;
  --border: rgba(20, 20, 28, 0.08);
  --radius: 22px;
  --gradient: linear-gradient(120deg, var(--orange) 0%, var(--pink) 55%, var(--magenta) 100%);
}

* { box-sizing: border-box; }

/* Author CSS (e.g. .btn { display: inline-flex }) otherwise wins over the
   browser's default [hidden] rule, since UA styles always lose to author
   styles regardless of selector specificity — learned the hard way once
   already (SVG play/pause icons). One global override, not per-component. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 560px at 82% -10%, rgba(247, 148, 29, 0.14), rgba(255,255,255,0) 60%),
    radial-gradient(700px 520px at 4% 10%, rgba(238, 46, 99, 0.10), rgba(255,255,255,0) 55%),
    radial-gradient(800px 600px at 50% 120%, rgba(198, 23, 154, 0.08), rgba(255,255,255,0) 55%);
}

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

.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 14px;
}
.eyebrow.center { text-align: center; }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Nav */
.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}
.nav {
  width: 100%;
  max-width: 920px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px 10px 16px;
  box-shadow: 0 8px 30px rgba(20, 20, 28, 0.06);
}
.brand { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.brand-icon { width: 28px; height: 28px; object-fit: contain; }
.brand-name { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.brand-name em { font-style: normal; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 20px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(238, 46, 99, 0.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(238, 46, 99, 0.34); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: rgba(20,20,28,0.2); }

/* Hero */
.hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 20px 40px;
  text-align: center;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-logo {
  width: 220px;
  max-width: 60vw;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 8px;
  line-height: 1.6;
}
.motto {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 32px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.stat-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Sections */
.section { max-width: 1040px; margin: 0 auto; padding: 88px 20px; }
.section h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 14px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto 48px; }

/* Voice cards */
.voice-group-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 40px 0 14px;
}
.voice-group-label:first-of-type { margin-top: 0; }

.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}
.voice-grid .voice-card { padding: 16px; gap: 12px; }
.voice-grid .play-btn { width: 44px; height: 44px; }
.voice-grid .play-btn svg { width: 18px; height: 18px; }
.voice-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  box-shadow: 0 6px 24px rgba(20,20,28,0.04);
}
.play-btn {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--gradient);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}
.play-btn:hover { transform: scale(1.06); }
.play-btn svg { width: 22px; height: 22px; fill: currentColor; }
.voice-meta h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.voice-meta p { margin: 0; font-size: 13px; color: var(--muted); }

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 6px 24px rgba(20,20,28,0.04);
}
.price-card h3 { margin: 0 0 12px; font-size: 18px; font-weight: 800; }
.price-amount { font-size: 32px; font-weight: 800; margin: 0 0 20px; }
.price-amount span { font-size: 14px; font-weight: 600; color: var(--muted); }
.price-card ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* SapixDB */
.sapixdb { padding-top: 0; }
.sapixdb-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.sapixdb-logo { height: 64px; }
.sapixdb-inner p { max-width: 520px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; text-align: left; }

/* Access */
.access-cta { display: flex; justify-content: center; }

/* Family of products */
.family-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 24px;
}
.family-logo { height: 32px; }
.family-header p { margin: 0; color: var(--muted); font-size: 15px; max-width: 480px; }
.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}
.family-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  box-shadow: 0 6px 24px rgba(20,20,28,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.family-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(20,20,28,0.08); }
.family-card img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.family-card h4 { margin: 0 0 2px; font-size: 15px; font-weight: 800; }
.family-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* Footer */
.footer {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--border);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-copy { font-size: 13px; color: var(--muted); margin: 0; }
.footer-copy a { text-decoration: underline; }
.powered-by { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.powered-logo { height: 22px; }

@media (max-width: 720px) {
  .hero h1 { font-size: 32px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .sapixdb-inner p { text-align: center; }
}
