/**
 * hero.css
 * Layouts, watermarks, indicator animations, and stats for the Hero section.
 * Optimized for a futuristic 2100-era center-aligned space landing page.
 *
 * @package Srushti_Theme
 */

.hero-section {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-midnight); /* White mode */
  padding: 140px 0 var(--space-16);
  z-index: 1;

  /* Use light-theme variables */
  --text-primary: var(--color-brand-black);
  --text-secondary: #3A3A42;
  --text-tertiary: #6E6E77;
  --glass-base: rgba(255, 255, 255, 0.85);
  --glass-hover: rgba(255, 255, 255, 0.95);
  --glass-active: rgba(255, 255, 255, 1);
  --glass-border: rgba(10, 10, 15, 0.08);
  --color-border-tech: rgba(204, 0, 0, 0.12);
}

/* ─────────────────────────────────────────────
   SPACE WATERMARK & PLANET CURVE
   ───────────────────────────────────────────── */

.hero-space-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, var(--color-brand-red-glow) 0%, var(--color-midnight) 70%);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(204, 0, 0, 0.05) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.6;
}

.hero-glow-core {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, var(--color-brand-red-glow) 0%, transparent 80%);
  filter: blur(40px);
}

/* Glowing Gold Planet Curve */
.hero-planet-curve {
  position: absolute;
  bottom: -360px;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 500px;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(204, 0, 0, 0.04) 0%, var(--color-surface-2) 65%), var(--color-surface-2);
  border-top: 1px solid var(--color-border-tech);
  box-shadow: 
    0 -15px 50px rgba(10, 10, 15, 0.03),
    inset 0 10px 30px rgba(255, 255, 255, 0.8);
  z-index: 0;
}

/* Orbit lines inside space bg */
.hero-orbit-wrap {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  z-index: 0;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 15, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-orbit.orbit-1 {
  width: 100%;
  height: 100%;
  border-style: dashed;
  animation: globeRotate 45s linear infinite;
}

.hero-orbit.orbit-2 {
  width: 120%;
  height: 120%;
  animation: globeRotate 60s linear infinite reverse;
}

/* ─────────────────────────────────────────────
   TYPOGRAPHY & CONTENT LAYOUT
   ───────────────────────────────────────────── */

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Eyebrow badge thin border */
.hero-badge-wrap {
  display: inline-block;
  margin-bottom: var(--space-6);
}

.hero-badge {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-red);
  padding: 6px 16px;
  border: 1px solid var(--color-border-tech);
  border-radius: 4px;
  background: var(--color-brand-red-glow);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-headline .block-line {
  display: block;
  margin-bottom: var(--space-1);
}

/* Highlight badge gradient pill - exact match to reference AI-Power container */
.hero-highlight-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 18px 5px;
  background: linear-gradient(90deg, var(--neon-gold) 0%, var(--neon-gold-bright) 100%);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 8px;
  color: #FFFFFF !important;
  text-shadow: none;
  box-shadow: 0 4px 25px rgba(204, 0, 0, 0.35);
  margin-left: var(--space-2);
  vertical-align: middle;
  font-size: 0.95em;
  letter-spacing: -0.01em;
  font-weight: 800;
  transform: translateY(-2px);
}

.pill-arrow-icon {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.30s var(--ease-out);
}

.hero-highlight-pill:hover .pill-arrow-icon {
  transform: translate(2px, -2px);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto var(--space-10);
}

/* ─────────────────────────────────────────────
   CALL TO ACTION BUTTON (Join Today Style)
   ───────────────────────────────────────────── */

.hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 36px;
  background-color: var(--color-brand-red);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--color-brand-red-bright);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(204, 0, 0, 0.15), 0 8px 20px rgba(10, 10, 15, 0.05);
  transition: all 0.30s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-arrow-icon {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.30s var(--ease-out);
}

.hero-cta-button:hover {
  background-color: var(--color-brand-red-bright);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204, 0, 0, 0.25);
}

.hero-cta-button:hover .btn-arrow-icon {
  transform: translate(3px, -3px);
}

.hero-cta-button:active {
  transform: translateY(0);
}

/* ─────────────────────────────────────────────
   BOTTOM NAVIGATION TABS
   ───────────────────────────────────────────── */

.hero-tabs-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: var(--space-12);
}

.hero-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.hero-tab-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 20px;
  background: var(--glass-base);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s var(--ease-out);
}

.hero-tab-item svg {
  color: rgba(10, 10, 15, 0.4);
  transition: transform 0.25s var(--ease-spring), color 0.25s ease;
}

.hero-tab-item:hover {
  background: var(--glass-hover);
  border-color: var(--color-brand-red-bright);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 
    0 10px 20px rgba(10, 10, 15, 0.03), 
    0 0 15px rgba(204, 0, 0, 0.05);
}

.hero-tab-item:hover svg {
  color: var(--color-brand-red);
  transform: scale(1.15);
}

/* ─────────────────────────────────────────────
   SCROLL INDICATOR
   ───────────────────────────────────────────── */

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--color-border-tech);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.7;
}

.scroll-indicator::after {
  content: '';
  width: 2px;
  height: 6px;
  background-color: var(--color-brand-red);
  border-radius: 1px;
  animation: scrollBounce 1.8s ease infinite;
}

/* Responsiveness overrides */
@media (max-width: 768px) {
  .hero-section {
    min-height: 100svh;
    padding: 120px 0 var(--space-8);
  }
  .hero-headline {
    font-size: clamp(30px, 8vw, 44px);
    line-height: 1.2;
  }
  .hero-highlight-pill {
    padding: 2px 12px;
    margin-left: 4px;
    transform: none;
  }
  .hero-tabs {
    gap: var(--space-2);
  }
  .hero-tab-item {
    font-size: 12px;
    padding: 8px 14px;
    gap: var(--space-2);
  }
  .hero-planet-curve {
    width: 180%;
    bottom: -380px;
  }
}
