/* ============ Sereno marketing site ============ */

:root {
  --ink: #10202e;
  --ink-soft: #46606f;
  --paper: #fbfaf7;
  --paper-tint: #f1efe9;
  --dark: #0e1b26;
  --dark-2: #14273a;
  --teal: #14b8a6;
  --teal-deep: #0d9488;
  --teal-bright: #2dd4bf;
  --line: rgba(16, 32, 46, 0.12);
  --radius: 14px;
  --shadow: 0 10px 40px rgba(14, 27, 38, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 750; margin-bottom: 0.6em; }
h3 { font-size: 1.15rem; font-weight: 700; }

.accent { color: var(--teal-deep); }
.section-dark .accent, .nl .accent { color: var(--teal-bright); }

.lead { font-size: 1.12rem; color: var(--ink-soft); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 0.9em;
}
.section-dark .eyebrow { color: var(--teal-bright); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--teal-deep);
  color: #fff;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}
.btn-primary:hover { background: var(--teal); }
.btn-ghost {
  color: var(--ink);
  border: 2px solid var(--line);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.btn-ghost-light { color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { width: 28px; height: 28px; color: var(--teal-deep); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 84px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.hero-copy .lead { margin: 1.1em 0 1.5em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.6em; }
.hero-points { list-style: none; display: grid; gap: 8px; }
.hero-points li {
  padding-left: 26px;
  position: relative;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-deep);
  font-weight: 800;
}

.browser-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #1c2733;
}
.hero-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #22303e;
}
.browser-bar span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #4a5a68;
}
.browser-bar span:nth-child(1) { background: #e0655a; }
.browser-bar span:nth-child(2) { background: #e0b25a; }
.browser-bar span:nth-child(3) { background: #5ac07a; }
.browser-bar em {
  font-style: normal;
  color: #92a4b3;
  font-size: 0.78rem;
  margin-left: 8px;
}
.hero-shot figcaption, .split-shot figcaption {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* ---------- stat strip ---------- */
.strip { background: var(--dark); color: #fff; padding: 34px 0; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.strip-item strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--teal-bright);
  letter-spacing: -0.02em;
}
.strip-item span { font-size: 0.88rem; color: #b8c5d1; line-height: 1.45; display: block; margin-top: 4px; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--paper-tint); }
.section-dark { background: var(--dark); color: #eef3f6; }
.section-dark h2 { color: #fff; }
.section h2.center { margin-bottom: 1.6em; }

/* ---------- audience cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(14, 27, 38, 0.06);
  display: flex;
  flex-direction: column;
}
.card > img { height: 190px; object-fit: cover; width: 100%; }
.card-body { padding: 26px 26px 30px; }
.card-body h3 { margin-bottom: 0.5em; }
.card-body p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1em; }
.card-body ul { list-style: none; display: grid; gap: 7px; }
.card-body li {
  padding-left: 24px;
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
}
.card-body li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--teal-deep);
  font-weight: 800;
}

/* ---------- features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.feature-icon { font-size: 1.6rem; margin-bottom: 12px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 0.5em; color: #fff; }
.feature p { font-size: 0.88rem; color: #aebdc9; }

/* ---------- split sections ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.split-copy .lead { margin-bottom: 1.2em; }
.split-copy p { color: var(--ink-soft); margin-bottom: 1.2em; }
.section-dark .split-copy p { color: #b8c5d1; }
.checks { list-style: none; display: grid; gap: 10px; }
.split-copy .hero-actions { margin-top: 1.8em; margin-bottom: 0; }
.checks li {
  padding-left: 28px;
  position: relative;
  font-weight: 600;
  font-size: 0.97rem;
}
.checks li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--teal-deep);
  font-weight: 800;
}
.section-dark .checks li::before { color: var(--teal-bright); }
.doc-shot {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ---------- steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 0.4em; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- natural language section ---------- */
.badge {
  display: inline-block;
  background: rgba(45, 212, 191, 0.15);
  color: var(--teal-bright);
  border: 1px solid rgba(45, 212, 191, 0.4);
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.1em;
}
.chat-mock {
  display: grid;
  gap: 14px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.chat-line {
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 0.93rem;
  line-height: 1.5;
  max-width: 92%;
}
.chat-line.user {
  background: #223447;
  color: #e6eef4;
  justify-self: start;
  border-bottom-left-radius: 4px;
}
.chat-line.sereno {
  background: rgba(45, 212, 191, 0.13);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #bdf3ea;
  justify-self: end;
  border-bottom-right-radius: 4px;
  font-size: 0.86rem;
}

/* ---------- roadmap ---------- */
.roadmap-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.roadmap-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.roadmap-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot-done { background: var(--teal-deep); }
.dot-next { background: #e0a832; }
.roadmap-col ul { list-style: none; display: grid; gap: 11px; }
.roadmap-col li {
  padding-left: 24px;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.roadmap-col li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line);
}
.roadmap-col li.flagship {
  color: var(--ink);
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 10px;
  padding: 12px 14px 12px 34px;
}
.roadmap-col li.flagship::before { background: var(--teal-deep); left: 14px; top: 19px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 110px 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(14, 27, 38, 0.82), rgba(14, 27, 38, 0.88));
}
.cta-inner { position: relative; z-index: 1; max-width: 720px; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #cdd9e2; margin-bottom: 1.8em; font-size: 1.05rem; }
.center-actions { justify-content: center; }
.cta-note { margin-top: 1.6em; font-size: 0.9rem; color: #9fb2c0; }
.cta-note a { color: var(--teal-bright); }

/* ---------- demo-request form ---------- */
.demo-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 32px 30px;
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-bottom: 18px;
}
.demo-form label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}
.demo-form input,
.demo-form select,
.demo-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
}
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.demo-form textarea { resize: vertical; }
.form-full { margin-bottom: 22px; }
.form-submit { width: 100%; border: none; cursor: pointer; font-family: inherit; }
.demo-form .cta-note { margin-top: 1.2em; text-align: center; color: var(--ink-soft); }
.demo-form .cta-note a { color: var(--teal-deep); font-weight: 700; }

/* success page */
.success-wrap {
  min-height: calc(100vh - 66px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.success-card {
  max-width: 520px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 52px 40px;
}
.success-card .success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.12);
  color: var(--teal-deep);
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.success-card p { color: var(--ink-soft); margin: 0.8em 0 1.6em; }

/* ---------- footer ---------- */
.footer {
  background: var(--dark);
  color: #9fb2c0;
  padding: 46px 0 40px;
}
.footer-inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.brand-footer { color: #fff; }
.brand-footer .brand-mark { color: var(--teal-bright); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.footer-links a { color: #b8c5d1; text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.footer-links a:hover { color: var(--teal-bright); }
.footer-note { font-size: 0.82rem; line-height: 1.7; }

/* ============ responsive ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .card > img { height: 220px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .roadmap-cols { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 66px;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    display: none;
    box-shadow: 0 14px 30px rgba(14, 27, 38, 0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 24px; }
  .nav-toggle { display: flex; }
  .hero { padding: 48px 0 60px; }
  .section { padding: 60px 0; }
  .strip-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 13px 26px; font-size: 0.98rem; }
  .cta { padding: 80px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .demo-form { padding: 26px 20px 24px; }
}

@media (max-width: 420px) {
  .strip-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
