/* =========================================================
   IAIC Theme – Main Stylesheet
   ========================================================= */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --orange:       #FF8000;
  --yellow:       #FFCC00;
  --orange-glow:  rgba(255,128,0,0.35);
  --yellow-glow:  rgba(255,204,0,0.2);
  --bg-deep:      #000000;
  --bg-card:      #0D0D0D;
  --bg-section:   #0A0A0A;
  --bg-alt:       #111111;
  --text-white:   #FFFFFF;
  --text-light:   #C8C8C8;
  --text-muted:   #888888;
  --border:       rgba(255,128,0,0.15);
  --border-bright:rgba(255,128,0,0.5);
  --radius:       8px;
  --transition:   0.25s ease;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }
ul { list-style: none; }

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.site-header.scrolled { background: rgba(0,0,0,0.96); }
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-wrap { display: flex; align-items: center; text-decoration: none; }
.logo-wrap img { height: 48px; width: auto; filter: drop-shadow(0 0 8px var(--orange-glow)); }
.logo-fallback { display: flex; align-items: center; gap: 10px; }
.logo-fallback-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', monospace;
  font-weight: 900; color: #000; font-size: 0.85rem;
}
.logo-fallback-text {
  font-family: 'Orbitron', monospace;
  font-weight: 700; font-size: 1.1rem; color: var(--text-white);
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; right: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transition: transform var(--transition);
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--orange); }

/* Portal button */
.btn-portal {
  background: linear-gradient(135deg, var(--orange), #e06000);
  color: #000; font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; padding: 9px 22px;
  border-radius: 4px; border: none; cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 0 16px rgba(255,128,0,0.4);
}
.btn-portal:hover { box-shadow: 0 0 30px rgba(255,128,0,0.7); transform: translateY(-1px); }
.nav-portal-mobile { display: none; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--orange); display: block; transition: 0.3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Shared Section Styles ────────────────────────────────── */
.section-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 5rem 5%;
}
.section-header { margin-bottom: 3rem; }
.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700; color: var(--text-white);
  margin-bottom: 1rem; line-height: 1.15;
}
.section-title span {
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-subtitle {
  font-size: 1rem; color: var(--text-muted);
  max-width: 580px; line-height: 1.75;
}
.glow-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  border-radius: 2px; margin: 1rem 0 1.5rem;
  box-shadow: 0 0 12px rgba(255,128,0,0.5);
}

/* ── Shared Buttons ───────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), #e06000);
  color: #000; font-family: 'Orbitron', monospace;
  font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; padding: 14px 32px;
  border-radius: 4px; border: none; cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 0 20px rgba(255,128,0,0.45);
}
.btn-primary:hover { box-shadow: 0 0 40px rgba(255,128,0,0.75), 0 0 80px rgba(255,128,0,0.3); transform: translateY(-2px); }

.btn-secondary {
  display: inline-block;
  color: var(--orange); font-family: 'Rajdhani', sans-serif;
  font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; padding: 14px 28px;
  border-radius: 4px; border: 1px solid var(--border-bright);
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-secondary:hover { background: rgba(255,128,0,0.08); box-shadow: 0 0 20px rgba(255,128,0,0.2); }

/* ── Circuit Background ───────────────────────────────────── */
.circuit-bg {
  position: absolute; inset: 0; overflow: hidden;
  pointer-events: none; z-index: 0;
}
.circuit-bg svg { position: absolute; width: 100%; height: 100%; opacity: 0.18; }

/* ── Hero Section ─────────────────────────────────────────── */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 0 5%; padding-top: 72px;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(255,128,0,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(255,204,0,0.05) 0%, transparent 60%),
    #000;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.4rem;
}
.hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 32px; height: 2px;
  background: var(--orange); box-shadow: 0 0 8px var(--orange);
}
.hero-headline {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.1; color: var(--text-white);
  margin-bottom: 1.2rem; text-shadow: 0 0 40px rgba(255,128,0,0.2);
}
.hero-headline span {
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subheadline {
  font-size: 1.1rem; color: var(--text-light);
  margin-bottom: 2.5rem; max-width: 560px; line-height: 1.75;
}
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; align-items: center; }
.hero-stat-num {
  font-family: 'Orbitron', monospace;
  font-size: 1.7rem; font-weight: 900; color: var(--orange); line-height: 1;
}
.hero-stat-label { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.08em; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero visual */
.hero-visual {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 55%; z-index: 1;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-orb {
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,128,0,0.12) 0%, rgba(255,204,0,0.06) 40%, transparent 70%);
  position: relative; display: flex; align-items: center; justify-content: center;
  animation: orbPulse 4s ease-in-out infinite;
}
@keyframes orbPulse { 0%,100%{ transform:scale(1); opacity:0.85; } 50%{ transform:scale(1.05); opacity:1; } }
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,128,0,0.2);
  animation: ringRotate 20s linear infinite;
}
.hero-ring:nth-child(1) { width:380px; height:380px; animation-duration:18s; }
.hero-ring:nth-child(2) { width:460px; height:460px; border-color:rgba(255,204,0,0.12); animation-direction:reverse; animation-duration:26s; }
.hero-ring:nth-child(3) { width:540px; height:540px; animation-duration:34s; }
@keyframes ringRotate { from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } }
.hero-brain-icon {
  font-size: 7rem; position: relative; z-index: 2;
  filter: drop-shadow(0 0 30px rgba(255,128,0,0.6)) drop-shadow(0 0 60px rgba(255,204,0,0.3));
  animation: iconPulse 3s ease-in-out infinite;
}
@keyframes iconPulse {
  0%,100%{ filter:drop-shadow(0 0 20px rgba(255,128,0,0.5)) drop-shadow(0 0 40px rgba(255,204,0,0.2)); }
  50%{ filter:drop-shadow(0 0 40px rgba(255,128,0,0.8)) drop-shadow(0 0 80px rgba(255,204,0,0.4)); }
}

/* ── Why Section ──────────────────────────────────────────── */
.why-section {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  position: relative;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.2rem;
  position: relative; overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.why-card:hover { border-color: var(--border-bright); box-shadow: 0 0 30px rgba(255,128,0,0.1); }
.why-card:hover::before { opacity: 1; }
.why-icon {
  width: 56px; height: 56px; border-radius: 8px;
  background: rgba(255,128,0,0.1); border: 1px solid rgba(255,128,0,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.4rem;
}
.why-card h3 {
  font-family: 'Orbitron', monospace;
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-white); margin-bottom: 0.7rem; letter-spacing: 0.02em;
}
.why-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }
.why-card p strong { color: var(--orange); font-weight: 500; }

/* ── Courses Section ──────────────────────────────────────── */
.courses-section { background: var(--bg-deep); }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.course-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 2rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.35s, transform 0.3s;
}
.course-card:hover {
  border-color: rgba(255,128,0,0.6); transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(255,128,0,0.18), 0 0 80px rgba(255,128,0,0.08);
}
.course-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 4px 10px;
  border-radius: 3px; margin-bottom: 1.2rem; width: fit-content;
}
.badge-beginner     { background:rgba(0,200,100,0.12);  color:#00c864;  border:1px solid rgba(0,200,100,0.3); }
.badge-intermediate { background:rgba(255,128,0,0.12);  color:var(--orange); border:1px solid rgba(255,128,0,0.3); }
.badge-advanced     { background:rgba(200,0,255,0.10);  color:#cc44ff;  border:1px solid rgba(200,0,255,0.25); }
.course-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.course-card h3 {
  font-family: 'Orbitron', monospace; font-size: 1rem;
  font-weight: 700; color: var(--text-white);
  margin-bottom: 0.6rem; letter-spacing: 0.02em;
}
.course-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 1.5rem; }
.course-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; font-size: 0.78rem; color: var(--text-muted); flex-wrap: wrap; }
.btn-view {
  display: block; text-align: center;
  background: transparent; color: var(--orange);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; padding: 10px 0;
  border: 1px solid rgba(255,128,0,0.4); border-radius: 4px;
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-view:hover { background: rgba(255,128,0,0.1); box-shadow: 0 0 16px rgba(255,128,0,0.3); }

/* ── Testimonials Section ─────────────────────────────────── */
.testimonials-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; position: relative;
}
.testi-circuit { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testi-card {
  background: rgba(255,128,0,0.03); border: 1px solid rgba(255,128,0,0.2);
  border-radius: 10px; padding: 2rem; position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.testi-card:hover {
  border-color: rgba(255,128,0,0.55);
  box-shadow: 0 0 30px rgba(255,128,0,0.12), inset 0 0 30px rgba(255,128,0,0.03);
}
.testi-stars { color: var(--yellow); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 0.8rem; }
.testi-quote { font-size: 2.5rem; color: var(--orange); line-height: 0.8; margin-bottom: 1rem; font-family: Georgia, serif; opacity: 0.7; }
.testi-text { font-size: 0.92rem; color: var(--text-light); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #000; font-size: 0.85rem;
  font-family: 'Orbitron', monospace; flex-shrink: 0;
  box-shadow: 0 0 14px rgba(255,128,0,0.4);
}
.testi-name { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--text-white); }
.testi-role { font-size: 0.78rem; color: var(--text-muted); }

/* ── Register Section ─────────────────────────────────────── */
.register-section { background: var(--bg-deep); }
.register-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.register-badge {
  display: inline-block;
  background: rgba(255,204,0,0.1); border: 1px solid rgba(255,204,0,0.3);
  color: var(--yellow); font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 3px; margin-bottom: 1.4rem; display: inline-block;
}
.register-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.register-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text-light);
}
.register-features li::before { content: '▸'; color: var(--orange); font-size: 0.8rem; flex-shrink: 0; }

/* Form */
.register-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 2.5rem; position: relative;
}
.register-form::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--orange), var(--yellow));
  border-radius: 12px 12px 0 0;
}
.register-form h3 {
  font-family: 'Orbitron', monospace; font-size: 1rem;
  font-weight: 700; color: var(--text-white); margin-bottom: 0.4rem;
}
.register-form > p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.8rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}
.form-group input,
.form-group select {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,128,0,0.2); border-radius: 5px;
  padding: 11px 14px; color: var(--text-white);
  font-size: 0.9rem; font-family: 'Inter', sans-serif;
  outline: none; transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder { color: #555; }
.form-group input:focus,
.form-group select:focus { border-color: var(--orange); box-shadow: 0 0 12px rgba(255,128,0,0.2); }
.form-group select {
  cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FF8000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-group select option { background: #111; color: #fff; }
.btn-register {
  width: 100%;
  background: linear-gradient(135deg, var(--orange), #e06000); color: #000;
  font-family: 'Orbitron', monospace; font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px; border: none; border-radius: 5px; cursor: pointer;
  margin-top: 0.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 0 20px rgba(255,128,0,0.35);
}
.btn-register:hover { box-shadow: 0 0 40px rgba(255,128,0,0.65); transform: translateY(-1px); }
.btn-register:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-success {
  background: rgba(0,200,100,0.08); border: 1px solid rgba(0,200,100,0.3);
  border-radius: 6px; padding: 1rem; text-align: center;
  color: #00c864; font-size: 0.9rem; margin-top: 1rem;
}
.form-error {
  background: rgba(255,60,60,0.08); border: 1px solid rgba(255,60,60,0.3);
  border-radius: 6px; padding: 1rem; text-align: center;
  color: #ff5555; font-size: 0.9rem; margin-top: 1rem;
}
.form-note { font-size: 0.73rem; color: var(--text-muted); text-align: center; margin-top: 1rem; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: #050505; border-top: 1px solid var(--border); padding: 3.5rem 5% 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .footer-logo-wrap img { height: 40px; filter: drop-shadow(0 0 6px rgba(255,128,0,0.3)); margin-bottom: 1rem; }
.logo-fallback--small .logo-fallback-icon { width:32px; height:32px; font-size:0.7rem; border-radius:6px; }
.logo-fallback--small .logo-fallback-text { font-size:0.95rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.4rem; max-width: 260px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 6px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none; font-size: 0.85rem;
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.social-link:hover { border-color: var(--orange); color: var(--orange); box-shadow: 0 0 10px rgba(255,128,0,0.25); }
.footer-col h4 {
  font-family: 'Rajdhani', sans-serif; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a, .footer-col a { text-decoration: none; font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul li a:hover, .footer-col a:hover { color: var(--orange); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 0.7rem; font-size: 0.83rem; color: var(--text-muted); }
.footer-contact-item span:first-child { color: var(--orange); flex-shrink: 0; }
.footer-contact-item a { color: var(--text-muted); text-decoration: none; transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom span { color: var(--orange); }
.footer-bottom a { color: var(--text-muted); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--orange); }

/* ── Scroll To Top ────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 998; color: #000; font-size: 1rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 16px rgba(255,128,0,0.5);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { box-shadow: 0 0 28px rgba(255,128,0,0.8); }

/* ── WordPress Core Classes ───────────────────────────────── */
.alignleft   { float: left; margin: 0 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption  { max-width: 100%; }
.screen-reader-text {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(0,0,0,0.98);
    padding: 1.5rem 5% 2rem; border-bottom: 1px solid var(--border);
    gap: 1.2rem; z-index: 998;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .btn-portal:not(.nav-portal-mobile) { display: none; }
  .nav-portal-mobile { display: inline-block; margin-top: 0.5rem; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .register-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .hero-stats { gap: 1.2rem; }
  .stat-divider { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .section-inner { padding: 3.5rem 5%; }
  .hero-section { padding-top: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-orb, .hero-ring, .hero-brain-icon { animation: none; }
}
