/* ============================================================
   AUTEGRA — Landing Page Styles (Rebuilt)
   Hero with car diagram, Four Pillars 2x2 grid
   No decorative backgrounds, no gradients, no noise
   ============================================================ */

/* --- HERO --- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--nav-height) + 80px) var(--gutter) 80px;
}

.hero-text {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.hero-mark {
  display: block;
  margin: 0 auto 20px;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: block;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--snow);
  margin-bottom: 20px;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--slate);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 36px;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-confidence {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--slate);
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

/* --- CAR DIAGRAM --- */
.car-diagram {
  width: 100%;
  max-width: 720px;
  margin: 64px auto 0;
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.car-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 640px) {
  .car-diagram {
    display: none;
  }
}

/* --- FOUR PILLARS SECTION --- */
.section-pillars {
  padding: 80px var(--gutter);
  max-width: var(--container-max);
  margin: 0 auto;
  border-top: var(--border);
}

.pillars-header {
  margin-bottom: 48px;
}

.pillars-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.pillars-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--snow);
  line-height: 1.15;
  margin-bottom: 12px;
}

.pillars-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--slate);
  line-height: 1.65;
  max-width: 480px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.pillar-card {
  padding: 32px;
  background: var(--carbon);
  border: var(--border);
  border-radius: var(--radius);
  transition: background var(--transition-fast);
}

.pillar-card:hover {
  background: var(--carbon-hover);
}

.pillar-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-dim);
  border-radius: var(--radius);
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 22px;
}

.pillar-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--snow);
  letter-spacing: -0.2px;
  margin-bottom: 8px;
}

.pillar-card-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 16px;
}

.pillar-card-detail {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--teal);
  line-height: 1.6;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 48px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

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

  .section-pillars {
    padding: 48px var(--gutter);
  }
}
