/* ==========================================================================
   PIXCODE ACADEMY — STYLESHEET
   Clean, modern, responsive styles for pixcode website
   ========================================================================== */

:root {
  --bg: #0b0f19;
  --card: #151e2d;
  --card-2: #1e293b;
  --cyan: #38bdf8;
  --cyan-bright: #64d5ff;
  --white: #f7f9fc;
  --muted: #8591a4;
  --line: rgba(164, 185, 211, 0.14);
  --line-highlight: rgba(56, 189, 248, 0.35);
  --mono: 'DM Mono', monospace;
  --sans: 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  margin: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ==========================================================================
   Particles Constellation Canvas Background
   ========================================================================== */

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  display: block;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   Site Header & Brand Identity
   ========================================================================== */

.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(6.25vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 15, 25, 0.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1.2px;
  transition: opacity 0.2s;
}

.brand:hover {
  opacity: 0.95;
}

.brand-dot {
  color: var(--cyan);
}

.brand-mark {
  height: 28px;
  width: 28px;
  display: grid;
  grid-template-columns: repeat(3, 7.5px);
  grid-template-rows: repeat(3, 7.5px);
  gap: 2.5px;
  transform: rotate(-4deg);
}

.brand-mark i {
  display: block;
  background: var(--cyan);
  border-radius: 1.5px;
}

.brand-mark i:nth-child(1),
.brand-mark i:nth-child(7) {
  opacity: 0.32;
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(6) {
  opacity: 0.65;
}

.brand-mark i:nth-child(4) {
  transform: translateX(4px);
}

.brand-mark i:nth-child(5) {
  transform: translateX(4px);
  opacity: 0.55;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  color: #a4afbf;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  height: 2px;
  width: 16px;
  background: var(--cyan);
  display: block;
  margin: 3px auto -5px;
  border-radius: 1px;
}

.nav-cta {
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 5px;
  transition: all 0.2s;
}

.nav-cta span {
  color: var(--cyan);
  margin-left: 9px;
}

.nav-cta:hover {
  border-color: var(--cyan);
  background: rgba(56, 189, 248, 0.08);
}

.menu-toggle {
  display: none;
}

/* ==========================================================================
   Common Layout & Buttons
   ========================================================================== */

.section-shell {
  padding-left: max(9.4vw, 28px);
  padding-right: max(9.4vw, 28px);
}

.eyebrow,
.mono-label {
  font: 11px var(--mono);
  letter-spacing: 1.4px;
  color: #8793a4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-index {
  color: var(--cyan);
  font-weight: 600;
}

.status-dot {
  height: 7px;
  width: 7px;
  background: var(--cyan);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--cyan);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border: 0;
  border-radius: 5px;
  padding: 14px 22px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button span {
  font-size: 15px;
  font-weight: 400;
}

.button-primary {
  background: var(--cyan);
  color: #04131c;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.2);
}

.button-primary:hover {
  background: var(--cyan-bright);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}

.button-small {
  padding: 10px 18px;
  font-size: 12px;
  gap: 12px;
}

.button-quiet {
  color: #dce3eb;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(180, 201, 227, 0.16);
}

.button-quiet:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.06);
}

.text-link {
  font-size: 12px;
  font-weight: 700;
  color: #d5dbe4;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

.text-link span {
  color: var(--cyan);
  font-size: 16px;
  margin-left: 7px;
}

.text-link:hover {
  color: #fff;
}

.play-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #425164;
  border-radius: 50%;
  font-size: 8px;
  padding-left: 2px;
  margin-right: 9px;
  color: var(--cyan);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  padding-top: 55px;
  padding-bottom: 90px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(52px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -4.5px;
  margin: 30px 0 24px;
  font-weight: 800;
}

.code-word {
  color: var(--cyan);
}

.cursor {
  font-weight: 400;
  opacity: 0.8;
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

/* Hero Code Visual & Interactive Terminal */
.hero-art {
  position: relative;
  height: 490px;
  max-width: 600px;
  width: 100%;
  justify-self: end;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 49%;
  border: 1px solid rgba(76, 177, 227, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-26deg);
  pointer-events: none;
}

.orbit-one {
  width: 485px;
  height: 263px;
}

.orbit-two {
  width: 403px;
  height: 355px;
  transform: translate(-50%, -50%) rotate(30deg);
}

.orbit-three {
  width: 520px;
  height: 172px;
  transform: translate(-50%, -50%) rotate(56deg);
  border-color: rgba(76, 177, 227, 0.08);
}

.glow-core {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 270px;
  height: 270px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 191, 255, 0.22), rgba(17, 91, 147, 0.08) 36%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.code-panel {
  position: absolute;
  background: rgba(19, 28, 42, 0.94);
  border: 1px solid rgba(114, 147, 179, 0.24);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45), 0 0 35px rgba(56, 189, 248, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.panel-top {
  top: 64px;
  left: 9%;
  width: 81%;
  padding: 11px 15px;
  font: 10.5px var(--mono);
  color: #b8c3d2;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.panel-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 8px var(--cyan);
}

.panel-menu {
  margin-left: auto;
  color: #8f9eb1;
  font-size: 16px;
  line-height: 10px;
  letter-spacing: 2px;
}

.panel-main {
  top: 106px;
  left: 12%;
  width: 76%;
  padding: 22px 0 0;
  overflow: hidden;
}

.code-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 22px 24px;
  font: 11.5px var(--mono);
  color: #d3dbe5;
  min-height: 180px;
}

.code-line {
  display: flex;
  align-items: baseline;
  gap: 16px;
  white-space: pre-wrap;
  word-break: break-all;
}

.code-line .line-num {
  color: #556578;
  width: 22px;
  text-align: right;
  flex-shrink: 0;
  user-select: none;
}

.code-line code {
  color: #e2e8f0;
  font-family: inherit;
}

/* Python Syntax Highlighting Tokens */
.tok-kw {
  color: #c084fc;
  font-weight: 500;
}

.tok-mod {
  color: #facc15;
}

.tok-cls {
  color: #7dd3fc;
  font-weight: 500;
}

.tok-fn {
  color: #38bdf8;
  font-weight: 500;
}

.tok-str {
  color: #86efac;
}

.tok-plain {
  color: #e2e8f0;
}

.code-typing-cursor {
  display: inline-block;
  color: var(--cyan);
  font-weight: 700;
  margin-left: 2px;
  animation: codeBlink 0.75s steps(2, start) infinite;
}

@keyframes codeBlink {
  to {
    visibility: hidden;
  }
}

.panel-bottom {
  height: 34px;
  background: rgba(7, 13, 22, 0.65);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  align-items: center;
  color: #768599;
  font: 8px var(--mono);
  letter-spacing: 0.6px;
}

.panel-bottom span:first-child {
  color: #8aa0b2;
}

.mini-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  margin-right: 6px;
  box-shadow: 0 0 6px #34d399;
}

/* Floating Technology Tags */
.float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #141e2c;
  border: 1px solid rgba(139, 169, 196, 0.22);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  padding: 9px 13px;
  border-radius: 5px;
  color: #cbd5e1;
  font: 9px var(--mono);
  letter-spacing: 0.6px;
  font-weight: 500;
}

.float-tag span {
  color: var(--cyan);
  font-size: 15px;
}

.tag-python {
  left: -10px;
  top: 175px;
}

.tag-js {
  right: -10px;
  top: 245px;
}

.tag-js span {
  font-size: 10px;
  font-weight: 800;
  background: #f0ce58;
  color: #13161b;
  padding: 2px 4px;
  border-radius: 2px;
}

.tag-cpp {
  left: 8%;
  bottom: 52px;
}

.tag-cpp span {
  font: 13px var(--sans);
  font-weight: 800;
}

.tag-cpp span span {
  font-size: 9px;
}

.art-caption {
  position: absolute;
  bottom: 8px;
  right: 3%;
  left: 3%;
  display: flex;
  justify-content: space-between;
  color: #627185;
  font: 8.5px var(--mono);
  letter-spacing: 0.8px;
}

.scroll-hint {
  position: absolute;
  left: max(9.4vw, 28px);
  bottom: 28px;
  color: #788596;
  font: 8.5px var(--mono);
  letter-spacing: 1.3px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll-line {
  width: 28px;
  height: 1px;
  background: var(--cyan);
}

/* ==========================================================================
   Courses Section (Enlarged Cards, Badges, Typography, Icons)
   ========================================================================== */

.courses {
  padding-top: 105px;
  padding-bottom: 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 42px;
}

.section-heading h2,
.about-copy h2 {
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.12;
  letter-spacing: -2.5px;
  margin: 14px 0 10px;
  font-weight: 800;
}

.muted-heading {
  color: #707b8e;
}

.all-courses {
  margin-bottom: 8px;
}

/* Course Cards Grid */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.course-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 24, 38, 0.98));
  border: 1px solid rgba(166, 190, 220, 0.12);
  padding: 30px 28px 26px;
  border-radius: 8px;
  min-height: 275px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s, box-shadow 0.28s;
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.12);
}

.course-card::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -55px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
  pointer-events: none;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

/* Scaled Up Course Icon */
.course-icon {
  height: 52px;
  width: 52px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--cyan);
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.1);
  transition: border-color 0.2s, transform 0.2s;
}

.course-card:hover .course-icon {
  border-color: var(--cyan);
  transform: scale(1.05);
}

.course-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-icon svg path:first-child {
  fill: rgba(56, 189, 248, 0.12);
}

.course-card:nth-child(1) .course-icon svg { stroke: #65c8ff; }
.course-card:nth-child(2) .course-icon svg { stroke: #a9d8ff; }
.course-card:nth-child(3) .course-icon svg { stroke: #68e0c2; }
.course-card:nth-child(3) .course-icon svg path:first-child { fill: none; }
.course-card:nth-child(4) .course-icon svg { stroke: #ffbd67; }
.course-card:nth-child(5) .course-icon svg { stroke: #ff9b68; }

/* Scaled Up Duration / Level Pill Badge */
.course-level {
  font: 10.5px var(--mono);
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 5px 11px;
  border-radius: 4px;
}

.course-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #fff;
}

.course-card p {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 320px;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

/* ==========================================================================
   Manifesto Section
   ========================================================================== */

.manifesto {
  min-height: 310px;
  background: #0e1621;
  position: relative;
  overflow: hidden;
  padding-top: 38px;
  padding-bottom: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.manifesto-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.manifesto > p {
  font-size: clamp(32px, 4.3vw, 50px);
  line-height: 1.22;
  letter-spacing: -2px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  margin: 44px 0 0;
}

.manifesto-highlight {
  color: var(--cyan);
}

.tiny-spark {
  font-size: 16px;
  vertical-align: top;
  margin-left: 6px;
}

.round-arrow {
  position: absolute;
  right: 10%;
  bottom: 46px;
  border: 1px solid rgba(56, 189, 248, 0.48);
  color: var(--cyan);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 21px;
  z-index: 2;
  transition: all 0.2s;
}

.round-arrow:hover {
  background: var(--cyan);
  color: #06111a;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.manifesto-grid {
  position: absolute;
  right: 5%;
  top: -20px;
  display: grid;
  grid-template-columns: repeat(6, 36px);
  gap: 9px;
  opacity: 0.28;
  transform: rotate(15deg);
  pointer-events: none;
}

.manifesto-grid span {
  height: 36px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 4px;
}

.manifesto-grid span:nth-child(3n) {
  background: rgba(56, 189, 248, 0.2);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.1);
}

/* ==========================================================================
   About Section & Mission/Vision Refinement (Scaled Up & Cleaned)
   ========================================================================== */

.about {
  padding-top: 125px;
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 9%;
  align-items: center;
}

.about-visual {
  height: 440px;
  position: relative;
  background: linear-gradient(135deg, #142235, #101824);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.about-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(110, 153, 186, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 153, 186, 0.1) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: perspective(500px) rotateY(-18deg) rotateX(13deg);
  mask-image: radial-gradient(ellipse, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse, black, transparent 70%);
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(39, 153, 200, 0.22), transparent 55%);
}

.about-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%) rotate(-7deg);
  width: 186px;
  height: 186px;
  background: rgba(11, 15, 25, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 55px rgba(56, 189, 248, 0.15), inset 0 0 32px rgba(56, 189, 248, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  border-radius: 4px;
}

.about-stamp span {
  color: white;
}

.about-stamp b {
  color: var(--cyan);
}

.about-stamp i {
  position: absolute;
  right: 15px;
  top: 17px;
  color: var(--cyan);
  font-size: 14px;
  font-style: normal;
}

.about-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: rgba(8, 13, 20, 0.75);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.about-caption span {
  color: var(--cyan);
  font-size: 15px;
}

.about-copy h2 {
  margin: 18px 0 22px;
}

.about-lede {
  font-size: 17px !important;
  color: #e2e8f0 !important;
  line-height: 1.75 !important;
  margin-bottom: 28px;
}

/* Scaled Up Mission & Vision Cards */
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 32px 0 16px;
}

.value-card {
  background: rgba(19, 28, 42, 0.65);
  border: 1px solid rgba(166, 190, 220, 0.14);
  border-radius: 8px;
  padding: 26px 24px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.value-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.value-number {
  font: 11px var(--mono);
  color: var(--cyan);
  letter-spacing: 1.2px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.value-card strong {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.value-card p {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   Contact Section (Centered & Expanded)
   ========================================================================== */

.contact {
  padding-top: 120px;
  padding-bottom: 115px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Centered Contact Header */
.contact-header-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-header-centered .eyebrow {
  justify-content: center;
  margin-bottom: 14px;
}

.contact-header-centered h2 {
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -2.5px;
  margin: 0 0 18px;
  text-align: center;
  font-weight: 800;
}

.contact-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 10px var(--mono);
  letter-spacing: 0.9px;
  color: #a4b1c1;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

/* Expanded Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 52px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.2s;
}

.info-item[href]:hover {
  transform: translateX(4px);
}

/* Scaled Up Contact Info Icons */
.info-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.08);
  color: var(--cyan);
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.1);
  transition: all 0.2s;
}

.info-item[href]:hover .info-icon {
  border-color: var(--cyan);
  background: rgba(56, 189, 248, 0.16);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-text small {
  font: 10px var(--mono);
  letter-spacing: 1px;
  color: #7dd3fc;
  margin-bottom: 4px;
}

.info-text strong {
  font-size: 16px;
  color: #fff;
  margin-bottom: 3px;
  font-weight: 700;
}

.info-text em {
  font-size: 13px;
  color: #94a3b8;
  font-style: normal;
}

/* Scaled Up Social Media Row */
.social-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.social-row a {
  height: 46px;
  width: 46px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(19, 28, 42, 0.7);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #b7c3d1;
  transition: all 0.25s;
}

.social-row a svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-row a:first-of-type svg path {
  fill: currentColor;
  stroke: none;
}

.social-row a:nth-of-type(2) svg .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-row a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

/* Expanded Contact Form */
.contact-form {
  background: #131c29;
  border: 1px solid rgba(166, 190, 220, 0.14);
  padding: 34px 36px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-top {
  display: flex;
  justify-content: space-between;
  color: #d8e0e8;
  font: 10px var(--mono);
  letter-spacing: 1.2px;
  margin-bottom: 24px;
}

.form-top .mono-label {
  font-size: 9px;
  color: #718093;
}

.contact-form label {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  margin: 0 0 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.modal input,
.modal select {
  width: 100%;
  background: #0c131e;
  border: 1px solid rgba(165, 186, 211, 0.14);
  border-radius: 5px;
  color: white;
  padding: 12px 14px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input,
.contact-form select {
  height: 48px;
  margin-bottom: 18px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
  margin-bottom: 22px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.modal input:focus,
.modal select:focus {
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

input::placeholder,
textarea::placeholder {
  color: #556578;
}

.contact-form select,
.modal select {
  color: #cbd5e1;
}

select option {
  background: #0c131e;
  color: #fff;
}

select option:disabled {
  color: #556375;
  background: #080d14;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .button {
  align-self: flex-start;
  padding: 14px 26px;
  font-size: 13px;
}

.form-feedback {
  font-size: 12px;
  color: #7de3b5;
  min-height: 0;
  margin: 10px 0 0;
}

.form-feedback.error {
  color: #ff9c9c !important;
}

.optional-hint {
  font-size: 9px;
  color: #728296;
  font-weight: 500;
  font-family: var(--mono);
  text-transform: uppercase;
  margin-left: 6px;
}

input.input-error,
select.input-error,
textarea.input-error {
  border-color: #f87171 !important;
  box-shadow: 0 0 14px rgba(248, 113, 113, 0.35) !important;
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  min-height: 84px;
  border-top: 1px solid var(--line);
  padding: 20px max(6.25vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer .brand {
  font-size: 20px;
}

.site-footer .brand-mark {
  transform: scale(0.9);
}

.footer-note,
.copyright {
  font: 9px var(--mono);
  letter-spacing: 0.7px;
  color: #697789;
}

/* ==========================================================================
   Enlarged Modals (Course Details & Booking Form)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 8, 14, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.2s ease;
}

.modal-backdrop[hidden] {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  position: relative;
  width: min(680px, 94vw);
  max-height: min(90vh, 840px);
  overflow-y: auto;
  background: #111b29;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(56, 189, 248, 0.12);
  border-radius: 10px;
  padding: 42px 40px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: none;
  color: #95a3b3;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--cyan);
}

.modal-kicker {
  font: 11px var(--mono);
  letter-spacing: 1.4px;
  color: var(--cyan);
  font-weight: 600;
}

.modal h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 10px 28px 14px 0;
  font-weight: 800;
}

.modal p {
  font-size: 14px;
  color: #9aa7b6;
  line-height: 1.75;
}

.modal h3 {
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--mono);
  color: #cbd5e1;
  margin: 26px 0 12px;
}

.syllabus {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.syllabus li {
  font-size: 13px;
  color: #c4ceda;
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.02);
}

.syllabus li::before {
  content: '↗';
  color: var(--cyan);
  margin-right: 8px;
  font-weight: bold;
}

.course-meta {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.course-meta span {
  font: 10.5px var(--mono);
  font-weight: 600;
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.08);
  padding: 8px 14px;
  border-radius: 4px;
}

.modal .button {
  margin-top: 26px;
  padding: 14px 24px;
  font-size: 13px;
}

/* Enlarged Booking Form inside Modal */
.booking-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
  position: relative;
}

.booking-form label {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: -5px;
}

.booking-form input,
.booking-form select {
  height: 48px;
  font-size: 13px;
}

.field-hint {
  font-size: 11px;
  color: var(--cyan);
  margin: -6px 0 8px;
  line-height: 1.5;
}

.booking-form .button {
  margin-top: 10px;
}

.booking-feedback {
  font-size: 12px !important;
  min-height: 0;
  margin: 4px 0 0 !important;
  color: #8ce4b9 !important;
}

.booking-feedback.error {
  color: #ff9c9c !important;
}

.modal-note {
  font-size: 11px !important;
  color: #758499 !important;
  margin: 14px 0 0 !important;
}

/* Success Modal Notification Overlay */
.form-success-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 28px;
  background: rgba(13, 21, 33, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 8px;
  z-index: 30;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.2);
  animation: overlayFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-success-overlay.closing {
  animation: overlayFadeOut 0.2s ease forwards;
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes overlayFadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.96);
  }
}

.success-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  border: 1.5px solid var(--cyan);
  display: grid;
  place-items: center;
  color: var(--cyan);
  margin-bottom: 16px;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}

.success-icon-badge svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success-overlay .success-eyebrow {
  font: 10px var(--mono);
  letter-spacing: 1.5px;
  color: var(--cyan);
  margin-bottom: 8px;
  display: inline-block;
  text-transform: uppercase;
}

.form-success-overlay .success-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 0 0 10px;
  color: #fff;
}

.form-success-overlay .success-message {
  font-size: 13px;
  color: #a4b3c6;
  line-height: 1.7;
  max-width: 360px;
  margin: 0 0 24px;
}

.form-success-overlay .button {
  margin-top: 0;
  padding: 12px 24px;
}

/* ==========================================================================
   Terminal Boot Intro / Preloader
   ========================================================================== */

body.booting-active {
  overflow: hidden !important;
}

.terminal-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.45s ease;
  overflow: hidden;
}

.terminal-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.terminal-backdrop-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(56, 189, 248, 0.08) 0%, rgba(15, 23, 42, 0.95) 75%),
    linear-gradient(rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 100%, 100% 3px;
  z-index: 1;
}

.terminal-window {
  position: relative;
  z-index: 2;
  width: min(650px, 94vw);
  background: rgba(10, 16, 28, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 8px;
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(56, 189, 248, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.terminal-header {
  height: 42px;
  background: rgba(15, 23, 42, 0.88);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.terminal-traffic-lights {
  display: flex;
  align-items: center;
  gap: 7px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.t-red { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.4); }
.t-yellow { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.4); }
.t-green { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.4); }

.terminal-title {
  font-family: var(--mono);
  font-size: 11px;
  color: #8fa1b7;
  letter-spacing: 0.6px;
}

.terminal-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: #34d399;
}

.terminal-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: termPulse 1.6s ease-in-out infinite;
}

@keyframes termPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 12px #34d399; }
}

.terminal-body {
  padding: 22px 24px;
  min-height: 200px;
  max-height: 280px;
  overflow-y: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.8;
  color: #38bdf8;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.terminal-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  word-break: break-word;
  animation: termLineFade 0.18s ease-out forwards;
}

@keyframes termLineFade {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.terminal-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.8px;
  padding: 1px 6px;
  border-radius: 2px;
  flex-shrink: 0;
}

.terminal-tag.cyan {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.terminal-tag.done {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.16);
  border: 1px solid rgba(74, 222, 128, 0.5);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.35);
}

.terminal-text {
  color: #e2e8f0;
  letter-spacing: 0.3px;
}

.terminal-text.glow-cyan {
  color: #38bdf8;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.terminal-text.glow-green {
  color: #34d399;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
  font-weight: 500;
}

.terminal-cursor {
  display: inline-block;
  color: #38bdf8;
  margin-left: 6px;
  font-weight: 600;
  animation: termBlink 0.8s steps(2, start) infinite;
}

@keyframes termBlink {
  to { visibility: hidden; }
}

.terminal-footer {
  border-top: 1px solid rgba(56, 189, 248, 0.14);
  background: rgba(12, 19, 34, 0.95);
  padding: 12px 20px 14px;
}

.terminal-bar-wrap {
  width: 100%;
  height: 4px;
  background: rgba(56, 189, 248, 0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.terminal-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #34d399);
  box-shadow: 0 0 14px #38bdf8;
  transition: width 0.15s ease-out;
}

.terminal-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.terminal-pct-text {
  font-family: var(--mono);
  font-size: 10px;
  color: #38bdf8;
  letter-spacing: 0.8px;
}

.terminal-skip-btn {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.8px;
  padding: 4px 9px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}

.terminal-skip-btn span {
  color: #38bdf8;
}

.terminal-skip-btn:hover {
  border-color: #38bdf8;
  color: #fff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (min-width: 1500px) {
  .section-shell {
    padding-left: calc((100vw - 1240px) / 2);
    padding-right: calc((100vw - 1240px) / 2);
  }
  .hero {
    min-height: 720px;
  }
  .hero-art {
    transform: scale(1.06);
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about {
    gap: 6%;
    padding-top: 95px;
    padding-bottom: 95px;
  }
  .contact-layout {
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 5vw;
  }
  .section-shell {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .hero-art {
    transform: scale(0.92);
    transform-origin: center right;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-info {
    order: 2;
  }
  .values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  html {
    scroll-padding-top: 72px;
  }
  .site-header {
    height: 70px;
    padding: 0 20px;
  }
  .brand {
    font-size: 20px;
  }
  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 4px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: white;
    cursor: pointer;
  }
  .menu-toggle span {
    height: 1.5px;
    width: 16px;
    background: #dce8f2;
    transition: 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.98);
    padding: 22px 24px 26px;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    gap: 18px;
    flex-direction: column;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-link.active::after {
    display: none;
  }
  .nav-link {
    font-size: 14px;
  }
  .nav-cta {
    align-self: flex-start;
  }

  .section-shell {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero {
    display: block;
    min-height: auto;
    padding-top: 50px;
    padding-bottom: 70px;
  }
  .hero h1 {
    font-size: clamp(46px, 12vw, 70px);
    letter-spacing: -3.5px;
    margin-top: 24px;
  }
  .hero-actions {
    gap: 18px;
    margin-top: 26px;
  }
  .hero-art {
    height: 360px;
    width: 100%;
    max-width: 440px;
    margin: 30px auto 0;
    transform: none;
  }
  .orbit-one { width: 90%; height: 52%; }
  .orbit-two { width: 72%; height: 70%; }
  .orbit-three { width: 98%; height: 34%; }
  .glow-core { width: 220px; height: 220px; }

  .panel-top { top: 38px; left: 6%; width: 88%; }
  .panel-main { top: 76px; left: 8%; width: 84%; padding-top: 16px; }
  .code-lines { gap: 8px; padding-bottom: 16px; font-size: 10.5px; min-height: 160px; }
  .tag-python { top: 125px; left: -5px; }
  .tag-js { top: 195px; right: -5px; }
  .tag-cpp { bottom: 35px; left: 5%; }

  .courses {
    padding-top: 75px;
    padding-bottom: 80px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
  }
  .section-heading h2,
  .about-copy h2 {
    font-size: 36px;
    letter-spacing: -2px;
  }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .course-card {
    min-height: auto;
    padding: 24px 22px;
  }

  .manifesto {
    min-height: 250px;
    padding-top: 28px;
    padding-bottom: 40px;
  }
  .manifesto > p {
    font-size: 32px;
    letter-spacing: -1.5px;
    margin-top: 32px;
  }
  .round-arrow {
    right: 20px;
    bottom: 30px;
  }

  .about {
    grid-template-columns: 1fr;
    padding-top: 75px;
    padding-bottom: 75px;
    gap: 36px;
  }
  .about-visual {
    height: 310px;
  }
  .about-lede {
    font-size: 15px !important;
  }

  .contact {
    padding-top: 80px;
    padding-bottom: 70px;
  }
  .contact-header-centered {
    margin-bottom: 36px;
  }
  .contact-header-centered h2 {
    font-size: 36px;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .modal {
    padding: 30px 20px 24px;
  }
  .modal h2 {
    font-size: 26px;
  }
  .syllabus {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 20px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-note {
    order: 3;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
