/* ============================================
   BOLLETTA SMART — LANDING PAGE
   Apple Liquid Glass · Dark Enterprise
   ============================================ */

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: var(--space-32) 0 var(--space-20);
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  animation: float 8s var(--ease-in-out) infinite;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero__content { max-width: 580px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--primary-300);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--space-6);
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-400);
  animation: pulse 2s var(--ease-in-out) infinite;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.hero__title-accent {
  background: var(--gradient-neon-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero__stats {
  display: flex;
  gap: var(--space-10);
}

.hero__stat { text-align: left; }

.hero__stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-value--accent { color: var(--primary-400); }

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

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

.hero__visual-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: var(--space-8);
  background: var(--glass-surface);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-stroke-strong);
  border-radius: var(--radius-3xl);
  box-shadow: var(--glass-shadow),
              0 0 80px rgba(45, 212, 191, 0.06);
}

.hero__visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.hero__visual-title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text);
}

.hero__visual-score {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__visual-score-value {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  line-height: 1;
}

.hero__visual-score-value--good { color: var(--success-400); }
.hero__visual-score-value--warn { color: var(--warning-400); }
.hero__visual-score-value--bad { color: var(--danger-400); }

.hero__visual-score-label {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

.hero__visual-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero__visual-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  background: rgba(15, 23, 42, 0.50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
}

.hero__visual-row-label {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.hero__visual-row-value {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--color-text);
}

.hero__visual-row-value--danger { color: var(--danger-400); }
.hero__visual-row-value--success { color: var(--success-400); }
.hero__visual-row-value--warning { color: var(--warning-400); }

.hero__visual-bar {
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(148, 163, 184, 0.08);
  overflow: hidden;
  margin-top: var(--space-2);
}

.hero__visual-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1.5s var(--ease-out);
}

.hero__visual-bar-fill--teal { background: var(--gradient-neon-teal); }
.hero__visual-bar-fill--danger { background: var(--gradient-danger); }

.hero__visual-savings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  background: rgba(244, 63, 94, 0.06);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: var(--radius-xl);
}

.hero__visual-savings-label {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.hero__visual-savings-value {
  font-size: var(--text-xl);
  font-weight: var(--font-extrabold);
  color: var(--danger-400);
}

/* Glow orbs behind card */
.hero__glow-1,
.hero__glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
}

.hero__glow-1 {
  width: 300px;
  height: 300px;
  top: -60px;
  right: -40px;
  background: rgba(45, 212, 191, 0.10);
}

.hero__glow-2 {
  width: 250px;
  height: 250px;
  bottom: -50px;
  left: -30px;
  background: rgba(99, 102, 241, 0.08);
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
  position: relative;
  padding: var(--space-24) 0;
}

/* ========== FEATURES SECTION ========== */
.features-section {
  padding: var(--space-24) 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: var(--glass-surface);
  backdrop-filter: var(--glass-blur-light);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  border-color: rgba(45, 212, 191, 0.12);
  box-shadow: var(--shadow-glow-primary);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  margin-bottom: var(--space-5);
}

.feature-card__icon--teal {
  background: rgba(45, 212, 191, 0.10);
  color: var(--primary-400);
  border: 1px solid rgba(45, 212, 191, 0.15);
}

.feature-card__icon--indigo {
  background: rgba(99, 102, 241, 0.10);
  color: var(--electric-400);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.feature-card__icon--amber {
  background: rgba(245, 158, 11, 0.10);
  color: var(--warning-400);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.feature-card__icon--rose {
  background: rgba(244, 63, 94, 0.10);
  color: var(--danger-400);
  border: 1px solid rgba(244, 63, 94, 0.15);
}

.feature-card__icon--emerald {
  background: rgba(16, 185, 129, 0.10);
  color: var(--success-400);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.feature-card__title {
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  line-height: var(--leading-relaxed);
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: var(--space-20) 0;
}

.cta-card {
  position: relative;
  padding: var(--space-16) var(--space-10);
  text-align: center;
  background: var(--glass-surface-strong);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(45, 212, 191, 0.12);
  border-radius: var(--radius-3xl);
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(45, 212, 191, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card__title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.cta-card__desc {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto var(--space-8);
  position: relative;
  z-index: 1;
}

.cta-card__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

/* ========== FAQ SECTION ========== */
.faq-section {
  padding: var(--space-24) 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-10); text-align: center; }
  .hero__content { max-width: 100%; margin: 0 auto; }
  .hero__desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .hero { padding: var(--space-20) 0 var(--space-12); min-height: auto; }
  .hero__stats { flex-direction: column; gap: var(--space-4); align-items: center; }
  .hero__stat { text-align: center; }
  .hero__actions { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-card { padding: var(--space-10) var(--space-6); }
  .cta-card__actions { flex-direction: column; align-items: center; }
}
