@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Colors */
  --bg-main: #050505;
  --bg-secondary: #0B0B12;
  --card-bg: rgba(255, 255, 255, 0.03);
  --border-light: rgba(255, 255, 255, 0.08);

  --accent-purple: #7B2FF7;
  --accent-pink: #EC4899;

  --text-white: #F5F5F5;
  --text-muted: #A1A1AA;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --section-spacing: clamp(60px, 10vw, 120px);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1.125rem;
}

a {
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-spacing) 0;
  position: relative;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradients & Glows */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.4;
  animation: float 10s ease-in-out infinite;
}

.glow-purple {
  background: var(--accent-purple);
  width: 400px;
  height: 400px;
}

.glow-pink {
  background: var(--accent-pink);
  width: 300px;
  height: 300px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.1);
  }
}

/* Glassmorphism */
.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 3rem;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-panel:hover {
  transform: translateY(-8px);
  border-color: rgba(123, 47, 247, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(123, 47, 247, 0.1);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: #fff;
  border: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(123, 47, 247, 0.4);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text-white);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Image Placeholder */
.image-placeholder {
  width: 100%;
  min-height: 250px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-light);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.image-placeholder i {
  color: var(--accent-purple);
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.image-placeholder:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(123, 47, 247, 0.4);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: clamp(1rem, 3vw, 1.5rem) 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  /* spacing between image and text */
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  z-index: 1002;
}

.logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 5vw, 2rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  display: flex;
  align-items: center;
  margin-top: 0;
  /* remove vertical shift */
}

.logo-text .dot {
  color: var(--accent-purple);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

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

.nav-links a:hover {
  color: var(--text-white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-links a.active {
  color: var(--text-white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
  border-radius: 2px;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Marquee Effect */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2rem 0;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-left: 4rem;
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
}

.marquee-item i {
  color: var(--accent-purple);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1rem;
}

.faq-header {
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 500;
  transition: color 0.3s;
}

.faq-header:hover {
  color: var(--accent-pink);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent-purple);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-content-inner {
  padding-bottom: 1.5rem;
  color: var(--text-muted);
}

.faq-item.active .faq-content {
  max-height: 500px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Layout Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.grid-course {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
}

/* Mobile Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1002;
  position: relative;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 1024px) {
  /* Hamburger Menu Toggle */
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    z-index: 1001;
    visibility: hidden;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  
  .nav-links a {
    font-size: 2rem;
    padding: 1rem 0;
    border-bottom: none;
    color: var(--text-white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
  }
  
  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a:nth-child(1) { transition-delay: 0.1s; }
  .nav-links a:nth-child(2) { transition-delay: 0.15s; }
  .nav-links a:nth-child(3) { transition-delay: 0.2s; }
  .nav-links a:nth-child(4) { transition-delay: 0.25s; }
  .nav-links a:nth-child(5) { transition-delay: 0.3s; }
  
  .navbar .btn-primary {
    display: none;
  }

  /* Grid Fallbacks */
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-course {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Collapse inline spans */
  [style*="grid-column: span"] {
    grid-column: 1 / -1 !important;
  }
  
  [style*="grid-row: span"] {
    grid-row: auto !important;
  }

  /* Mobile Flex Fallbacks */
  .flex-mobile-col {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 1.5rem !important;
  }
  
  .flex-mobile-col.text-center {
    align-items: center !important;
    text-align: center !important;
  }

  /* Padding adjustments */
  .glass-panel {
    padding: 2rem 1.5rem;
  }
}
}