/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-alt: #F7F8FA;
  --surface: #F0F2F5;
  --border: #E2E6EA;
  --navy: #0F2044;
  --navy-mid: #1A3A6B;
  --blue: #2563EB;
  --blue-light: #EFF4FF;
  --text: #111827;
  --text-muted: #6B7280;
  --text-subtle: #9CA3AF;
}

html { scroll-behavior: smooth; }

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

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: 'Syne', sans-serif; line-height: 1.15; }

.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.logo-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--navy);
  border-radius: 6px;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
}
.logo-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  background: var(--blue);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.header-nav { display: flex; align-items: center; gap: 2rem; }

.nav-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--navy-mid); }

/* === HERO === */
.hero {
  padding: 8.5rem 2.5rem 5rem;
  background: var(--bg);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-light);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 100px;
  padding: 0.375rem 0.875rem;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.hero-headline {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-headline em {
  font-style: normal;
  color: var(--blue);
}

.hero-tagline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.btn-secondary:hover { color: var(--text); }

/* === HERO VISUAL === */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 20px 60px rgba(15,32,68,0.12);
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 2.5rem;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.trust-icon {
  width: 32px; height: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.trust-divider {
  width: 1px; height: 32px;
  background: var(--border);
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 6rem 2.5rem;
  background: var(--bg);
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.how-model {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--navy);
  border-radius: 12px;
  padding: 2.5rem 3rem;
  margin-bottom: 4rem;
}

.model-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.model-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-col h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}

.model-col p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

.model-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.model-plus {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
}

.model-arrow {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.3);
}

.model-result {
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 8px;
  padding: 1.25rem;
}

.model-result h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.4rem;
}

.model-result p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.step-card:hover {
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 4px 20px rgba(37,99,235,0.06);
}

.step-icon {
  width: 40px; height: 40px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.step-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}

/* === SERVICES === */
.services {
  padding: 6rem 2.5rem;
  background: var(--bg-alt);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.75rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: default;
}
.service-card:hover {
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 4px 20px rgba(37,99,235,0.07);
}

.service-icon {
  width: 40px; height: 40px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-tag {
  display: inline-block;
  margin-top: auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
}

/* === LEAD FORM === */
.lead-section {
  padding: 6rem 2.5rem;
  background: var(--bg);
}

.lead-inner {
  max-width: 900px;
  margin: 0 auto;
}

.lead-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(15,32,68,0.08);
}

.lead-form-header {
  background: var(--navy);
  padding: 2rem 2.5rem;
  color: white;
}

.lead-form-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lead-form-header p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.lead-form-body {
  padding: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 0.9rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: 0.5rem;
}

.form-submit {
  width: 100%;
  padding: 0.875rem;
  background: var(--navy);
  color: white;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--navy-mid); }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-success.show { display: block; }

.form-success-icon {
  width: 56px; height: 56px;
  background: #ECFDF5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #10B981;
}

.form-success h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* === CLOSING === */
.closing {
  padding: 7rem 2.5rem;
  background: var(--navy);
  text-align: center;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
}

.closing-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.closing-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 7px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: white; }

/* === FOOTER === */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 2.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 0.875rem; }

.footer-logo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-subtle);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.footer-col a, .footer-col span {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .how-model { grid-template-columns: 1fr; gap: 1.5rem; }
  .model-divider { flex-direction: row; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 7rem 1.5rem 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .closing { padding: 5rem 1.5rem; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .trust-divider { display: none; }
  .how-it-works, .services, .lead-section { padding: 4rem 1.5rem; }
}