* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: radial-gradient(circle at top, #0a1a2a, #020b13);
    color: #fff;
}
/* MATRIX BACKGROUND */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: #020b13;
    /* border: solid; */
}
.hero {
    background: radial-gradient(circle at left, rgba(0,255,156,0.12), transparent 60%);
    /* border: solid; */
}

/* ENSURE CONTENT FLOATS ABOVE */
section, .divider {
    position: relative;
    z-index: 1;
    /* border: solid; */
}

/* DIVIDER */
.divider {
    height: 2px;
    width: 80%;
    margin: 38px auto;
    background: linear-gradient(90deg, transparent, #00ff9c, transparent);
}

/* HERO */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 99px 10%;
}

.hero-content {
    max-width: 520px;
    /* border: solid; */
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
}

.hero h1 span {
    color: #00ff9c;
}

.hero p {
    margin: 20px 0 35px;
    color: #cbd5e1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image img {
    /* width: 420px; */
    /* border: solid; */
    width: 530px;
    filter: drop-shadow(0 0 25px #05ff9f59);
    margin-left: 70px;
    height: 790;
}

/* BUTTONS */
.btn {
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.btn.primary {
    background: linear-gradient(135deg, #00ff9c, #00c2ff);
    border: none;
    color: #000;
}

.btn.outline {
    background: transparent;
    border: 1px solid #00ff9c;
    color: #00ff9c;
}

.btn:hover {
    transform: translateY(-2px);
}

/* FEATURES */
.features {
    text-align: center;
    padding: 0 10%;
}

.features h2 {
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,255,156,0.2);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.feature-card img {
    width: 50px;
    margin-bottom: 15px;
}

/* LEARN */
.learn {
    text-align: center;
    padding: 0px 10%;
}

.learn-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px;
}

.learn-tags span {
    padding: 12px 22px;
    border: 1px solid #00ff9c55;
    border-radius: 20px;
    background: rgba(0,255,156,0.08);
}
.feature-card {
    transition-delay: calc(var(--i) * 0.12s);
}

/* TERMINAL */
.terminal-section {
    text-align: center;
    /* padding: 0 10%; */
}
.terminal-section h2{
    padding-bottom: 17px;
}
.terminal {
    max-width: 700px;
    margin: 40px auto;
    /* background: #020b13; */
    border: 1px solid #00ff9c55;
    /* border-radius: 10px; */
    padding: 25px;
    text-align: left;
    box-shadow: 0 0 25px #00ff9c22;
}

.terminal pre {
    color: #00ff9c;
    font-family: monospace;
    line-height: 1.6;
}
/* TERMINAL___*/

.terminal {
  max-width: 800px;
  margin: auto;
  background: #0a0f0d;
  border-radius: 14px;
  overflow: hidden;
}

.terminal-header {
  background: #111;
  padding: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-title {
  margin-left: auto;
  font-size: 0.85rem;
  /* color: var(--accent); */
    color: #00ff9c;

}

.terminal-body {
  /* padding: 22px; */
  font-family: monospace;
  /* color: var(--accent); */
  color: #00ff9c;
  min-height: 200px;
  white-space: pre-wrap;
}

.cursor {
  animation: blink 1s infinite;
}

/* TOOLS */
.tools {
    text-align: center;
    padding: 0 10%;
}

.tool-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.tool-logos img {
    height: 80px;
    opacity: 0.9;
    width: 160px;
}

/* CTA */
.ctax {
    text-align: center;
    padding: 30px 10%;
}

.btn.big {
    padding: 18px 42px;
    font-size: 18px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-image{
        justify-items: center;
        align-items: center;
        /* border: solid; */
        padding-left:0px;
        padding-right: 70px;
    }
    .hero-image img{
            width: 330px;
            /* border: solid; */
            margin: 0px;
        }
}

/* SCROLL REVEAL BASE */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* VARIANTS */
.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-zoom {
    transform: scale(0.95);
}

.reveal-left.active,
.reveal-right.active,
.reveal-zoom.active {
    transform: none;
    transition: opacity 0.9s ease, transform 0.9s ease;

}


.curriculum-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 30, 0.75);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding-top: 85px;
}

.curriculum-modal {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-radius: 22px;
  width: min(92%, 900px);
  max-height: 85vh;
  padding: 35px;
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  animation: popupIn 0.4s ease;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.curriculum-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
}

.curriculum-close:hover {
  opacity: 1;
}

.curriculum-title {
  text-align: center;
  font-size: 2rem;
}

.curriculum-subtitle {
  text-align: center;
  opacity: 0.75;
  margin-bottom: 25px;
}

.curriculum-body {
  max-height: 45vh;
  overflow-y: auto;
  padding-right: 10px;
}

.curriculum-section {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.15);
}

.curriculum-section h3 {
  color: #9effc5;
  margin-bottom: 10px;
}

.curriculum-section li {
  margin-bottom: 8px;
  opacity: 0.9;
}
