/* ============================================================
   OptoQuantum – Professional Stylesheet
   ============================================================ */

:root {
  /* Core palette – reduced to 3 professional accents */
  --blue:       #1d4ed8;
  --blue-light: #3b82f6;
  --blue-dim:   rgba(29,78,216,0.08);
  --violet:     #6d28d9;
  --violet-dim: rgba(109,40,217,0.08);
  --sky:        #0284c7;
  --amber:      #b45309;

  /* Backgrounds */
  --bg-dark:    #0c1220;   /* hero / footer only */
  --bg-white:   #ffffff;
  --bg-alt:     #f8fafc;
  --bg-card:    #ffffff;

  /* Text */
  --text:       #1e293b;
  --text-mid:   #475569;
  --text-dim:   #94a3b8;
  --text-light: #e2e8f0;

  /* Borders & shadows */
  --border:       #e2e8f0;
  --border-dark:  rgba(255,255,255,0.08);
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg:    0 12px 30px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl:    0 24px 48px rgba(0,0,0,0.12);

  --radius:     14px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Exo 2', 'Segoe UI', sans-serif;
  background: var(--bg-dark);   /* dark only shows behind hero */
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Custom Cursor ── */
#cursor-outer {
  position: fixed;
  width: 36px; height: 36px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.14s ease, border-color 0.25s, background 0.25s;
}
#cursor-inner {
  position: fixed;
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(29,78,216,0.5);
}
#cursor-outer.hovered  { transform: translate(-50%,-50%) scale(1.6); border-color: var(--violet); background: rgba(109,40,217,0.06); }
#cursor-inner.hovered  { background: var(--violet); }
#cursor-outer.clicked  { transform: translate(-50%,-50%) scale(0.75); }

/* Trail dots */
.trail-dot {
  position: fixed;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-light);
  pointer-events: none;
  z-index: 99990;
  transform: translate(-50%, -50%);
  opacity: 0;
}

/* ── Starfield Canvas (hero background only) ── */
#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 68px;
  background: rgba(12, 18, 32, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.navbar.scrolled .nav-links a       { color: var(--text-mid); }
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active { color: var(--blue); background: var(--blue-dim); }
.navbar.scrolled .nav-logo span     { background: linear-gradient(90deg, var(--blue), var(--violet)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.navbar.scrolled .nav-logo          { color: var(--text); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(29,78,216,0.35);
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-3px)} }
.nav-logo span { background: linear-gradient(90deg, #60a5fa, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; gap: 0.2rem; list-style: none; }
.nav-links a {
  display: block;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--blue-light);
  border-radius: 2px;
  transition: left var(--transition), right var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.nav-links a:hover::after, .nav-links a.active::after { left: 12px; right: 12px; }

.nav-cta {
  padding: 0.5rem 1.3rem;
  background: var(--blue);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(29,78,216,0.35);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition) !important;
}
.navbar.scrolled .nav-cta { background: var(--blue); }
.nav-cta:hover { background: var(--violet) !important; box-shadow: 0 4px 18px rgba(109,40,217,0.4); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .nav-burger span { background: var(--text); }

/* ── Hero (stays dark) ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 8rem 2rem 6rem;
  z-index: 1;
  background: transparent;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  border: 1px solid rgba(96,165,250,0.4);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(29,78,216,0.15);
  margin-bottom: 1.6rem;
  animation: fadeSlideDown 0.8s ease both;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #60a5fa; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.5)} }

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.4rem;
  animation: fadeSlideDown 0.9s 0.08s ease both;
}
.hero h1 .gradient-text {
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #818cf8);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease-in-out infinite;
}
@keyframes gradientShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

.hero p {
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  color: #94a3b8;
  max-width: 560px;
  margin: 0 auto 2.2rem;
  line-height: 1.78;
  animation: fadeSlideDown 1s 0.16s ease both;
}
.hero-buttons {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideDown 1.1s 0.24s ease both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition);
  cursor: none;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(29,78,216,0.35);
}
.btn-primary:hover { background: var(--violet); box-shadow: 0 6px 20px rgba(109,40,217,0.4); transform: translateY(-2px); color: #fff; }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #cbd5e1;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* Light btn (for white sections) */
.btn-primary-light  { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(29,78,216,0.25); }
.btn-primary-light:hover { background: var(--violet); transform: translateY(-2px); color: #fff; box-shadow: 0 6px 20px rgba(109,40,217,0.3); }
.btn-outline-light  { border: 1.5px solid var(--border); color: var(--text-mid); background: #fff; }
.btn-outline-light:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-dim); transform: translateY(-2px); }

/* Orbs (hero decoration only) */
.quantum-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.10;
  pointer-events: none;
}
.orb-1 { width: 500px; height: 500px; background: #3b82f6; top: -180px; left: -120px; animation: orbDrift 14s ease-in-out infinite; }
.orb-2 { width: 420px; height: 420px; background: #7c3aed; bottom: -160px; right: -100px; animation: orbDrift 11s 2s ease-in-out infinite reverse; }
.orb-3 { width: 260px; height: 260px; background: #0ea5e9; top: 45%; left: 52%; animation: orbDrift 9s 1s ease-in-out infinite; }
@keyframes orbDrift { 0%,100%{transform:translate(0,0)} 50%{transform:translate(25px,20px)} }

/* Wave divider */
.wave-divider { display: block; width: 100%; overflow: hidden; line-height: 0; position: relative; z-index: 2; }
.wave-divider svg { display: block; }

/* ── Content Sections (light background) ── */
section {
  position: relative;
  z-index: 2;
  padding: 5.5rem 2rem;
  background: var(--bg-white);
}
section.alt-bg { background: var(--bg-alt); }
.section-inner { max-width: 1160px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.9rem;
  border-radius: 30px;
  border: 1px solid rgba(29,78,216,0.25);
  color: var(--blue);
  background: var(--blue-dim);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.7rem;
  line-height: 1.18;
  color: var(--text);
}
.section-title .gradient-text {
  background: linear-gradient(90deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  color: var(--text-mid);
  font-size: 1.02rem;
  max-width: 520px;
  line-height: 1.72;
  margin-bottom: 3rem;
}

/* ── Cards ── */
.card-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card-grid-2 { grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #bfdbfe; }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.55rem; color: var(--text); }
.card p  { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* Tags */
.tag {
  display: inline-block;
  padding: 0.22rem 0.7rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--blue-dim);
  border: 1px solid rgba(29,78,216,0.2);
  color: var(--blue);
  margin: 0.18rem 0.18rem 0 0;
}
.tag.purple { background: var(--violet-dim); border-color: rgba(109,40,217,0.2); color: var(--violet); }
.tag.magenta { background: rgba(79,70,229,0.08); border-color: rgba(79,70,229,0.2); color: #4f46e5; }
.tag.gold { background: rgba(180,83,9,0.08); border-color: rgba(180,83,9,0.2); color: var(--amber); }

/* News Card */
.news-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.news-card:hover { transform: translateX(5px); box-shadow: var(--shadow-md); border-color: #bfdbfe; }
.news-card .news-date {
  min-width: 56px;
  text-align: center;
  background: var(--blue-dim);
  border: 1px solid rgba(29,78,216,0.2);
  border-radius: 10px;
  padding: 0.5rem 0.3rem;
  flex-shrink: 0;
}
.news-card .news-date .day { font-size: 1.35rem; font-weight: 900; color: var(--blue); line-height: 1; }
.news-card .news-date .mon { font-size: 0.65rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; }
.news-card .news-body h4 { font-size: 0.97rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; }
.news-card .news-body p  { font-size: 0.86rem; color: var(--text-mid); line-height: 1.65; }
.news-glow { display: none; }

/* Timeline */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--violet));
  opacity: 0.4;
}
.timeline-item {
  position: relative;
  margin-bottom: 2.2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.3rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px rgba(29,78,216,0.25);
}
.timeline-item .year { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; color: var(--blue); text-transform: uppercase; margin-bottom: 0.25rem; }
.timeline-item h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.timeline-item p  { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; }

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.1rem;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 4rem;
  border: 1px solid var(--border);
}
.stat-item {
  background: #fff;
  padding: 1.8rem 1rem;
  text-align: center;
}
.stat-item .stat-val {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-item .stat-lbl { font-size: 0.78rem; color: var(--text-dim); margin-top: 0.25rem; font-weight: 600; }

/* Accordion */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
  margin-bottom: 0.65rem;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.accordion-item.open, .accordion-item:hover { border-color: #bfdbfe; box-shadow: var(--shadow-sm); }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 700;
  font-family: inherit;
  cursor: none;
  text-align: left;
  gap: 1rem;
}
.accordion-btn .acc-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.accordion-item.open .acc-icon { transform: rotate(45deg); background: var(--blue); color: #fff; border-color: var(--blue); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-item.open .accordion-body { max-height: 800px; }
.accordion-body-inner { padding: 0 1.4rem 1.3rem; color: var(--text-mid); font-size: 0.91rem; line-height: 1.75; }

/* Floating particles (subtle) */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0%   { transform: translateY(100%) scale(0); opacity: 0; }
  10%  { opacity: 0.3; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-10%) scale(1); opacity: 0; }
}

/* Page Hero (sub pages) */
.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: transparent;
}
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.5rem); font-weight: 900; margin-bottom: 0.9rem; color: #fff; }
.page-hero p { color: #94a3b8; font-size: 1.05rem; max-width: 540px; margin: 0 auto; line-height: 1.72; }
.page-hero .hero-badge { border-color: rgba(96,165,250,0.35); color: #93c5fd; background: rgba(29,78,216,0.15); }

/* Feature row */
.feature-row {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}
.feature-row.reverse { flex-direction: row-reverse; }
.feature-row .feature-visual {
  flex: 1;
  min-width: 280px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 7rem;
}
.feature-row .feature-text { flex: 1; }
.feature-row .feature-text h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.75rem; color: var(--text); }
.feature-row .feature-text p { color: var(--text-mid); line-height: 1.75; margin-bottom: 1.1rem; }

/* Progress bars */
.progress-item { margin-bottom: 1.2rem; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.83rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--text); }
.progress-bar { height: 7px; background: var(--bg-alt); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Quote block */
.quote-block {
  border-left: 3px solid var(--blue);
  padding: 0.9rem 1.3rem;
  background: var(--blue-dim);
  border-radius: 0 10px 10px 0;
  margin: 1.2rem 0;
  font-style: italic;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.7;
}

/* Grid background */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Glitch (subtle) */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.glitch::before { clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%); animation: glitch1 4s infinite 0.5s; }
.glitch::after  { clip-path: polygon(0 60%, 100% 60%, 100% 75%, 0 75%); animation: glitch2 4s infinite 1s; }
@keyframes glitch1 { 0%,88%,100%{transform:translate(0)} 90%{transform:translate(-2px,1px)} 94%{transform:translate(2px,-1px)} 97%{transform:translate(0)} }
@keyframes glitch2 { 0%,85%,100%{transform:translate(0)} 87%{transform:translate(2px,-1px)} 91%{transform:translate(-1px,1px)} 95%{transform:translate(0)} }

/* Ripple */
.ripple-effect {
  position: fixed;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.55s linear;
  background: rgba(29,78,216,0.12);
  pointer-events: none;
  z-index: 99998;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Holo line */
.holo-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--violet), transparent);
  margin: 0; border: none; opacity: 0.3;
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Animations */
@keyframes fadeSlideDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(32px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInLeft { from{opacity:0;transform:translateX(-28px)} to{opacity:1;transform:translateX(0)} }

/* Footer */
footer {
  position: relative;
  z-index: 2;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 3.5rem 2rem 1.8rem;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
}
.footer-brand p { color: #64748b; font-size: 0.88rem; line-height: 1.7; margin-top: 0.9rem; max-width: 280px; }
.footer-col h5 { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #60a5fa; margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: #64748b; font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: #93c5fd; }
.footer-bottom {
  max-width: 1160px;
  margin: 2rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #475569;
}
.social-links { display: flex; gap: 0.6rem; }
.social-link {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  color: #64748b;
  font-size: 0.88rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* Responsive */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .feature-row, .feature-row.reverse { flex-direction: column; }
}
@media (max-width: 640px) {
  .navbar { padding: 0 1.2rem; }
  .nav-links { display: none; position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; background: rgba(255,255,255,0.98); padding: 1.2rem; gap: 0.4rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav-links a { color: var(--text-mid) !important; }
  .nav-links a:hover, .nav-links a.active { color: var(--blue) !important; background: var(--blue-dim) !important; }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
}
