/* ===== DESIGN TOKENS ===== */
:root {
  --navy:       #1B3461;
  --navy-light: #243f73;
  --orange:     #E8700A;
  --orange-dark:#c55d07;
  --blue:       #2E75B6;
  --white:      #ffffff;
  --off-white:  #F8F9FB;
  --gray-50:    #F3F4F6;
  --gray-100:   #E5E7EB;
  --gray-300:   #D1D5DB;
  --gray-500:   #6B7280;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --text:       #1a2234;
  --text-muted: #4b5563;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  16px;

  --shadow-sm:  0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 2px 8px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 24px rgba(0,0,0,.12);

  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --max-w:      1100px;
  --max-w-narrow: 700px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, select, textarea { font: inherit; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container--narrow { max-width: var(--max-w-narrow); }
.section { padding-block: 5rem; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--navy); }

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: .75rem;
}
.eyebrow--light { color: #f7a85a; }
.section__heading {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section__heading--light { color: var(--white); }
.section__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 3rem;
}
.section__sub--light { color: rgba(255,255,255,.8); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--lg { padding: .9rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: .5rem 1rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn--ghost:hover { background: rgba(255,255,255,.22); }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding-block: .875rem;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--navy);
}
.logo-mark {
  background: var(--navy);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .4rem;
  border-radius: var(--radius-sm);
  letter-spacing: .04em;
}
.logo-text { font-size: 1rem; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #162a52 100%);
  color: var(--white);
  padding-block: 5rem 4rem;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero .eyebrow { color: #f7a85a; }
.hero__headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.hero__trust {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.trust-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

/* Stat card */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  margin-inline: auto;
}
.stat-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.stat-item__num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.stat-item__label {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-card__divider {
  height: 1px;
  background: var(--gray-100);
  margin-bottom: 1.25rem;
}
.pipeline-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  display: block;
  margin-bottom: .5rem;
}
.pipeline-bar {
  height: 8px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: .4rem;
}
.pipeline-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 4px;
}
.pipeline-pct {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ===== PROBLEM ===== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.problem-card__icon { font-size: 1.75rem; margin-bottom: .75rem; }
.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.problem-card p { color: var(--text-muted); font-size: .95rem; }

/* ===== SOLUTION ===== */
.solution-features { display: grid; gap: 2rem; }
.feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.feature__badge {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.feature__body p { color: var(--text-muted); font-size: .95rem; }

/* ===== HOW IT WORKS ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}
.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
}
.step__connector {
  width: 2px;
  height: 2rem;
  background: linear-gradient(to bottom, var(--blue), var(--orange));
  margin-left: 1.5rem;
}
.step__num {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(46,117,182,.15);
}
.step__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.step__body p { color: var(--text-muted); font-size: .95rem; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  position: relative;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 2rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.pricing-card--featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}
.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card__header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin-bottom: 1.5rem;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.price-period { color: var(--text-muted); font-size: .95rem; }
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.75rem;
}
.pricing-card__features li {
  font-size: .95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.pricing-card__features li::before {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0;
  background: var(--orange);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M12.5 4.5l-6 6-3-3'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.pricing-card__note {
  font-size: .8rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: .75rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.testimonial p {
  font-size: 1rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.testimonial footer strong {
  font-size: .9rem;
  color: var(--navy);
  display: block;
}
.testimonial__note {
  font-size: .75rem;
  color: var(--orange);
  font-style: normal;
  display: block;
  margin-top: .25rem;
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.faq-item__q {
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform .2s;
}
details[open] .faq-item__q::after {
  transform: rotate(45deg);
}
.faq-item__a {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
  border-top: 1px solid var(--gray-100);
  padding-top: 1rem;
}

/* ===== CONTACT FORM ===== */
.contact-form, .contact-success { max-width: 560px; margin-inline: auto; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.label-optional { font-weight: 400; color: rgba(255,255,255,.5); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 1rem;
  outline: none;
  transition: border-color .15s, background .15s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.4); }
.form-group select { color: rgba(255,255,255,.9); }
.form-group select option { color: var(--gray-900); background: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,.15);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #f87171; }
.form-group .field-error {
  font-size: .8rem;
  color: #fca5a5;
}
.form__privacy {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-align: center;
  margin-top: .75rem;
}
.contact-success {
  text-align: center;
  color: var(--white);
  padding: 2rem;
}
.contact-success h3 {
  font-size: 1.5rem;
  margin-bottom: .75rem;
}
.contact-success p { color: rgba(255,255,255,.8); }

/* ===== FOOTER ===== */
.footer {
  background: #0f1e3a;
  color: rgba(255,255,255,.7);
  padding-block: 2.5rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--white);
  font-weight: 700;
}
.footer__tagline { font-size: .9rem; color: rgba(255,255,255,.55); }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.footer__links a {
  font-size: .875rem;
  text-decoration: none;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.footer__links a:hover { color: var(--white); }
.footer__legal { font-size: .78rem; color: rgba(255,255,255,.4); line-height: 1.6; }
.footer__legal a { color: rgba(255,255,255,.55); text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .hero__inner { grid-template-columns: 1fr auto; }
  .steps { flex-direction: row; align-items: center; }
  .step { flex-direction: column; align-items: center; text-align: center; flex: 1; }
  .step__connector { width: 4rem; height: 2px; margin-left: 0; flex-shrink: 0; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .solution-features { grid-template-columns: 1fr 1fr 1fr; }
  .feature { flex-direction: column; }
  .feature__badge { margin-bottom: .25rem; }
}

/* ===== PRINT / REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
