/* ============================================================
   ComplAI marketing site
   Palette: deep navy base, teal accent
   Headings: Cambria (serif) — engineering-document credibility
   Body: system sans
   ============================================================ */

:root {
  --navy-950: #081625;
  --navy-900: #0a1f33;
  --navy-800: #0e2a45;
  --navy-700: #143a5c;
  --navy-line: #1e4a6e;
  --teal-500: #14a396;
  --teal-400: #2dbfb0;
  --teal-300: #5ed4c7;
  --teal-dim: #0f6e66;
  --ink: #10222f;
  --ink-soft: #3d5163;
  --paper: #f6f8f9;
  --paper-2: #eef2f4;
  --white: #ffffff;
  --on-dark: #dbe7ee;
  --on-dark-soft: #8fadc0;
  --serif: Cambria, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --container: 1080px;
}

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

html { scroll-behavior: smooth; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 720px; }
.center { text-align: center; }

h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.15;
  font-weight: 700;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }

section { padding: 88px 0; }

.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 0.6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--teal-500);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--teal-400); transform: translateY(-1px); }

.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 31, 51, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--navy-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--on-dark);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.logo-accent { color: var(--teal-400); }

.site-nav { display: flex; gap: 28px; }
.site-nav a {
  color: var(--on-dark-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--teal-300); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(20, 163, 150, 0.14), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--on-dark);
  padding: 96px 0 104px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-300);
  border: 1px solid var(--teal-dim);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  color: var(--white);
  margin-bottom: 1.1rem;
}

.hero-sub {
  font-size: 1.13rem;
  color: var(--on-dark-soft);
  max-width: 34em;
  margin-bottom: 2rem;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--on-dark-soft);
  margin-top: 0.8rem;
}

/* Hero answer-card mock */
.answer-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(4, 12, 20, 0.5);
  font-size: 0.92rem;
}

.answer-card-q {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--navy-line);
  color: var(--on-dark);
}

.q-avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--teal-300);
  font-weight: 700;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

.answer-card-a { padding-top: 16px; }

.a-verdict {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--teal-300);
  margin-bottom: 8px;
}

.verdict-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 8px var(--teal-400);
}

.a-body { color: var(--on-dark-soft); margin-bottom: 14px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.chip-industry { background: rgba(45, 191, 176, 0.12); color: var(--teal-300); border-color: var(--teal-dim); }
.chip-company  { background: rgba(94, 149, 255, 0.12); color: #9db9e8; border-color: #2c4a75; }
.chip-flag     { background: rgba(232, 170, 66, 0.12); color: #e3b563; border-color: #7a5c22; }

/* ---------- Problem ---------- */
.problem { background: var(--white); }
.problem p { font-size: 1.1rem; color: var(--ink-soft); }

/* ---------- How it works ---------- */
.how {
  background: var(--navy-950);
  color: var(--on-dark);
}
.how h2 { color: var(--white); }

.dcre-diagram {
  margin: 40px auto 48px;
  max-width: 780px;
}
.dcre-diagram svg { width: 100%; height: auto; display: block; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--teal-400);
  color: var(--teal-300);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.step h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 8px; }
.step p { color: var(--on-dark-soft); font-size: 0.96rem; }

/* ---------- Features ---------- */
.features { background: var(--paper); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature {
  background: var(--white);
  border: 1px solid #dde5ea;
  border-radius: var(--radius);
  padding: 26px 24px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: rgba(20, 163, 150, 0.1);
  color: var(--teal-500);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- Industries ---------- */
.industries { background: var(--white); }

.industry-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: auto;
  gap: 20px;
  margin-top: 40px;
}

.industry {
  border: 1px solid #dde5ea;
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
}

.industry-live {
  grid-row: span 2;
  background: var(--navy-900);
  border-color: var(--teal-dim);
  color: var(--on-dark);
}
.industry-live h3 { color: var(--white); font-size: 1.5rem; }
.industry-live p { color: var(--on-dark-soft); font-size: 0.95rem; margin-top: 10px; }

.industry h3 { font-size: 1.15rem; }

.industry-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 12px;
}
.industry-status.muted { color: #93a5b1; }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 8px var(--teal-400);
}

/* ---------- Pricing ---------- */
.pricing { background: var(--paper); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  max-width: 860px;
}

.plan {
  background: var(--white);
  border: 1px solid #dde5ea;
  border-radius: var(--radius);
  padding: 30px 28px;
}

.plan-featured {
  background: var(--navy-900);
  border-color: var(--teal-dim);
  color: var(--on-dark);
}
.plan-featured h3 { color: var(--white); }
.plan-featured .plan-tag { color: var(--teal-300); }
.plan-featured li { color: var(--on-dark); }
.plan-featured li::before { color: var(--teal-300); }

.plan h3 { font-size: 1.4rem; }

.plan-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-500);
  margin: 4px 0 18px;
}

.plan ul { list-style: none; }
.plan li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.plan li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--teal-500);
  font-weight: 700;
}

.plan-note {
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--on-dark-soft);
  border-top: 1px solid var(--navy-line);
  padding-top: 14px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(700px 360px at 50% 120%, rgba(20, 163, 150, 0.18), transparent 65%),
    var(--navy-950);
  color: var(--on-dark);
  padding: 104px 0;
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: var(--on-dark-soft); margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--navy-line);
  padding: 36px 0;
  color: var(--on-dark-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo { font-size: 1.2rem; }
.footer-legal { font-size: 0.82rem; margin-top: 6px; }

.footer-contact a {
  color: var(--teal-300);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-contact a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section { padding: 64px 0; }

  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; }

  .steps { grid-template-columns: 1fr; gap: 28px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .industry-grid { grid-template-columns: 1fr 1fr; }
  .industry-live { grid-column: span 2; grid-row: auto; }

  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-nav { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-live { grid-column: auto; }
}
