:root {
  --bg-dark: #0f0c29;
  --bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  --primary: #00f2ea;
  --secondary: #ff0050;
  --text-main: #ffffff;
  --text-muted: #b0b0c0;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.1);
  --font-head: "Outfit", sans-serif;
  --font-mono: "Space Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-head);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

/* Background Blobs */
.background-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #1a163a 0%, #0f0c29 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
  animation: float 15s infinite alternate;
}

.b1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -150px;
  left: -100px;
}
.b2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -100px;
  right: -50px;
  animation-delay: 3s;
}
.b3 {
  width: 300px;
  height: 300px;
  background: #7b2cbf;
  top: 40%;
  left: 40%;
  animation-duration: 20s;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, 60px);
  }
}

@media (max-width: 500px) {
  b1,
  b2,
  b3,
  .blob {
    display: none;
  }
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.glass-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1240px;
  height: 70px;
  background: rgba(15, 12, 41, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.logo-text .highlight {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-neon {
  background: rgba(0, 242, 234, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(0, 242, 234, 0.1);
}

.btn-neon:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 25px rgba(0, 242, 234, 0.4);
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Hero */
.hero-glass {
  padding-top: 160px;
  padding-bottom: 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 25px;
  border: 1px solid rgba(0, 242, 234, 0.2);
}

h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.btn-primary {
  background: #fff;
  color: #000;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.btn-glass {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  font-weight: 500;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
}

.glass-card-hero {
  position: relative;
  border-radius: 24px;
}

.glass-card-hero img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transform: perspective(1000px) rotateY(-5deg);
  transition: 0.5s;
}

.glass-card-hero:hover img {
  transform: perspective(1000px) rotateY(0);
}

.floating-ui {
  position: absolute;
  background: rgba(15, 12, 41, 0.85);
  backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--primary);
}

.u1 {
  top: 40px;
  left: -40px;
}
.u2 {
  bottom: 60px;
  right: -30px;
}

/* Ticker */
.tech-ticker {
  background: var(--primary);
  color: #000;
  padding: 12px 0;
  transform: rotate(-1deg);
  overflow: hidden;
  margin: 40px 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.ticker-track {
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 1rem;
  display: flex;
  gap: 40px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Sections Common */
section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.section-title.center {
  text-align: center;
}
.section-title.right {
  text-align: right;
}

.subtitle {
  color: var(--text-muted);
  margin-bottom: 60px;
  font-size: 1.1rem;
  max-width: 600px;
}
.subtitle.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.subtitle.right {
  margin-left: auto;
  text-align: right;
}

.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
}

/* Philosophy Text */
.narrow-text {
  max-width: 800px;
}

.text-block p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.text-block strong {
  color: var(--text-main);
}

/* Program Tabs */
.program-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.track-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  transition: 0.3s;
}

.track-card:hover {
  border-color: var(--primary);
  background: var(--glass-highlight);
}

.track-head {
  background: rgba(255, 255, 255, 0.03);
  padding: 30px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 15px;
}

.track-head i {
  color: var(--primary);
  width: 32px;
  height: 32px;
}

.track-head h3 {
  font-size: 1.5rem;
}

.track-body {
  padding: 30px;
}

.track-desc {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.track-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  padding-left: 20px;
  position: relative;
  color: var(--text-muted);
}

.track-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-family: var(--font-mono);
}

.track-list strong {
  color: #fff;
}

.track-meta {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

.track-meta span {
  background: rgba(0, 242, 234, 0.1);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  border-radius: 20px;
  overflow: hidden;
  background: #15122b;
  border: 1px solid var(--glass-border);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--glass-border);
}

.project-info {
  padding: 25px;
}

.project-info h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-stack span {
  font-size: 0.75rem;
  border: 1px solid var(--glass-border);
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--text-muted);
}

/* Career */
.career-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.career-steps {
  margin-top: 40px;
}

.career-steps li {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.career-steps i {
  color: var(--secondary);
  min-width: 24px;
  margin-top: 5px;
}

.career-steps strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.career-stat-box {
  text-align: center;
}

.career-stat-box h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--primary);
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 1.1rem;
}

.stat-row span {
  color: var(--text-muted);
}

.stat-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 20px;
  font-style: italic;
}

/* Mentors */
.mentors-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.mentor-card {
  text-align: center;
}

.img-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-dark);
}

.mentor-card h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.mentor-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* FAQ */
.max-800 {
  max-width: 800px;
  margin: 0 auto;
}

.glass-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.acc-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
}

.acc-head {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  transition: 0.3s;
}

.acc-head:hover {
  background: rgba(255, 255, 255, 0.02);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  padding: 0 25px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.acc-item.active .acc-body {
  padding-bottom: 25px;
  max-height: 200px;
}

.acc-item.active .acc-head {
  color: var(--primary);
}

/* Contact Form */
.contact-glass-box {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(15, 12, 41, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 50px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-head {
  text-align: center;
  margin-bottom: 30px;
}

.form-head h2 {
  margin-bottom: 10px;
}
.form-head p {
  color: var(--text-muted);
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 12px 15px;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
}

.field input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.checkbox-row {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox-row a {
  color: var(--primary);
  text-decoration: underline;
}

.btn-neon.full {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  cursor: pointer;
}

/* Footer */
.main-footer {
  border-top: 1px solid var(--glass-border);
  background: #080613;
  padding-top: 80px;
  font-size: 0.9rem;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links h5,
.footer-contact h5 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1rem;
  font-family: var(--font-mono);
}

.footer-links a,
.footer-contact p {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact p {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-copy {
  border-top: 1px solid var(--glass-border);
  padding: 20px;
  text-align: center;
  color: #555;
  font-size: 0.8rem;
}

/* Mobile Menu */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 12, 41, 0.98);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.mobile-overlay.active {
  transform: translateY(0);
}

.mobile-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: center;
}

.mobile-content a {
  font-size: 1.8rem;
  font-weight: 700;
}

.close-mobile {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
}

/* Cookie */
.glass-cookie {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(15, 12, 41, 0.9);
  border: 1px solid var(--glass-border);
  padding: 20px;
  border-radius: 12px;
  z-index: 5000;
  max-width: 320px;
  display: none;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-content {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  align-items: center;
}

#acceptCookie {
  background: var(--primary);
  border: none;
  padding: 8px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-end;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links,
  .header-actions .btn-neon {
    display: none;
  }
  .burger-menu {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .glass-card-hero {
    margin-top: 40px;
  }

  .tech-ticker {
    display: none;
  }

  .u2 {
    right: 20px;
  }

  .program-tabs {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .career-layout {
    grid-template-columns: 1fr;
  }
  .mentors-scroll {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}
