/* ============================================
   ClearDeal AZ — Landing Page Styles
   ============================================ */

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

:root {
  --navy: #0F1F3C;
  --navy-light: #162947;
  --amber: #D4A843;
  --amber-dim: #B8892E;
  --amber-pale: #F5EDD8;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --slate: #8896AB;
  --slate-light: #C8D0DC;
  --text-dark: #0F1F3C;
  --text-body: #3D4F63;
  --text-muted: #6B7D92;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --max-w: 1100px;
  --section-pad: 100px 24px;
  --section-pad-sm: 64px 24px;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 31, 60, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo-accent { color: var(--amber); }

.nav-tagline {
  font-size: 0.8rem;
  color: var(--slate);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Hero --- */
.hero {
  background: var(--navy);
  padding: 90px 24px 80px;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.3);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--amber);
}

.hero-lede {
  font-size: 1.05rem;
  color: var(--slate-light);
  line-height: 1.7;
  max-width: 480px;
}

/* --- Hero Visual (right side) --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 20px;
  backdrop-filter: blur(8px);
}

.hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(212, 168, 67, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.hero-card-sub {
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 2px;
}

.hero-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 140px;
  background: radial-gradient(ellipse, rgba(212,168,67,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Stats Bar --- */
.stats {
  background: var(--amber-pale);
  border-top: 1px solid rgba(212,168,67,0.15);
  border-bottom: 1px solid rgba(212,168,67,0.15);
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 180px;
  margin: 0 auto;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(212,168,67,0.3);
  flex-shrink: 0;
}

/* --- Problem Section --- */
.problem {
  background: var(--off-white);
  padding: var(--section-pad);
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.problem-header {
  max-width: 600px;
  margin-bottom: 60px;
}

.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.problem-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.problem-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 32px;
  transition: box-shadow 0.2s;
}

.problem-item:hover {
  box-shadow: 0 8px 32px rgba(15,31,60,0.08);
}

.problem-icon {
  margin-bottom: 18px;
  width: 44px;
  height: 44px;
  background: var(--amber-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.problem-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Solution / Pillars --- */
.solution {
  background: var(--white);
  padding: var(--section-pad);
}

.solution-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.solution-headline {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.solution-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 64px;
}

.solution-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: left;
}

.pillar {
  background: var(--off-white);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.04);
}

.pillar-icon {
  margin-bottom: 20px;
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- How It Works --- */
.how {
  background: var(--navy);
  padding: var(--section-pad);
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how .section-eyebrow { color: var(--amber); }

.how-headline {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 64px;
  letter-spacing: -0.02em;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(212,168,67,0.18);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.step p {
  font-size: 0.92rem;
  color: var(--slate-light);
  line-height: 1.7;
}

/* --- Verification Standard --- */
.verification {
  background: var(--off-white);
  padding: var(--section-pad);
}

.verification-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.verification-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.verification-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* --- Verification Badge --- */
.v-badge-outer {
  background: var(--navy);
  border-radius: 20px;
  padding: 36px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(15,31,60,0.15);
}

.v-badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.v-badge-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.08em;
}

.v-badge-sub {
  font-size: 0.78rem;
  color: var(--slate);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Closing --- */
.closing {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
}

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

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--slate-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.closing-tagline {
  display: inline-block;
  background: rgba(212,168,67,0.12);
  border: 1px solid rgba(212,168,67,0.25);
  color: var(--amber);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  padding: 10px 24px;
  border-radius: 30px;
}

/* --- Footer --- */
.footer {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 48px 24px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}

.footer-logo-accent { color: var(--amber); }

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.6;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
  max-width: 600px;
}

/* --- Responsive --- */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    display: none;
  }
  .hero-lede {
    max-width: 100%;
  }

  .stats-inner {
    flex-direction: column;
    gap: 28px;
  }
  .stat-divider {
    display: none;
  }

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

  .solution-pillars {
    grid-template-columns: 1fr 1fr;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .verification-inner {
    grid-template-columns: 1fr;
  }
  .v-badge-outer {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 540px) {
  .hero {
    padding: 60px 20px 56px;
  }
  .solution-pillars {
    grid-template-columns: 1fr;
  }
  .section-pad {
    padding: 60px 20px;
  }
  .problem-inner,
  .solution-inner,
  .how-inner {
    padding-left: 0;
    padding-right: 0;
  }
}