:root {
  --primary-bg: #030712;
  --secondary-bg: #111827;
  --accent-color: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.4);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --glass-bg: rgba(17, 24, 39, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --terminal-bg: #000000;
  --font-family: "Outfit", sans-serif;
  --font-mono: "Fira Code", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--primary-bg);
  background-image: radial-gradient(
    circle at 50% 50%,
    rgba(56, 189, 248, 0.05) 0%,
    transparent 80%
  );
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Blobs */
.blob {
  position: fixed;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

.blob-1 {
  top: -25vw;
  right: -10vw;
}
.blob-2 {
  bottom: -25vw;
  left: -10vw;
  animation: pulse 10s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.25rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(3, 7, 18, 0.8);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.2) drop-shadow(0 0 8px var(--accent-glow));
  transition: all 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.5) drop-shadow(0 0 12px var(--accent-glow));
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 1rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: #000;
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

/* Header & Hero */
header {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(0.5) contrast(1.2);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(3, 7, 18, 0.4),
    var(--primary-bg)
  );
}

.hero-content {
  max-width: 1000px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1 {
  font-size: 5rem;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.gradient-text {
  background: linear-gradient(to right, #fff, var(--accent-color), #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

.cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.cta-button {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.cta-button:not(.secondary) {
  background: var(--accent-color);
  color: #000;
  border: none;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.cta-button.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--glass-border);
}

.cta-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  text-decoration: none;
}

a.cta-button {
  text-decoration: none;
}

/* Sections */
main {
  padding: 0 5%;
}

.section {
  padding: 8rem 0;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: -1px;
}

/* Terminal */
.terminal-container {
  width: 100%;
  margin: 0 auto;
  background: var(--terminal-bg);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.terminal-header {
  background: #1f2937;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red {
  background: #ef4444;
}
.yellow {
  background: #f59e0b;
}
.green {
  background: #10b981;
}

.terminal-title {
  margin-left: 1rem;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.terminal-body {
  padding: 2rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #10b981;
}

.terminal-accent {
  color: var(--accent-color);
  font-weight: bold;
}

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--accent-color);
  transform: translateY(-10px);
  background: rgba(17, 24, 39, 0.9);
}

/* Agent Cards */
.agent-card {
  text-align: center;
}

.agent-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #000;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.agent-avatar img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.agent-card:hover .agent-avatar img {
  transform: scale(1.15);
}

/* Background overrides */
.excel {
  background: linear-gradient(135deg, #217346, #1e6c42);
  color: white;
}
.powerbi {
  background: linear-gradient(135deg, #f2c811, #e6b905);
  color: black;
}
.tableau {
  background: linear-gradient(135deg, #e97627, #cf6118);
  color: white;
}
.python {
  background: linear-gradient(135deg, #3776ab, #ffd43b);
  color: white;
} /* Classic Python Blue/Yellow */
.rstats {
  background: linear-gradient(135deg, #276dc3, #1e59a3);
  color: white;
}
.sql {
  background: linear-gradient(135deg, #cc2927, #f29111);
  color: white;
}

/* Mini Cards for Tooling Ecosystem */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .tool-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card.mini {
  padding: 1.5rem;
  text-align: center;
}

.card.mini .agent-avatar {
  width: 50px;
  height: 50px;
  margin-bottom: 0.75rem;
}

.card.mini h3 {
  font-size: 1rem;
  margin-bottom: 0;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-top: -3rem;
  margin-bottom: 4rem;
  font-weight: 300;
}

/* Curriculum Grid */
.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 600px) {
  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.day-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.day-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.topic {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sch-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sch {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  display: flex;
  gap: 0.5rem;
}

.sch .label {
  font-weight: 700;
  color: var(--accent-color);
  min-width: 25px;
}

.view-lesson-btn {
  margin-top: 1.5rem;
  padding: 0.6rem 1rem;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
}

.view-lesson-btn:hover {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s;
}

/* Instructor Section */
.instructor-section {
  padding: 8rem 0;
  background: linear-gradient(
    to bottom,
    var(--primary-bg),
    var(--secondary-bg)
  );
}

.instructor-card {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
}

.instructor-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 4px solid var(--accent-color);
  box-shadow: 0 0 30px var(--accent-glow);
  flex-shrink: 0;
}

.instructor-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.instructor-role {
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  display: block;
}

.instructor-bio {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .instructor-card {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }
  .instructor-image {
    width: 200px;
    height: 200px;
  }
}

/* Animations & Footer */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}
.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--secondary-bg);
  border: 1px solid var(--accent-color);
  border-radius: 20px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 0 50px var(--accent-glow);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-title {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal-description {
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.modal-link {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--accent-color);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s;
}

.modal-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--accent-glow);
}

.scenario-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
}

footer {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
  margin-top: 4rem;
}
