@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ══ RESET ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ══ VARIABLES ══ */
:root {
  --bg:      #020617;
  --bg2:     #071226;
  --blue:    #38bdf8;
  --blue2:   #2563eb;
  --purple:  #8b5cf6;
  --cyan:    #67e8f9;
  --glass:   rgba(13,21,47,0.82);
  --border:  rgba(125,211,252,0.14);
  --border2: rgba(125,211,252,0.30);
  --text:    #e8f6ff;
  --muted:   #94a3b8;
  --dim:     #4a5568;
  --radius:  18px;
  --ease:    cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(96,165,250,.09), transparent 24%),
    radial-gradient(circle at 82% 8%,  rgba(168,85,247,.09), transparent 22%),
    radial-gradient(circle at 50% 82%, rgba(34,211,238,.05), transparent 25%),
    linear-gradient(180deg, #020617 0%, #071226 40%, #0a1630 70%, #0d1b3d 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ══ PARTICLES ══ */
#particles {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ══ SCROLL TOP ══ */
#scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue2), var(--blue) 55%, var(--purple));
  color: #fff; border: none; cursor: pointer; z-index: 999;
  display: none; align-items: center; justify-content: center; font-size: 15px;
  box-shadow: 0 4px 20px rgba(56,189,248,.4);
  transition: transform .25s var(--ease);
}
#scroll-top:hover { transform: translateY(-3px); }
#scroll-top.show  { display: flex; }

/* ══ NAV ══ */
nav#mainNav {
  position: fixed; width: 100%; top: 0; z-index: 100;
  background: rgba(7,12,28,.55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(191,219,254,.06);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
nav#mainNav.scrolled {
  background: rgba(7,12,28,.94);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 5vw;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff; font-weight: 700; font-size: 15px;
  flex-shrink: 0;
}
.nav-logo img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; }

.nav-links {
  display: flex; list-style: none; gap: 3px; align-items: center;
}
.nav-links li a {
  text-decoration: none; color: #c8def8;
  font-size: 13.5px; font-weight: 500;
  padding: 7px 15px; border-radius: 999px;
  transition: background .2s, color .2s; white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active {
  background: rgba(56,189,248,.14); color: #fff;
}

#menu-btn   { width: 30px; height: 30px; display: none; cursor: pointer; object-fit: contain; border-radius: 6px; }
#menu-close { display: none; font-size: 1.5rem; color: #fff; padding: 26px 0 18px 20px; cursor: pointer; }

/* ══ HERO ══ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 5vw 80px;
  position: relative; overflow: hidden; z-index: 1;
  background:
    radial-gradient(circle at center, rgba(56,189,248,.11), transparent 30%),
    linear-gradient(135deg, rgba(37,99,235,.22), rgba(168,85,247,.18), rgba(6,182,212,.12));
  border-bottom: 1px solid rgba(191,219,254,.06);
}
#hero::before, #hero::after {
  content: ""; position: absolute;
  width: 360px; height: 360px; border-radius: 50%;
  filter: blur(24px); opacity: .2; pointer-events: none;
}
#hero::before { background: var(--blue);   top: -130px; left: -90px; }
#hero::after  { background: var(--purple); right: -110px; bottom: -170px; }

.hero-content { position: relative; z-index: 1; max-width: 840px; }

.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.22);
  color: #7dd3fc; font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 999px; margin-bottom: 22px;
  letter-spacing: .5px; text-transform: uppercase;
}
.glow-title {
  font-size: clamp(38px,7vw,72px); font-weight: 900;
  letter-spacing: 2px; color: #fff;
  text-shadow: 0 0 14px rgba(56,189,248,.6), 0 0 32px rgba(168,85,247,.45);
  margin-bottom: 18px; line-height: 1.1;
}
.sub-glow {
  font-size: clamp(15px,2vw,18px); color: #cfe9ff;
  max-width: 660px; margin: 0 auto 34px; line-height: 1.75;
}
.hero-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.hstat { text-align: center; }
.hstat-num   { display: block; font-size: 26px; font-weight: 800; color: var(--cyan); }
.hstat-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.hstat-sep   { width: 1px; height: 36px; background: rgba(125,211,252,.16); }

/* ══ BUTTONS ══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; padding: 13px 30px;
  background: linear-gradient(135deg, var(--blue2), var(--blue) 55%, var(--purple));
  color: #fff; border-radius: 12px; font-weight: 700; font-size: 14px;
  box-shadow: 0 12px 28px rgba(37,99,235,.28);
  transition: transform .25s var(--ease), filter .25s;
  border: none; cursor: pointer; font-family: 'Poppins', sans-serif;
}
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.08); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; padding: 13px 30px;
  background: rgba(191,219,254,.08); border: 1px solid rgba(191,219,254,.2);
  color: var(--text); border-radius: 12px; font-weight: 600; font-size: 14px;
  transition: background .25s, transform .25s;
}
.btn-ghost:hover { background: rgba(56,189,248,.13); transform: translateY(-3px); }

/* ══ LAYOUT ══ */
.container   { max-width: 1160px; margin: 0 auto; padding: 0 5vw; position: relative; z-index: 1; }
.section-gap { padding: 90px 0; }

.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(56,189,248,.13), rgba(139,92,246,.13));
  border: 1px solid rgba(125,211,252,.15);
  color: #7dd3fc; font-size: 11px; font-weight: 700;
  padding: 5px 15px; border-radius: 999px; margin-bottom: 12px;
  letter-spacing: 1px; text-transform: uppercase;
}
.section-title { font-size: clamp(22px,4vw,34px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.section-sub   { color: var(--muted); font-size: 15px; max-width: 580px; margin: 0 auto; }

/* ══ GLASS CARD ══ */
.glass-card {
  background: linear-gradient(180deg, rgba(13,21,47,.84), rgba(10,18,40,.76));
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: 0 20px 44px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.glass-card:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: 0 28px 56px rgba(0,0,0,.3); }
.glass-card h3 { color: #fff; margin-bottom: 9px; font-size: 1rem; }
.glass-card p  { color: var(--muted); font-size: .88rem; line-height: 1.65; }

/* ══ ABOUT ══ */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 20px; }
.card-icon {
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(56,189,248,.15), rgba(139,92,246,.17));
  border: 1px solid rgba(125,211,252,.13);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--cyan);
}

/* ══ DEMO SECTION ══ */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }

/* Juuke stage */
.juuke-stage {
  background: radial-gradient(circle at center, rgba(56,189,248,.09), transparent 42%),
              linear-gradient(180deg, rgba(15,23,42,.78), rgba(12,19,39,.96));
  border: 1px solid rgba(125,211,252,.1);
  border-radius: 20px; padding: 28px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.juuke-device {
  width: 180px;
  filter: drop-shadow(0 16px 30px rgba(37,99,235,.3));
  animation: floatDevice 3.5s ease-in-out infinite;
}
.juuke-screen-glow {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 50px; border-radius: 8px;
  pointer-events: none; transition: box-shadow .4s;
}
.juuke-screen-glow.active {
  box-shadow: 0 0 20px 6px rgba(56,189,248,.55), 0 0 44px 10px rgba(139,92,246,.22);
}
.juuke-svg-wrap { position: relative; }
.card-slot-label { font-size: 12px; color: var(--muted); text-align: center; letter-spacing: .4px; }

/* RFID cards */
.rfid-cards-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rfid-card {
  min-width: 80px; border-radius: 10px;
  border: 1.5px solid rgba(125,211,252,.2);
  background: linear-gradient(135deg, rgba(37,99,235,.28), rgba(139,92,246,.22));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: pointer; padding: 10px 8px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.rfid-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent);
  pointer-events: none;
}
.rfid-card:hover { transform: translateY(-4px) scale(1.04); border-color: rgba(56,189,248,.5); box-shadow: 0 8px 24px rgba(56,189,248,.22); }
.rfid-card.active { border-color: var(--cyan); box-shadow: 0 0 18px rgba(103,232,249,.4), 0 8px 24px rgba(56,189,248,.3); }
.rfid-icon  { font-size: 22px; }
.rfid-label { font-size: 10px; font-weight: 600; color: #c8def8; text-align: center; line-height: 1.3; }

/* Story panel */
.story-panel { display: flex; flex-direction: column; gap: 14px; }
.story-img-wrap { position: relative; border-radius: 16px; overflow: hidden; }
.story-image { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform .4s; }
.story-img-wrap:hover .story-image { transform: scale(1.03); }

.now-playing-bar {
  position: absolute; bottom: 10px; left: 10px; right: 10px;
  background: rgba(7,12,28,.84); backdrop-filter: blur(8px);
  border: 1px solid rgba(125,211,252,.14); border-radius: 10px;
  padding: 7px 12px; display: flex; align-items: center; gap: 9px;
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.now-playing-bar.show { opacity: 1; }
.np-dot   { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; animation: npPulse 1s infinite; }
.np-title { font-size: 12px; font-weight: 600; color: #fff; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.story-text-box {
  background: rgba(8,16,36,.88);
  border-left: 4px solid var(--blue);
  border-radius: 14px; padding: 16px;
  min-height: 88px; font-size: 13.5px; line-height: 1.75;
  color: var(--text); white-space: pre-wrap; word-break: break-word;
}

/* Progress */
.progress-wrap { display: flex; align-items: center; gap: 10px; }
.progress-bg   { flex: 1; height: 4px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue2), var(--blue), var(--purple)); width: 0%; transition: width .5s linear; }
.progress-time { font-size: 11px; color: var(--muted); min-width: 36px; text-align: right; }

/* Controls */
.playback-controls { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.ctrl-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 10px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: transform .2s, filter .2s;
  border: none; color: #fff; font-family: 'Poppins', sans-serif;
}
.ctrl-btn:hover { transform: translateY(-2px); filter: brightness(1.12); }
.ctrl-play  { background: linear-gradient(135deg, var(--blue2), var(--blue) 55%, var(--purple)); }
.ctrl-pause { background: rgba(56,189,248,.14); border: 1px solid rgba(56,189,248,.22); color: #7dd3fc; }
.ctrl-stop  { background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.22); color: #c4b5fd; }

/* Wave bars */
.wave-wrap { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.wave-bar  { width: 5px; border-radius: 999px; background: linear-gradient(180deg, var(--cyan), var(--purple)); height: 6px; opacity: .22; transform-origin: bottom; }
.wave-wrap.active .wave-bar { opacity: 1; animation: waveDance .85s ease-in-out infinite; }
.wave-wrap.active .wave-bar:nth-child(2){animation-delay:.08s}
.wave-wrap.active .wave-bar:nth-child(3){animation-delay:.16s}
.wave-wrap.active .wave-bar:nth-child(4){animation-delay:.24s}
.wave-wrap.active .wave-bar:nth-child(5){animation-delay:.32s}
.wave-wrap.active .wave-bar:nth-child(6){animation-delay:.40s}
.wave-wrap.active .wave-bar:nth-child(7){animation-delay:.48s}
.wave-wrap.active .wave-bar:nth-child(8){animation-delay:.56s}

/* ══ TECH ══ */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 16px; }
.tech-card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px 14px; text-align: center;
  transition: border-color .3s, transform .3s var(--ease); position: relative;
}
.tech-card:hover { border-color: var(--border2); transform: translateY(-5px); }
.tech-card img { width: 52px; height: 52px; object-fit: contain; margin-bottom: 10px; }
.tech-card h4  { color: #fff; font-size: .9rem; margin-bottom: 3px; }
.tech-card p   { color: var(--muted); font-size: .78rem; }
.tech-badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(103,232,249,.1); border: 1px solid rgba(103,232,249,.2);
  color: var(--cyan); font-size: 9px; font-weight: 700;
  padding: 2px 7px; border-radius: 999px;
}

/* ══ COUNTDOWN ══ */
.countdown-wrap {
  background: linear-gradient(135deg, rgba(37,99,235,.16), rgba(139,92,246,.16));
  border: 1px solid var(--border); border-radius: 24px;
  padding: 50px 44px; display: flex; justify-content: space-between;
  align-items: center; gap: 3rem; flex-wrap: wrap; backdrop-filter: blur(10px);
}
.cd-left  { flex: 1; min-width: 240px; }
.cd-chip  { color: #7dd3fc; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.cd-title { color: #fff; font-size: 2rem; font-weight: 800; margin-bottom: 26px; }
.time     { display: flex; gap: 12px; flex-wrap: wrap; }
.date {
  text-align: center; padding: 16px 20px;
  background: rgba(255,255,255,.09); backdrop-filter: blur(8px);
  border-radius: 14px; border: 1px solid rgba(255,255,255,.15);
  font-size: 2rem; font-weight: 900; color: #fff; min-width: 72px; line-height: 1.2;
}
.date span { display: block; font-size: 9px; font-weight: 500; opacity: .65; margin-top: 4px; letter-spacing: 1px; text-transform: uppercase; }
.register-form {
  background: rgba(13,21,47,.82); border: 1px solid var(--border);
  border-radius: 18px; padding: 30px; min-width: 270px;
  display: flex; flex-direction: column; gap: 10px;
}
.register-form h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.register-form input {
  padding: 12px 15px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(125,211,252,.14);
  border-radius: 10px; color: #fff; font-family: 'Poppins', sans-serif;
  font-size: 13px; outline: none; transition: border-color .2s;
}
.register-form input:focus { border-color: rgba(56,189,248,.4); }
.register-form input::placeholder { color: var(--dim); }

/* ══ TEAM ══ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 20px; }
.team-card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 20px; padding: 26px 18px; text-align: center;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.team-card:hover { border-color: var(--border2); transform: translateY(-6px); box-shadow: 0 22px 48px rgba(0,0,0,.3); }
.team-card img {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(56,189,248,.35); margin-bottom: 14px; display: block; margin-left: auto; margin-right: auto;
}
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; font-weight: 800;
}
.team-card h3 { color: #fff; font-size: .98rem; margin-bottom: 10px; }
.role-tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin: 8px 0; }
.role-tags span {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  background: rgba(56,189,248,.09); color: #7dd3fc; border: 1px solid rgba(56,189,248,.17);
}
.role-tags i { font-size: 8px; }
.pro-links { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.pro-links a {
  width: 33px; height: 33px; border-radius: 50%;
  border: 1px solid rgba(125,211,252,.18);
  display: flex; align-items: center; justify-content: center;
  color: #7dd3fc; text-decoration: none; font-size: 13px;
  transition: background .2s, border-color .2s, transform .2s;
}
.pro-links a:hover { background: rgba(56,189,248,.18); color: #fff; border-color: rgba(56,189,248,.4); transform: translateY(-2px); }

/* ══ TOAST ══ */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(16px);
  background: rgba(13,21,47,.96); border: 1px solid rgba(56,189,248,.3);
  color: #fff; padding: 13px 24px; border-radius: 12px; font-size: 14px;
  font-weight: 500; z-index: 9999; opacity: 0; transition: opacity .3s, transform .3s;
  pointer-events: none; backdrop-filter: blur(14px); white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══ FOOTER ══ */
footer {
  background: linear-gradient(135deg, rgba(9,14,30,.98), rgba(16,26,58,.98));
  border-top: 1px solid rgba(191,219,254,.06);
  padding: 40px 20px; text-align: center; position: relative; z-index: 1;
}
.footer-inner { max-width: 680px; margin: 0 auto; }
.footer-title { font-size: .97rem; font-weight: 700; color: #fff; margin-bottom: 5px; }
.footer-sub   { font-size: 12.5px; color: var(--dim); margin-bottom: 18px; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: #7dd3fc; font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.footer-links a:hover { color: #fff; }

/* ══ PAGE HERO (inner pages) ══ */
#page-hero {
  min-height: 44vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 110px 5vw 56px; position: relative; z-index: 1;
  background:
    radial-gradient(circle at center, rgba(56,189,248,.10), transparent 30%),
    linear-gradient(135deg, rgba(37,99,235,.22), rgba(168,85,247,.18), rgba(6,182,212,.12));
  border-bottom: 1px solid rgba(191,219,254,.06);
}
#page-hero h1 { color: #fff; font-size: clamp(1.8rem,5vw,3rem); font-weight: 800; text-shadow: 0 0 20px rgba(56,189,248,.35); margin-bottom: 8px; }
#page-hero p  { color: var(--muted); font-size: 1rem; }

/* ══ STUDIES PAGE ══ */
.studies-layout { display: grid; grid-template-columns: 1fr 290px; gap: 28px; align-items: start; }
.study-article  { display: flex; flex-direction: column; gap: 22px; }
.study-block {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: border-color .3s, transform .3s var(--ease);
}
.study-block:hover { border-color: var(--border2); transform: translateY(-3px); }
.study-block h2 { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.study-block h2 i { color: var(--cyan); font-size: .9rem; }
.study-block p  { color: var(--muted); font-size: .91rem; line-height: 1.8; margin-bottom: 10px; }
.study-block p:last-child { margin-bottom: 0; }
.write-here {
  background: rgba(56,189,248,.05); border: 1.5px dashed rgba(56,189,248,.26);
  border-radius: 11px; padding: 14px 16px; color: var(--dim);
  font-size: 13px; line-height: 1.7; margin-top: 8px; font-style: italic;
}
.study-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 80px; }
.sidebar-card  { background: var(--glass); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.sidebar-card h3 { color: #fff; font-size: .9rem; margin-bottom: 13px; font-weight: 600; }
.sidebar-tag {
  display: inline-block; background: rgba(56,189,248,.09); border: 1px solid rgba(56,189,248,.17);
  color: #7dd3fc; font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 999px; margin: 3px 3px 0 0;
}
.sidebar-link { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #7dd3fc; font-size: 13px; padding: 8px 0; border-bottom: 1px solid rgba(125,211,252,.07); transition: color .2s; }
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: #fff; }
.ref-item { display: flex; gap: 9px; padding: 9px 0; border-bottom: 1px solid rgba(125,211,252,.07); }
.ref-item:last-child { border-bottom: none; }
.ref-num  { color: var(--blue); font-weight: 700; font-size: 12px; flex-shrink: 0; }
.ref-text { color: var(--muted); font-size: 12px; line-height: 1.5; }

/* ══ BUTEEL PAGE ══ */
.buteel-layout  { display: flex; gap: 28px; align-items: flex-start; }
.buteel-main    { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.buteel-sidebar { width: 270px; flex-shrink: 0; position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }

.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.badge i { font-size: 9px; }
.badge-blue   { background: rgba(56,189,248,.11); color: var(--blue); border: 1px solid rgba(56,189,248,.2); }
.badge-purple { background: rgba(139,92,246,.11); color: #a78bfa;    border: 1px solid rgba(139,92,246,.2); }
.badge-green  { background: rgba(34,197,94,.11);  color: #4ade80;    border: 1px solid rgba(34,197,94,.2); }

.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }
.stat-card { background: rgba(56,189,248,.05); border: 1px solid rgba(56,189,248,.11); border-radius: 13px; padding: 18px 10px; text-align: center; }
.stat-icon  { font-size: 18px; color: var(--blue); display: block; margin-bottom: 7px; }
.stat-value { font-size: 24px; font-weight: 800; color: #fff; display: block; }
.stat-label { font-size: 10px; color: var(--dim); margin-top: 2px; display: block; }

.learn-list p { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; color: var(--muted); padding-bottom: 11px; line-height: 1.6; }
.learn-list p i { color: var(--blue); margin-top: 2px; flex-shrink: 0; }

.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; background: rgba(56,189,248,.18); }
.tl-item  { position: relative; margin-bottom: 20px; }
.tl-dot   { position: absolute; left: -20px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 3px solid var(--bg2); box-shadow: 0 0 0 2px var(--blue); }
.tl-item h4 { font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.tl-item p  { font-size: 11.5px; color: var(--dim); }

.tutor-card { display: flex; align-items: center; gap: 14px; background: rgba(56,189,248,.05); border: 1px solid rgba(56,189,248,.11); border-radius: 13px; padding: 14px; }
.tutor-card img { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(56,189,248,.28); }
.tutor-card h5 { color: #fff; margin-bottom: 2px; font-size: .95rem; }
.tutor-card p  { font-size: 12px; color: var(--muted); }

hr.dim { border: none; border-top: 1px solid rgba(125,211,252,.09); margin: 6px 0; }

.enroll-btn a {
  display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none; font-size: .83rem; padding: 11px 24px; border-radius: 10px;
  font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--blue2), var(--blue) 55%, var(--purple));
  transition: transform .25s, filter .25s;
}
.enroll-btn a:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* ══ CONTACT PAGE ══ */
.contact-layout { display: flex; gap: 3rem; align-items: flex-start; flex-wrap: wrap; }
.contact-info { flex: 0 0 280px; }
.contact-info h2 { color: #fff; font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.contact-intro { color: var(--muted); margin-bottom: 26px; font-size: .92rem; line-height: 1.7; }
.contact-detail { margin-bottom: 18px; }
.contact-detail h3 { color: #7dd3fc; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 5px; }
.contact-detail p  { color: var(--muted); font-size: 13.5px; display: flex; align-items: flex-start; gap: 9px; }
.contact-detail p i { color: var(--blue); margin-top: 2px; flex-shrink: 0; }
.contact-form-card { flex: 1; min-width: 280px; background: var(--glass); border: 1px solid var(--border); border-radius: 20px; padding: 30px; }
.contact-form-card h4 { color: #fff; font-size: 1.05rem; margin-bottom: 5px; }
.contact-form-card .form-sub { color: var(--dim); font-size: 12.5px; margin-bottom: 18px; }
.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.form-row input { flex: 1; }
.contact-form-card input,
.contact-form-card textarea {
  width: 100%; padding: 12px 15px; margin-bottom: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(125,211,252,.13);
  border-radius: 10px; color: #fff; font-family: 'Poppins', sans-serif;
  font-size: 13px; outline: none; transition: border-color .2s; resize: vertical;
  display: block;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus { border-color: rgba(56,189,248,.4); }
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder { color: var(--dim); }
.send-btn {
  width: 100%; padding: 13px; border: none; border-radius: 10px; cursor: pointer;
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue2), var(--blue) 55%, var(--purple));
  box-shadow: 0 10px 26px rgba(37,99,235,.25); transition: transform .25s, filter .25s;
}
.send-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

#map iframe { width: 100%; height: 60vh; border: 0; display: block; }

/* ══ ANIMATIONS ══ */
@keyframes floatDevice  { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes waveDance    { 0%,100%{transform:scaleY(.3)} 50%{transform:scaleY(2)} }
@keyframes npPulse      { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.65)} }
@keyframes waveUp       { 0%{height:6px} 100%{height:38px} }

/* ══ RESPONSIVE ══ */
@media(max-width:960px) {
  .demo-grid      { grid-template-columns: 1fr; }
  .studies-layout { grid-template-columns: 1fr; }
  .study-sidebar  { position: static; }
  .buteel-layout  { flex-direction: column; }
  .buteel-sidebar { position: static; width: 100%; }
}
@media(max-width:789px) {
  #menu-btn   { display: initial; }
  #menu-close { display: initial; }
  .nav-links {
    position: fixed; top: 0; right: -260px;
    flex-direction: column; justify-content: flex-start; align-items: flex-start;
    width: 245px; height: 100vh;
    background: rgba(7,12,28,.97); backdrop-filter: blur(18px);
    border-left: 1px solid rgba(125,211,252,.1);
    transition: right .3s var(--ease); z-index: 200; gap: 0; padding-bottom: 2rem;
  }
  .nav-links.active { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; padding: 14px 26px; border-radius: 0; color: #c8def8; }
  .nav-links li a:hover,
  .nav-links li a.active { background: rgba(56,189,248,.1); color: #fff; }
  .contact-layout { flex-direction: column; }
  .contact-info   { flex: none; width: 100%; }
  .form-row       { flex-direction: column; }
  .countdown-wrap { flex-direction: column; padding: 32px 22px; }
}
@media(max-width:475px) {
  .hero-btns  { flex-direction: column; align-items: center; }
  .hero-stats { gap: 16px; }
  .stat-grid  { grid-template-columns: repeat(3,1fr); }
}