/* ===== HERO — Warm gradient with savings card ===== */
.hero {
  position: relative;
  padding: var(--spacing-10) 0 var(--spacing-8);
  background: linear-gradient(135deg, #EEF2FF 0%, #FFF7ED 40%, #FFFBF5 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-12);
}

.hero__content {
  max-width: 580px;
  flex: 1.4;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-orange-light);
  color: var(--color-orange);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-6);
}

.hero__headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.15;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-4);
  letter-spacing: -0.02em;
}

.hero__headline .text-orange {
  color: var(--color-orange);
}

.hero__headline .text-green {
  color: var(--color-green);
}

.hero__subheadline {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-8);
  max-width: 440px;
}

/* Search / CTA row */
.hero__cta-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-6);
  flex-wrap: wrap;
}

.hero__location-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  min-width: 200px;
}

.hero__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--color-orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: all 0.2s ease;
  text-decoration: none;
}

.hero__cta-btn:hover {
  background: var(--color-orange-hover);
  transform: translateY(-1px);
}

/* Legacy trust items */
.hero__trust-item {
  display: none;
}

/* Hero Visual (Right side) - Blob Cutout */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  flex-shrink: 0;
  flex: 0.8;
}

.hero-visual__blob {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 60% 40% 45% 55% / 50% 55% 45% 50%;
  aspect-ratio: 1 / 1;
}

.hero-visual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-2xl);
  padding: 24px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,1);
  transform: rotateY(-6deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-panel:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.glass-panel__header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.glass-panel__content {
  position: relative;
}

.mock-result {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  z-index: 2;
  transform: translateZ(40px);
  transition: transform 0.3s ease;
}

.mock-result:hover {
  transform: translateZ(50px) scale(1.02);
}

.mock-result__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--color-orange-light), #FFEFE5);
  color: var(--color-orange);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.mock-result__details {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

.mock-result__data {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.mock-result__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--color-blue);
  padding: 4px 8px;
  border-radius: 6px;
  vertical-align: top;
  margin-left: 4px;
}

.mock-result__price-block {
  text-align: right;
}

.mock-result__old-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.mock-result__new-price {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-green);
  line-height: 1;
  letter-spacing: -0.02em;
}

.mock-result__new-price span {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.mock-result__savings {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-green);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mock-providers {
  display: flex;
  gap: 12px;
  margin-top: -12px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  transform: translateZ(10px);
}

.mock-provider {
  height: 44px;
  flex: 1;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.6);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-provider-line {
  width: 50%;
  height: 4px;
  border-radius: 2px;
  background: rgba(0,0,0,0.06);
}

/* Hero stats row */
.hero__stats {
  display: flex;
  gap: var(--spacing-8);
  margin-top: var(--spacing-8);
  padding-top: var(--spacing-6);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.hero__stat-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-primary);
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
}

@media (max-width: 768px) {
  .hero {
    padding: var(--spacing-10) 0 var(--spacing-8);
  }

  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__subheadline {
    max-width: 100%;
  }

  .hero__cta-row {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 340px;
    margin: 0 auto;
  }


  .glass-panel {
    transform: none;
  }
  
  .glass-panel:hover {
    transform: none;
  }
}

/* Avatar trust indicators */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: var(--spacing-6);
}

.hero__avatars {
  display: flex;
  align-items: center;
}

.hero__avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: var(--color-surface-alt);
  object-fit: cover;
}

.hero__avatars img:first-child {
  margin-left: 0;
}

.hero__avatars-count {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -12px;
  background: var(--color-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1;
}

.hero__trust-text {
  font-size: 13px;
  line-height: 1.3;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.hero__trust-text strong {
  color: var(--color-text-primary);
  font-weight: 700;
}
