/* ==========================================================================
   edunezisk – shared "bold" treatment for inner pages
   Loaded after styles.css. Reuses :root tokens. Provides an immersive
   hero band + animated SVG utilities + scroll reveal.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Immersive hero band
   -------------------------------------------------------------------------- */
.bold-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--color-white);
  background: var(--gradient-brand);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bold-hero--banner {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.bold-hero-fx {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.bold-hero-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 120% at 75% 25%, #000 35%, transparent 80%);
  mask-image: radial-gradient(120% 120% at 75% 25%, #000 35%, transparent 80%);
}
.bold-hero-fx::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(40rem 40rem at 25% 25%, rgba(229, 168, 74, 0.2), transparent 60%);
  animation: bfSheen 16s ease-in-out infinite alternate;
}
@keyframes bfSheen {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(6%, 5%, 0); }
}
.bold-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  transition: transform 0.4s ease-out;
  will-change: transform;
}
.bold-orb--1 {
  width: 24rem;
  height: 24rem;
  top: -8rem;
  right: -5rem;
  background: radial-gradient(circle, rgba(45, 139, 184, 0.7), transparent 65%);
  animation: bfFloat 13s ease-in-out infinite;
}
.bold-orb--2 {
  width: 18rem;
  height: 18rem;
  bottom: -7rem;
  left: -4rem;
  background: radial-gradient(circle, rgba(229, 168, 74, 0.5), transparent 65%);
  animation: bfFloat 17s ease-in-out infinite reverse;
}
@keyframes bfFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -24px; }
}

.bold-hero-inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (min-width: 880px) {
  .bold-hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .bold-hero--banner .bold-hero-inner {
    grid-template-columns: 1fr;
  }
}

.bold-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: var(--space-5);
  border-radius: 16px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.7);
}
.bold-badge svg { width: 1.7rem; height: 1.7rem; }

.bold-hero-title {
  margin: 0;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
  background: linear-gradient(100deg, #ffffff 0%, #cfe9f4 45%, #e5a84a 115%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bold-hero-sub {
  margin: var(--space-5) 0 0;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: var(--line-relaxed);
  color: rgba(255, 255, 255, 0.85);
}

.bold-hero-visual {
  display: flex;
  justify-content: center;
  transition: transform 0.4s ease-out;
  will-change: transform;
}
.bold-figure {
  width: min(420px, 80vw);
  height: auto;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.45));
}
.bold-hero-visual--wide { width: 100%; }
.bold-banner-figure {
  width: 100%;
  max-width: var(--container-wide);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.4));
}
.bf-link {
  stroke: url(#bfStroke);
  stroke-width: 2;
  opacity: 0.4;
}
.bf-node {
  fill: url(#bfStroke);
}
.bf-node--accent { fill: #e5a84a; }
.bf-bubble {
  fill: rgba(255, 255, 255, 0.1);
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 2;
}
.bf-bubble-dot { fill: #ffffff; }

/* --------------------------------------------------------------------------
   SVG animation utilities (shared by all page graphics)
   -------------------------------------------------------------------------- */
.bf-ring {
  fill: none;
  stroke: url(#bfStroke);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: bfPulse 4.5s ease-in-out infinite;
}
.bf-ring--2 { animation-delay: 0.6s; }
.bf-ring--3 { animation-delay: 1.2s; }
@keyframes bfPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.04); opacity: 0.9; }
}
.bf-dash {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2;
  stroke-dasharray: 4 16;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
  animation: bfSpin 26s linear infinite;
}
.bf-dash--rev { animation-direction: reverse; animation-duration: 32s; }
.bf-orbit {
  transform-box: fill-box;
  transform-origin: center;
  animation: bfSpin 18s linear infinite;
}
.bf-orbit circle { fill: url(#bfStroke); }
.bf-orbit circle:nth-child(odd) { fill: #e5a84a; }
.bf-core {
  fill: url(#bfCenter);
  transform-box: fill-box;
  transform-origin: center;
  animation: bfBeat 3s ease-in-out infinite;
}
@keyframes bfBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.bf-radar {
  fill: none;
  stroke: url(#bfStroke);
  stroke-width: 2.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: bfRadar 3.4s ease-out infinite;
}
.bf-radar--2 { animation-delay: 1.13s; }
.bf-radar--3 { animation-delay: 2.26s; }
@keyframes bfRadar {
  0% { transform: scale(0.2); opacity: 0.9; }
  80% { opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}
.bf-draw {
  fill: none;
  stroke: #ffffff;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: bfDraw 3.6s ease-in-out infinite;
}
@keyframes bfDraw {
  0%, 8% { stroke-dashoffset: 200; }
  45%, 78% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 200; }
}
.bf-spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: bfSpin 22s linear infinite;
}
.bf-float {
  transform-box: fill-box;
  transform-origin: center;
  animation: bfNudge 6s ease-in-out infinite;
}
@keyframes bfNudge {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-8px, -12px) rotate(-4deg); }
}
.bf-rise circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: bfRise 3.2s ease-in infinite;
}
.bf-rise circle:nth-child(2) { animation-delay: 0.5s; }
.bf-rise circle:nth-child(3) { animation-delay: 1s; }
.bf-rise circle:nth-child(4) { animation-delay: 1.6s; }
.bf-rise circle:nth-child(5) { animation-delay: 2.1s; }
@keyframes bfRise {
  0% { transform: translateY(40px); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-70px); opacity: 0; }
}
.bf-blink {
  animation: bfBlink 2.6s ease-in-out infinite;
}
.bf-blink--2 { animation-delay: 0.5s; }
.bf-blink--3 { animation-delay: 1s; }
.bf-blink--4 { animation-delay: 1.5s; }
@keyframes bfBlink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
@keyframes bfSpin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .bold-hero-fx::after,
  .bold-orb,
  .bf-ring, .bf-dash, .bf-orbit, .bf-core, .bf-radar,
  .bf-draw, .bf-spin, .bf-float, .bf-rise circle, .bf-blink {
    animation: none !important;
  }
  .bf-draw { stroke-dashoffset: 0 !important; }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
