/* ============================================================
   SENTRIVAL.COM — WEBSITE STYLESHEET
   ============================================================ */

:root {
  --brand:         #0d1147;
  --brand-mid:     #1a1f6e;
  --accent:        #7c3aed;
  --accent-hover:  #6d28d9;
  --text:          #111827;
  --text-2:        #374151;
  --text-muted:    #6b7280;
  --bg:            #ffffff;
  --bg-light:      #f9fafb;
  --bg-dark:       #0f172a;
  --border:        #e5e7eb;
  --founders:      #f59e0b;
  --founders-bg:   #fffbeb;
  --radius:        8px;
  --radius-lg:     14px;
  --shadow:        0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:     0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  margin: 0 0 1rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.5rem; }
li { margin-bottom: .4rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .18s, transform .12s, box-shadow .18s;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.4);
  text-decoration: none;
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-ghost-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: #fff;
  text-decoration: none;
}
.btn-lg { padding: 17px 36px; font-size: 1.1rem; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,23,42,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-mark {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}
.nav-logo-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover { color: #fff; }
.nav-cta { margin-left: 16px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: .25s;
}

/* ── HERO ── */
.hero {
  background: var(--bg-dark);
  padding: 96px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 800px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(37,99,235,.15);
  color: #93c5fd;
  border: 1px solid rgba(37,99,235,.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: normal;
  color: #93c5fd;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
  max-width: 640px;
  font-weight: 400;
}
.hero-body {
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.4);
  font-size: .85rem;
}
.hero-trust-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
}

/* ── SERVICES ── */
.services {
  padding: 96px 0;
  background: var(--bg);
}
.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.services-header {
  max-width: 640px;
  margin-bottom: 60px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: box-shadow .2s, border-color .2s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #c7d2fe;
}
.service-icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.service-tagline {
  font-size: .9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: .75rem;
  margin-top: -.25rem;
}
.service-card h3 { margin-bottom: .25rem; }
.service-card p { color: var(--text-2); }
.service-bullets {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}
.service-bullets li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-2);
  font-size: .95rem;
  margin-bottom: .6rem;
}
.service-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: .85rem;
}
.service-closing {
  font-size: .9rem;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Bundle callout */
.bundle-callout {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.bundle-callout h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: .75rem;
}
.bundle-callout p {
  color: rgba(255,255,255,.7);
  margin: 0;
  line-height: 1.65;
  font-size: .97rem;
}
.bundle-pricing {
  text-align: center;
  flex-shrink: 0;
  min-width: 180px;
}
.bundle-price-setup {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: .25rem;
}
.bundle-price-monthly {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: .2rem;
}
.bundle-price-mo {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
}
.bundle-price-note {
  font-size: .8rem;
  color: var(--founders);
  font-weight: 600;
}

/* ── FOUNDERS ── */
.founders-section {
  background: var(--founders-bg);
  border-top: 3px solid var(--founders);
  border-bottom: 3px solid var(--founders);
  padding: 60px 0;
}
.founders-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.founders-badge {
  display: inline-block;
  background: var(--founders);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.founders-left h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: .75rem;
}
.founders-left p {
  color: var(--text-2);
  font-size: 1rem;
  margin-bottom: 0;
}
.founders-counter-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid #fde68a;
}
.founders-number {
  font-size: 5rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: .25rem;
  font-variant-numeric: tabular-nums;
}
.founders-number.loading { color: var(--border); }
.founders-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.founders-bar-wrap {
  background: #fef3c7;
  border-radius: 100px;
  height: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.founders-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--founders), #f97316);
  border-radius: 100px;
  transition: width .6s ease;
}
.founders-urgency {
  font-size: .85rem;
  font-weight: 600;
  color: #92400e;
  margin: 0;
}
.founders-cta-wrap { margin-top: 1.5rem; }

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 96px 0;
  background: var(--bg-light);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.step {
  text-align: center;
  padding: 0 16px;
}
.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
}
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--text-2); font-size: .97rem; margin: 0; }
.steps-reassurance {
  margin-top: 48px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── ABOUT ── */
.about {
  padding: 96px 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text p { color: var(--text-2); line-height: 1.75; }
.about-text p:last-child { margin-bottom: 0; }
.about-what-different {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}
.about-what-different h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}
.about-what-different p {
  color: var(--text-2);
  font-size: .97rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.about-closing {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: #eff6ff;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .97rem;
  color: var(--text-2);
  font-style: italic;
}

/* ── FAQ ── */
.faq {
  padding: 96px 0;
  background: var(--bg-light);
}
.faq-grid {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background .15s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-question[aria-expanded="true"] { background: #eff6ff; color: var(--accent); }
.faq-chevron {
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: transform .2s;
  color: var(--text-muted);
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: .97rem;
  line-height: 1.72;
}
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* ── FINAL CTA ── */
.final-cta {
  background: var(--bg-dark);
  padding: 96px 0;
  text-align: center;
}
.final-cta-inner { max-width: 680px; margin: 0 auto; }
.final-cta h2 {
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.final-cta p {
  color: rgba(255,255,255,.65);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
.final-cta .cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-cta-note {
  margin-top: 1.5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.35);
}

/* ── FOOTER ── */
.footer {
  background: #060d1c;
  padding: 56px 0 32px;
  color: rgba(255,255,255,.5);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-col .nav-logo-name { color: #fff; font-size: 1.1rem; }
.footer-desc {
  font-size: .875rem;
  line-height: 1.65;
  margin-top: .75rem;
  margin-bottom: 0;
}
.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}
.footer-bottom a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
}
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── LEGAL PAGES ── */
.legal-hero {
  background: var(--bg-dark);
  padding: 64px 0 56px;
}
.legal-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: .5rem;
}
.legal-hero .meta {
  color: rgba(255,255,255,.5);
  font-size: .9rem;
  margin: 0;
}
.legal-content {
  padding: 64px 0 96px;
}
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.legal-content h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.legal-content p, .legal-content li { color: var(--text-2); line-height: 1.75; font-size: .97rem; }
.legal-content .caps { font-size: .9rem; line-height: 1.7; font-weight: 500; color: var(--text); }
.legal-nav {
  position: sticky;
  top: 64px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  z-index: 50;
}
.legal-nav-inner {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .85rem;
  overflow-x: auto;
  white-space: nowrap;
}
.legal-nav-inner a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
}
.legal-nav-inner a:hover { background: var(--border); color: var(--text); text-decoration: none; }

/* ── OAUTH CALLBACK ── */
.callback-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
}
.callback-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.callback-icon { font-size: 3rem; margin-bottom: 1rem; }
.callback-card h2 { margin-bottom: .5rem; }
.callback-card p { color: var(--text-muted); margin: 0; }
.callback-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto 1.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .bundle-callout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founders-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--brand);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 64px 0 72px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .bundle-callout { padding: 32px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .service-card { padding: 28px 24px; }
}
