/* ═══════════════════════════════════════════════
   BSD Theme — Main CSS · Light Theme
   ═══════════════════════════════════════════════ */

:root {
  --bg:       #f6f7fb;
  --bg2:      #eef0f7;
  --bg3:      #e6e8f3;
  --surface:  #ffffff;
  --border:   rgba(80, 100, 200, 0.14);
  --shadow:   rgba(80, 100, 200, 0.10);
  --accent:   oklch(65% 0.22 240);
  --accent2:  oklch(65% 0.22 195);
  --accent-dim: oklch(65% 0.22 240 / 0.10);
  --text:     #0f1020;
  --muted:    #5c6390;
  --heading:  'Space Grotesk', sans-serif;
  --body:     'DM Sans', sans-serif;
  --mono:     'DM Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* custom logo */
.custom-logo { height: 40px; width: auto; }

/* ─────────────── NAV ─────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 72px;
  backdrop-filter: blur(20px);
  background: rgba(246, 247, 251, 0.92);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  background: rgba(246, 247, 251, 0.98);
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-logo {
  font-family: var(--heading);
  font-size: 1.05rem; font-weight: 700;
  color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.nav-logo img { height: 38px; width: auto; }

.logo-mark {
  width: 32px; height: 32px;
  background: var(--accent); border-radius: 8px;
  display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 700; color: #fff;
  font-family: var(--heading); flex-shrink: 0;
}

.nav-links {
  display: flex; gap: 30px; list-style: none; align-items: center;
}
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.86rem; font-weight: 500;
  letter-spacing: 0.02em; transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -3px;
  height: 1px; width: 0; background: var(--accent); transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: -16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 8px; min-width: 270px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.25s; box-shadow: 0 16px 48px var(--shadow);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 9px;
  font-size: 0.85rem; color: var(--muted);
  transition: background 0.2s, color 0.2s; text-decoration: none;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: var(--bg2); color: var(--text); }
.nav-dropdown-menu .dd-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--accent-dim); display: grid; place-items: center;
  font-size: 1rem; flex-shrink: 0;
}
.nav-dropdown-menu .dd-text small {
  display: block; font-size: 0.72rem; color: var(--muted); margin-top: 1px;
}

.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 8px 20px; border-radius: 6px;
  font-weight: 600 !important; transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }
.nav-cta::after { display: none !important; }

.nav-right { display: flex; align-items: center; gap: 16px; }

.nav-lang { display: flex; gap: 6px; align-items: center; }
.lang-btn {
  display: inline-flex; align-items: center;
  background: none; border: 1px solid var(--border);
  color: var(--muted); border-radius: 4px;
  padding: 3px 8px; font-size: 0.72rem; cursor: pointer;
  transition: all 0.2s; font-family: var(--mono);
  text-decoration: none;
}
.lang-btn.active { border-color: var(--accent); color: var(--accent); }
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* Mobile nav open */
.nav-links.open {
  display: flex; flex-direction: column; position: absolute;
  top: 72px; left: 0; right: 0;
  background: var(--surface); padding: 24px 5vw; gap: 18px;
  border-bottom: 1px solid var(--border); align-items: flex-start;
  box-shadow: 0 8px 30px var(--shadow);
}

/* ─────────────── BUTTONS ─────────────── */
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 13px 28px; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  font-family: var(--heading); display: inline-block;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--text);
  padding: 13px 28px; border-radius: 8px;
  font-weight: 500; font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(80, 100, 200, 0.25);
  cursor: pointer; transition: border-color 0.2s, transform 0.2s, background 0.2s;
  font-family: var(--heading); display: inline-block;
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-1px);
}

/* ─────────────── SECTIONS ─────────────── */
section { padding: 100px 5vw; }

.section-label {
  font-family: var(--mono); font-size: 0.72rem; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--accent); }
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }

h1 {
  font-family: var(--heading); font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--text);
}
h1 span { color: var(--accent); }

h2 {
  font-family: var(--heading); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--text);
}
h2 span { color: var(--accent); }

h3 { font-family: var(--heading); font-weight: 600; color: var(--text); }

.lead { color: var(--muted); line-height: 1.7; }

/* ─────────────── PAGE HERO (inner pages) ─────────────── */
.page-hero {
  padding: 148px 5vw 80px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border); background: var(--surface);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(80, 100, 200, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 100, 200, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 100% at 30% 0%, black, transparent);
}
.page-hero-glow {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, oklch(65% 0.22 240 / 0.10) 0%, transparent 70%);
  top: -150px; right: -80px; pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 820px; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.75rem; color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a { text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.4; }

.page-hero h1 { margin-bottom: 22px; }
.page-hero .lead { font-size: 1.1rem; max-width: 620px; }
.page-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ─────────────── STAT CARDS ─────────────── */
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 24px;
  position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px var(--shadow);
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: oklch(65% 0.22 240 / 0.35);
  box-shadow: 0 8px 30px var(--shadow);
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.stat-card:hover::before { opacity: 1; }
.stat-num {
  font-family: var(--heading); font-size: 2.2rem; font-weight: 700;
  color: var(--text); line-height: 1; margin-bottom: 6px;
}
.stat-num span { color: var(--accent); }
.stat-label {
  font-size: 0.78rem; color: var(--muted); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ─────────────── FEATURE GRID ─────────────── */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.feature-card {
  border: 1px solid var(--border); border-radius: 16px;
  padding: 36px 30px; background: var(--surface);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px var(--shadow);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: oklch(65% 0.22 240 / 0.35);
  box-shadow: 0 12px 36px var(--shadow);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--accent-dim); display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 22px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ─────────────── SPLIT LAYOUT ─────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.reverse > :first-child { order: 2; }

.media-panel {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 20px; aspect-ratio: 4/3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; position: relative; overflow: hidden;
}
.media-panel-pattern {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(80, 100, 200, 0.04) 20px, rgba(80, 100, 200, 0.04) 21px);
}
.media-panel .big-emoji { font-size: 5rem; position: relative; z-index: 1; }
.media-panel .panel-label {
  font-family: var(--mono); font-size: 0.7rem; color: var(--muted);
  position: relative; z-index: 1;
}

/* ─────────────── CHECK LIST ─────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .check {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  background: var(--accent-dim); color: var(--accent);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; margin-top: 2px;
}
.check-list .ct strong { display: block; font-family: var(--heading); font-size: 0.95rem; font-weight: 600; margin-bottom: 3px; }
.check-list .ct span { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }

/* ─────────────── PROCESS STEPS ─────────────── */
.process {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--border); border-radius: 20px; overflow: hidden; margin-top: 60px;
}
.process-step {
  background: var(--surface); padding: 40px 32px;
  position: relative; transition: background 0.3s;
}
.process-step:hover { background: var(--bg2); }
.process-num {
  font-family: var(--mono); font-size: 2.2rem; font-weight: 500;
  color: oklch(65% 0.22 240 / 0.25); line-height: 1; margin-bottom: 18px;
}
.process-step h3 { font-size: 1rem; margin-bottom: 10px; }
.process-step p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ─────────────── TAGS / PILLS ─────────────── */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  background: var(--surface); border: 1px solid var(--border); border-radius: 100px;
  padding: 5px 14px; font-size: 0.78rem; font-family: var(--mono); color: var(--muted);
  box-shadow: 0 1px 4px var(--shadow);
}

/* ─────────────── SERVICES GRID (homepage) ─────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border); border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow);
}
.service-card {
  background: var(--surface); padding: 48px 40px; position: relative;
  cursor: pointer; transition: background 0.3s; text-decoration: none;
  color: inherit; display: block;
}
.service-card:hover { background: var(--bg2); }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-dim); display: grid; place-items: center;
  margin-bottom: 24px; font-size: 1.4rem; transition: transform 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.service-link {
  font-size: 0.82rem; font-family: var(--mono); color: var(--accent);
  display: flex; align-items: center; gap: 6px; transition: gap 0.2s;
}
.service-card:hover .service-link { gap: 10px; }
.service-num {
  position: absolute; top: 24px; right: 32px;
  font-family: var(--mono); font-size: 0.7rem;
  color: oklch(65% 0.22 240 / 0.3); font-weight: 500;
}

/* ─────────────── CLIENTS MARQUEE ─────────────── */
.clients-strip { display: flex; align-items: center; overflow: hidden; position: relative; }
.clients-strip::before, .clients-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.clients-strip::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.clients-strip::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.clients-inner {
  display: flex; gap: 40px; animation: marquee 22s linear infinite; white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-logo {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 28px; font-family: var(--heading); font-size: 0.9rem; font-weight: 600;
  color: var(--muted); white-space: nowrap; transition: color 0.2s, border-color 0.2s;
  box-shadow: 0 1px 6px var(--shadow);
}
.client-logo:hover { color: var(--text); border-color: oklch(65% 0.22 240 / 0.35); }

/* ─────────────── CTA BAND ─────────────── */
.cta-band {
  background: #0f1020; color: #e8eaf5;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #ffffff; }
.cta-band h2 span { color: oklch(72% 0.22 240); }
.cta-band .section-label { color: oklch(72% 0.18 195); }
.cta-band .section-label::before { background: oklch(72% 0.18 195); }
.cta-glow {
  position: absolute; width: 700px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, oklch(65% 0.22 240 / 0.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 20px; }
.cta-inner p { color: rgba(232, 234, 245, 0.7); margin: 0 auto 40px; line-height: 1.7; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.25); color: #e8eaf5;
}
.cta-band .btn-outline:hover {
  border-color: oklch(72% 0.22 240);
  background: oklch(65% 0.22 240 / 0.15);
}

/* ─────────────── FAQ ─────────────── */
.faq-list { max-width: 760px; margin: 50px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface); overflow: hidden;
  box-shadow: 0 1px 6px var(--shadow);
}
.faq-q {
  padding: 22px 26px; display: flex; justify-content: space-between;
  align-items: center; cursor: pointer;
  font-family: var(--heading); font-weight: 600; font-size: 0.98rem;
}
.faq-q .faq-toggle { color: var(--accent); font-size: 1.3rem; transition: transform 0.3s; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 26px; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 26px 24px; }
.faq-a p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ─────────────── CONTACT ─────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.contact-info-card .ci-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-dim); display: grid; place-items: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-info-card h4 { font-family: var(--heading); font-size: 0.9rem; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a {
  font-size: 0.9rem; color: var(--muted); text-decoration: none;
}
.contact-info-card a:hover { color: var(--accent); }
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px;
  box-shadow: 0 4px 24px var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 0.8rem; font-family: var(--mono);
  color: var(--muted); margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 16px; color: var(--text);
  font-family: var(--body); font-size: 0.9rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(65% 0.22 240 / 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }

/* ─────────────── COURSE CARDS ─────────────── */
.course-card {
  border: 1px solid var(--border); border-radius: 18px;
  background: var(--surface); overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 10px var(--shadow);
}
.course-card:hover {
  transform: translateY(-6px);
  border-color: oklch(65% 0.22 240 / 0.4);
  box-shadow: 0 16px 40px var(--shadow);
}
.course-banner {
  padding: 28px 30px; background: var(--accent-dim);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.course-banner .ce { font-size: 2.4rem; }
.course-level {
  font-family: var(--mono); font-size: 0.68rem; color: var(--accent);
  border: 1px solid oklch(65% 0.22 240 / 0.4); border-radius: 100px; padding: 4px 12px;
}
.course-body { padding: 28px 30px; flex: 1; display: flex; flex-direction: column; }
.course-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.course-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.course-feat { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.course-feat li { font-size: 0.84rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.course-feat li::before { content: '▸'; color: var(--accent); flex-shrink: 0; }
.course-meta {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px; border-top: 1px solid var(--border);
}
.course-age { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.course-price {
  font-family: var(--heading); font-size: 1rem; font-weight: 700; color: var(--accent);
}

.course-card .course-thumbnail { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.course-card .course-thumbnail-placeholder {
  width: 100%; aspect-ratio: 16/9; background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
}

/* ─────────────── TECH LOGOS ─────────────── */
.tech-tabs {
  display: flex; justify-content: center; gap: 4px;
  margin: 0 auto 48px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 4px; width: fit-content;
  box-shadow: 0 2px 8px var(--shadow);
}
.tech-tab {
  padding: 8px 20px; border-radius: 7px; border: none;
  background: transparent; color: var(--muted); font-family: var(--mono);
  font-size: 0.8rem; cursor: pointer; transition: all 0.2s;
}
.tech-tab.active { background: var(--accent); color: #fff; }
.tech-tab:hover:not(.active) { background: var(--bg2); }
.tech-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.tech-logo-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 26px; display: flex; align-items: center; gap: 10px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 6px var(--shadow);
}
.tech-logo-item:hover {
  transform: translateY(-3px);
  border-color: oklch(65% 0.22 240 / 0.35);
  box-shadow: 0 6px 20px var(--shadow);
}
.tech-logo-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.75rem; font-family: var(--mono);
}
.tech-logo-name { font-family: var(--heading); font-size: 0.85rem; font-weight: 600; }

/* ─────────────── TEAM / VALUES GRID ─────────────── */
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; margin-top: 60px; background: var(--border);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow);
}
.team-card {
  background: var(--surface); padding: 44px 38px;
  display: grid; grid-template-columns: auto 1fr; gap: 26px;
  align-items: start; transition: background 0.3s;
}
.team-card:hover { background: var(--bg2); }
.team-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent-dim); border: 1px solid oklch(65% 0.22 240 / 0.2);
  display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0;
}
.team-card h3 { font-size: 1rem; margin-bottom: 10px; }
.team-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ─────────────── 3D PRINT CARDS ─────────────── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px; margin-top: 50px;
}
.print-card {
  border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; background: var(--surface);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px var(--shadow);
}
.print-card:hover {
  transform: translateY(-6px);
  border-color: oklch(65% 0.22 240 / 0.35);
  box-shadow: 0 12px 36px var(--shadow);
}
.print-thumb {
  aspect-ratio: 4/3; position: relative;
  display: grid; place-items: center; font-size: 3.4rem;
  background:
    radial-gradient(circle at 30% 30%, oklch(65% 0.22 240 / 0.10), transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 11px, rgba(80, 100, 200, 0.04) 11px, rgba(80, 100, 200, 0.04) 12px);
  border-bottom: 1px solid var(--border);
}
.print-meta { padding: 18px 20px; }
.print-meta h3 { font-size: 0.98rem; margin-bottom: 6px; }
.print-meta p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.print-spec { display: flex; gap: 8px; flex-wrap: wrap; }
.print-spec span {
  font-family: var(--mono); font-size: 0.68rem; color: var(--accent);
  background: var(--accent-dim); border-radius: 5px; padding: 2px 8px;
}

/* ─────────────── MATERIAL CARDS ─────────────── */
.material-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 40px; }
.material-card {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 28px 24px; background: var(--surface);
  box-shadow: 0 2px 8px var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.material-card:hover { border-color: oklch(65% 0.22 240 / 0.35); box-shadow: 0 6px 20px var(--shadow); }
.material-card .mat-name { font-family: var(--heading); font-weight: 700; font-size: 1.3rem; margin-bottom: 6px; }
.material-card .mat-name span { color: var(--accent); }
.material-card .mat-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

/* ─────────────── HOMEPAGE HERO ─────────────── */
#hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 120px 5vw 80px;
  position: relative; overflow: hidden; gap: 60px;
  background: var(--surface);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(80, 100, 200, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 100, 200, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, oklch(65% 0.22 240 / 0.13) 0%, transparent 70%);
  top: -100px; right: -100px; pointer-events: none;
}
.hero-glow2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, oklch(65% 0.22 195 / 0.08) 0%, transparent 70%);
  bottom: 0; left: 100px; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim); border: 1px solid oklch(65% 0.22 240 / 0.3);
  border-radius: 100px; padding: 5px 14px 5px 8px;
  font-size: 0.75rem; font-family: var(--mono); color: var(--accent);
  margin-bottom: 28px; animation: fadeUp 0.6s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
#hero h1 { margin-bottom: 24px; animation: fadeUp 0.6s 0.1s ease both; }
.hero-sub {
  font-size: 1.05rem; color: var(--muted); line-height: 1.7;
  max-width: 480px; margin-bottom: 40px; animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 0.6s 0.3s ease both; }
.hero-visual { position: relative; z-index: 2; animation: fadeUp 0.8s 0.2s ease both; }
.hero-card-stack { width: 100%; max-width: 460px; margin: 0 auto; }
.stat-card-wide { grid-column: 1 / -1; }
.tech-pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.tech-pill {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 100px;
  padding: 4px 12px; font-size: 0.72rem; font-family: var(--mono); color: var(--muted);
}

.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px; gap: 40px;
}
.services-header p { color: var(--muted); max-width: 360px; font-size: 0.95rem; line-height: 1.7; }

/* ─────────────── FOOTER ─────────────── */
footer {
  background: #0f1020; border-top: none;
  padding: 60px 5vw 40px; color: #e8eaf5;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-brand p { color: #7880a8; font-size: 0.875rem; line-height: 1.7; margin: 16px 0 16px; max-width: 260px; }
.footer-phone { font-family: var(--mono); font-size: 0.82rem !important; margin: 0 !important; }
.footer-phone a { color: #7880a8; text-decoration: none; transition: color 0.2s; }
.footer-phone a:hover { color: #e8eaf5; }
.footer-col h4 {
  font-family: var(--heading); font-size: 0.8rem; font-weight: 600;
  color: #ffffff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #7880a8; text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: #e8eaf5; }
.footer-bottom {
  border-top: 1px solid rgba(100, 120, 220, 0.15); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: #7880a8; font-family: var(--mono); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; border: 1px solid rgba(100, 120, 220, 0.2);
  border-radius: 8px; display: grid; place-items: center; color: #7880a8;
  text-decoration: none; font-size: 0.85rem; transition: all 0.2s;
}
.social-link:hover { border-color: oklch(65% 0.22 240); color: oklch(65% 0.22 240); }
.nav-logo span { color: #e8eaf5; }

/* ─────────────── REVEAL ANIMATION ─────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────── UTILITIES ─────────────── */
.container { max-width: 1280px; margin: 0 auto; }
.center-head { text-align: center; max-width: 680px; margin: 0 auto 10px; }
.center-head .lead { margin-top: 16px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.text-accent { color: var(--accent); }
.bg-surface { background: var(--surface); }
.bg-alt { background: var(--bg2); }

/* Courses all-grid */
.courses-filter {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; justify-content: center;
}
.filter-btn {
  padding: 8px 20px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-family: var(--mono); font-size: 0.8rem;
  cursor: pointer; transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

/* Edwiser course card override */
.eb-course-list .eb-course-grid { display: none; }

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #hero { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stat-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 70px 6vw; }
  .page-hero { padding: 120px 6vw 60px; }
  .form-card { padding: 28px 24px; }
  #hero { padding: 100px 6vw 60px; }
}
