/* ==========================================================
   CAMPUS HYPE — GLOBAL STYLESHEET
   Theme: Yellow (#FFDE00) + Black (#0a0a0a) + White
   Style: Futuristic, engineering-first, community vibe
   ========================================================== */

:root {
  --yellow: #FFDE00;
  --yellow-soft: #fff6b0;
  --yellow-deep: #e6c700;
  --black: #0a0a0a;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --white: #ffffff;
  --gray-100: #f4f4f4;
  --gray-200: #e4e4e4;
  --gray-300: #c6c6c6;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --border: #2a2a2a;
  --success: #22c55e;
  --warning: #fbbf24;
  --danger: #ef4444;
  --info: #3b82f6;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
  --shadow-md: 0 8px 28px rgba(0,0,0,.12);
  --shadow-glow: 0 0 30px rgba(255,222,0,.35);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--yellow-deep); }

img { max-width: 100%; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.5rem; }

.section { padding: 80px 0; }

/* ---------- Announcement bar ---------- */
.top-announcement {
  background: var(--yellow);
  color: var(--black);
  text-align: center;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 16px rgba(0,0,0,.06); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  color: var(--black);
  letter-spacing: 1px;
}
.logo-img { height: 44px; width: auto; }
.logo-text-fallback {
  background: var(--yellow);
  padding: 6px 14px;
  border-radius: 6px;
  display: inline-flex;
  gap: 2px;
  color: var(--black);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 500;
  font-size: 15px;
}
.main-nav a {
  position: relative;
  color: var(--black);
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 3px;
  background: var(--yellow);
  transition: width .25s;
  border-radius: 2px;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.nav-dash {
  background: var(--black);
  color: var(--yellow) !important;
  padding: 8px 16px !important;
  border-radius: 8px;
}
.nav-dash::after { display: none; }

.nav-login { font-weight: 600; }

.btn-join {
  background: var(--yellow);
  color: var(--black) !important;
  font-weight: 700;
  padding: 10px 22px !important;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(255,222,0,.45);
  transition: transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,222,0,.65);
  color: var(--black) !important;
}
.btn-join::after { display: none !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
  transition: .3s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s;
  text-decoration: none;
}
.btn-yellow {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(255,222,0,.3);
}
.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,222,0,.55);
  color: var(--black);
}
.btn-black {
  background: var(--black);
  color: var(--yellow);
}
.btn-black:hover { background: #222; color: var(--yellow); transform: translateY(-2px); }
.btn-outline {
  border-color: var(--black);
  color: var(--black);
  background: transparent;
}
.btn-outline:hover { background: var(--black); color: var(--yellow); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,222,0,.25), transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(255,222,0,.15), transparent 50%),
    linear-gradient(180deg, #fff, #fff);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow-soft);
  color: var(--black);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--yellow);
  margin-bottom: 24px;
}
.hero-pill .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  animation: pulse 1.6s infinite;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero h1 .highlight {
  background: var(--yellow);
  padding: 0 14px;
  display: inline-block;
  transform: skew(-4deg);
}
.hero h1 .highlight > span { display: inline-block; transform: skew(4deg); }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .orb {
  position: absolute;
  inset: 10%;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(255,222,0,.6);
  animation: floaty 6s ease-in-out infinite;
}
.hero-visual .orb::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 2px dashed var(--yellow);
  border-radius: 50%;
  animation: rotate 18s linear infinite;
}
.hero-visual .grid-ring {
  position: absolute;
  inset: -10%;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 50%;
  animation: rotate 40s linear infinite reverse;
}
.hero-visual .logo-float {
  position: relative;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--black);
  text-align: center;
  line-height: 1;
  animation: floaty 4s ease-in-out infinite;
}

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.6)} }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--black);
  color: var(--white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,222,0,.15), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(255,222,0,.1), transparent 40%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  display: block;
}
.stat-label {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

/* ---------- Section heading ---------- */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .kicker {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--gray-700); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Feature cards ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--yellow), transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
  box-shadow: var(--shadow-md);
}
.feature-card:hover::before { opacity: .08; }
.feature-card .icon {
  width: 60px; height: 60px;
  background: var(--yellow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--black);
  margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--gray-700); font-size: 15px; }
.feature-card .learn-more {
  margin-top: 18px;
  font-weight: 600;
  color: var(--black);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.feature-card .learn-more:hover { color: var(--yellow-deep); }

/* ---------- Event cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.event-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}
.event-banner {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--black) 40%, var(--yellow));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  padding: 20px;
  text-align: center;
}
.event-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,222,0,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,222,0,.05) 1px, transparent 1px);
  background-size: 25px 25px;
}
.event-body { padding: 24px; }
.event-category {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.event-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--gray-500);
  font-size: 14px;
  margin: 12px 0 18px;
}
.event-meta i { color: var(--yellow-deep); margin-right: 4px; }

/* ---------- Status badges ---------- */
.status-badge, .plan-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--black);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,222,0,.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,222,0,.12), transparent 50%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-banner h2 { color: var(--white); margin-bottom: 18px; font-size: clamp(1.8rem, 4vw, 3rem); }
.cta-banner h2 span { color: var(--yellow); }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 32px; font-size: 1.1rem; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 520px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255,222,0,.2);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-control.error { border-color: var(--danger); }

.auth-card {
  max-width: 460px;
  margin: 60px auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  padding: 40px;
  border: 1px solid var(--gray-200);
  border-top: 6px solid var(--yellow);
}
.auth-card h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 8px;
}
.auth-card .sub { text-align: center; color: var(--gray-500); margin-bottom: 30px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray-700); }
.auth-alt a { color: var(--black); font-weight: 600; border-bottom: 2px solid var(--yellow); }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}
.alert-error { background: #fef2f2; color: #991b1b; border-left: 4px solid var(--danger); }
.alert-success { background: #f0fdf4; color: #14532d; border-left: 4px solid var(--success); }
.alert-info { background: #eff6ff; color: #1e3a8a; border-left: 4px solid var(--info); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,.8);
  padding: 72px 0 24px;
  position: relative;
  border-top: 4px solid var(--yellow);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr; /* 4 equal columns 25:25:25:25 */
  gap: 40px;
}
.footer-col h4 {
  color: var(--yellow);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.7);
  padding: 6px 0;
  font-size: 14px;
}
.footer-col a:hover { color: var(--yellow); }
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 8px; color: rgba(255,255,255,.7); }
.footer-col p i { color: var(--yellow); width: 20px; }
.footer-logo img { height: 48px; margin-bottom: 16px; }
.footer-tagline {
  font-family: var(--font-display);
  color: var(--yellow) !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-desc { max-width: 300px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  padding: 0;
}
.socials a:hover { background: var(--yellow); color: var(--black); transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  background: var(--black);
  color: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s;
  z-index: 998;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--yellow); color: var(--black); }

/* ---------- Ketpy AI Widget ---------- */
.ketpy-widget {
  position: fixed;
  right: 24px;
  bottom: 86px;  /* sits above back-to-top */
  z-index: 999;
  font-family: var(--font-body);
}
.ketpy-toggle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  border: 3px solid var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 28px rgba(255,222,0,.55);
  position: relative;
  transition: transform .25s;
}
.ketpy-toggle:hover { transform: scale(1.08) rotate(-6deg); }
.ketpy-toggle-inner { position: relative; display: flex; align-items: center; justify-content: center; }
.ketpy-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  animation: pulseRing 2.4s infinite;
  pointer-events: none;
}
@keyframes pulseRing {
  0% { transform: scale(.8); opacity: .9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.ketpy-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 48px);
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
  border: 2px solid var(--black);
  display: none;
  flex-direction: column;
  max-height: 70vh;
  overflow: hidden;
  animation: slideUp .3s ease;
}
.ketpy-widget.open .ketpy-panel { display: flex; }
@keyframes slideUp { from {opacity:0; transform:translateY(20px)} to {opacity:1; transform:translateY(0)} }

.ketpy-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--black);
  color: var(--white);
  position: relative;
}
.ketpy-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.ketpy-name { font-weight: 700; font-size: 15px; color: var(--yellow); }
.ketpy-status { font-size: 12px; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 6px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); display: inline-block; animation: pulse 1.6s infinite; }
.ketpy-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
}

.ketpy-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #fafafa;
  min-height: 300px;
  max-height: 50vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ketpy-msg { display: flex; }
.ketpy-msg.user { justify-content: flex-end; }
.ketpy-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}
.ketpy-msg.bot .ketpy-bubble {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-bottom-left-radius: 4px;
}
.ketpy-msg.user .ketpy-bubble {
  background: var(--yellow);
  color: var(--black);
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.ketpy-msg.typing .ketpy-bubble {
  display: inline-flex;
  gap: 4px;
}
.ketpy-msg.typing span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  animation: typing 1.4s infinite;
}
.ketpy-msg.typing span:nth-child(2) { animation-delay: .2s; }
.ketpy-msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% {transform:translateY(0)} 30% {transform:translateY(-6px)} }

.ketpy-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0 4px;
}
.ketpy-quick-replies button {
  background: var(--white);
  border: 1px solid var(--yellow);
  color: var(--black);
  padding: 7px 12px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all .2s;
}
.ketpy-quick-replies button:hover { background: var(--yellow); }

.ketpy-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}
.ketpy-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 14px;
  outline: none;
  font-family: var(--font-body);
}
.ketpy-form input:focus { border-color: var(--yellow); }
.ketpy-form button {
  width: 40px; height: 40px;
  background: var(--black);
  color: var(--yellow);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s;
}
.ketpy-form button:hover { background: var(--yellow); color: var(--black); }
.ketpy-footer-note {
  padding: 8px;
  text-align: center;
  font-size: 11px;
  color: var(--gray-500);
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

/* ---------- Dashboard Layout ---------- */
.dash-wrap { display: flex; min-height: 100vh; background: #f8f8f8; }
.dash-sidebar {
  width: 260px;
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 24px 0;
  flex-shrink: 0;
}
.dash-sidebar .brand {
  padding: 0 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 20px;
}
.dash-sidebar .brand img { height: 40px; }
.dash-sidebar .brand-text {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--yellow);
  font-weight: 900;
}
.dash-sidebar .brand-role {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}
.dash-nav { flex: 1; padding: 0 12px; }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
  transition: all .2s;
}
.dash-nav a:hover { background: rgba(255,255,255,.06); color: var(--white); }
.dash-nav a.active {
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
}
.dash-nav a i { width: 20px; text-align: center; }
.dash-nav .nav-section {
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  letter-spacing: 1.5px;
  padding: 16px 16px 8px;
  margin-top: 8px;
}
.dash-nav .disabled {
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}

.dash-main { flex: 1; display: flex; flex-direction: column; overflow-x: hidden; }
.dash-topbar {
  background: var(--white);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.dash-topbar h1 {
  font-size: 1.4rem;
  font-family: var(--font-heading);
}
.dash-topbar .user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--gray-100);
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
}
.dash-topbar .user-chip .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.dash-content { padding: 32px; flex: 1; }

/* Stat cards */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--yellow);
}
.stat-card .label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.stat-card .value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--black);
}
.stat-card .delta { font-size: 12px; color: var(--success); margin-top: 4px; }
.stat-card .delta.down { color: var(--danger); }

/* Tables */
.data-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  border-collapse: collapse;
}
.data-table th {
  background: var(--gray-100);
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-700);
  font-weight: 700;
}
.data-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--gray-200);
  font-size: 14px;
}
.data-table tr:hover td { background: #fafafa; }
.table-wrap { overflow-x: auto; }

/* Toggle switches */
.toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.toggle input { display: none; }
.toggle .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 100px;
  transition: .3s;
}
.toggle .slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: .3s;
}
.toggle input:checked + .slider { background: var(--yellow); }
.toggle input:checked + .slider::before { transform: translateX(20px); background: var(--black); }
.toggle input:disabled + .slider { opacity: .5; cursor: not-allowed; }

/* Toast */
.toast-wrap {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--white);
  color: var(--black);
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  border-left: 4px solid var(--yellow);
  min-width: 280px;
  font-size: 14px;
  font-weight: 500;
  animation: slideInR .3s;
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
@keyframes slideInR { from {opacity:0; transform:translateX(20px)} to {opacity:1; transform:translateX(0)} }

/* Page banner — beautiful hero with image overlay */
.page-banner {
  background: var(--black);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Dark gradient overlay */
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.65) 40%, rgba(10,10,10,0.85) 100%);
  z-index: 1;
}
/* Subtle grid pattern overlay */
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,222,0,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,222,0,.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  z-index: 2;
  pointer-events: none;
}
.page-banner > * { position: relative; z-index: 3; }
.page-banner h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.page-banner h1 span { color: var(--yellow); }
.page-banner .crumb {
  color: rgba(255,255,255,.7);
  margin-top: 14px;
  font-size: 14px;
}
.page-banner .crumb a { color: var(--yellow); font-weight: 500; }
.page-banner .crumb a:hover { text-decoration: underline; }
.page-banner .lead {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  max-width: 720px;
  margin: 20px auto 0;
}
/* Floating decorative shapes */
.page-banner .shape {
  position: absolute;
  border-radius: 50%;
  background: var(--yellow);
  opacity: .15;
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}
.page-banner .shape-1 { width: 280px; height: 280px; top: -80px; left: -80px; }
.page-banner .shape-2 { width: 200px; height: 200px; bottom: -60px; right: -60px; opacity: .1; }

@media (max-width: 768px) {
  .page-banner { padding: 80px 0 60px; }
}

/* Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
}
.filter-bar select, .filter-bar input {
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  font-family: var(--font-body);
}

/* Mobile */
@media (max-width: 1024px) {
  .features-grid, .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: none;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
  }
  .main-nav.open { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 60px; }
  .dash-sidebar {
    position: fixed;
    left: -260px;
    transition: left .3s;
    z-index: 1000;
  }
  .dash-sidebar.open { left: 0; }
  .dash-topbar { padding: 14px 18px; }
  .dash-content { padding: 20px; }
  .ketpy-panel { width: calc(100vw - 40px); right: -10px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-card { margin: 20px; padding: 28px 22px; }
}

/* ==========================================================
   v2.0 ADDITIONS
   ========================================================== */

/* ---------- Mega Menu ---------- */
.mega-nav { display: flex; align-items: center; gap: 20px; }
.mega-item { position: relative; }
.mega-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--black);
  padding: 4px 0;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  position: relative;
}
.mega-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 3px;
  background: var(--yellow);
  transition: width .25s;
  border-radius: 2px;
}
.mega-link:hover::after,
.mega-link.active::after { width: 100%; }

.mega-dropdown {
  display: none;
  position: fixed; /* JS sets top + left to position smartly */
  top: 70px;
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  padding: 16px 0;
  z-index: 999;
  animation: fadeDown .18s ease;
  overflow: hidden;
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
/* Only ONE dropdown shows at a time — JS-controlled */
.mega-item.mega-open > .mega-dropdown { display: block; }
.mega-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--black);
  transition: all .15s;
  font-weight: 500;
}
.mega-dropdown a:hover {
  background: var(--yellow-soft);
  color: var(--black);
}
.mega-dropdown a i {
  width: 18px;
  text-align: center;
  color: var(--yellow-deep);
}

/* Mobile mega menu */
@media (max-width: 768px) {
  /* CRITICAL: backdrop-filter on .site-header creates a containing block,
     which would clip a position:fixed descendant to the header's box.
     Strip it on mobile so the fullscreen nav can size against the viewport. */
  .site-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .mega-nav {
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    height: calc(100vh - 68px);
    max-height: calc(100vh - 68px);
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    display: none !important;
    gap: 0;
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
  }
  .mega-nav.open { display: flex !important; }
  /* Animated hamburger to X */
  .hamburger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.is-active span:nth-child(2) { opacity: 0; }
  .hamburger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hamburger span { transition: transform .25s, opacity .25s; transform-origin: center; }
  .mega-item { width: 100%; }
  .mega-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
    width: 100%;
    justify-content: space-between;
  }
  .mega-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0 0 12px 16px;
    animation: none;
    display: none;
  }
  .mega-item.mobile-open .mega-dropdown { display: block; }
  .mega-dropdown a { padding: 10px 0; }
  .mega-nav > a { padding: 14px 0; border-bottom: 1px solid var(--gray-200); display: block; font-weight: 500; }
  .mega-nav .btn-join { margin-top: 16px; text-align: center; }
}

/* ---------- Partner Carousel ---------- */
.partner-carousel-wrap {
  overflow: hidden;
  position: relative;
  /* Fade edges so logos appear/disappear smoothly */
  mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.partner-carousel {
  display: flex;
  gap: 36px;
  animation: partnerScroll 80s linear infinite; /* slowed from 30s → 80s */
  width: max-content;
  align-items: center;
}
@keyframes partnerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-carousel:hover { animation-play-state: paused; }
.partner-logo-card {
  flex-shrink: 0;
  width: 180px;
  height: 90px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  transition: all .25s;
}
.partner-logo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--yellow); }
.partner-logo-card img { max-height: 40px; max-width: 120px; object-fit: contain; }
.partner-name-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
}
.partner-name-box i { font-size: 20px; color: var(--yellow-deep); }

/* ---------- Mentor Carousel ---------- */
.mentor-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.mentor-carousel::-webkit-scrollbar { display: none; }
.mentor-card-home {
  flex-shrink: 0;
  width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all .2s;
}
.mentor-card-home:hover { border-color: var(--yellow); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mentor-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 24px;
}
.mentor-card-home h4 { font-size: 1rem; margin-bottom: 4px; }
.mentor-role { font-size: 13px; color: var(--gray-700); font-weight: 500; }
.mentor-company { font-size: 12px; color: var(--gray-500); }

.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all .2s;
}
.carousel-btn:hover { background: var(--yellow); color: var(--black); }

/* ---------- Intro Split ---------- */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 768px) {
  .intro-split { grid-template-columns: 1fr; gap: 32px; }
  .intro-split > * { order: 0 !important; }
}

/* ---------- FAQ Accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--yellow); }
.faq-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  gap: 16px;
}
.faq-toggle i { transition: transform .3s; color: var(--yellow-deep); flex-shrink: 0; }
.faq-item.open .faq-toggle i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 22px;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 22px 18px; }
.faq-answer p { color: var(--gray-700); line-height: 1.8; font-size: 15px; }

/* ---------- CMS content ---------- */
.cms-content { color: var(--gray-700); line-height: 1.8; font-size: 15px; }
.cms-content b, .cms-content strong { color: var(--black); }

/* ---------- Team card grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all .2s;
}
.team-card:hover { border-color: var(--yellow); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card .avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
  font-weight: 900;
  overflow: hidden;
}
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--gray-500); margin-bottom: 8px; }
.team-card .socials { justify-content: center; margin-top: 12px; }

/* ---------- Verify search ---------- */
.verify-box {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.verify-box:focus-within { border-color: var(--yellow); box-shadow: var(--shadow-glow); }
.verify-result {
  margin-top: 24px;
  padding: 24px;
  background: #f8f8f8;
  border-radius: var(--radius);
  text-align: left;
}

/* ==========================================================
   v3.0 BEAUTIFUL IMAGE-RICH UI
   ========================================================== */

/* --- Hero v3: Image background --- */
.hero-v3 {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero-v3-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero-v3-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.65) 35%, rgba(10,10,10,0.85) 100%),
    radial-gradient(circle at 80% 20%, rgba(255,222,0,0.18), transparent 50%);
  z-index: -1;
}
.hero-v3-inner {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  width: 100%;
}
.hero-v3 .hero-pill {
  background: rgba(255,222,0,.15);
  border-color: rgba(255,222,0,.5);
  color: var(--yellow);
  backdrop-filter: blur(10px);
}
.hero-v3 h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-shadow: 0 6px 40px rgba(0,0,0,.5);
}
.hero-v3 h1 .highlight {
  background: var(--yellow);
  color: var(--black);
  padding: 0 18px;
  border-radius: 8px;
  display: inline-block;
  transform: skew(-4deg);
}
.hero-v3 h1 .highlight > span { display: inline-block; transform: skew(4deg); }
.hero-v3 p.lead {
  color: rgba(255,255,255,.88);
  font-size: 1.2rem;
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-v3-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-v3-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
}
.hero-v3-trust .avatars {
  display: flex;
}
.hero-v3-trust .avatars img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  margin-left: -10px;
  object-fit: cover;
}
.hero-v3-trust .avatars img:first-child { margin-left: 0; }
.hero-v3-trust strong { color: var(--yellow); }

.hero-stat-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,222,0,.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  overflow: hidden;
}
.hero-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,222,0,.18), transparent 70%);
  pointer-events: none;
}
.hero-stat-card .live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
.hero-stat-card .stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-card .stats-row .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.hero-stat-card .stats-row .lbl {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.hero-stat-card .event-strip {
  margin-top: 16px;
  padding: 14px;
  background: rgba(0,0,0,.4);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-stat-card .event-strip img {
  width: 52px; height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.hero-stat-card .event-strip .e-info { flex: 1; min-width: 0; }
.hero-stat-card .event-strip .e-title { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-stat-card .event-strip .e-meta { font-size: 11px; color: var(--yellow); margin-top: 2px; }

/* --- Image cards (events, jobs, mentors) --- */
.img-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.img-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}
.img-card-cover {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.img-card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.4) 100%);
}
.img-card-cover .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--yellow);
  color: var(--black);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  z-index: 2;
}
.img-card-cover .badge-right {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.img-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.img-card-body h3 { font-size: 1.15rem; margin-bottom: 6px; line-height: 1.3; }
.img-card-body .subtitle { color: var(--gray-500); font-size: 14px; }
.img-card-body .meta {
  display: flex;
  gap: 16px;
  margin: 14px 0;
  font-size: 13px;
  color: var(--gray-700);
}
.img-card-body .meta i { color: var(--yellow-deep); margin-right: 4px; }
.img-card-body .cta-row {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Testimonial section --- */
.testimonials {
  background: var(--black);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,222,0,0.15), transparent 50%);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}
.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,222,0,.2);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.testimonial-card .quote-mark {
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--yellow);
  line-height: 1;
  position: absolute;
  top: -10px;
  right: 20px;
  opacity: .3;
}
.testimonial-card .stars {
  color: var(--yellow);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-card p {
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 24px;
}
.testimonial-card .person {
  display: flex;
  gap: 14px;
  align-items: center;
}
.testimonial-card .person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
}
.testimonial-card .person b { color: var(--yellow); font-size: 14px; }
.testimonial-card .person small { color: rgba(255,255,255,.6); font-size: 12px; }

/* --- Steps / How it works --- */
.steps-section { background: linear-gradient(180deg, #fafafa, #fff); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: all .3s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}
.step-card .step-num {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  border: 4px solid #fff;
}
.step-card .step-icon {
  margin-top: 20px;
  font-size: 36px;
  color: var(--yellow-deep);
  margin-bottom: 12px;
}
.step-card h4 { margin-bottom: 8px; }
.step-card p { color: var(--gray-700); font-size: 14px; line-height: 1.6; }

/* --- Image-rich feature cards --- */
.feature-card-img {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all .3s;
  display: flex;
  flex-direction: column;
  /* NO overflow:hidden here — icon needs to bleed out of img-area */
}
.feature-card-img:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}
.feature-card-img .img-area {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  position: relative;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  overflow: hidden; /* clips the image only */
}
.feature-card-img .img-area::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5) 100%);
}
.feature-card-img .img-icon {
  position: absolute;
  top: calc(56.25% - 28px); /* sits at the bottom edge of the 16:9 image */
  left: 24px;
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 22px;
  z-index: 5;
  box-shadow: 0 6px 20px rgba(255,222,0,.4);
  border: 3px solid #fff;
}
.feature-card-img .body {
  padding: 44px 24px 24px;
  flex: 1;
}
.feature-card-img h3 { margin-bottom: 8px; color: var(--black); }
.feature-card-img p { color: var(--gray-700); font-size: 14px; }
.feature-card-img .learn-more { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* --- Big CTA with bg image --- */
.cta-image {
  position: relative;
  padding: 100px 0;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.cta-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,.92), rgba(10,10,10,.7));
  z-index: -1;
}
.cta-image h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-image h2 span { color: var(--yellow); }

/* --- Activity Strip (real recent events from DB) --- */
.activity-strip {
  background: var(--black);
  color: var(--yellow);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.activity-strip-track {
  display: flex;
  gap: 50px;
  animation: scrollActivity 40s linear infinite;
  white-space: nowrap;
  align-items: center;
}
.activity-strip-track .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.activity-strip-track .item i { color: var(--yellow); }
.activity-strip-track .item .dot { color: var(--yellow); opacity: .4; }
@keyframes scrollActivity {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Image-rich mega menu — only visible when parent .mega-open --- */
.mega-dropdown-rich {
  width: min(720px, 92vw);
  /* DON'T set display here — base .mega-dropdown sets display:none.
     The .mega-item.mega-open > .mega-dropdown rule below sets display:block (override here to grid). */
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  padding: 0 !important;
  overflow: hidden;
}
/* When the parent is open, show rich dropdown as grid (overrides display:block) */
.mega-item.mega-open > .mega-dropdown-rich { display: grid; }
.mega-dropdown-rich .links-col {
  padding: 24px 0;
}
.mega-dropdown-rich .links-col a {
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--black);
  transition: all .15s;
}
.mega-dropdown-rich .links-col a:hover {
  background: var(--yellow-soft);
  padding-left: 30px;
}
.mega-dropdown-rich .links-col a i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--yellow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow-deep);
  flex-shrink: 0;
}
.mega-dropdown-rich .links-col a:hover i {
  background: var(--yellow);
  color: var(--black);
}
.mega-dropdown-rich .links-col a small {
  display: block;
  color: var(--gray-500);
  font-size: 12px;
  margin-top: 2px;
  font-weight: 400;
}
.mega-dropdown-rich .links-col a span { font-weight: 600; }
.mega-dropdown-rich .featured-col {
  background: var(--black);
  color: #fff;
  padding: 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.mega-dropdown-rich .featured-col .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  opacity: .35;
}
.mega-dropdown-rich .featured-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,.85), rgba(10,10,10,.6));
  z-index: -1;
}
.mega-dropdown-rich .featured-col .kicker {
  background: var(--yellow);
  color: var(--black);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 12px;
}
.mega-dropdown-rich .featured-col h4 {
  color: var(--yellow);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.mega-dropdown-rich .featured-col p {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.mega-dropdown-rich .featured-col .btn-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--black);
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .mega-dropdown-rich { width: 540px; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .mega-dropdown-rich { width: 100%; max-width: 100%; grid-template-columns: 1fr; }
  .mega-dropdown-rich .featured-col { display: none; }
}

/* ---------- Wide 3-col mega (Training menu) ---------- */
.mega-dropdown-wide {
  width: min(1080px, 95vw);
  grid-template-columns: 1fr 1fr 1fr 0.9fr;
  gap: 0;
  padding: 0 !important;
  overflow: hidden;
}
.mega-item.mega-open > .mega-dropdown-wide { display: grid; }
/* Variant: only 2 link-cols + featured (e.g. Membership menu) — use tighter 3-col grid */
.mega-dropdown-wide:has(.links-col:nth-child(2)):not(:has(.links-col:nth-child(3))) {
  width: min(820px, 95vw);
  grid-template-columns: 1fr 1fr 0.9fr;
}
.mega-dropdown-wide .links-col {
  padding: 22px 0;
  border-right: 1px solid var(--gray-100);
}
.mega-dropdown-wide .links-col:last-of-type { border-right: 0; }
.mega-dropdown-wide .col-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 800;
  color: var(--yellow-deep);
  padding: 0 22px 10px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 8px;
}
.mega-dropdown-wide .links-col a {
  padding: 9px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--black);
  transition: all .15s;
}
.mega-dropdown-wide .links-col a:hover {
  background: var(--yellow-soft);
  padding-left: 28px;
}
.mega-dropdown-wide .links-col a i {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--yellow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow-deep);
  flex-shrink: 0;
  font-size: 11px;
}
.mega-dropdown-wide .links-col a:hover i { background: var(--yellow); color: var(--black); }
.mega-dropdown-wide .links-col a small {
  display: block;
  color: var(--gray-500);
  font-size: 11px;
  margin-top: 1px;
  font-weight: 400;
  line-height: 1.3;
}
.mega-dropdown-wide .links-col a span { font-weight: 600; line-height: 1.2; }
.mega-dropdown-wide .featured-col {
  background: var(--black);
  color: #fff;
  padding: 22px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.mega-dropdown-wide .featured-col .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: -2; opacity: .35;
}
.mega-dropdown-wide .featured-col::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,.85), rgba(10,10,10,.6));
  z-index: -1;
}
.mega-dropdown-wide .featured-col .kicker {
  background: var(--yellow); color: var(--black);
  font-size: 10px; padding: 3px 10px; border-radius: 100px;
  font-weight: 700; letter-spacing: 1px;
  display: inline-block; margin-bottom: 10px;
}
.mega-dropdown-wide .featured-col h4 { color: var(--yellow); font-size: 1rem; margin-bottom: 6px; }
.mega-dropdown-wide .featured-col p { color: rgba(255,255,255,.8); font-size: 12.5px; line-height: 1.5; margin-bottom: 12px; }
.mega-dropdown-wide .featured-col .btn-mini {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--yellow); color: var(--black);
  padding: 7px 14px; border-radius: 100px;
  font-weight: 700; font-size: 12.5px; text-decoration: none;
}
@media (max-width: 1280px) {
  .mega-dropdown-wide { width: min(900px, 95vw); grid-template-columns: 1fr 1fr 1fr 0.8fr; }
}
@media (max-width: 1024px) {
  .mega-dropdown-wide { width: 720px; grid-template-columns: 1fr 1fr; }
  .mega-dropdown-wide .featured-col { grid-column: span 2; }
}
@media (max-width: 768px) {
  .mega-dropdown-wide { width: 100%; max-width: 100%; grid-template-columns: 1fr; }
  .mega-dropdown-wide .featured-col, .mega-dropdown-wide .links-col:nth-child(n+4) { display: none; }
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- Mobile-first improvements --- */
@media (max-width: 768px) {
  .hero-v3 { min-height: auto; }
  .hero-v3-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-v3-inner { padding: 80px 0 50px; }
  .hero-v3 h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stat-card { padding: 20px; }
  .hero-stat-card .stats-row { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stat-card .stats-row .num { font-size: 1.4rem; }

  /* Touch-friendly buttons */
  .btn, .nav-login, .nav-dash, .btn-join {
    min-height: 44px;
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Prevent iOS zoom on form inputs */
  input, select, textarea, .form-control {
    font-size: 16px !important;
  }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section { padding: 50px 0; }
  .section-head { margin-bottom: 36px; }
  .features-grid { gap: 18px; }
  .feature-card { padding: 26px 22px; }
  .hero-v3 h1 .highlight { padding: 0 10px; }
}

/* Bottom-tab nav for dashboards on mobile */
@media (max-width: 768px) {
  .dash-mobile-bottombar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--black);
    border-top: 2px solid var(--yellow);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    z-index: 100;
  }
  .dash-mobile-bottombar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,.6);
    font-size: 11px;
    padding: 8px 4px;
    text-decoration: none;
  }
  .dash-mobile-bottombar a.active { color: var(--yellow); }
  .dash-mobile-bottombar a i { font-size: 18px; }
  .dash-content { padding-bottom: 90px !important; }
}
@media (min-width: 769px) {
  .dash-mobile-bottombar { display: none; }
}

/* ==========================================================
   DASHBOARD RESPONSIVE FIX (mobile + tablet)
   Applies to: super-admin, manager, mentor, student
   ========================================================== */

/* --- Tablet (≤ 1024px) --- */
@media (max-width: 1024px) {
  .dash-content { padding: 20px 18px; }
  .dash-content h1, .dash-content h2 { font-size: 1.35rem; }
  /* All multi-col grids collapse to 1 col on tablet */
  .dash-content div[style*="grid-template-columns:1fr 1fr"],
  .dash-content div[style*="grid-template-columns: 1fr 1fr"],
  .dash-content div[style*="grid-template-columns:2fr 1fr"],
  .dash-content div[style*="grid-template-columns: 2fr 1fr"],
  .dash-content div[style*="grid-template-columns:1fr 320px"],
  .dash-content div[style*="grid-template-columns: 1fr 320px"] {
    grid-template-columns: 1fr !important;
  }
  /* Sticky sidebar position can be reset by JS too */
  .dash-content div[style*="position:sticky"][style*="top:90px"],
  .dash-content div[style*="position: sticky"][style*="top: 90px"] { position: static !important; }
}

/* --- Mobile (≤ 768px) — dashboards become fully mobile-first --- */
@media (max-width: 768px) {
  .dash-wrap { flex-direction: column; }
  .dash-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    height: 100vh;
    width: 260px;
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  .dash-sidebar.open { left: 0; box-shadow: 0 0 40px rgba(0,0,0,.4); }

  /* Backdrop when sidebar is open */
  .dash-sidebar-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9998;
  }
  .dash-sidebar.open + .dash-main .dash-sidebar-backdrop,
  body.sidebar-open .dash-sidebar-backdrop { display: block; }

  .dash-main { width: 100%; flex: 1; }
  .dash-topbar {
    padding: 12px 14px;
    flex-wrap: wrap;
    gap: 8px;
    position: sticky; top: 0;
    background: #fff;
    z-index: 50;
  }
  .dash-topbar h1 { font-size: 1.05rem; }
  .dash-topbar .user-chip { padding: 4px 10px; font-size: 12px; }
  .dash-topbar .user-chip .avatar { width: 24px; height: 24px; font-size: 11px; }
  .dash-content { padding: 16px 12px; }

  /* Forms */
  .dash-content .form-group input,
  .dash-content .form-group select,
  .dash-content .form-group textarea { font-size: 16px; /* prevent iOS auto-zoom */ }
  .dash-content .filter-bar {
    display: grid; grid-template-columns: 1fr; gap: 10px; padding: 12px;
  }
  .dash-content .filter-bar input,
  .dash-content .filter-bar select,
  .dash-content .filter-bar button { width: 100%; }

  /* Cards / grids — all collapse to 1 column */
  .dash-content div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Tables — scrollable container with hint */
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin: 0 -2px;
    position: relative;
  }
  .table-wrap::after {
    content: '← swipe →';
    display: block;
    text-align: center;
    font-size: 10px;
    color: var(--gray-500);
    padding: 4px;
    background: #fafafa;
    border-top: 1px solid var(--gray-200);
  }
  .data-table { min-width: 600px; font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 12px; white-space: nowrap; }

  /* Buttons get more tap area */
  .dash-content .btn { padding: 10px 16px; font-size: 13px; }
  .dash-content .btn-yellow,
  .dash-content .btn-black,
  .dash-content .btn-outline { min-height: 38px; }

  /* Stat cards / kicker headings */
  .dash-content h2 { font-size: 1.25rem; line-height: 1.3; }
  .dash-content h3 { font-size: 1.05rem; }
  .dash-content h4 { font-size: 0.95rem; }

  /* Inline forms with side-by-side fields */
  .dash-content form > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Modals + alerts */
  .alert { padding: 12px 14px; font-size: 13.5px; }
}

/* --- Small mobile (≤ 480px) --- */
@media (max-width: 480px) {
  .dash-content { padding: 14px 10px; }
  .data-table th, .data-table td { padding: 8px 10px; font-size: 12.5px; }
  .dash-topbar h1 { font-size: 1rem; }
}

/* --- Hamburger toggle for dashboard sidebar (mobile only) --- */
@media (max-width: 768px) {
  .dash-topbar [data-toggle-sidebar] { display: inline-flex !important; }
}
@media (min-width: 769px) {
  .dash-topbar [data-toggle-sidebar] { display: none !important; }
}
