/* =========================================================================
   WONDERS HERO HEADER STYLES (Zyntara + Wonders of the World)
   ========================================================================= */

.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 100px;
  padding-bottom: 2rem;
  overflow: hidden;
  background: linear-gradient(to bottom, #0a1a4a, #1d4a9a);
  color: var(--text-main);
  isolation: isolate;
  transition: background 1.4s ease, color 0.4s ease;
}

body[data-mode="day"] .hero-section {
  background: linear-gradient(to bottom, #7cb3e9, #cce4fc 60%, #f8fafc);
}

body[data-mode="night"] .hero-section {
  background: linear-gradient(to bottom, #050a1c, #0d1b3e 60%, #030712);
}

/* =========================================================================
   1. WONDERS CANVAS & ATMOSPHERIC VEIL
   ========================================================================= */
#cv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.hero-section.ready #cv {
  opacity: 1;
}

.veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 1.2s ease;
}

body[data-mode="night"] .veil {
  background:
    radial-gradient(125% 95% at 50% 42%, rgba(2, 6, 22, 0) 50%, rgba(2, 6, 22, 0.55) 100%),
    linear-gradient(to bottom, rgba(3, 8, 26, 0.65) 0%, rgba(3, 8, 26, 0.05) 45%, rgba(3, 7, 18, 0.85) 100%);
}

body[data-mode="day"] .veil {
  background:
    radial-gradient(125% 95% at 50% 42%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.35) 100%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 40%, rgba(248, 250, 252, 0.85) 100%);
}

/* =========================================================================
   2. HERO CONTENT LAYER (TOP-LEFT COPY & RIGHT CONCEPT CARD)
   ========================================================================= */
.hero-content-layer {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 2rem 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
}

.hero-content-inner {
  max-width: 680px;
  flex: 1;
}

.hero-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.kicker-flag-dot {
  width: 9px;
  height: 9px;
  background: #ff9933;
  border-radius: 50%;
  box-shadow: 6px 0 0 #ffffff, 12px 0 0 #138808;
  margin-right: 9px;
}

.hero-main-headline {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

body[data-mode="night"] .hero-main-headline {
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}

.hero-main-subcopy {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 90%;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

body[data-mode="night"] .hero-main-subcopy {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* =========================================================================
   3. RIGHT FLOATING CONCEPT CARD (DAY & NIGHT VARIATIONS)
   ========================================================================= */
.hero-concept-card-right {
  flex-shrink: 0;
  width: 350px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem 2.25rem;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 10;
  transition: all 0.4s ease;
  margin-top: 0.5rem;
}

.concept-card-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.concept-card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* Day Mode Bullets */
.concept-card-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.concept-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.concept-bullet-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.concept-bullet-icon.amber {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.concept-bullet-icon.blue {
  background: rgba(0, 85, 255, 0.12);
  color: #0055ff;
}

.concept-bullet-icon.cyan {
  background: rgba(0, 210, 255, 0.15);
  color: #0099cc;
}

.concept-card-badge {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--surface-color);
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.india-flag-badge {
  font-size: 1.4rem;
  background: var(--bg-color);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
}

.badge-text-group {
  display: flex;
  flex-direction: column;
}

.badge-bold {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.badge-light {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.concept-card-script {
  font-family: var(--font-handwriting);
  font-size: 2.2rem;
  color: #f59e0b;
  font-weight: 700;
  text-align: right;
  margin-top: 1rem;
  transform: rotate(-4deg);
  text-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
  line-height: 1;
}

body[data-mode="night"] .concept-card-script {
  color: #fbbf24;
  text-shadow: 0 2px 15px rgba(251, 191, 36, 0.35);
}

/* =========================================================================
   4. WONDERS DAY & NIGHT SWITCH (THE PILL TOGGLE WITH SUN & MOON)
   ========================================================================= */
.switch, .theme-switch {
  position: relative;
  width: 86px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--glass-bg);
  cursor: pointer;
  padding: 0;
  color: var(--text-main);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.switch:focus-visible, .theme-switch:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.switch:disabled, .theme-switch:disabled {
  opacity: 0.7;
  cursor: progress;
}

.switch svg, .theme-switch svg {
  width: 17px;
  height: 17px;
  z-index: 2;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.switch .sun, .theme-switch .sun {
  color: #f59e0b;
  opacity: 0.95;
}

.switch .moon, .theme-switch .moon {
  color: #94a3b8;
  opacity: 0.6;
}

body[data-mode="night"] .switch .sun,
body[data-mode="night"] .theme-switch .sun {
  opacity: 0.45;
  color: #64748b;
}

body[data-mode="night"] .switch .moon,
body[data-mode="night"] .theme-switch .moon {
  opacity: 1;
  color: #38bdf8;
}

.switch .knob, .theme-switch .knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--knob);
  box-shadow: 0 0 12px 2px var(--knob);
  transition: transform 1.2s cubic-bezier(0.6, 0, 0.25, 1), background-color 1.2s ease, box-shadow 1.2s ease;
  z-index: 1;
}

.switch[aria-checked="true"] .knob,
.theme-switch[aria-checked="true"] .knob,
body[data-mode="night"] .switch .knob,
body[data-mode="night"] .theme-switch .knob {
  transform: translateX(46px);
}

/* =========================================================================
   5. HERO BOTTOM WRAPPER (METRICS HUD BAR & INDUSTRY STRIP)
   ========================================================================= */
.hero-bottom-wrapper {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: var(--container-max);
  margin: 2rem auto 0 auto;
  padding: 0 2rem;
}

.hero-industry-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.industry-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.ind-icon {
  color: var(--text-main);
}

.industry-sep {
  color: var(--border-color);
}

.hero-metric-bar {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 1.15rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.metric-hud-col {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
  padding: 0 0.8rem;
}

.metric-hud-icon {
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-hud-value {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.metric-hud-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-hud-label .sub {
  display: block;
}

.metric-hud-divider {
  width: 1px;
  height: 36px;
  background: var(--border-color);
  flex-shrink: 0;
}

.metric-hud-statement {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1.5;
  padding-left: 1.5rem;
}

.statement-globe-icon {
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.statement-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  flex: 1;
}

.statement-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.statement-action-btn:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
  transform: translateX(3px);
}

/* Centered globe composition from the supplied hero reference. */
.hero-section {
  min-height: max(760px, 100svh);
  height: max(760px, 100svh);
  padding: 0;
}
.hero-content-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 100%;
  padding: 0 1.5rem clamp(150px, 19vh, 205px);
  margin: 0;
  pointer-events: none;
}
.hero-content-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 900px);
  max-width: 900px;
  text-align: center;
  pointer-events: auto;
}
.hero-main-headline {
  order: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 0 .85rem;
  color: #fff;
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: clamp(2.8rem, 5vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-shadow: 0 3px 28px rgba(0, 10, 30, .78), 0 1px 5px rgba(0,0,0,.75);
}
.hero-main-headline .highlight-human {
  background: linear-gradient(135deg, #fff8e1 0%, #ffca28 45%, #ff9800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 18px rgba(255, 171, 0, 0.6));
  text-shadow: none;
  font-weight: 750;
}
.hero-kicker-badge {
  order: 2;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: 0;
  margin: 0 0 1.35rem;
  color: rgba(246, 250, 255, .9);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: clamp(.64rem, .85vw, .78rem);
  letter-spacing: .22em;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.kicker-flag-dot {
  display: none;
}
.hero-kicker-separator { color: #ffb72e; font-size: 1.2em; text-shadow: 0 0 12px rgba(255,183,46,.7); }
.hero-main-subcopy, .hero-cta-group, .hero-concept-card-right { display: none !important; }
.hero-bottom-wrapper {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: clamp(.75rem, 2.5vh, 1.5rem);
  width: min(100%, 1320px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-industry-strip, .metric-hud-statement, .metric-hud-divider:last-of-type { display: none !important; }
.hero-metric-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  padding: .9rem .55rem;
  border: 1px solid rgba(93, 177, 255, .28);
  border-radius: 14px;
  background: rgba(3, 17, 39, .58);
  box-shadow: 0 12px 34px rgba(0, 8, 28, .24), inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.metric-hud-col {
  min-width: 0;
  justify-content: center;
  padding: .15rem clamp(.35rem, 1.4vw, 1.2rem);
  gap: .75rem;
}
.metric-hud-icon { color: #00cfff; filter: drop-shadow(0 0 10px rgba(0,207,255,.42)); }
.metric-hud-value { color: #fff; font-size: clamp(1.05rem, 1.4vw, 1.35rem); text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.metric-hud-label { color: rgba(238,246,255,.76); font-size: clamp(.64rem, .76vw, .76rem); line-height: 1.3; }
.metric-hud-label .sub { display: block; }
.hero-metric-bar > .metric-hud-divider { display: none !important; }
.hero-metric-bar > .metric-hud-col:nth-of-type(3),
.hero-metric-bar > .metric-hud-col:nth-of-type(5),
.hero-metric-bar > .metric-hud-col:nth-of-type(7) { border-left: 1px solid rgba(153,195,236,.25); }

body[data-mode="day"] .hero-section { background: linear-gradient(180deg, #07152a 0%, #0b2342 55%, #07152a 100%); }
body[data-mode="day"] .veil {
  background: linear-gradient(180deg, rgba(4,15,34,.08) 15%, rgba(4,15,34,.02) 48%, rgba(2,10,25,.64) 100%);
}
body[data-mode="night"] .veil {
  background: linear-gradient(180deg, rgba(2,7,20,.25) 0%, rgba(2,7,20,.02) 45%, rgba(2,7,20,.68) 100%);
}

@media (max-width: 1024px) {
  .hero-section { height: max(740px, 100svh); min-height: 740px; padding: 0; }
  .hero-content-layer { align-items: flex-end; justify-content: center; padding: 0 1.25rem clamp(165px, 21vh, 215px); }
  .hero-content-inner { max-width: 760px; }
  .hero-main-headline { font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.06; }
  .hero-main-subcopy, .hero-cta-group, .hero-concept-card-right { display: none !important; }
  .hero-metric-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .45rem; }
  .metric-hud-col { justify-content: flex-start; padding: .65rem .6rem; }
  .hero-metric-bar > .metric-hud-divider { display: none; }
  .hero-metric-bar > .metric-hud-col:nth-of-type(3),
  .hero-metric-bar > .metric-hud-col:nth-of-type(7) { border-left: 1px solid rgba(153,195,236,.25); }
  .hero-metric-bar > .metric-hud-col:nth-of-type(5) { border-left: 0; }
  .hero-metric-bar > .metric-hud-col:nth-of-type(5),
  .hero-metric-bar > .metric-hud-col:nth-of-type(7) { border-top: 1px solid rgba(153,195,236,.25); }
  .hero-bottom-wrapper { padding-inline: 1.25rem; }
}
@media (max-width: 640px) {
  .hero-section { height: 100svh; min-height: 640px; }
  .hero-content-layer {
    align-items: flex-end;
    justify-content: center;
    padding: 0 1rem clamp(185px, 26.5vh, 235px);
    box-sizing: border-box;
  }
  .hero-content-inner {
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-main-headline {
    order: 1;
    font-size: clamp(1.65rem, 6.6vw, 2.25rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 0.55rem;
    color: #fff;
    text-shadow: 0 3px 26px rgba(0, 10, 30, 0.9), 0 1px 5px rgba(0, 0, 0, 0.85);
  }
  .hero-main-headline .highlight-human {
    background: linear-gradient(135deg, #fff8e1 0%, #ffca28 45%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 18px rgba(255, 171, 0, 0.65));
    text-shadow: none;
    font-weight: 750;
  }
  .hero-kicker-badge {
    order: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    margin: 0;
    color: rgba(246, 250, 255, 0.92);
    background: transparent;
    border: 0;
    font-size: clamp(0.55rem, 2.3vw, 0.68rem);
    letter-spacing: 0.16em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  }
  .hero-main-subcopy,
  .hero-cta-group,
  .hero-concept-card-right {
    display: none !important;
  }
  .hero-bottom-wrapper {
    bottom: 0.65rem;
    padding-inline: 0.75rem;
    z-index: 20;
  }
  .hero-metric-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 12px;
    padding: 0.35rem 0.25rem;
  }
  .metric-hud-col {
    gap: 0.45rem;
    padding: 0.4rem 0.35rem;
  }
  .metric-hud-icon svg {
    width: 18px;
    height: 18px;
  }
  .metric-hud-value {
    font-size: 0.94rem;
  }
  .metric-hud-label {
    font-size: 0.62rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content-inner { animation: none !important; }
}
