/* ═══════════════════════════════════════════════════
   SHIKSHA NERD — Design System v2
   Aesthetic: Dreamy Luxury / Floating Editorial
   Fonts: Bricolage Grotesque + Lora
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');

:root {
  --bg: #F6F3EE;
  --bg2: #FDFCFA;
  --bg3: #EDE8DF;
  --bg4: #E3DCD1;
  --blue: #1B4D8E;
  --blue-light: #2A6AC0;
  --blue-soft: #4A8AD8;
  --blue-glow: rgba(27,77,142,0.08);
  --gold: #C9A84C;
  --gold-soft: #DFC46E;
  --gold-deep: #A68A2E;
  --gold-glow: rgba(201,168,76,0.1);
  --ink: #111014;
  --ink2: #29262E;
  --ink3: #55515C;
  --ink4: #8A8690;
  --ink5: #B5B1BA;
  --white: #FFFEF8;
  --red: #D64545;
  --green: #25D366;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-full: 100px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.06);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.08);
  --shadow-float: 0 20px 60px rgba(27,77,142,0.10);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--blue); color: var(--white); }

/* ═══ Grain ═══ */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════ NAVIGATION ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
}

.nav.stuck {
  background: rgba(246,243,238,0.85);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  padding: 0.6rem 3rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.nav-logo { display: flex; align-items: center; gap: 0; }
.nav-logo img {
  height: 52px; width: auto;
  transition: height 0.4s ease;
}

.nav.stuck .nav-logo img { height: 42px; }

.nav-menu { display: flex; gap: 2.2rem; align-items: center; }

.nav-menu a {
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink3);
  position: relative; transition: color 0.3s;
}

.nav-menu a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.35s ease;
}

.nav-menu a:hover { color: var(--ink); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a.active { color: var(--blue); }
.nav-menu a.active::after { width: 100%; background: var(--blue); }

.nav-cta {
  padding: 0.6rem 1.6rem !important;
  background: var(--blue) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.78rem !important;
  transition: all 0.3s ease !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--blue-light) !important; transform: translateY(-1px); box-shadow: var(--shadow-float); }

.nav-game {
  padding: 0.4rem 1rem !important;
  background: rgba(155,126,212,0.12) !important;
  color: #B48AEC !important;
  border: 1px solid rgba(155,126,212,0.25) !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  transition: all 0.25s ease !important;
}
.nav-game::after { display: none !important; }
.nav-game:hover { background: rgba(155,126,212,0.22) !important; border-color: rgba(155,126,212,0.5) !important; transform: translateY(-1px) !important; }

/* Hamburger */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; z-index: 101;
}

.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--ink); border-radius: 2px;
  position: absolute; left: 0;
  transition: all 0.35s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.mobile-overlay {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.6rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-overlay.open { opacity: 1; pointer-events: all; }

.mobile-overlay a {
  font-family: var(--serif);
  font-size: 1.8rem; font-weight: 500;
  color: var(--ink); transition: color 0.3s;
}

.mobile-overlay a:hover { color: var(--blue); }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full); border: none;
  font-family: var(--sans);
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
}

.btn svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-light); transform: translateY(-3px); box-shadow: var(--shadow-float); }

.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--white); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(201,168,76,0.25); }

.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink5); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ═══════════ TYPOGRAPHY ═══════════ */
.eyebrow {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.8rem;
}

.heading {
  font-family: var(--serif);
  font-weight: 500; line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.heading-xl { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1.02; letter-spacing: -0.035em; }
.heading-lg { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.heading-md { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }

.heading em { font-style: italic; color: var(--blue); }

.text-muted { color: var(--ink3); }
.text-faint { color: var(--ink4); }

/* ═══════════ PAGE HERO (inner pages) ═══════════ */
.page-hero {
  padding: 10rem 3rem 4rem;
  text-align: center;
  position: relative; overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero .heading { max-width: 700px; margin: 0 auto 1rem; }
.page-hero .desc { max-width: 520px; margin: 0 auto; color: var(--ink3); line-height: 1.7; }

.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; margin-bottom: 1.5rem;
  font-size: 0.78rem; color: var(--ink4);
}

.breadcrumb a:hover { color: var(--blue); }
.breadcrumb svg { opacity: 0.35; }

/* ═══════════ CARDS (floating effect) ═══════════ */
.card {
  background: var(--bg2);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius);
  transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* ═══════════ TOOLS SECTION ═══════════ */
.tools-section {
  padding: 6rem 3rem;
  background: var(--bg2);
  border-top: 1px solid var(--bg4);
}
.tools-inner {
  max-width: 1100px; margin: 0 auto;
}
.tools-head {
  text-align: center; margin-bottom: 3.5rem;
}
.tools-head .eyebrow { display: block; }
.tools-head p {
  font-size: 0.95rem; color: var(--ink3);
  max-width: 460px; margin: 0.6rem auto 0; line-height: 1.7;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

/* Each tool card is an anchor — no JS needed */
.tool-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  border: 1.5px solid var(--bg4);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.28s cubic-bezier(0.22,1,0.36,1),
              border-color 0.2s ease;
  display: flex; flex-direction: column;
}
.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border-color: transparent;
}
.tc-accent {
  height: 6px; width: 100%; flex-shrink: 0;
}
.tc-body {
  padding: 1.8rem 1.8rem 1.6rem;
  display: flex; flex-direction: column; flex: 1;
}
.tc-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; flex-shrink: 0;
}
.tc-label {
  font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink4); margin-bottom: 0.5rem;
}
.tc-title {
  font-size: 1.08rem; font-weight: 700;
  color: var(--ink); line-height: 1.3;
  margin-bottom: 0.65rem;
}
.tc-desc {
  font-size: 0.86rem; color: var(--ink3);
  line-height: 1.72; flex: 1; margin-bottom: 1.5rem;
}
.tc-cta {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.74rem; font-weight: 700;
  color: var(--blue); letter-spacing: 0.03em;
  transition: gap 0.18s ease;
}
.tool-card:hover .tc-cta { gap: 0.55rem; }

/* Coming-soon state */
.tool-card.tc-soon { opacity: 0.55; pointer-events: none; cursor: default; }
.tc-soon-badge {
  display: inline-block; font-size: 0.46rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--bg3); color: var(--ink4);
  padding: 0.18rem 0.55rem; border-radius: 4px; margin-left: 0.5rem;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .tools-section { padding: 4.5rem 2rem; }
}
@media (max-width: 640px) {
  .tools-section { padding: 3.5rem 1.2rem; }
  .tools-grid { grid-template-columns: 1fr; gap: 1rem; }
  .tc-body { padding: 1.4rem 1.5rem 1.3rem; }
  .tc-title { font-size: 0.98rem; }
  .tc-desc { font-size: 0.83rem; margin-bottom: 1rem; }
  .tc-icon { width: 40px; height: 40px; margin-bottom: 0.85rem; }
}

/* ═══════════ GAME PROMO ═══════════ */
.game-promo {
  padding: 6rem 3rem;
  background: linear-gradient(140deg, #FDFCFA 0%, #F4EEFB 55%, #EDE8F8 100%);
  border-top: 1px solid var(--bg4);
  position: relative; overflow: hidden;
}

.gp-blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(72px);
}
.gp-blob-a {
  width: 520px; height: 520px; top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(155,126,212,0.2) 0%, transparent 68%);
}
.gp-blob-b {
  width: 400px; height: 400px; bottom: -120px; left: -60px;
  background: radial-gradient(circle, rgba(201,168,76,0.14) 0%, transparent 68%);
}

.game-promo-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 5rem;
  position: relative; z-index: 1;
}
.game-promo-left { flex: 1; min-width: 0; }

.gp-logo-row {
  display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.8rem;
}
.gp-logo { height: 34px; }
.gp-logo-sep { color: var(--ink5); font-size: 1rem; font-weight: 300; line-height: 1; }
.gp-logo-label {
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink4);
}

.game-promo-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.48rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: #6D4DB5; border: 1px solid rgba(109,77,181,0.22);
  background: rgba(109,77,181,0.07);
  padding: 0.32rem 1rem; border-radius: 99px; margin-bottom: 1.1rem;
}
.game-promo-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700;
  color: var(--ink); line-height: 1.08; margin-bottom: 1rem;
}
.game-promo-title em { color: #6D4DB5; font-style: italic; }
.game-promo-sub {
  font-size: 0.92rem; color: var(--ink3);
  line-height: 1.78; margin-bottom: 2rem; max-width: 400px;
}
.game-promo-cta {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: linear-gradient(135deg, #5A3FA0, #9B7ED4);
  color: #fff; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.9rem 2.2rem; border-radius: 99px; text-decoration: none;
  box-shadow: 0 6px 28px rgba(90,63,160,0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.game-promo-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(90,63,160,0.38);
}
.gp-footnote {
  margin-top: 1.1rem; font-size: 0.7rem; color: var(--ink5); letter-spacing: 0.02em;
}

/* Right: floating chips + result card */
.game-promo-right {
  flex-shrink: 0; width: 380px; height: 340px;
  position: relative; display: flex; align-items: center; justify-content: center;
}

@keyframes gp-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}

.gp-chip {
  position: absolute; white-space: nowrap;
  font-size: 0.62rem; font-weight: 700; color: var(--ink2);
  padding: 0.48rem 1.05rem; border-radius: 99px;
  background: #fff; border: 1px solid rgba(109,77,181,0.13);
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
  animation: gp-float 3.4s ease-in-out infinite;
}
.gp-chip-1 { top: 8px; left: -10px; animation-delay: 0s; }
.gp-chip-2 { top: 10px; right: -14px; animation-delay: 0.7s; }
.gp-chip-3 { bottom: 10px; left: 0px; animation-delay: 1.4s; }
.gp-chip-4 { bottom: 8px; right: -10px; animation-delay: 2.1s; }

.gp-result-preview {
  background: #fff; border-radius: 22px;
  padding: 2rem 1.8rem; text-align: center;
  box-shadow: 0 24px 64px rgba(90,63,160,0.13), 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(109,77,181,0.1);
  width: 236px; position: relative; z-index: 1;
}
.gp-rp-icon { font-size: 2.4rem; margin-bottom: 0.75rem; }
.gp-rp-type {
  font-size: 0.55rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: #6D4DB5; margin-bottom: 0.75rem;
}
.gp-rp-line {
  font-family: var(--serif); font-size: 0.94rem; font-weight: 600;
  color: var(--ink); line-height: 1.5; margin-bottom: 1.1rem;
}
.gp-rp-divider { height: 1px; background: var(--bg3); margin-bottom: 1rem; }
.gp-rp-advice {
  font-size: 0.6rem; font-weight: 700; color: #6D4DB5; letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .game-promo-inner { flex-direction: column; gap: 3rem; }
  .game-promo-right { width: 100%; height: 300px; }
  .game-promo { padding: 5rem 1.5rem; }
}
@media (max-width: 480px) {
  .game-promo-right { height: 280px; }
  .gp-chip { font-size: 0.58rem; padding: 0.42rem 0.85rem; }
  .gp-chip-1 { left: 0; } .gp-chip-2 { right: 0; }
  .gp-chip-3 { left: 0; } .gp-chip-4 { right: 0; }
}

/* ═══════════ FOOTER ═══════════ */
.site-footer {
  padding: 4.5rem 3rem 2.5rem;
  border-top: 1px solid var(--bg4);
  max-width: 1360px; margin: 0 auto;
}

.ft-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 3rem;
}

.ft-brand { display: flex; align-items: center; gap: 0; margin-bottom: 0.8rem; }
.ft-brand img { height: 48px; }

.ft-about {
  color: var(--ink4); font-size: 0.86rem;
  line-height: 1.65; max-width: 260px;
  margin-bottom: 1.3rem;
}

.ft-social { display: flex; gap: 0.5rem; }

.ft-social a {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--bg3); color: var(--ink3);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}

.ft-social a:hover { background: var(--blue); color: var(--white); }

.ft-col h4 {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 1rem;
}

.ft-col a {
  display: block; color: var(--ink4);
  font-size: 0.84rem; padding: 0.28rem 0;
  transition: color 0.3s;
}

.ft-col a:hover { color: var(--blue); }

.ft-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg4);
  font-size: 0.74rem; color: var(--ink4);
}

.ft-links { display: flex; gap: 1.4rem; }
.ft-links a { color: var(--ink4); transition: color 0.3s; }
.ft-links a:hover { color: var(--ink); }

/* ═══════════ WHATSAPP ═══════════ */
.wa-float {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 9997;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all 0.3s ease;
  animation: wa-pulse 2.5s ease infinite;
}

.wa-float:hover { transform: scale(1.08); animation: none; box-shadow: 0 6px 28px rgba(37,211,102,0.45); }

.wa-tip {
  position: absolute; right: 68px; top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--ink); color: var(--bg);
  padding: 0.45rem 0.9rem; border-radius: 10px;
  font-size: 0.78rem; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: all 0.3s ease;
}

.wa-tip::after {
  content: ''; position: absolute;
  right: -5px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--ink);
}

.wa-float:hover .wa-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

@keyframes wa-pulse {
  0% { box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 0 0 0 rgba(37,211,102,0); }
}

/* ═══════════ ANIMATIONS ═══════════ */
@keyframes rise {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22,1,0.36,1);
}

.reveal.vis { opacity: 1; transform: translateY(0); }

.float-anim { animation: float 5s ease-in-out infinite; }

/* ═══════════ FORM SYSTEM ═══════════ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 0.8rem; }

.form-group { margin-bottom: 0.8rem; }

.form-group label {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink3); margin-bottom: 0.35rem;
}

.form-group label .req { color: var(--red); font-size: 0.8rem; }
.form-group label .opt { color: var(--ink5); font-weight: 500; font-size: 0.65rem; text-transform: none; letter-spacing: 0; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1.5px solid var(--bg4);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.88rem; color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--ink5); }

.form-select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238A8690' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-textarea { min-height: 80px; resize: vertical; }

.form-input:invalid:not(:placeholder-shown) { border-color: var(--red); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .ft-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 0.8rem 1.2rem; }
  .nav.stuck { padding: 0.5rem 1.2rem; }
  .nav-logo img { height: 42px; }
  .nav.stuck .nav-logo img { height: 36px; }
  .nav-menu { display: none; }
  .hamburger { display: block; }
  .page-hero { padding: 8rem 1.2rem 3rem; }
  .site-footer { padding: 3rem 1.2rem 2rem; }
  .ft-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .ft-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .wa-float { bottom: 1rem; right: 1rem; width: 52px; height: 52px; }
  .wa-float svg { width: 24px; height: 24px; }
  .wa-tip { display: none; }
}

/* ═══════════════════════════════════════════
   EFFECTS — scroll bar, cursor, tilt, bursts
   ═══════════════════════════════════════════ */

/* Scroll progress bar */
#scroll-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  width: 0%; z-index: 9999; pointer-events: none;
  background: linear-gradient(90deg, var(--blue), var(--gold-soft), var(--blue-soft), var(--blue));
  background-size: 300% 100%;
  animation: bar-shift 3s linear infinite;
  box-shadow: 0 0 10px rgba(27,77,142,0.5);
}
@keyframes bar-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* Custom cursor */
@media (pointer: fine) {
  * { cursor: none !important; }
}
#cur-dot {
  position: fixed; z-index: 99999; pointer-events: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform 0.08s;
}
#cur-ring {
  position: fixed; z-index: 99998; pointer-events: none;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid rgba(27,77,142,0.45);
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.22,1,0.36,1),
              height 0.3s cubic-bezier(0.22,1,0.36,1),
              border-color 0.3s, background 0.3s;
}
#cur-ring.cur-hover {
  width: 48px; height: 48px;
  border-color: var(--gold-soft);
  background: rgba(201,168,76,0.05);
}
.cur-trail {
  position: fixed; pointer-events: none; z-index: 99997;
  border-radius: 1px;
  animation: trail-fade 0.5s ease-out forwards;
  transform: translate(-50%, -50%);
}
@keyframes trail-fade {
  0%   { opacity: 0.8;  transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 0;    transform: translate(-50%,-50%) scale(0.1); }
}

/* Button pixel burst */
.btn-burst {
  position: fixed; pointer-events: none; z-index: 99996;
  border-radius: 1px; background: var(--blue);
  animation: burst-fly 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
  transform: translate(-50%, -50%);
}
@keyframes burst-fly {
  from { transform: translate(-50%,-50%); opacity: 1; }
  to   { transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))); opacity: 0; }
}

/* Cursor blob */
#cursor-blob {
  position: fixed; pointer-events: none; z-index: 0;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,77,142,0.05) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  will-change: left, top;
}

/* Hero particles canvas */
#hero-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* Service card glare sweep */
.svc { overflow: hidden; }
.svc::after {
  content: ''; position: absolute;
  top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.07) 50%, transparent 65%);
  transition: left 0.6s ease; pointer-events: none; z-index: 0;
}
.svc:hover::after { left: 160%; }

/* Blog card glare */
.blog-section-card { overflow: hidden; position: relative; }
.blog-section-card::after {
  content: ''; position: absolute;
  top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.05) 50%, transparent 65%);
  transition: left 0.6s ease; pointer-events: none;
}
.blog-section-card:hover::after { left: 160%; }

/* Tilt perf hint */
.svc, .test-card, .about-card, .blog-section-card { will-change: transform; }

/* counselor avatar hover animations now live in index.html inline styles */


/* ═══════════ NAV MEGA DROPDOWN (shared) ═══════════ */
.nav-dropdown-parent { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; cursor: pointer; }
.nav-mega-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 640px; padding: 1.5rem;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  transform: translateX(-50%) translateY(8px);
  z-index: 1000;
}
.nav-dropdown-parent:hover .nav-mega-dropdown,
.nav-mega-dropdown:hover {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-col-title {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink4); margin-bottom: 0.7rem; padding-left: 0.3rem;
}
.mega-item {
  display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.55rem 0.5rem;
  border-radius: 10px; text-decoration: none; transition: background 0.2s;
}
.mega-item:hover { background: var(--bg2); }
.mega-item::after { display: none !important; }
.mega-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.mega-item strong { display: block; font-size: 0.84rem; color: var(--ink); font-weight: 600; text-transform: none; letter-spacing: 0; }
.mega-item small { display: block; font-size: 0.72rem; color: var(--ink4); margin-top: 1px; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.mega-col-cta {
  background: linear-gradient(135deg, var(--blue-glow), var(--gold-glow));
  border-radius: 12px; padding: 1rem; display: flex; flex-direction: column; justify-content: center;
}
.mega-cta-text { font-size: 0.78rem; color: var(--ink3); line-height: 1.5; margin-bottom: 0.8rem; }
.mega-cta-btn {
  display: inline-block; padding: 0.5rem 1.2rem; border-radius: 99px;
  background: var(--blue); color: var(--white); font-size: 0.74rem; font-weight: 700;
  text-decoration: none; text-align: center; transition: transform 0.2s, box-shadow 0.2s;
}
.mega-cta-btn::after { display: none !important; }
.mega-cta-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-float); }
.nav-yt { color: #c4302b !important; }

/* Mobile overlay — Explore section + CTA */
.mob-section-title {
  font-family: var(--sans); font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink4); padding: 1rem 0 0.2rem; margin-top: 0.4rem;
}
.mobile-overlay .mob-section-title { font-size: 0.62rem; }
.mob-cta {
  margin-top: 1rem; padding: 0.7rem 1.8rem; border-radius: 99px;
  background: var(--blue); color: var(--white) !important; text-align: center; font-weight: 700;
}

@media (max-width: 900px) {
  .nav-mega-dropdown { display: none !important; }
  .nav-dropdown-trigger svg { display: none; }
}
@media (max-width: 768px) {
  .mobile-overlay { justify-content: flex-start; padding: 5rem 1.5rem 2rem; gap: 0.2rem; overflow-y: auto; }
  .mobile-overlay a { font-size: 1.15rem; }
}

.nav-mega-dropdown.sn-1col{grid-template-columns:1fr;width:320px}

.nav-mega-dropdown .mega-icon svg{width:20px;height:20px}
.nav-mega-dropdown .mega-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;color:#1B4D8E}
.mobile-overlay a svg{width:18px;height:18px;vertical-align:-3px;margin-right:11px;color:#1B4D8E;flex-shrink:0}
