/* ════════════════════════════════════════════════════════
   SECTIONS.CSS — Hero and section-specific styles
   ════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

/* Subtle grid pattern */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsla(232,85%,66%,.04) 1px, transparent 1px),
    linear-gradient(90deg, hsla(232,85%,66%,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 85% at 50% 50%, black 10%, transparent 100%);
}

/* Glow orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  animation: orbDrift 14s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; top: -120px; left: -160px; background: var(--accent); opacity: .13; animation-duration: 16s; }
.orb-2 { width: 480px; height: 480px; bottom: -80px; right: -100px; background: hsl(268,70%,62%); opacity: .09; animation-duration: 20s; animation-delay: -8s; }
.orb-3 { width: 320px; height: 320px; top: 40%; left: 52%; background: var(--accent); opacity: .07; animation-duration: 11s; animation-delay: -4s; }

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .45;
}

.hero-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.hero-content { max-width: 760px; }

/* Hero headline */
.hero-h1 {
  font-size: clamp(3.6rem, 8.5vw, 7.8rem);
  font-weight: 800;
  line-height: .97;
  letter-spacing: -.04em;
  margin-bottom: 1.75rem;
}
.h1-thin { font-weight: 300; opacity: .7; }
.h1-mid  { font-weight: 500; }

.h1-shine {
  background: linear-gradient(
    115deg,
    hsl(232,85%,72%) 0%,
    hsl(220,90%,90%) 45%,
    hsl(232,85%,66%) 70%,
    hsl(268,75%,74%) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shineScroll 3.5s linear infinite;
  display: inline-block;
}

.hero-sub {
  font-size: 1.08rem;
  max-width: 560px;
  line-height: 1.82;
  margin-bottom: 2.75rem;
  color: var(--text-muted);
}
.hero-sub strong { color: var(--text-primary); font-weight: 600; }

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-micro {
  font-size: .74rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 3.5rem;
}

/* ─── SECTION INTRO (two-col header) ─── */
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}
.section-intro h2 { margin-bottom: 0; }

/* ─── TWO COL SECTION ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.two-col-reverse {
  direction: rtl;
}
.two-col-reverse > * { direction: ltr; }

.col-text {}
.col-demo {}
