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

:root {
  --bg: #0C1628;
  --bg2: #0f1f36;
  --surface: #162336;
  --surface2: #1c2d47;
  --green: #00E5A0;
  --amber: #F5A623;
  --text: #e8edf5;
  --text2: #7a8faa;
  --text3: #4a5f7a;
  --border: rgba(0,229,160,0.1);
  --radius: 12px;
}

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, h4 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.1; color: var(--text); }
section, .section-tag {
  font-family: 'DM Sans', sans-serif;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  background: rgba(0,229,160,0.08);
  border: 1px solid rgba(0,229,160,0.2);
  padding: 4px 12px;
  border-radius: 100px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.7;
}
.section-header { margin-bottom: 56px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(12,22,40,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--bg);
  background: var(--green);
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; }
.nav-phone-cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.nav-phone-cta:hover { opacity: 0.75; }

/* ===== HERO ===== */
.hero {
  padding: 120px 24px 80px;
  background: var(--bg);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text2);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1px;
}
.hero-headline {
  font-size: clamp(36px, 5vw, 58px);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-headline br { display: block; }
.hero-sub {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

/* HERO FORM */
.hero-form { max-width: 460px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.form-input {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input::placeholder { color: var(--text3); }
.form-input:focus { border-color: rgba(0,229,160,0.4); }
.form-input option { background: var(--surface2); color: var(--text); }
.form-btn {
  background: var(--green);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.form-btn:hover { opacity: 0.85; }
.form-note {
  font-size: 12px;
  color: var(--text3);
  text-align: center;
  margin-top: 12px;
}
.hero-phone-cta {
  font-size: 13px;
  color: var(--text2);
  text-align: center;
  margin-top: 12px;
}
.hero-phone-cta a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}
.hero-phone-cta a:hover { opacity: 0.75; }

/* DATA WALL */
.data-wall {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.data-wall-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.data-wall-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.metric-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-card--large {
  padding: 20px;
  background: linear-gradient(135deg, rgba(0,229,160,0.06), transparent);
}
.metric-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.metric-value {
  font-family: 'Space Mono', monospace;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}
.metric-value--green { color: var(--green); }
.metric-sub {
  font-size: 11px;
  color: var(--text3);
}
.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.metric-row .metric-value { font-size: 18px; }

/* APPROVAL RING */
.approval-ring {
  position: relative;
  width: 80px;
  height: 80px;
  align-self: center;
}
.approval-ring svg {
  width: 80px;
  height: 80px;
}
.approval-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.approval-pct {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.approval-label {
  font-size: 8px;
  color: var(--text3);
  text-align: center;
  margin-top: 2px;
}

/* MINI CHART */
.mini-chart { display: flex; flex-direction: column; gap: 6px; }
.mini-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
}
.bar {
  flex: 1;
  background: rgba(0,229,160,0.2);
  border-radius: 3px 3px 0 0;
  transition: background 0.3s;
}
.bar--highlight { background: var(--green); }
.mini-chart-label {
  font-size: 10px;
  color: var(--text3);
}

/* ===== TRUSTBARS ===== */
.trustbars {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}
.trustbars-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.trustbar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
}
.trustbar-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
}
.trustbar-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.08);
}

/* ===== HOW IT WORKS ===== */
.howitworks {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 48px;
}
.step {
  padding: 32px;
  border: 1px solid var(--border);
  border-right: none;
  position: relative;
}
.step:first-child { border-radius: 12px 0 0 12px; }
.step:last-child { border-radius: 0 12px 12px 0; border-right: 1px solid var(--border); }
.step-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}
.step-connector {
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  z-index: 1;
}
.steps-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.cta-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text3);
}
.steps-cta-items {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
}
.hiw-phone-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(0,229,160,0.06);
  border: 1px solid rgba(0,229,160,0.2);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 16px;
}
.hiw-phone-cta a {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
}
.hiw-phone-cta a:hover { opacity: 0.75; }

/* ===== PRODUCTS ===== */
.products {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.product-card:hover {
  border-color: rgba(0,229,160,0.3);
  transform: translateY(-2px);
}
.product-icon {
  margin-bottom: 20px;
}
.product-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  background: rgba(0,229,160,0.1);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.product-tag--blue { color: #60a5fa; background: rgba(96,165,250,0.1); }
.product-tag--amber { color: var(--amber); background: rgba(245,166,35,0.1); }
.product-tag--purple { color: #a78bfa; background: rgba(167,139,250,0.1); }
.product-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.product-card > p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 20px;
}
.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.product-features li {
  font-size: 13px;
  color: var(--text2);
  padding-left: 16px;
  position: relative;
}
.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.product-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  transition: opacity 0.2s;
}
.product-link:hover { opacity: 0.7; }

/* ===== DIFFERENCE ===== */
.difference {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.compare-col {
  padding: 32px;
  background: var(--surface);
}
.compare-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.compare-header--green { color: var(--green); }
.compare-best {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: var(--bg);
  background: var(--green);
  padding: 3px 8px;
  border-radius: 100px;
}
.compare-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.compare-label {
  font-size: 13px;
  color: var(--text2);
}
.compare-val {
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}
.compare-val--bad { color: #64748b; }
.compare-val--good { color: var(--green); }

/* ===== ESTIMATOR ===== */
.estimator {
  padding: 80px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.estimator-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.estimator-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  margin-bottom: 12px;
}
.estimator-sub {
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 32px;
}
.estimator-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.est-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.est-card-label {
  font-size: 13px;
  color: var(--text2);
}
.calc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.calc-display {
  text-align: center;
  padding: 28px;
  background: linear-gradient(135deg, rgba(0,229,160,0.08), rgba(0,229,160,0.03));
  border: 1px solid rgba(0,229,160,0.15);
  border-radius: 12px;
  margin-bottom: 28px;
}
.calc-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}
.calc-value {
  font-family: 'Space Mono', monospace;
  font-size: 42px;
  font-weight: 700;
  color: var(--green);
  display: block;
  line-height: 1;
}
.calc-note {
  font-size: 12px;
  color: var(--text3);
  display: block;
  margin-top: 8px;
}
.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.calc-slider-group { display: flex; flex-direction: column; gap: 10px; }
.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-slider-header label { font-size: 13px; color: var(--text2); }
.slider-val { font-size: 13px; font-weight: 600; color: var(--text); font-family: 'Space Mono', monospace; }
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--surface2);
  border-radius: 2px;
  outline: none;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(0,229,160,0.2);
}
.calc-cta {
  width: 100%;
  background: var(--green);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
}
.calc-cta:hover { opacity: 0.85; }

/* ===== STATS ===== */
.stats {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.stats-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}
.stats-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
}
.stat-big {
  background: var(--surface);
  padding: 32px 28px;
  text-align: center;
}
.stat-number {
  font-family: 'Space Mono', monospace;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--text);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number--green { color: var(--green); }
.stat-desc {
  font-size: 12px;
  color: var(--text3);
}

/* CHART */
.chart-area {
  position: relative;
  padding: 16px 0 16px 48px;
}
.chart-months {
  display: flex;
  justify-content: space-around;
  padding: 0 60px;
  margin-bottom: 8px;
}
.chart-months span {
  font-size: 11px;
  color: var(--text3);
  font-family: 'Space Mono', monospace;
}
.chart-bars-wrap {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 120px;
  padding: 0 60px;
  position: relative;
}
.chart-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}
.chart-bar-wrap--highlight .chart-bar {
  background: var(--green);
  box-shadow: 0 0 20px rgba(0,229,160,0.3);
}
.chart-bar {
  width: 100%;
  height: var(--h);
  background: rgba(0,229,160,0.15);
  border-radius: 6px 6px 0 0;
  transition: background 0.3s;
}
.chart-label {
  font-size: 10px;
  color: var(--text3);
  font-family: 'Space Mono', monospace;
}
.chart-y {
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text3);
  font-family: 'Space Mono', monospace;
  padding: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}
.testimonial-text {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--text2);
}
.testimonial-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.testimonial-role {
  display: block;
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.faq-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}
.faq-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  margin-bottom: 16px;
}
.faq-sub {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 40px;
}
.faq-contact p {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 12px;
}
.faq-phone {
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-phone a {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}
.faq-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-item:first-child { padding-top: 0; }
.faq-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.faq-item p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text2);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-legal { font-size: 12px; color: var(--text3); }
.footer-phone {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .nav-links { display: none; }
  .trustbars-inner { justify-content: center; }
  .trustbar-sep { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 1px solid var(--border); border-bottom: none; }
  .step:first-child { border-radius: 12px 12px 0 0; }
  .step:last-child { border-radius: 0 0 12px 12px; }
  .products-grid { grid-template-columns: 1fr; }
  .estimator-inner { grid-template-columns: 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .faq-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 16px 60px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .chart-bars-wrap { padding: 0 24px; }
  .chart-months { padding: 0 24px; }
}

/* ===== PIPELINE DASHBOARD ===== */
.pipeline-page {
  min-height: 100vh;
  padding-top: 72px;
  background: var(--bg);
}
.pipeline-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
}
.pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.pipeline-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pipeline-title {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}
.pipeline-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(0,229,160,0.08);
  border: 1px solid rgba(0,229,160,0.2);
  padding: 4px 10px;
  border-radius: 100px;
}
.pipeline-badge--amber {
  color: var(--amber);
  background: rgba(245,166,35,0.08);
  border-color: rgba(245,166,35,0.2);
}
.pipeline-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pipeline-add-btn {
  background: var(--green);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}
.pipeline-add-btn:hover { opacity: 0.85; }
.pipeline-refresh-btn {
  background: transparent;
  color: var(--text3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.pipeline-refresh-btn:hover { color: var(--text2); border-color: var(--text3); }
.pipeline-refresh-btn.spinning svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Summary stats row */
.pipeline-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.pipeline-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pipeline-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text3);
}
.pipeline-stat-value {
  font-family: 'Space Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.pipeline-stat-value--green { color: var(--green); }
.pipeline-stat-value--amber { color: var(--amber); }
.pipeline-stat-sub {
  font-size: 11px;
  color: var(--text3);
  margin-top: 4px;
}
.pipeline-stat-card--highlight {
  background: linear-gradient(135deg, rgba(0,229,160,0.06), rgba(0,229,160,0.02));
  border-color: rgba(0,229,160,0.15);
}

/* Kanban board */
.pipeline-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: start;
}
.pipeline-lane {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  min-height: 200px;
}
.pipeline-lane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.pipeline-lane-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}
.pipeline-lane-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pipeline-lane-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  background: var(--surface2);
  border-radius: 20px;
  padding: 2px 8px;
}
.pipeline-loan-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pipeline-loan-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pipeline-loan-card:hover {
  border-color: rgba(0,229,160,0.25);
  transform: translateY(-1px);
}
.pipeline-loan-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.pipeline-loan-contact {
  font-size: 11px;
  color: var(--text2);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pipeline-loan-amount {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}
.pipeline-loan-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.pipeline-loan-underwriter {
  font-size: 11px;
  color: var(--text3);
}
.pipeline-loan-time {
  font-size: 11px;
  color: var(--text3);
}
.pipeline-loan-time--old {
  color: #e55;
}
.pipeline-loan-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.pipeline-loan-action {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 10px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text3);
  cursor: pointer;
  transition: all 0.15s;
}
.pipeline-loan-action:hover {
  border-color: var(--green);
  color: var(--green);
}
.pipeline-loan-action--danger:hover {
  border-color: #e55;
  color: #e55;
}
.pipeline-lane-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--text3);
  font-size: 12px;
}

/* Detail modal */
.pipeline-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,22,40,0.85);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pipeline-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
}
.pipeline-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 24px 0;
  gap: 12px;
}
.pipeline-modal-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.pipeline-modal-close {
  background: transparent;
  border: none;
  color: var(--text3);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
}
.pipeline-modal-close:hover { color: var(--text2); }
.pipeline-modal-body {
  padding: 20px 24px 24px;
}
.pipeline-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.pipeline-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pipeline-detail-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text3);
}
.pipeline-detail-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.pipeline-detail-value--green { color: var(--green); }
.pipeline-detail-value--mono {
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  font-weight: 700;
}
.pipeline-stage-select {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  margin-bottom: 20px;
}
.pipeline-stage-select:focus { outline: none; border-color: rgba(0,229,160,0.4); }
.pipeline-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.pipeline-btn {
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
}
.pipeline-btn:hover { opacity: 0.85; }
.pipeline-btn--primary {
  background: var(--green);
  color: var(--bg);
  border: none;
}
.pipeline-btn--secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text2);
}
.pipeline-btn--danger {
  background: transparent;
  border: 1px solid rgba(229,85,85,0.3);
  color: #e55;
}

/* Stage move buttons in kanban header */
.pipeline-move-btns {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.pipeline-move-btn {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text3);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
}
.pipeline-move-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

/* Add loan form */
.pipeline-add-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  display: none;
}
.pipeline-add-form.active { display: block; }
.pipeline-add-form-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}
.pipeline-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pipeline-form-grid .full-width { grid-column: 1 / -1; }
.pipeline-form-input {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  width: 100%;
}
.pipeline-form-input::placeholder { color: var(--text3); }
.pipeline-form-input:focus { outline: none; border-color: rgba(0,229,160,0.4); }
.pipeline-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 1100px) {
  .pipeline-board { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .pipeline-board { grid-template-columns: repeat(2, 1fr); }
  .pipeline-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .pipeline-board { grid-template-columns: 1fr; }
  .pipeline-stats { grid-template-columns: repeat(2, 1fr); }
  .pipeline-detail-grid { grid-template-columns: 1fr; }
  .pipeline-form-grid { grid-template-columns: 1fr; }
}