/* ═══════════════════════════════════════════════════════════════
   Oro Pillar — Landing Page Design System (Light Theme)
   Inspired by top-performing debt relief landing pages:
   National Debt Relief, Freedom Debt Relief, Accredited
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=DM+Serif+Display&display=swap');

/* ── Design Tokens ── */
:root {
  /* Backgrounds */
  --lp-bg: #ffffff;
  --lp-bg-soft: #f7f8fa;
  --lp-bg-muted: #f0f2f5;
  --lp-bg-card: #ffffff;

  /* Text */
  --lp-text-primary: #1a202c;
  --lp-text-secondary: #4a5568;
  --lp-text-muted: #718096;
  --lp-text-light: #a0aec0;

  /* Brand Colors */
  --lp-navy: #1a365d;
  --lp-navy-light: #2d4a7c;
  --lp-blue: #3182ce;
  --lp-blue-light: #63b3ed;
  --lp-teal: #0d9488;
  --lp-green: #16a34a;
  --lp-green-light: #22c55e;
  --lp-green-dark: #15803d;

  /* Accents */
  --lp-amber: #f59e0b;
  --lp-red: #dc2626;
  --lp-orange: #ea580c;

  /* Borders & Shadows */
  --lp-border: #e2e8f0;
  --lp-border-light: #edf2f7;
  --lp-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --lp-shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --lp-shadow-lg: 0 10px 30px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.05);
  --lp-shadow-xl: 0 20px 50px rgba(0,0,0,0.12);

  /* Radii */
  --lp-radius-sm: 6px;
  --lp-radius-md: 10px;
  --lp-radius-lg: 16px;
  --lp-radius-xl: 20px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.landing-light {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--lp-bg);
  color: var(--lp-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Top Bar ── */
.lp-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  background: var(--lp-navy);
  color: white;
  font-size: 0.82rem;
}
.lp-topbar .brand {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.lp-topbar .trust-bar {
  display: flex;
  gap: 24px;
  font-size: 0.78rem;
  opacity: 0.9;
}
.lp-topbar .trust-bar span { display: flex; align-items: center; gap: 4px; }

/* ── Hero Section ── */
.lp-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 32px;
}
.lp-hero-text h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--lp-navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.lp-hero-text h1 .accent { color: var(--lp-blue); }
.lp-hero-text h1 .green { color: var(--lp-green); }
.lp-hero-text h1 .teal { color: var(--lp-teal); }
.lp-hero-text .subhead {
  font-size: 1.1rem;
  color: var(--lp-text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}
.lp-hero-img {
  position: relative;
}
.lp-hero-img img {
  width: 100%;
  border-radius: var(--lp-radius-xl);
  box-shadow: var(--lp-shadow-lg);
  object-fit: cover;
}

/* ── Stats Row ── */
.lp-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
}
.lp-stat {
  text-align: center;
  background: var(--lp-bg-soft);
  border: 1px solid var(--lp-border-light);
  border-radius: var(--lp-radius-md);
  padding: 14px 20px;
  flex: 1;
}
.lp-stat .value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--lp-navy);
}
.lp-stat .label {
  font-size: 0.68rem;
  color: var(--lp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Trust Badges ── */
.lp-trust-badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.lp-trust-badges .badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--lp-text-secondary);
  font-weight: 500;
}
.lp-trust-badges .badge .icon {
  width: 20px;
  height: 20px;
  background: var(--lp-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

/* ── Pain Points ── */
.lp-pain-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.lp-pain-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--lp-text-secondary);
}
.lp-pain-point .icon { font-size: 1.1rem; }
.lp-pain-point .check {
  color: var(--lp-green);
  font-weight: 800;
  font-size: 1rem;
}

/* ── Form Section ── */
.lp-form-section {
  max-width: 520px;
  margin: -20px auto 0;
  padding: 0 24px 60px;
  position: relative;
  z-index: 2;
}

.lp-form-card {
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-xl);
  padding: 32px;
  box-shadow: var(--lp-shadow-lg);
}

.lp-form-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lp-navy);
  margin-bottom: 20px;
}

/* Step Indicators */
.lp-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.lp-step-dot {
  flex: 1;
  height: 5px;
  background: var(--lp-bg-muted);
  border-radius: 4px;
  transition: background 0.3s ease;
}
.lp-step-dot.active { background: var(--lp-blue); }

/* Form Inputs */
.lp-form-group { margin-bottom: 16px; }
.lp-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lp-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.lp-form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--lp-bg-soft);
  border: 1.5px solid var(--lp-border);
  border-radius: var(--lp-radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--lp-text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.lp-form-input:focus {
  border-color: var(--lp-blue);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
  background: white;
}
.lp-form-input::placeholder { color: var(--lp-text-light); }
.lp-form-select {
  width: 100%;
  padding: 12px 14px;
  background: var(--lp-bg-soft);
  border: 1.5px solid var(--lp-border);
  border-radius: var(--lp-radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--lp-text-primary);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8.825L0.375 3.2 1.425 2.15 6 6.725 10.575 2.15 11.625 3.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.lp-form-select:focus {
  border-color: var(--lp-blue);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
  background-color: white;
}
.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Range Slider */
.lp-debt-display {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--lp-navy);
  margin: 8px 0;
}
.lp-range {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--lp-blue) 0%, #e2e8f0 0%);
  border-radius: 4px;
  outline: none;
}
.lp-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  background: white;
  border: 3px solid var(--lp-blue);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--lp-shadow-sm);
  transition: box-shadow 0.2s;
}
.lp-range::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 6px rgba(49, 130, 206, 0.15);
}
.lp-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--lp-text-light);
  margin-top: 4px;
}

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: none;
  border-radius: var(--lp-radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.lp-btn-primary {
  background: var(--lp-green);
  color: white;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}
.lp-btn-primary:hover {
  background: var(--lp-green-dark);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
  transform: translateY(-1px);
}
.lp-btn-secondary {
  background: var(--lp-bg-muted);
  color: var(--lp-text-secondary);
  border: 1px solid var(--lp-border);
}
.lp-btn-secondary:hover { background: var(--lp-border-light); }
.lp-btn-lg { padding: 16px 28px; font-size: 1rem; }
.lp-btn-full { width: 100%; }

/* Savings Calculator */
.lp-savings-card {
  background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
  border: 1px solid #c6f6d5;
  border-radius: var(--lp-radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}
.lp-savings-card .savings-label {
  font-size: 0.82rem;
  color: var(--lp-text-muted);
}
.lp-savings-card .savings-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--lp-green);
}

/* Form Steps */
.lp-form-step { display: none; }
.lp-form-step.active { display: block; animation: lpFadeIn 0.3s ease; }
@keyframes lpFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Consent Text ── */
.lp-consent {
  font-size: 0.72rem;
  color: var(--lp-text-light);
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--lp-border-light);
}
.lp-consent a { color: var(--lp-blue); }
.lp-consent strong { color: var(--lp-text-secondary); }

/* ── Thank You ── */
.lp-thank-you {
  display: none;
  text-align: center;
  padding: 48px 32px;
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-xl);
  box-shadow: var(--lp-shadow-lg);
}
.lp-thank-you .check-circle {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--lp-green), var(--lp-teal));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}
.lp-thank-you h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--lp-navy);
  margin-bottom: 12px;
}
.lp-thank-you p { color: var(--lp-text-secondary); font-size: 0.95rem; }

/* ── FAQ Section ── */
.lp-faq {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}
.lp-faq h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--lp-navy);
  text-align: center;
  margin-bottom: 32px;
}
.lp-faq-item {
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  background: white;
  transition: box-shadow 0.2s;
}
.lp-faq-item:hover { box-shadow: var(--lp-shadow-sm); }
.lp-faq-q {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--lp-text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lp-faq-q:hover { color: var(--lp-blue); }
.lp-faq-q .arrow {
  font-size: 0.7rem;
  color: var(--lp-text-light);
  transition: transform 0.2s;
}
.lp-faq-item.open .lp-faq-q .arrow { transform: rotate(180deg); }
.lp-faq-a {
  padding: 0 20px 16px;
  color: var(--lp-text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  display: none;
}
.lp-faq-item.open .lp-faq-a { display: block; animation: lpFadeIn 0.2s ease; }

/* ── Trust Strip ── */
.lp-trust-strip {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 24px;
  background: var(--lp-bg-soft);
  border-top: 1px solid var(--lp-border-light);
  border-bottom: 1px solid var(--lp-border-light);
}
.lp-trust-item { text-align: center; }
.lp-trust-item .value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--lp-navy);
}
.lp-trust-item .label {
  font-size: 0.68rem;
  color: var(--lp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Footer ── */
.lp-footer {
  text-align: center;
  padding: 28px 24px;
  font-size: 0.75rem;
  color: var(--lp-text-light);
  background: var(--lp-bg-soft);
}
.lp-footer a { color: var(--lp-blue); text-decoration: none; }
.lp-footer a:hover { text-decoration: underline; }
.lp-footer .disclaimer {
  margin-top: 8px;
  font-size: 0.7rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Stat Cards (medical page) ── */
.lp-stat-cards {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.lp-stat-card {
  background: var(--lp-bg-soft);
  border: 1px solid var(--lp-border-light);
  border-radius: var(--lp-radius-md);
  padding: 16px;
  flex: 1;
  min-width: 120px;
  text-align: center;
}
.lp-stat-card .value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--lp-teal);
}
.lp-stat-card .label {
  font-size: 0.65rem;
  color: var(--lp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .lp-topbar { flex-direction: column; gap: 8px; text-align: center; padding: 10px 16px; }
  .lp-topbar .trust-bar { gap: 12px; font-size: 0.7rem; }
  .lp-hero { grid-template-columns: 1fr; padding: 40px 20px; gap: 32px; }
  .lp-hero-text h1 { font-size: 2rem; }
  .lp-hero-img { order: -1; }
  .lp-stats { gap: 12px; }
  .lp-stat { padding: 10px 12px; }
  .lp-stat .value { font-size: 1.2rem; }
  .lp-form-section { padding: 0 16px 40px; }
  .lp-form-card { padding: 24px; }
  .lp-trust-strip { gap: 24px; }
  .lp-stat-cards { flex-direction: column; }
}
