/* =========================================================
   HERO.CSS — Secțiunea hero
   alexbaicu.ro
   ========================================================= */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  padding-top: 90px;
  overflow: hidden;
  background: var(--color-bg-base);
}

/* ── STRATURI VIZUALE ─────────────────────────────────────── */

/* Gradient fundal */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0, 200, 240, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(245, 166, 35, 0.04) 0%, transparent 55%),
    var(--color-bg-base);
  z-index: 0;
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0, 200, 240, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 240, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
}

/* Orb-uri plutitoare */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  top: -100px;
  left: -150px;
  background: rgba(0, 200, 240, 0.08);
  animation: flt 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -50px;
  right: 20%;
  background: rgba(245, 166, 35, 0.06);
  animation: flt 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  top: 30%;
  right: 10%;
  background: rgba(0, 200, 240, 0.05);
  animation: flt 12s ease-in-out infinite 2s;
}

/* ── LAYOUT INTERIOR ──────────────────────────────────────── */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

/* ── CONȚINUT STÂNGA ──────────────────────────────────────── */
.hero-content {
  max-width: 800px;
  flex: 1;
}

/* Badge live */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 200, 240, 0.1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: var(--text-sm);
  color: var(--color-cyan);
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse 2s ease-in-out infinite;
}

/* H1 */
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: var(--weight-black);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title .line-1 {
  display: block;
  color: var(--color-text-primary);
}

.hero-title .line-2 {
  display: block;
  color: var(--color-cyan);
}

.hero-title .line-3 {
  display: block;
  background: linear-gradient(90deg, #F5A623, #FF6B35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub-titlu */
.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-sub strong {
  color: var(--color-text-primary);
}

/* Butoane CTA */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* Statistici */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat .n {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  color: var(--color-cyan);
  line-height: 1;
}

.stat .l {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
}

/* ── CARDURI FLOTANTE DESKTOP ─────────────────────────────── */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
  width: 300px;
}

.hero-card {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, transform 0.3s;
}

.hero-card:hover {
  border-color: var(--color-border-hover);
  transform: translateX(-4px);
}

.hero-card.gold {
  border-color: var(--color-border-gold);
}

.hero-card.gold:hover {
  border-color: rgba(245, 166, 35, 0.45);
}

.hero-card-label {
  font-size: var(--text-xs);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.hero-card-price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  color: var(--color-cyan);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-card.gold .hero-card-price {
  color: var(--color-gold);
}

.hero-card-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ── LIGHT MODE ───────────────────────────────────────────── */
[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0, 100, 200, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(200, 120, 0, 0.04) 0%, transparent 55%),
    var(--color-bg-base);
}

[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(0, 100, 200, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 100, 200, 0.05) 1px, transparent 1px);
}

[data-theme="light"] .hero-orb-1 { background: rgba(0, 100, 200, 0.07); }
[data-theme="light"] .hero-orb-2 { background: rgba(200, 120, 0, 0.05); }
[data-theme="light"] .hero-orb-3 { background: rgba(0, 100, 200, 0.05); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-cards {
    display: none;
  }
}

@media (max-width: 768px) {
  #hero {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .hero-sub {
    font-size: var(--text-base);
  }

  .stats {
    gap: 1.5rem;
  }

  .stat .n {
    font-size: var(--text-xl);
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
