/* ── VitaUnits Marketing — Full Redesign ── */

:root {
  --white:  #ffffff;
  --bg:     #f8f7ff;
  --ink:    #0f0d1c;
  --muted:  #6b7080;
  --subtle: #9ca3af;
  --line:   rgba(100,90,160,.11);
  --purple: #7c3aed;
  --pink:   #ec4899;
  --purple-soft: rgba(124,58,237,.07);
  --grad:   linear-gradient(135deg,#7c3aed 0%,#ec4899 100%);
  --shadow: 0 4px 20px rgba(40,20,90,.07);
  --shadow-lg: 0 24px 80px rgba(40,20,90,.12);
  --r: 8px;
  --r-sm: 5px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }

/* ════════════════════════════════
   NAV
════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 17px; letter-spacing: -.02em; flex-shrink: 0;
  text-decoration: none; color: inherit;
}
.logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
/* Legacy CSS mark hidden */
.logo-mark { display: none; }
.nav-links {
  display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center;
}
.nav-links a {
  padding: 7px 13px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover  { color: var(--ink); background: rgba(0,0,0,.04); }
.nav-links a.active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ════════════════════════════════
   BUTTONS
════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r-sm);
  font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  cursor: pointer; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.btn:hover { border-color: rgba(124,58,237,.25); box-shadow: 0 4px 14px rgba(0,0,0,.07); }
.btn-primary {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 4px 18px rgba(124,58,237,.28);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(124,58,237,.38); transform: translateY(-1px); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: rgba(0,0,0,.04); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 6px; }
.mobile-menu { display: none; }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124,58,237,.10) 0%, transparent 70%),
    var(--white);
  position: relative; overflow: hidden;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(124,58,237,.22);
  background: rgba(124,58,237,.06);
  border-radius: 100px; padding: 5px 14px 5px 8px;
  font-size: 12.5px; font-weight: 600; color: var(--purple);
  margin-bottom: 28px; letter-spacing: -.005em;
}
.hero-pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
  animation: pill-pulse 2.2s ease-in-out infinite;
}
@keyframes pill-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.55;transform:scale(.85)} }

.hero h1 {
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 600; letter-spacing: -.035em; line-height: 1.04;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px; color: var(--muted); font-weight: 400;
  max-width: 500px; margin: 0 auto 36px; line-height: 1.65;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 56px;
}
.hero-trust {
  font-size: 12.5px; color: var(--subtle); margin-bottom: 56px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.hero-trust-sep { opacity: .4; }

/* Stats strip */
.hero-stats {
  display: flex; max-width: 660px; margin: 0 auto 60px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white); box-shadow: var(--shadow); overflow: hidden;
}
.hero-stat { flex: 1; padding: 20px; text-align: center; position: relative; }
.hero-stat + .hero-stat::before {
  content: ''; position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 1px; background: var(--line);
}
.hero-stat-val {
  font-size: 27px; font-weight: 700; letter-spacing: -.025em;
  color: var(--ink); display: block; margin-bottom: 3px;
}
.hero-stat-label { font-size: 12px; color: var(--muted); font-weight: 500; }

/* App mockup */
.hero-mockup {
  max-width: 920px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 32px 100px rgba(40,10,120,.13);
  overflow: hidden; background: var(--white);
}
.mockup-bar {
  height: 42px; background: #f4f2ff;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 16px; gap: 7px;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #f87171; }
.mockup-dot:nth-child(2) { background: #fbbf24; }
.mockup-dot:nth-child(3) { background: #34d399; }
.mockup-url {
  margin-left: 12px; flex: 1; max-width: 280px; height: 24px;
  background: rgba(255,255,255,.8); border: 1px solid var(--line);
  border-radius: 4px; display: flex; align-items: center;
  padding: 0 10px; font-size: 11px; color: var(--muted);
}
.mockup-body { display: grid; grid-template-columns: 175px 1fr; min-height: 320px; }
.mockup-sidebar {
  background: #faf9ff; border-right: 1px solid var(--line);
  padding: 14px 10px; display: flex; flex-direction: column; gap: 2px;
}
.mockup-nav-item {
  padding: 7px 11px; border-radius: 4px; font-size: 11px; font-weight: 500;
  color: var(--muted); display: flex; align-items: center; gap: 7px;
}
.mockup-nav-item.active-item { background: rgba(124,58,237,.09); color: var(--purple); }
.mockup-nav-dot { width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: .5; flex-shrink: 0; }
.mockup-main { padding: 18px; display: grid; gap: 12px; }
.mockup-title { font-size: 12px; font-weight: 700; color: var(--ink); }
.mockup-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.mockup-metric {
  background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: 11px 12px;
}
.mockup-metric-val { font-size: 17px; font-weight: 700; color: var(--ink); }
.mockup-metric-label { font-size: 9px; color: var(--muted); margin-top: 2px; }
.mockup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mockup-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: 13px;
}
.mockup-card-title { font-size: 10px; font-weight: 700; color: var(--ink); margin-bottom: 9px; text-transform: uppercase; letter-spacing: .06em; }
.mockup-lead { display: flex; align-items: center; gap: 7px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.mockup-lead:last-child { border-bottom: 0; }
.mockup-lead-avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--grad); flex-shrink: 0; }
.mockup-lead-name { font-size: 10px; font-weight: 600; color: var(--ink); }
.mockup-lead-unit { font-size: 9px; color: var(--muted); }
.mockup-lead-tag { margin-left: auto; font-size: 9px; font-weight: 600; padding: 2px 6px; border-radius: 3px; }
.tag-new  { background: rgba(124,58,237,.10); color: var(--purple); }
.tag-tour { background: rgba(236,72,153,.10); color: var(--pink); }
.tag-app  { background: rgba(16,185,129,.10); color: #059669; }
.mockup-pipe { display: grid; gap: 6px; }
.mockup-stage {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 9px; border-radius: 4px; background: rgba(124,58,237,.04);
}
.mockup-stage-name { font-size: 10px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.mockup-stage-bar { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.mockup-stage-fill { height: 100%; border-radius: 3px; background: var(--grad); }
.mockup-stage-pct { font-size: 10px; font-weight: 700; color: var(--purple); white-space: nowrap; }

/* ════════════════════════════════
   SECTIONS
════════════════════════════════ */
.section    { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-tint { background: var(--bg); }

.section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--purple); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 600;
  letter-spacing: -.025em; line-height: 1.12; margin-bottom: 14px;
}
.section-sub { font-size: 16px; color: var(--muted); max-width: 540px; line-height: 1.65; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* Module grid (bordered cells) */
.modules-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.mod-card { background: var(--white); padding: 32px; transition: background .18s; }
.mod-card:hover { background: var(--purple-soft); }
.mod-icon {
  font-size: 20px; width: 42px; height: 42px; border-radius: 8px;
  background: var(--purple-soft); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.mod-title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.mod-desc  { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.mod-tags  { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mod-tag   {
  font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 100px;
  background: rgba(124,58,237,.08); color: var(--purple);
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.step  { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); }
.step-num { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--pink); margin-bottom: 14px; }
.step-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.step-desc  { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* CTA band */
.cta-band {
  border-radius: var(--r); padding: 64px;
  background: linear-gradient(135deg, #3b0d8f 0%, #7c3aed 50%, #be185d 100%);
  color: #fff; text-align: center;
}
.cta-band h2 { font-size: clamp(24px,3.5vw,40px); font-weight: 600; letter-spacing: -.025em; margin-bottom: 14px; }
.cta-band p  { font-size: 16px; opacity: .72; max-width: 440px; margin: 0 auto 34px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-white   { background: #fff; color: var(--purple); border-color: transparent; font-weight: 600; }
.btn-white:hover { box-shadow: 0 8px 28px rgba(0,0,0,.18); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.08); }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 40px; margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 260px; line-height: 1.65; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--muted); margin-bottom: 11px; transition: color .15s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

/* ════════════════════════════════
   INNER PAGES
════════════════════════════════ */
.page { padding: 0 0 80px; }
.page-layout { display: grid; grid-template-columns: 210px 1fr; gap: 40px; align-items: start; }

.side-menu { position: sticky; top: 88px; }
.side-menu-inner { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.side-menu a {
  display: block; padding: 11px 16px; font-size: 13.5px; font-weight: 500;
  color: var(--muted); border-bottom: 1px solid var(--line); transition: all .14s;
}
.side-menu a:last-child { border-bottom: 0; }
.side-menu a:hover  { background: var(--purple-soft); color: var(--ink); }
.side-menu a.active { background: var(--purple-soft); color: var(--purple); font-weight: 600; }

/* Page hero (inner pages) */
.page-hero { padding: 44px 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.page-hero h1 { font-size: clamp(26px,3.8vw,44px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin: 10px 0 14px; }
.page-hero .lead { font-size: 16.5px; color: var(--muted); max-width: 540px; }

.kicker { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--purple); }

/* Content sections */
.module-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.module-section:last-child { border-bottom: 0; padding-bottom: 0; }
.module-section h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }

/* Cards */
.module-card {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; background: var(--white); transition: all .18s;
}
.module-card:hover { border-color: rgba(124,58,237,.28); box-shadow: var(--shadow); }
.icon {
  font-size: 20px; width: 42px; height: 42px; border-radius: 8px;
  background: var(--purple-soft); display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.mini-card  { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--white); }
.side-card  { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--white); }
.side-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.form-card  { border: 1px solid var(--line); border-radius: var(--r); padding: 32px; background: var(--white); box-shadow: var(--shadow); }

/* Feature checklist */
.feature-list { display: grid; gap: 9px; }
.check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--muted);
}
.check::before {
  content: '';
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: var(--grad)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E")
    no-repeat center / 12px;
}

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; align-items: start; margin-top: 20px; }
.price-card { border: 1px solid var(--line); border-radius: var(--r); padding: 32px; background: var(--white); }
.price-card.featured {
  border-color: var(--purple); position: relative;
  box-shadow: 0 0 0 1px var(--purple), 0 16px 50px rgba(124,58,237,.13);
}
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px; white-space: nowrap; letter-spacing: .04em;
}
.price-tier { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.price-tier.pop { color: var(--purple); }
.price-name { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.price-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; line-height: 1.55; }
.price-amount { font-size: 38px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.price-period { font-size: 14px; font-weight: 400; color: var(--muted); }
.price-divider { height: 1px; background: var(--line); margin: 22px 0; }
.price-action { margin-top: 22px; display: block; text-align: center; }

/* Forms */
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: var(--r-sm); font: inherit; font-size: 14px;
  color: var(--ink); background: var(--white); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: rgba(100,96,140,.38); }
input:focus, select:focus, textarea:focus {
  border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124,58,237,.09);
}
textarea { min-height: 130px; resize: vertical; }
.notice { font-size: 12.5px; color: var(--muted); }

/* Contact / Demo Request Form */
.contact-form-wrap { max-width: 720px; margin: 0 auto; }
.contact-form { display: grid; gap: 18px; }
.form-group { display: grid; gap: 6px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--ink); }
.form-label .req { color: var(--pink); }
.form-input { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: 14px; color: var(--ink); background: var(--white); outline: none; transition: border-color .15s, box-shadow .15s; }
.form-input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124,58,237,.09); }
.form-input::placeholder { color: rgba(100,96,140,.38); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-submit { text-align: center; padding-top: 6px; }
.contact-success { max-width: 720px; margin: 0 auto 32px; display: flex; align-items: center; gap: 16px; background: #f0fdf4; border: 1px solid #86efac; border-radius: var(--r); padding: 20px 24px; }
.contact-success-icon { width: 36px; height: 36px; border-radius: 50%; background: #22c55e; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.contact-success-msg { font-size: 15px; color: #166534; }

/* Process steps */
.process-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 6px; }
.process-step { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.process-num { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--pink); margin-bottom: 8px; }
.process-step strong { font-size: 15px; font-weight: 600; display: block; margin-bottom: 6px; }

/* FAQ accordion */
details.faq-item { border-bottom: 1px solid var(--line); }
details.faq-item:last-child { border-bottom: 0; }
details.faq-item summary {
  list-style: none; padding: 18px 0; font-size: 15px; font-weight: 500;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; font-size: 18px; color: var(--muted); flex-shrink: 0; }
details.faq-item[open] summary::after { content: '−'; color: var(--purple); }
details.faq-item .faq-answer { padding: 0 0 20px; font-size: 14.5px; color: var(--muted); line-height: 1.68; }

/* Help grid */
.help-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }

/* Utility grids */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--muted); }
.dot   { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 980px) {
  .modules-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu { display: inline-flex; }
  .hero { padding: 64px 0 52px; }
  .hero-stats { flex-direction: column; }
  .hero-stat + .hero-stat::before { left: 12%; right: 12%; top: 0; bottom: auto; width: auto; height: 1px; }
  .mockup-sidebar { display: none; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-metrics { grid-template-columns: repeat(2,1fr); }
  .modules-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .side-menu { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .hero-mockup { display: none; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
