/* ===========================
   QUOTEFLOW AI — CUSTOM THEME
   =========================== */

:root {
  --bg: #F7F4EF;
  --bg-alt: #F0EDE6;
  --fg: #0C1B2E;
  --fg-muted: #4A5568;
  --fg-subtle: #7A8BA0;
  --accent: #00E5C0;
  --accent-dark: #00B89A;
  --navy: #0C1B2E;
  --navy-mid: #142742;
  --teal-glow: rgba(0, 229, 192, 0.15);
  --card-bg: #FFFFFF;
  --card-border: rgba(12, 27, 46, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-logo-accent { color: var(--accent-dark); }
.nav-badge {
  font-size: 0.72rem;
  color: var(--fg-subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---- SECTION LABELS ---- */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.section-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

/* ---- HERO ---- */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 90px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 18px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 229, 192, 0.12) 0%, transparent 70%);
  top: -20px;
  right: -20px;
}
.hero-orb-2 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(12, 27, 46, 0.06) 0%, transparent 70%);
  bottom: 40px;
  left: -30px;
}
.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(12, 27, 46, 0.1), 0 4px 12px rgba(12, 27, 46, 0.04);
  width: 100%;
  max-width: 320px;
  overflow: hidden;
}
.hero-card-header {
  background: var(--navy);
  padding: 12px 16px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.hero-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: inline-block;
}
.hero-card-body {
  padding: 20px;
}
.hero-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 14px;
}
.hero-card-item {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-card-check { color: var(--accent-dark); font-weight: 700; }
.hero-card-warning { color: #E07020; }
.hero-card-divider {
  height: 1px;
  background: var(--card-border);
  margin: 14px 0;
}
.hero-card-recommend {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg);
  background: var(--teal-glow);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

/* ---- WIDGET ---- */
.hero-widget {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  max-width: 400px;
}
.widget-step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.widget-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 229, 192, 0.4);
  flex-shrink: 0;
}
.widget-dot.active { background: var(--accent); }
.widget-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}
.widget-quote {
  margin: 18px 0 14px;
  padding: 16px;
  background: rgba(0, 229, 192, 0.12);
  border-radius: var(--radius-sm);
}
.widget-quote-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.widget-quote-price {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 2px;
}
.widget-quote-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}
.widget-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.widget-btn-primary {
  background: var(--accent);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 20px;
  cursor: pointer;
}
.widget-btn-ghost {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
}

/* ---- HOW IT WORKS ---- */
.hiw {
  background: var(--navy);
  padding: 100px 24px;
}
.hiw-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hiw .section-label { color: var(--accent-dark); }
.hiw .section-headline { color: #fff; }
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.hiw-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 28px 24px;
  border-radius: var(--radius);
}
.hiw-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 14px;
}
.hiw-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 8px;
}
.hiw-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}

/* ---- DIFFERENTIATORS ---- */
.diff {
  padding: 100px 24px;
  background: var(--bg-alt);
}
.diff-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.diff-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 36px;
}
.diff-features { display: flex; flex-direction: column; gap: 24px; }
.diff-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.diff-icon {
  font-size: 1rem;
  color: var(--accent-dark);
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}
.diff-feature-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--fg);
  margin-bottom: 4px;
}
.diff-feature-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.55;
}
.diff-pricing-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(12, 27, 46, 0.15);
}
.diff-pricing-header {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.diff-pricing-table { display: flex; flex-direction: column; gap: 0; }
.diff-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
}
.diff-row-label { color: rgba(255,255,255,0.55); }
.diff-row-val { color: rgba(255,255,255,0.85); font-weight: 600; }
.diff-row-sub { border-bottom: none; }
.diff-row-sub .diff-row-label { color: rgba(255,255,255,0.7); }
.diff-row-trip { border-bottom: none; }
.diff-row-total {
  border-bottom: none;
  padding-top: 14px;
}
.diff-row-total .diff-row-label {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.diff-row-total .diff-row-val {
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
}
.diff-confidence {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding: 12px;
  background: rgba(0, 229, 192, 0.1);
  border-radius: var(--radius-sm);
}
.diff-conf-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.diff-conf-val.high {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.diff-meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 10px;
  text-align: center;
}

/* ---- PRICING ---- */
.pricing {
  padding: 100px 24px;
  background: var(--bg);
}
.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.pricing .section-headline { margin-bottom: 48px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.pricing-card-featured {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 20px 60px rgba(12, 27, 46, 0.15);
}
.pricing-tier {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--fg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pricing-card-featured .pricing-tier { color: var(--accent); }
.pricing-price {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--fg);
  margin-bottom: 6px;
}
.pricing-card-featured .pricing-price { color: #fff; }
.pricing-per {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.6;
}
.pricing-desc {
  font-size: 0.82rem;
  color: var(--fg-subtle);
  margin-bottom: 24px;
}
.pricing-card-featured .pricing-desc { color: rgba(255,255,255,0.5); }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 0.85rem;
  color: var(--fg-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-features li::before {
  content: '→';
  color: var(--accent-dark);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card-featured .pricing-features li { color: rgba(255,255,255,0.7); }
.pricing-card-featured .pricing-features li::before { color: var(--accent); }

/* ---- CLOSING ---- */
.closing {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.closing-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 229, 192, 0.07) 0%, transparent 65%);
  pointer-events: none;
}
.closing-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fg-subtle);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 36px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--fg);
}
.footer-brand span { color: var(--accent-dark); }
.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-subtle);
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-subtle);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hiw-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-inner { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .hero { padding: 56px 20px 64px; }
  .hiw-grid { grid-template-columns: 1fr; }
  .hero-widget { max-width: 100%; }
}