/* ============================================================
   'I'iwi EDU Patron Library — Dedicated Stylesheet
   Hawaiian Hills 501(c)(3) Nonprofit
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────── */
:root {
  --color-oxford: #0d1b2a;
  --color-oxford-deep: #060e18;
  --color-burgundy: #5c0624;
  --color-emerald: #0f4c3a;
  --color-cream: #f4eae1;
  --color-neon-blue: #00f0ff;
  --color-neon-amber: #ffaa00;
  --color-gold: #d4af37;
  --color-gold-light: #e6c765;
  --color-footer: #050b14;
  --glass-bg: rgba(13, 27, 42, 0.78);
  --glass-border: rgba(212, 175, 55, 0.22);
  --glass-blur: blur(18px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-deep: 0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 0 28px rgba(212, 175, 55, 0.3);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base Typography ────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.edu-body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: var(--color-oxford);
  background-image: linear-gradient(rgba(13, 27, 42, 0.94), rgba(13, 27, 42, 0.94)), url('../img/iiwi-edu-wallpaper.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: var(--color-cream);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.edu-body h1,
.edu-body h2,
.edu-body h3,
.edu-body h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  margin: 0;
}

.edu-body p {
  margin: 0 0 1em 0;
}

.mono {
  font-family: 'Roboto Mono', 'Courier New', monospace;
}

/* ── Utility: Glassmorphism ─────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep);
}

.glass-light {
  background: rgba(244, 234, 225, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 234, 225, 0.08);
  border-radius: var(--radius-md);
}

/* ── Section Container ──────────────────────────────────── */
.edu-section {
  max-width: 1260px;
  margin: 0 auto;
  padding: 100px 28px;
  position: relative;
}

.edu-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.edu-section-subtitle {
  text-align: center;
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
  font-weight: 300;
  color: rgba(244, 234, 225, 0.6);
  max-width: 720px;
  margin: 0 auto 55px auto;
  line-height: 1.7;
}

.edu-section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-neon-blue), transparent);
  margin: 14px auto 0 auto;
}

/* ── Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   1. HERO SECTION
   ============================================================ */
.edu-hero {
  position: relative;
  padding: 160px 24px 100px 24px;
  text-align: center;
  background: linear-gradient(
    160deg,
    rgba(13, 27, 42, 0.97) 0%,
    rgba(92, 6, 36, 0.35) 50%,
    rgba(13, 27, 42, 0.95) 100%
  );
  border-bottom: 2px solid rgba(212, 175, 55, 0.25);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edu-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

/* Constellation Particle Container */
.constellation-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.constellation-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0;
  animation: constellationFloat var(--float-duration, 18s) var(--float-delay, 0s) infinite ease-in-out;
}

.constellation-particle.size-sm {
  width: 2px;
  height: 2px;
  box-shadow: 0 0 4px rgba(212, 175, 55, 0.5);
}

.constellation-particle.size-md {
  width: 3px;
  height: 3px;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

.constellation-particle.size-lg {
  width: 4px;
  height: 4px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}

/* Constellation Keyframes — Multiple Speeds */
@keyframes constellationFloat {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }
  10% {
    opacity: 0.7;
  }
  25% {
    transform: translate(calc(var(--drift-x, 40px)), calc(var(--drift-y, -60px))) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(calc(var(--drift-x, 40px) * 0.5), calc(var(--drift-y, -60px) * 1.5)) scale(0.8);
  }
  75% {
    opacity: 0.6;
    transform: translate(calc(var(--drift-x, 40px) * -0.3), calc(var(--drift-y, -60px) * 0.8)) scale(1.1);
  }
  90% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }
}

@keyframes constellationFloatAlt {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
  15%  { opacity: 0.8; }
  50%  { opacity: 0.5; transform: translateY(-80px) rotate(180deg); }
  85%  { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(0) rotate(360deg); }
}

@keyframes constellationFloatSlow {
  0%   { opacity: 0; transform: translate(0, 0); }
  20%  { opacity: 0.5; }
  50%  { opacity: 0.9; transform: translate(30px, -100px); }
  80%  { opacity: 0.4; }
  100% { opacity: 0; transform: translate(0, 0); }
}

/* Hero Logo */
.edu-hero-logo {
  width: clamp(260px, 32vw, 450px);
  height: auto;
  border-radius: 50%;
  border: 3px solid var(--color-gold);
  box-shadow:
    0 0 30px rgba(212, 175, 55, 0.35),
    0 0 60px rgba(212, 175, 55, 0.15);
  margin-bottom: 36px;
  transition: var(--transition-base);
  animation: logoAuraPulse 4s ease-in-out infinite;
}

.edu-hero-logo:hover {
  box-shadow:
    0 0 50px rgba(212, 175, 55, 0.6),
    0 0 100px rgba(212, 175, 55, 0.25),
    0 0 150px rgba(212, 175, 55, 0.1);
  transform: scale(1.03);
}

@keyframes logoAuraPulse {
  0%, 100% {
    box-shadow:
      0 0 30px rgba(212, 175, 55, 0.35),
      0 0 60px rgba(212, 175, 55, 0.15);
  }
  50% {
    box-shadow:
      0 0 45px rgba(212, 175, 55, 0.5),
      0 0 90px rgba(212, 175, 55, 0.2);
  }
}

/* Hero Text */
.edu-hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--color-gold);
  margin: 0 0 20px 0;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 20px rgba(212, 175, 55, 0.2);
}

.edu-hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 300;
  max-width: 780px;
  margin: 0 auto 44px auto;
  line-height: 1.75;
  color: rgba(244, 234, 225, 0.82);
}

/* Hero CTA Buttons */
.edu-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.edu-btn {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.edu-btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: #0d1b2a;
  border: 1px solid var(--color-gold);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.edu-btn-primary:hover {
  background: linear-gradient(135deg, var(--color-gold-light), #f0d878);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
  transform: translateY(-3px);
}

.edu-btn-ghost {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.5);
}

.edu-btn-ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
  transform: translateY(-3px);
}

/* ============================================================
   2. STICKY PRICE ANCHORING BAR
   ============================================================ */
.edu-anchoring-bar {
  position: sticky;
  top: 60px;
  z-index: 90;
  background: rgba(92, 6, 36, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 170, 0, 0.3);
  padding: 14px 24px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.anchor-crossed {
  text-decoration: line-through;
  opacity: 0.55;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.anchor-price {
  color: var(--color-neon-blue);
  font-size: 1.15rem;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.anchor-urgency {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--color-neon-amber);
}

.anchor-urgency-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-neon-amber);
  animation: pulseGlow 1.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 4px var(--color-neon-amber); opacity: 1; }
  50%      { box-shadow: 0 0 14px var(--color-neon-amber); opacity: 0.6; }
}

/* ============================================================
   3. ENDOWMENT EFFECT — CERTIFICATE SECTION
   ============================================================ */
.edu-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.edu-cert-input-panel {
  padding: 38px;
}

.edu-cert-input-panel h3 {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 14px;
}

.edu-cert-input-panel p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(244, 234, 225, 0.68);
}

.edu-input-group {
  margin-bottom: 22px;
}

.edu-input-group label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.edu-name-field {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(244, 234, 225, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  outline: none;
  box-sizing: border-box;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  transition: var(--transition-base);
}

.edu-name-field:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.edu-name-field::placeholder {
  color: rgba(244, 234, 225, 0.3);
  font-style: italic;
}

/* Certificate Mockup */
.edu-cert-mockup-wrapper {
  position: relative;
  perspective: 1200px;
}

.edu-cert-mockup {
  position: relative;
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  min-height: 420px;
  overflow: hidden;
}

/* Gold Foil Border Effect */
.edu-cert-mockup::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 2px solid transparent;
  border-image: linear-gradient(
    135deg,
    var(--color-gold) 0%,
    #f0d878 25%,
    var(--color-gold) 50%,
    #b8941f 75%,
    var(--color-gold) 100%
  ) 1;
  border-radius: var(--radius-md);
  pointer-events: none;
}

/* Animated Watermark Pattern */
.edu-cert-mockup::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(212, 175, 55, 0.03) 30px,
    rgba(212, 175, 55, 0.03) 31px
  );
  animation: watermarkShift 20s linear infinite;
  pointer-events: none;
}

@keyframes watermarkShift {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.edu-cert-header {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.edu-cert-header img {
  width: 60px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  margin-bottom: 10px;
}

.edu-cert-header h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  font-weight: 600;
}

.edu-cert-body {
  text-align: center;
  position: relative;
  z-index: 2;
}

.edu-cert-body .cert-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(244, 234, 225, 0.5);
  margin-bottom: 4px;
}

.edu-cert-body .cert-name-display {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-gold);
  min-height: 42px;
  margin-bottom: 20px;
  transition: var(--transition-base);
}

.edu-cert-body .cert-detail {
  font-size: 0.78rem;
  color: rgba(244, 234, 225, 0.55);
  margin-bottom: 6px;
}

.edu-cert-body .cert-hash {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.68rem;
  color: var(--color-neon-blue);
  word-break: break-all;
  margin-top: 14px;
  opacity: 0.8;
}

/* Mock QR Code */
.edu-cert-qr {
  width: 64px;
  height: 64px;
  margin: 16px auto 8px auto;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 1px;
  opacity: 0.7;
}

.edu-cert-qr .qr-cell {
  background: var(--color-cream);
  border-radius: 1px;
}

.edu-cert-qr .qr-cell.dark {
  background: var(--color-oxford);
}

.edu-cert-verify-url {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.62rem;
  color: rgba(244, 234, 225, 0.4);
  text-align: center;
}

/* Blur Lock Overlay */
.edu-cert-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  border-radius: var(--radius-md);
  transition: opacity 0.8s ease, backdrop-filter 0.8s ease;
}

.edu-cert-lock-overlay.unlocking {
  animation: unlockCert 1.2s ease-out forwards;
}

@keyframes unlockCert {
  0% {
    opacity: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  40% {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background: rgba(212, 175, 55, 0.15);
  }
  70% {
    opacity: 0.4;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
  }
  100% {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    pointer-events: none;
  }
}

.edu-cert-lock-icon {
  font-size: 2.5rem;
  color: rgba(244, 234, 225, 0.5);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Gold Shimmer after Unlock */
@keyframes goldShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.cert-name-display.shimmer {
  background: linear-gradient(
    90deg,
    var(--color-gold) 0%,
    #f0d878 40%,
    var(--color-gold) 60%,
    #f0d878 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 2.5s linear infinite;
}

/* ============================================================
   4. SEAT AVAILABILITY DASHBOARD
   ============================================================ */
.edu-seat-section {
  background: linear-gradient(180deg, var(--color-oxford) 0%, var(--color-oxford-deep) 100%);
}

.edu-seat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.edu-seat-card {
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.edu-seat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep), 0 0 30px rgba(0, 240, 255, 0.08);
}

.edu-seat-card.critical {
  border-color: rgba(255, 60, 60, 0.4);
  animation: criticalPulse 2s ease-in-out infinite;
}

.edu-seat-card.waitlisted {
  opacity: 0.6;
}

@keyframes criticalPulse {
  0%, 100% { box-shadow: var(--shadow-deep); }
  50%      { box-shadow: var(--shadow-deep), 0 0 25px rgba(255, 60, 60, 0.15); }
}

.edu-seat-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.edu-seat-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Seat Indicators */
.edu-seat-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.edu-seat-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(244, 234, 225, 0.3);
  transition: var(--transition-base);
}

.edu-seat-dot.filled {
  background: var(--color-burgundy);
  border-color: var(--color-burgundy);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
}

.edu-seat-dot.available {
  background: transparent;
  border-color: var(--color-neon-blue);
  box-shadow: 0 0 6px rgba(0, 240, 255, 0.2);
}

/* Copies Badge */
.edu-copies-badge {
  display: inline-block;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.edu-copies-badge.copies-red {
  background: rgba(255, 60, 60, 0.15);
  color: #ff4444;
  border: 1px solid rgba(255, 60, 60, 0.3);
}

.edu-copies-badge.copies-amber {
  background: rgba(255, 170, 0, 0.12);
  color: var(--color-neon-amber);
  border: 1px solid rgba(255, 170, 0, 0.3);
}

.edu-copies-badge.copies-blue {
  background: rgba(0, 240, 255, 0.1);
  color: var(--color-neon-blue);
  border: 1px solid rgba(0, 240, 255, 0.25);
}

/* Countdown Timer */
.edu-countdown {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.82rem;
  color: rgba(244, 234, 225, 0.65);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.edu-countdown.urgent {
  color: var(--color-neon-amber);
  text-shadow: 0 0 8px rgba(255, 170, 0, 0.3);
}

.edu-seat-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  transition: var(--transition-base);
}

.edu-seat-cta.cta-active {
  background: var(--color-gold);
  color: var(--color-oxford);
  border: 1px solid var(--color-gold);
}

.edu-seat-cta.cta-active:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.edu-seat-cta.cta-waitlist {
  background: transparent;
  color: rgba(244, 234, 225, 0.5);
  border: 1px solid rgba(244, 234, 225, 0.2);
  cursor: default;
}

/* ============================================================
   5. LEARNING PIPELINE TIMELINE
   ============================================================ */
.edu-pipeline-section {
  background: linear-gradient(180deg, var(--color-oxford-deep) 0%, var(--color-oxford) 100%);
}

.edu-pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding: 40px 0;
}

/* Connecting Line */
.edu-pipeline::before {
  content: '';
  position: absolute;
  top: 72px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(212, 175, 55, 0.2),
    rgba(0, 240, 255, 0.4),
    rgba(212, 175, 55, 0.6),
    rgba(0, 240, 255, 0.4),
    rgba(212, 175, 55, 0.2)
  );
  background-size: 200% 100%;
  animation: flowingLight 4s linear infinite;
  border-radius: 2px;
}

@keyframes flowingLight {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.edu-pipeline-node {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  cursor: default;
}

.edu-pipeline-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 1.5rem;
  transition: var(--transition-base);
  position: relative;
}

.edu-pipeline-icon:hover {
  border-color: var(--color-neon-blue);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  transform: scale(1.08);
}

.edu-pipeline-node:last-child .edu-pipeline-icon {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-gold);
}

.edu-pipeline-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: 4px;
}

.edu-pipeline-meta {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.65rem;
  color: rgba(244, 234, 225, 0.45);
}

/* Pipeline Tooltip */
.edu-pipeline-tooltip {
  position: absolute;
  bottom: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  width: 200px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(244, 234, 225, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
  box-shadow: var(--shadow-deep);
}

.edu-pipeline-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--glass-border);
}

.edu-pipeline-node:hover .edu-pipeline-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

/* ============================================================
   6. AI VISION SANDBOX
   ============================================================ */
.edu-sandbox-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.edu-sandbox-console {
  padding: 0;
  overflow: hidden;
}

.edu-console-header {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(244, 234, 225, 0.08);
}

.edu-console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.edu-console-dot.red    { background: #ff5f57; }
.edu-console-dot.yellow { background: #ffbd2e; }
.edu-console-dot.green  { background: #28c840; }

.edu-console-title {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.7rem;
  color: rgba(244, 234, 225, 0.5);
  margin-left: 8px;
}

.edu-console-body {
  padding: 22px 20px;
  max-height: 480px;
  overflow-y: auto;
}

/* Chat Bubbles */
.edu-chat-bubble {
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.edu-chat-bubble.patron {
  flex-direction: row-reverse;
}

.edu-chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.edu-chat-avatar.ai {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.edu-chat-avatar.human {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.edu-chat-msg {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.6;
}

.edu-chat-bubble.ai .edu-chat-msg {
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.12);
  color: rgba(244, 234, 225, 0.85);
}

.edu-chat-bubble.patron .edu-chat-msg {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--color-cream);
}

/* Upload Zone */
.edu-upload-zone {
  border: 2px dashed rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  animation: dashPulse 3s ease-in-out infinite;
}

@keyframes dashPulse {
  0%, 100% { border-color: rgba(0, 240, 255, 0.2); }
  50%      { border-color: rgba(0, 240, 255, 0.5); }
}

.edu-upload-zone:hover {
  background: rgba(0, 240, 255, 0.04);
  border-color: var(--color-neon-blue);
}

.edu-upload-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  display: block;
}

.edu-upload-text {
  font-size: 0.82rem;
  color: rgba(244, 234, 225, 0.6);
}

.edu-upload-text strong {
  color: var(--color-neon-blue);
}

/* Laser Scan Animation */
.edu-laser-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent,
    var(--color-neon-blue),
    rgba(0, 240, 255, 0.8),
    var(--color-neon-blue),
    transparent
  );
  box-shadow: 0 0 12px var(--color-neon-blue), 0 0 30px rgba(0, 240, 255, 0.3);
  animation: laserScan 2.8s infinite ease-in-out;
  display: none;
  z-index: 5;
}

@keyframes laserScan {
  0%   { top: 0%; opacity: 0; }
  5%   { opacity: 1; }
  50%  { top: 95%; opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 0%; opacity: 0; }
}

/* Grading Report Card */
.edu-grade-report {
  margin-top: 18px;
  display: none;
}

.edu-grade-report.visible {
  display: block;
  animation: fadeReveal 0.6s ease-out;
}

.edu-grade-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(244, 234, 225, 0.06);
  font-size: 0.78rem;
}

.edu-grade-row .metric-label {
  color: rgba(244, 234, 225, 0.6);
}

.edu-grade-row .metric-value {
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
}

.edu-grade-row .metric-value.pass {
  color: #39ff14;
}

.edu-grade-row .metric-value.high {
  color: var(--color-neon-blue);
}

/* System Feedback — Typewriter */
.edu-system-feedback {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.72rem;
  color: #39ff14;
  margin-top: 12px;
  min-height: 20px;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #39ff14;
  width: 0;
  animation: typewriter 2.5s steps(50) 0.5s forwards, blinkCaret 0.6s step-end infinite;
  display: none;
}

.edu-system-feedback.visible {
  display: block;
}

@keyframes typewriter {
  0%   { width: 0; }
  100% { width: 100%; }
}

@keyframes blinkCaret {
  0%, 100% { border-color: #39ff14; }
  50%      { border-color: transparent; }
}

/* Sandbox Info Panel */
.edu-sandbox-info {
  padding: 32px;
}

.edu-sandbox-info h3 {
  font-size: 1.35rem;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.edu-sandbox-info p {
  font-size: 0.88rem;
  color: rgba(244, 234, 225, 0.65);
  line-height: 1.7;
}

.edu-feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.edu-feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(244, 234, 225, 0.06);
  font-size: 0.85rem;
  color: rgba(244, 234, 225, 0.75);
  display: flex;
  align-items: center;
  gap: 10px;
}

.edu-feature-list li .feat-icon {
  color: var(--color-neon-blue);
  font-size: 1rem;
}

/* ============================================================
   7. QR VERIFICATION ENGINE
   ============================================================ */
.edu-verify-section {
  background: linear-gradient(180deg, var(--color-oxford) 0%, rgba(15, 76, 58, 0.15) 50%, var(--color-oxford) 100%);
}

.edu-verify-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 44px 36px;
  text-align: center;
}

.edu-verify-card h3 {
  font-size: 1.4rem;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.edu-verify-card p {
  font-size: 0.85rem;
  color: rgba(244, 234, 225, 0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* QR Pattern — CSS-generated */
.edu-qr-pattern {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px auto;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: repeat(11, 1fr);
  gap: 1px;
  background: var(--color-cream);
  padding: 6px;
  border-radius: 4px;
}

.edu-qr-pattern .qr-b {
  background: #1a1a2e;
  border-radius: 1px;
}

.edu-qr-pattern .qr-w {
  background: var(--color-cream);
  border-radius: 1px;
}

/* Verification Response */
.edu-verify-response {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: left;
  margin-bottom: 28px;
}

.edu-verify-response .verify-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(244, 234, 225, 0.05);
}

.edu-verify-response .verify-label {
  color: rgba(244, 234, 225, 0.5);
}

.edu-verify-response .verify-value {
  font-weight: 600;
  color: var(--color-cream);
}

.edu-verify-response .verify-status {
  color: #39ff14;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ============================================================
   8. FOOTER
   ============================================================ */
.edu-footer {
  background-color: var(--color-footer);
  color: rgba(244, 234, 225, 0.45);
  padding: 65px 24px 40px 24px;
  text-align: center;
  border-top: 1px solid rgba(92, 6, 36, 0.4);
}

.edu-footer-logo {
  width: 100px;
  height: auto;
  border-radius: 50%;
  border: 3px solid var(--color-gold);
  margin-bottom: 20px;
  box-shadow: var(--shadow-gold);
}

.edu-footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.edu-footer-links a {
  color: rgba(244, 234, 225, 0.55);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.edu-footer-links a:hover {
  color: var(--color-gold);
}

.edu-footer-copy {
  font-size: 0.72rem;
  line-height: 1.7;
  color: rgba(244, 234, 225, 0.3);
}

.edu-footer-copy a {
  color: rgba(244, 234, 225, 0.45);
  text-decoration: underline;
}

/* ============================================================
   GENERAL ANIMATION KEYFRAMES
   ============================================================ */
@keyframes fadeReveal {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  0%   { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes rotateIn {
  0%   { opacity: 0; transform: rotate(-5deg) scale(0.95); }
  100% { opacity: 1; transform: rotate(0) scale(1); }
}

/* Generic Glow Pulse — reusable */
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 3px currentColor); }
  50%      { filter: drop-shadow(0 0 10px currentColor); }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 992px)
   ============================================================ */
@media (max-width: 992px) {
  .edu-section {
    padding: 70px 22px;
  }

  .edu-cert-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .edu-seat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .edu-sandbox-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .edu-pipeline {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    padding: 20px 0;
  }

  .edu-pipeline::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 3px;
    height: 100%;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
      rgba(212, 175, 55, 0.2),
      rgba(0, 240, 255, 0.4),
      rgba(212, 175, 55, 0.6),
      rgba(0, 240, 255, 0.4),
      rgba(212, 175, 55, 0.2)
    );
    background-size: 100% 200%;
    animation: flowingLightVertical 4s linear infinite;
  }

  @keyframes flowingLightVertical {
    0%   { background-position: center 200%; }
    100% { background-position: center -200%; }
  }

  .edu-pipeline-tooltip {
    bottom: auto;
    top: calc(100% + 12px);
  }

  .edu-pipeline-tooltip::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: var(--glass-border);
  }

  .edu-hero {
    padding: 130px 20px 80px 20px;
    min-height: auto;
  }

  .edu-anchoring-bar {
    font-size: 0.82rem;
    gap: 12px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .edu-section {
    padding: 56px 16px;
  }

  .edu-hero {
    padding: 120px 16px 60px 16px;
  }

  .edu-hero-headline {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .edu-hero-sub {
    font-size: 0.92rem;
  }

  .edu-btn {
    font-size: 0.82rem;
    padding: 14px 26px;
    width: 100%;
    justify-content: center;
  }

  .edu-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .edu-seat-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .edu-cert-mockup {
    padding: 28px 20px;
    min-height: 360px;
  }

  .edu-cert-body .cert-name-display {
    font-size: 1.3rem;
  }

  .edu-anchoring-bar {
    flex-direction: column;
    gap: 8px;
    font-size: 0.8rem;
    padding: 12px 16px;
  }

  .edu-console-body {
    padding: 16px 14px;
    max-height: 360px;
  }

  .edu-verify-card {
    padding: 30px 22px;
  }

  .edu-footer-links {
    flex-direction: column;
    gap: 14px;
  }

  .edu-pipeline-node {
    width: 100%;
  }

  .edu-pipeline-icon {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .edu-section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
}

/* ============================================================
   SCROLLBAR — Custom Dark Theme
   ============================================================ */
.edu-body ::-webkit-scrollbar {
  width: 6px;
}

.edu-body ::-webkit-scrollbar-track {
  background: rgba(13, 27, 42, 0.5);
}

.edu-body ::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 3px;
}

.edu-body ::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.5);
}

/* ============================================================
   SELECTION STYLE
   ============================================================ */
.edu-body ::selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--color-cream);
}

/* ============================================================
   PRINT STYLES (hide interactive elements)
   ============================================================ */
@media print {
  .constellation-container,
  .edu-anchoring-bar,
  .edu-laser-scan,
  .edu-cert-lock-overlay {
    display: none !important;
  }

  .edu-body {
    background: #fff;
    color: #000;
  }
}
