@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/outfit-300.woff2') format('woff2'),
       url('./fonts/Outfit-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/outfit-400.woff2') format('woff2'),
       url('./fonts/Outfit-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/outfit-500.woff2') format('woff2'),
       url('./fonts/Outfit-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/outfit-600.woff2') format('woff2'),
       url('./fonts/Outfit-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/outfit-700.woff2') format('woff2'),
       url('./fonts/Outfit-700.ttf') format('truetype');
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #3b82f6;
  --dark: #0f172a;
  --light: #eee8d5;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  /* FAQ Specific */
  --faq-bg: var(--white);
  --faq-border: #f1f5f9;
  --faq-active-border: var(--primary);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: scroll; /* Force vertical scrollbar to prevent layout jump on short pages */
  background-image: 
    radial-gradient(at 0% 0%, rgba(255, 255, 255, 0.3) 0, transparent 50%), 
    radial-gradient(at 50% 0%, rgba(255, 255, 255, 0.3) 0, transparent 50%),
    radial-gradient(at 100% 0%, rgba(255, 255, 255, 0.3) 0, transparent 50%);
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.premium-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 20px 40px -15px rgba(0, 0, 0, 0.05),
    0 0 20px rgba(37, 99, 235, 0.03);
  border-radius: 3rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-glass:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 30px 60px -20px rgba(0, 0, 0, 0.1),
    0 0 30px rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.2);
}

.career-impact, .mentorship {
  margin: 8rem 0;
  padding: 5rem 4rem;
}

@media (max-width: 768px) {
  .career-impact, .mentorship {
    margin: 4rem 0;
    padding: 3rem 1.5rem;
    border-radius: 2rem;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  padding: 1rem 2rem;
  border-bottom: 1px solid #e2e8f0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-hidden {
  transform: translateY(-100%);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin-left: auto;
}

nav a {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

nav a.active {
  position: relative;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
  z-index: 999;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5);
  color: white;
}

.floating-cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.floating-cta:hover svg {
  transform: rotate(-10deg) scale(1.1);
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}



.login-btn {
  background: var(--primary);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, background 0.3s;
}

.login-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 2rem 0; /* Clear fixed header */
}

.hero,
.hero-section {
  text-align: center;
  padding: 8rem 2rem;
  border-radius: 2rem;
  margin: 2rem 0 4rem; /* Reduced top margin since main now has padding */
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: #475569;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.btn.primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
}

.btn.secondary {
  background: var(--white);
  color: var(--dark);
  border: 1px solid #e2e8f0;
}

.btn.secondary:hover {
  background: #f1f5f9;
  transform: translateY(-3px);
}

.trust-bar {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 4rem 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #64748b;
}

.trust-item .icon {
  color: var(--primary);
  font-size: 1.25rem;
}

.features {
  padding: 6rem 0;
  text-align: center;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.features h2 span {
  color: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  text-align: left;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Premium FAQ System */
.faq-section {
  padding: 8rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--faq-bg);
  border: 1px solid var(--faq-border);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.faq-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(to bottom right, var(--white), rgba(37, 99, 235, 0.02));
}

.faq-question {
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--dark);
  font-size: 1.15rem;
  user-select: none;
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 2rem;
  color: #475569;
  line-height: 1.8;
  font-size: 1.05rem;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Large enough for most answers */
  padding: 0 2rem 2rem;
}

/* Icon Animation */
.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* Horizontal line */
.faq-icon::before {
  width: 14px;
  height: 2px;
}

/* Vertical line */
.faq-icon::after {
  width: 2px;
  height: 14px;
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}


/* Hardware Showcase Section */
.hardware-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hardware-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hardware-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hardware-card h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hardware-card p {
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 2rem;
}

.hardware-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.feature-text p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: #64748b;
  line-height: 1.4;
}

.hardware-image-wrapper {
  position: relative;
  z-index: 1;
}

.hardware-image-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

.hardware-image-container {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hardware-image-container:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 35px 60px -15px rgba(37, 99, 235, 0.2);
}

.hardware-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .hardware-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hardware-card {
    padding: 2.5rem;
  }
}

@media (max-width: 640px) {
  .hardware-features {
    grid-template-columns: 1fr;
  }
  
  .hardware-card h2 {
    font-size: 2rem;
  }
}

.specs-container {
  background: #f1f5f9;
  padding: 1.5rem;
  border-radius: 1.25rem;
  margin-top: 2rem;
}

.specs-container h4 {
  margin-bottom: 1rem;
  color: var(--dark);
  font-weight: 700;
}

.specs-grid {
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.specs-grid li {
  color: #475569;
}

.specs-grid strong {
  color: var(--dark);
}

@media (max-width: 480px) {
  .specs-grid {
    grid-template-columns: 1fr;
  }
}

footer {
  background: var(--white);
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger to X Transformation */
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .menu-toggle {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 6rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.1);
    visibility: hidden;
  }

  nav ul.active {
    transform: translateX(0);
    visibility: visible;
  }

  nav ul li { width: 100%; }

  nav a {
    font-size: 1.25rem;
    display: block;
    padding: 0.5rem 0;
    width: 100%;
  }

  nav a.active::after {
    display: none;
  }
  
    .trust-bar {
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .btn {
    width: 100%;
    display: block;
    padding: 1.1rem 1.5rem;
    font-size: 1.05rem;
  }
}

/* Curriculum Overview Section */
.curriculum-overview {
  padding: 8rem 0;
}

.syllabus-container {
  max-width: 1100px;
  margin: 0 auto;
}

.syllabus-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.section-title span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 800px;
  margin: 0 auto;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.curriculum-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 2rem;
  border: 1px solid #f1f5f9;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.curriculum-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(37, 99, 235, 0.12);
  line-height: 1;
  font-family: serif; /* Adding a slightly different font for the number can make it look more like a watermark */
  opacity: 0.8;
}

.curriculum-card:hover .card-number {
  color: rgba(37, 99, 235, 0.2);
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.curriculum-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--dark);
  position: relative;
  z-index: 2; /* Ensure text is above the number */
}

.curriculum-card p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.skill-tags span {
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.card-full {
  grid-column: 1 / -1;
}

/* CTA Box */
.curriculum-cta-box {
  margin-top: 4rem;
  padding: 4rem;
  border-radius: 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px dashed var(--primary);
  position: relative;
  overflow: hidden;
}

.cta-content h3 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--dark);
}

.cta-content p {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
  
  .curriculum-cta-box {
    padding: 3rem 1.5rem;
  }
  
  .cta-content h3 {
    font-size: 1.75rem;
  }
}
