/* ══════════════════════════════════════════════
   DEALER / DISTRIBUTOR PAGE — dealer.css
   Extends base style.css with dealer-specific
   ══════════════════════════════════════════════ */

/* ── DEALER HERO ─────────────────────────────── */
.dealer-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 64px 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #f0f6ff 0%, #e6f0fb 40%, #ddeaf8 100%);
}

/* ambient glows */
.dealer-hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 60%);
  right: -200px;
  top: -100px;
  pointer-events: none;
}

.dealer-hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 79, 194, 0.06) 0%, transparent 60%);
  left: -100px;
  bottom: -200px;
  pointer-events: none;
}

/* hero decorative lines */
.dealer-hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.dealer-hero-lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 79, 194, 0.07), transparent);
}

.dealer-hero-lines span:nth-child(1) { top: 25%; }
.dealer-hero-lines span:nth-child(2) { top: 50%; }
.dealer-hero-lines span:nth-child(3) { top: 75%; }

.dealer-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}

.dealer-hero-content .hero-kicker {
  justify-content: center;
}

.dealer-hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5.5vw, 78px);
  font-weight: 900;
  line-height: 1;
  color: #0d2340;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.dealer-hero-h1 .grad {
  background: var(--goldg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 4px;
}

.dealer-hero-h1 .outline {
  -webkit-text-stroke: 2px rgba(30, 79, 194, 0.3);
  color: transparent;
  display: inline;
}

.dealer-hero-sub {
  font-size: 16px;
  line-height: 1.9;
  font-weight: 300;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* hero stats row */
.dealer-hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.dstat {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 24px;
  transition: all 0.35s;
  min-width: 180px;
}

.dstat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(30, 79, 194, 0.12);
  border-color: rgba(30, 79, 194, 0.25);
}

.dstat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(30, 79, 194, 0.07);
  border: 1px solid rgba(30, 79, 194, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.dstat-n {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--steel);
  line-height: 1;
}

.dstat-n sup {
  font-size: 14px;
  color: var(--gold);
}

.dstat-l {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5b789a;
  margin-top: 2px;
}

.dealer-hero-content .hero-btns {
  justify-content: center;
}

/* ── BENEFITS GRID ───────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 4px 20px rgba(15, 28, 63, 0.06);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--goldg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(.16, 1, .3, 1);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 28, 63, 0.12);
  border-color: rgba(30, 79, 194, 0.2);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon-wrap {
  position: relative;
  display: inline-flex;
  margin-bottom: 20px;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 79, 194, 0.07), rgba(30, 79, 194, 0.03));
  border: 1px solid rgba(30, 79, 194, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all 0.35s;
  position: relative;
  z-index: 1;
}

.benefit-glow {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(245, 166, 35, 0.15);
  top: 4px;
  left: 4px;
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s;
}

.benefit-card:hover .benefit-icon {
  background: linear-gradient(135deg, rgba(30, 79, 194, 0.12), rgba(245, 166, 35, 0.08));
  border-color: rgba(245, 166, 35, 0.3);
  transform: scale(1.05);
}

.benefit-card:hover .benefit-glow {
  opacity: 1;
}

.benefit-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #0d2340;
  margin-bottom: 10px;
  line-height: 1.3;
}

.benefit-card p {
  font-size: 13px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--muted);
}

/* ── REQUIREMENTS LAYOUT ─────────────────────── */
.req-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.req-info {
  position: sticky;
  top: 120px;
}

.req-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.req-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.req-item:first-child {
  border-top: 1px solid var(--border);
}

.req-item:hover {
  padding-left: 8px;
}

.req-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  background: var(--goldg);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  min-width: 48px;
  flex-shrink: 0;
}

.req-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: #0d2340;
  margin-bottom: 6px;
}

.req-content p {
  font-size: 13px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--muted);
}

/* ── DEALER FORM ─────────────────────────────── */
.dealer-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px;
  box-shadow: 0 8px 40px rgba(30, 79, 194, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.dealer-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--goldg);
  border-radius: 16px 16px 0 0;
}

.form-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.form-trust span {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}

/* ── RESPONSIVE ──────────────────────────────── */

/* 1100px */
@media(max-width:1100px) {
  .dealer-hero {
    padding: 120px 40px 70px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .req-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .req-info {
    position: static;
  }
}

/* 900px */
@media(max-width:900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .benefit-card {
    padding: 28px 22px;
  }
}

/* 768px */
@media(max-width:768px) {
  .dealer-hero {
    padding: 90px 18px 50px;
    min-height: auto;
  }

  .dealer-hero-h1 {
    font-size: clamp(28px, 8vw, 44px);
  }

  .dealer-hero-h1 .grad {
    font-size: clamp(22px, 6vw, 34px);
  }

  .dealer-hero-sub {
    font-size: 13px;
    margin-bottom: 28px;
  }

  .dealer-hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .dstat {
    width: 100%;
    max-width: 320px;
    padding: 14px 18px;
    min-width: unset;
  }

  .dstat-n {
    font-size: 22px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-card {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .benefit-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
    border-radius: 10px;
  }

  .benefit-card h3 {
    font-size: 17px;
  }

  .req-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .req-num {
    font-size: 28px;
    min-width: 36px;
  }

  .req-content h4 {
    font-size: 15px;
  }

  .dealer-form {
    padding: 28px 20px;
    border-radius: 12px;
  }

  .fg-row {
    grid-template-columns: 1fr;
  }

  .form-trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

/* 480px */
@media(max-width:480px) {
  .dealer-hero-h1 {
    font-size: clamp(24px, 8vw, 36px);
  }

  .dealer-hero-h1 .grad {
    font-size: clamp(18px, 5vw, 28px);
  }

  .dstat-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
