/* ===== RESET & BASE ===== */
* { -webkit-tap-highlight-color: transparent; margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-feature-settings: 'cv11', 'ss01'; }

/* ===== NOISE ===== */
.noise::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(.85); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.reveal { opacity: 0; }
.reveal.in-view { animation: fadeUp .8s cubic-bezier(.16,1,.3,1) forwards; }
.reveal.in-view.d1 { animation-delay: .1s; }
.reveal.in-view.d2 { animation-delay: .2s; }
.reveal.in-view.d3 { animation-delay: .3s; }
.reveal.in-view.d4 { animation-delay: .4s; }
.reveal.in-view.d5 { animation-delay: .5s; }

/* ===== NAV ===== */
.nav-glass {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.6);
  transition: all .4s cubic-bezier(.16,1,.3,1);
}
.nav-glass.scrolled {
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 40px -8px rgba(10,22,40,.1);
  border-color: rgba(10,22,40,.06);
}
.nav-link {
  position: relative; font-size: .875rem; font-weight: 500;
  color: rgba(10,22,40,.6); transition: color .3s; padding: .35rem .6rem;
  white-space: nowrap;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: .6rem; right: .6rem; height: 2px;
  background: #2563ff; border-radius: 2px; transform: scaleX(0); transform-origin: right;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.nav-link:hover, .nav-link.active { color: #0a1628; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }

/* ===== DROPDOWN ===== */
.nav-item { position: relative; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: #fff; border-radius: 16px; padding: .6rem;
  box-shadow: 0 24px 60px -12px rgba(10,22,40,.18);
  border: 1px solid rgba(10,22,40,.06);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .3s cubic-bezier(.16,1,.3,1);
  z-index: 50;
}
.dropdown a {
  display: block; padding: .6rem .8rem; border-radius: 10px;
  font-size: .82rem; font-weight: 500; color: rgba(10,22,40,.7);
  transition: all .2s;
}
.dropdown a:hover { background: #eef3ff; color: #2563ff; padding-left: 1rem; }
.dropdown .sub-dropdown { position: relative; }
.dropdown .sub-dropdown > a::after { content: '›'; float: right; opacity: .4; }
.dropdown .sub-dropdown .sub-menu {
  position: absolute; left: 100%; top: 0; min-width: 260px;
  background: #fff; border-radius: 16px; padding: .6rem;
  box-shadow: 0 24px 60px -12px rgba(10,22,40,.18);
  border: 1px solid rgba(10,22,40,.06);
  opacity: 0; visibility: hidden; transform: translateX(8px);
  transition: all .3s cubic-bezier(.16,1,.3,1);
}
.dropdown .sub-dropdown:hover .sub-menu { opacity: 1; visibility: visible; transform: translateX(0); }

/* ===== BUTTONS ===== */
.btn-primary, .btn-dark, .btn-sun, .btn-quiet, .btn-outline-light {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600;
  font-size: .875rem; padding: .8rem 1.5rem; border-radius: 12px;
  transition: all .3s cubic-bezier(.16,1,.3,1); cursor: pointer; border: none;
  text-decoration: none;
}
.btn-primary { background: #2563ff; color: #fff; box-shadow: 0 4px 20px -4px rgba(37,99,255,.4); }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 32px -4px rgba(37,99,255,.5); }
.btn-dark { background: #0a1628; color: #fff; }
.btn-dark:hover { background: #1a2a45; transform: translateY(-2px); }
.btn-sun { background: #ffd247; color: #0a1628; }
.btn-sun:hover { background: #ffdf6b; transform: translateY(-2px); }
.btn-quiet { color: rgba(10,22,40,.6); padding: .8rem 1rem; }
.btn-quiet:hover { color: #0a1628; background: rgba(10,22,40,.04); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.25); color: #fff; }
.btn-outline-light:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }

/* ===== SECTIONS ===== */
.section-pad { padding: 6rem 1rem; }
@media (min-width: 640px) { .section-pad { padding: 7rem 1.5rem; } }
@media (min-width: 1024px) { .section-pad { padding: 8rem 2.5rem; } }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(10,22,40,.4);
}
.kicker-light { color: rgba(255,255,255,.45); }
.kicker-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; border-radius: 6px;
  background: rgba(37,99,255,.1); color: #2563ff;
  font-size: .65rem; font-weight: 800;
}
.kicker-light .kicker-num { background: rgba(255,210,71,.15); color: #ffd247; }

/* ===== CARDS ===== */
.card-lift { transition: all .4s cubic-bezier(.16,1,.3,1); }
.card-lift:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -12px rgba(10,22,40,.15); }

/* ===== HERO ===== */
.hero-gradient { background: linear-gradient(165deg, #f8f9fc 0%, #eef3ff 40%, #f8f9fc 100%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(37,99,255,.12), transparent 70%); top: -10%; right: -5%; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,210,71,.15), transparent 70%); bottom: -15%; left: -8%; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,123,107,.1), transparent 70%); top: 40%; left: 30%; }

.hero-image-wrap { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(10,22,40,.35); }
.hero-image-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,.85) 0%, rgba(10,22,40,.1) 50%, transparent 100%); pointer-events: none; }
.hero-caption { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; pointer-events: none; }
.hero-caption .campus-tag { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; color: rgba(255,255,255,.85); font-size: .65rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

.floating-badge {
  position: absolute; background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.8);
  border-radius: 16px; padding: 1rem 1.25rem;
  box-shadow: 0 20px 60px -15px rgba(10,22,40,.15);
}

/* ===== PROGRAM CARDS ===== */
.program-card {
  position: relative; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: 24px;
  padding: 2rem; transition: all .5s cubic-bezier(.16,1,.3,1); overflow: hidden;
}
.program-card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); transform: translateY(-4px); }
.program-card-feature { background: rgba(37,99,255,.15); border-color: rgba(37,99,255,.3); }
.program-card-feature:hover { background: rgba(37,99,255,.22); }

/* ===== GRAPHICS ===== */
.graphic-arch, .graphic-urban, .graphic-city { height: 100px; position: relative; margin-bottom: 1.5rem; }
.graphic-arch .line { position: absolute; background: rgba(255,255,255,.15); border-radius: 2px; }
.graphic-arch .line-1 { width: 60%; height: 2px; top: 20%; left: 0; }
.graphic-arch .line-2 { width: 40%; height: 2px; top: 45%; left: 0; }
.graphic-arch .line-3 { width: 75%; height: 2px; top: 70%; left: 0; }
.graphic-arch .block { position: absolute; right: 10%; top: 10%; width: 50px; height: 80px; border: 2px solid rgba(255,210,71,.5); border-radius: 4px; background: rgba(255,210,71,.08); }

.graphic-urban .grid-dot { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 16px 16px; }
.graphic-urban .circle { position: absolute; right: 15%; top: 15%; width: 65px; height: 65px; border: 2px solid rgba(37,99,255,.4); border-radius: 50%; background: rgba(37,99,255,.06); }
.graphic-urban .road { position: absolute; bottom: 20%; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.2), rgba(255,255,255,.05)); }

.graphic-city .sun { position: absolute; top: 10%; right: 15%; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,210,71,.25); border: 2px solid rgba(255,210,71,.5); }
.graphic-city .bld { position: absolute; bottom: 0; border-radius: 4px 4px 0 0; border: 1.5px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); }
.graphic-city .b1 { left: 10%; width: 28px; height: 45px; }
.graphic-city .b2 { left: 30%; width: 35px; height: 70px; }
.graphic-city .b3 { left: 52%; width: 24px; height: 55px; }

/* ===== RESEARCH PANEL ===== */
.research-panel { background: #0a1628; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(10,22,40,.4); border: 1px solid rgba(255,255,255,.08); }
.research-visual { position: relative; height: 260px; background: linear-gradient(135deg, #0d1f3c 0%, #0a1628 100%); overflow: hidden; }
.research-visual::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; }
.research-dot { position: absolute; border-radius: 50%; background: #2563ff; box-shadow: 0 0 20px rgba(37,99,255,.6); }
.research-dot.d1 { width: 8px; height: 8px; top: 30%; left: 25%; }
.research-dot.d2 { width: 6px; height: 6px; top: 55%; left: 60%; background: #ffd247; box-shadow: 0 0 20px rgba(255,210,71,.5); }
.research-dot.d3 { width: 10px; height: 10px; top: 70%; left: 35%; background: #ff7b6b; box-shadow: 0 0 20px rgba(255,123,107,.5); }
.research-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 140px; height: 140px; border: 1px solid rgba(37,99,255,.2); border-radius: 50%; }
.research-ring::after { content: ''; position: absolute; inset: 20px; border: 1px solid rgba(37,99,255,.15); border-radius: 50%; }
.research-tag { position: absolute; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 6px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.1); }

/* ===== ADMISSION BOX ===== */
.admission-box { position: relative; border-radius: 32px; overflow: hidden; background: linear-gradient(135deg, #2563ff 0%, #1d4ed8 100%); }
.admission-box::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.06); top: -200px; right: -100px; }
.admission-box::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,210,71,.08); bottom: -150px; left: -80px; }

/* ===== NEWS ===== */
.news-card-main { border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 8px 32px -8px rgba(10,22,40,.08); transition: all .4s cubic-bezier(.16,1,.3,1); }
.news-card-main:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -12px rgba(10,22,40,.15); }
.news-card-main img { transition: transform .6s cubic-bezier(.16,1,.3,1); }
.news-card-main:hover img { transform: scale(1.04); }

/* ===== RESOURCE ===== */
.resource-item { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; border-radius: 16px; background: #fff; border: 1px solid rgba(10,22,40,.06); transition: all .35s cubic-bezier(.16,1,.3,1); }
.resource-item:hover { border-color: rgba(37,99,255,.2); box-shadow: 0 12px 40px -8px rgba(37,99,255,.12); transform: translateX(4px); }

/* ===== NEWSLETTER ===== */
.newsletter-section { background: linear-gradient(135deg, #0a1628 0%, #111d35 100%); position: relative; overflow: hidden; }
.newsletter-section::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,255,.2), transparent 70%); top: -250px; right: -100px; }
.newsletter-section::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(255,210,71,.1), transparent 70%); bottom: -200px; left: -100px; }
.newsletter-input { width: 100%; padding: 1rem 1.25rem; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; font-size: .9rem; outline: none; transition: all .3s; }
.newsletter-input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-input:focus { border-color: #2563ff; background: rgba(255,255,255,.1); box-shadow: 0 0 0 4px rgba(37,99,255,.15); }

/* ===== MOBILE MENU ===== */
.mobile-menu { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.16,1,.3,1), opacity .3s; opacity: 0; }
.mobile-menu.open { max-height: 700px; opacity: 1; }
.mobile-accordion-content { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.16,1,.3,1); }
.mobile-accordion.open .mobile-accordion-content { max-height: 500px; }
.mobile-accordion.open .mobile-chevron { transform: rotate(180deg); }
.mobile-chevron { transition: transform .3s; }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.5); }
.breadcrumb a { color: rgba(255,255,255,.7); transition: color .2s; }
.breadcrumb a:hover { color: #ffd247; }

/* ===== PAGE HERO ===== */
.page-hero { position: relative; padding: 5rem 1rem 4rem; background: linear-gradient(135deg, #0a1628 0%, #111d35 100%); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,255,.15), transparent 70%); top: -300px; right: -150px; }
.page-hero::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(255,210,71,.08), transparent 70%); bottom: -200px; left: -100px; }

/* ===== CONTENT PROSE ===== */
.prose h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; margin: 2.5rem 0 1rem; color: #0a1628; }
.prose h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; margin: 2rem 0 .75rem; color: #0a1628; }
.prose h4 { font-weight: 700; font-size: 1rem; margin: 1.5rem 0 .5rem; color: #0a1628; }
.prose p { margin-bottom: 1rem; line-height: 1.75; color: rgba(10,22,40,.7); }
.prose ul, .prose ol { margin: 1rem 0 1.5rem 1.5rem; color: rgba(10,22,40,.7); }
.prose li { margin-bottom: .5rem; line-height: 1.7; }
.prose strong { color: #0a1628; font-weight: 700; }
.prose a { color: #2563ff; text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.prose a:hover { color: #1d4ed8; }
.prose .info-box { background: #eef3ff; border-left: 4px solid #2563ff; padding: 1.25rem 1.5rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0; }
.prose .warning-box { background: #fff8e6; border-left: 4px solid #ffd247; padding: 1.25rem 1.5rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0; }
.prose .step-box { background: #f8f9fc; border: 1px solid rgba(10,22,40,.08); border-radius: 16px; padding: 1.5rem; margin: 1.5rem 0; }
.prose .step-num { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 10px; background: #2563ff; color: #fff; font-weight: 800; font-size: .8rem; margin-right: .75rem; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f8f9fc; }
::-webkit-scrollbar-thumb { background: #c5cde0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a0aec8; }