/* DrSentio marketing site — bright lavender design, serif display headings */
:root {
  --navy: #221F4E;          /* ink */
  --navy-deep: #16143A;     /* deep ink */
  --blue: #4A448F;          /* indigo */
  --gold: #6E66D8;          /* periwinkle accent (legacy var name) */
  --gold-deep: #5F58B5;
  --gold-soft: #E6E4F9;
  --soft-blue: #948EE7;
  --mist: #EFEDFB;
  --white: #FFFFFF;
  --text: #1C1946;
  --text-2: #4A448F;
  --text-3: #6C6893;
  --border: #D5D2F5;
  --border-soft: #E6E4F9;
  --radius: 24px;
  --font-display: 'Playfair Display', Georgia, serif;
  --shadow: 0 12px 48px rgba(43, 38, 112, 0.14);
  --shadow-soft: 0 6px 24px rgba(43, 38, 112, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 700px at 8% 0%, #E7E4F9 0%, rgba(231,228,249,0) 60%),
    radial-gradient(1000px 700px at 95% 12%, #DCD9F5 0%, rgba(220,217,245,0) 55%),
    radial-gradient(900px 900px at 50% 105%, #EAE0F2 0%, rgba(234,224,242,0) 55%),
    linear-gradient(160deg, #F3F1FC 0%, #F7F6FD 45%, #E9E6F9 100%);
  background-attachment: fixed;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Floating pill nav ---------- */
.nav { position: sticky; top: 16px; z-index: 50; padding: 0 16px; }
.nav-inner {
  max-width: 1160px; margin: 0 auto; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px);
  border-radius: 999px; padding: 0 12px 0 24px;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,0.7);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--navy); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--soft-blue), var(--navy-deep));
  display: grid; place-items: center; font-size: 18px;
}
.brand-logo {
  width: 40px; height: 40px; border-radius: 999px; object-fit: cover;
  box-shadow: 0 2px 10px rgba(43, 38, 112, 0.18);
}
footer .brand-logo { box-shadow: 0 0 0 2px rgba(255,255,255,0.15); }
.brand { flex-shrink: 0; white-space: nowrap; }
.nav-links { display: flex; gap: clamp(14px, 2.2vw, 26px); align-items: center; }
.nav-links a { color: var(--text-2); font-size: 15px; font-weight: 500; transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--navy); }
.nav-links .btn { padding: 12px 24px; }
/* Buttons inside the nav keep their own text color (beats .nav-links a). */
.nav .nav-links a.btn-primary, .nav .nav-links a.btn-primary:hover { color: var(--white); }
.nav .nav-links a.btn-gold, .nav .nav-links a.btn-gold:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--navy); cursor: pointer; padding: 8px 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  border: none; cursor: pointer; transition: all .2s; font-family: inherit;
}
.btn-primary { background: var(--navy-deep); color: var(--white); }
.btn-primary:hover { background: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,0.7); color: var(--navy); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--blue); background: var(--white); }
.btn-lg { padding: 17px 36px; font-size: 17px; }

/* ---------- Centered hero ---------- */
.hero { text-align: center; padding: 88px 0 0; overflow: hidden; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.2vw, 72px); line-height: 1.12; letter-spacing: 0;
  font-weight: 600; color: var(--navy); max-width: 980px; margin: 0 auto;
}
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero p.lede { margin: 26px auto 0; font-size: 19px; color: var(--text-3); max-width: 560px; }
.hero-ctas { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 13.5px; color: var(--text-3); }

/* Store badges */
.badges { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; border-radius: 12px; padding: 9px 18px;
  transition: transform .2s, box-shadow .2s; min-width: 168px;
}
.badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.badge .badge-icon { width: 26px; height: 26px; flex-shrink: 0; }
.badge-web { background: var(--navy-deep); border: 1px solid rgba(148, 142, 231, 0.55); }
.badge-web .badge-text small { color: var(--soft-blue); opacity: 1; }
.badge .badge-text { text-align: left; line-height: 1.15; }
.badge .badge-text small { display: block; font-size: 10.5px; font-weight: 400; opacity: .8; letter-spacing: .3px; }
.badge .badge-text span { font-size: 17px; font-weight: 600; }

/* ---------- Phone mockup ---------- */
.mockup-stage { position: relative; max-width: 900px; margin: 64px auto 0; padding-bottom: 40px; }
.phone {
  width: 320px; margin: 0 auto; border-radius: 48px; background: var(--white);
  padding: 12px; box-shadow: 0 40px 100px rgba(43, 38, 112, 0.28); position: relative; z-index: 2;
}
.phone-screen {
  border-radius: 38px; overflow: hidden; background: linear-gradient(170deg, #F7F6FD 0%, #ECEAFA 100%);
  aspect-ratio: 9 / 17.5; display: flex; flex-direction: column;
}
.phone-header {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  padding-top: 34px; background: rgba(255,255,255,0.85); border-bottom: 1px solid var(--border-soft);
}
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: var(--white); border-radius: 0 0 18px 18px; z-index: 3; }
.phone-notch::after { content: ""; position: absolute; inset: 6px 32px; background: #221F4E; border-radius: 999px; opacity: .9; }
.phone-avatar { width: 34px; height: 34px; border-radius: 999px; background: radial-gradient(circle at 30% 30%, var(--soft-blue), var(--blue)); display: grid; place-items: center; color: #fff; font-size: 15px; }
.phone-header .ph-name { font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.phone-header .ph-status { font-size: 10.5px; color: var(--text-3); }
.phone-chat { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.ph-bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 12.5px; line-height: 1.45; }
.ph-bubble.ai { background: var(--white); border: 1px solid var(--gold-soft); color: var(--text-2); border-bottom-left-radius: 6px; align-self: flex-start; box-shadow: var(--shadow-soft); }
.ph-bubble.ai .ph-ai-label { display: block; font-size: 9.5px; color: var(--gold-deep); font-weight: 600; margin-bottom: 3px; }
.ph-bubble.me { background: var(--navy); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.ph-compose { margin: 0 12px 14px; background: var(--white); border: 1px solid var(--border-soft); border-radius: 999px; padding: 11px 16px; font-size: 12px; color: var(--text-3); display: flex; justify-content: space-between; align-items: center; }
.ph-send { width: 26px; height: 26px; border-radius: 999px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 13px; }

/* Floating cards around phone */
.float { position: absolute; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.8); z-index: 3; animation: floaty 7s ease-in-out infinite; }
.float-msg { left: 4%; bottom: 22%; width: 220px; padding: 16px 18px; text-align: left; }
.float-msg .fm-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.float-msg .fm-avatar { width: 30px; height: 30px; border-radius: 999px; background: var(--gold-soft); display: grid; place-items: center; font-size: 14px; }
.float-msg .fm-name { font-size: 12.5px; font-weight: 600; color: var(--navy); }
.float-msg .fm-line { height: 8px; border-radius: 999px; background: var(--border-soft); margin-top: 7px; }
.float-msg .fm-line.short { width: 65%; }
.float-calls { right: 5%; top: 30%; padding: 14px 18px; display: flex; gap: 14px; animation-delay: 1.6s; }
.float-calls .fc-btn { width: 42px; height: 42px; border-radius: 999px; background: var(--mist); display: grid; place-items: center; font-size: 17px; color: var(--blue); }
.float-calls .fc-btn.gold { background: var(--gold); color: var(--white); }
.float-mood { left: 10%; top: 18%; padding: 14px 18px; text-align: left; animation-delay: 3.2s; }
.float-mood .fmo-title { font-size: 11px; color: var(--text-3); margin-bottom: 6px; }
.float-mood .fmo-emoji { font-size: 20px; letter-spacing: 5px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px;
  background: rgba(255,255,255,0.75); border: 1px solid var(--gold-soft); padding: 7px 16px; border-radius: 999px;
}
h2.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 44px); line-height: 1.16; letter-spacing: 0; color: var(--navy); }
p.section-sub { margin-top: 14px; font-size: 17.5px; color: var(--text-3); max-width: 620px; }
.center { text-align: center; }
.center p.section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Features ---------- */
.features-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: rgba(255,255,255,0.85); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-soft);
  transition: transform .25s, box-shadow .25s; text-align: left;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 999px; background: var(--gold-soft);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 20px;
}
.feature-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: var(--text-3); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 24px; }
.split-img { border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.2; background: var(--mist); border: 6px solid rgba(255,255,255,0.85); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split ul { margin-top: 24px; list-style: none; display: grid; gap: 16px; }
.split li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--text-2); }
.split li .tick {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; background: var(--gold-soft);
  color: var(--gold-deep); display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 1px;
}

/* ---------- Steps ---------- */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: rgba(255,255,255,0.85); backdrop-filter: blur(8px); border-radius: var(--radius); padding: 36px 30px; border: 1px solid rgba(255,255,255,0.9); box-shadow: var(--shadow-soft); }
.step-num {
  width: 42px; height: 42px; border-radius: 999px; background: var(--navy); color: #CFCBF0;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 18px;
}
.step h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--text-3); }

/* ---------- Pricing ---------- */
.pricing-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 860px; margin-left: auto; margin-right: auto; }
.price-card {
  background: rgba(255,255,255,0.92); border-radius: 28px; border: 1.5px solid rgba(255,255,255,0.9);
  padding: 40px 36px; text-align: left; position: relative; box-shadow: var(--shadow-soft);
}
.price-card.featured { border-color: var(--gold); box-shadow: var(--shadow); }
.price-tag {
  position: absolute; top: -14px; right: 28px; background: var(--gold); color: var(--white);
  font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px;
}
.price-card h3 { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 21px; }
.price { font-family: var(--font-display); margin: 18px 0 4px; font-size: 46px; font-weight: 600; color: var(--navy); letter-spacing: 0; }
.price small { font-size: 16px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.price-save { font-size: 14px; color: var(--gold-deep); font-weight: 600; min-height: 21px; }
.price-card ul { list-style: none; margin: 26px 0 30px; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); }
.price-card li::before { content: "✓"; color: var(--gold-deep); font-weight: 700; }
.price-card .btn { width: 100%; }
.pricing-note { margin-top: 26px; text-align: center; font-size: 13.5px; color: var(--text-3); }

/* ---------- Institutions ---------- */
.inst { position: relative; }
.inst-panel {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #3A3480);
  border-radius: 36px; padding: 72px 64px; color: var(--white); box-shadow: var(--shadow);
}
.inst .section-title { color: var(--white); }
.inst .section-sub { color: rgba(255,255,255,0.7); }
.inst .kicker { background: rgba(255,255,255,0.08); border-color: rgba(148,142,231,0.4); color: var(--soft-blue); }
.inst-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 8px; align-items: start; }
.inst-points { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.inst-points li { display: flex; gap: 14px; color: rgba(255,255,255,0.85); font-size: 16px; }
.inst-points .tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; background: rgba(148,142,231,0.22); color: var(--soft-blue); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.form-card { background: var(--white); border-radius: 26px; padding: 38px; color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,0.3); }
.form-card h3 { color: var(--navy); margin-bottom: 22px; font-size: 21px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 18px; border: 1.5px solid var(--border); border-radius: 14px;
  font-size: 15px; font-family: inherit; color: var(--text); background: var(--white); transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); }
.form-status { margin-top: 14px; font-size: 14px; min-height: 20px; }
.form-status.ok { color: #2F7D5F; }
.form-status.err { color: #BB4A44; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 48px auto 0; display: grid; gap: 14px; }
details {
  background: rgba(255,255,255,0.85); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.9);
  border-radius: 18px; padding: 22px 26px; box-shadow: var(--shadow-soft);
}
details summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details summary::after { content: "+"; font-size: 22px; color: var(--gold-deep); }
details[open] summary::after { content: "–"; }
details p { margin-top: 14px; color: var(--text-3); font-size: 15px; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; padding: 32px 0 110px; }
.final-cta .glow {
  display: inline-block; background: rgba(255,255,255,0.75); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.9); border-radius: 36px; padding: 64px 72px; box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); padding: 64px 0 40px; font-size: 14px; border-radius: 36px 36px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-grid a { display: block; margin-bottom: 10px; color: rgba(255,255,255,0.6); transition: color .2s; }
.footer-grid a:hover { color: var(--soft-blue); }
.footer-grid .brand { color: #fff; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.helpline-box {
  margin-top: 18px; padding: 16px 20px; border: 1px solid rgba(148,142,231,0.35); border-radius: 16px;
  color: rgba(255,255,255,0.8); font-size: 13.5px; max-width: 420px;
}
.helpline-box strong { color: var(--soft-blue); }

/* ---------- Legal pages ---------- */
.legal-page { max-width: 780px; margin: 24px auto 0; padding: 56px 48px 72px; background: rgba(255,255,255,0.88); backdrop-filter: blur(8px); border-radius: 32px; box-shadow: var(--shadow-soft); margin-bottom: 96px; }
.legal-page h1 { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 38px; letter-spacing: 0; margin-bottom: 8px; }
.legal-meta { color: var(--text-3); font-size: 14px; margin-bottom: 40px; }
.legal-page h2 { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 23px; margin: 40px 0 12px; }
.legal-page h3 { color: var(--navy); font-size: 17px; margin: 26px 0 8px; }
.legal-page p, .legal-page li { color: var(--text-2); font-size: 15.5px; margin-bottom: 12px; }
.legal-page ul, .legal-page ol { padding-left: 24px; margin-bottom: 16px; }
.legal-page a { color: var(--blue); text-decoration: underline; }
.legal-callout {
  background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0;
  padding: 18px 22px; margin: 24px 0; font-size: 15px; color: var(--navy-deep);
}

/* ---------- Responsive ---------- */
/* Collapse the nav into the hamburger well before links can crowd the brand
   (covers tablets and phones in portrait). */
@media (max-width: 960px) {
  .nav-links {
    display: none; position: absolute; top: 76px; left: 16px; right: 16px;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 20px; gap: 6px; border-radius: 24px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: 14px; font-size: 16px; }
  .nav-links a:hover { background: var(--mist); }
  .nav-links .btn { margin-top: 8px; justify-content: center; }
  .nav-toggle { display: block; }
}

@media (max-width: 920px) {
  .split, .inst-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid, .steps { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 72px 0; }
  .inst-panel { padding: 48px 32px; }
  .float-msg { display: none; }
  .float-mood { left: 2%; }
  .final-cta .glow { padding: 48px 32px; }
}
@media (max-width: 640px) {
  .features-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .float-calls { right: 0; top: 14%; }
  .float-mood { display: none; }
  .phone { width: 280px; }
  .hero { padding-top: 56px; }
  .hero h1 { letter-spacing: 0; }
  .badges { gap: 10px; }
  .badge { min-width: 150px; padding: 8px 14px; }
  .legal-page { padding: 40px 24px 56px; margin-left: 16px; margin-right: 16px; }
}
