:root {
  --bg: #080b12;
  --bg-surface: #0d121c;
  --bg-card: rgba(13, 18, 28, 0.7);
  --border: rgba(88, 166, 255, 0.14);
  --border-strong: rgba(88, 166, 255, 0.35);
  --ink: #f0f6fc;
  --ink-secondary: #c9d1d9;
  --ink-muted: #8b949e;
  --accent: #58a6ff;
  --accent-glow: rgba(88, 166, 255, 0.15);
  --accent-green: #3fb950;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.glow-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 100%);
  height: 500px;
  background: radial-gradient(circle at center, rgba(88, 166, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 11, 18, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-name .accent {
  color: var(--accent);
}

.brand-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 14px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 56px 0 28px;
  text-align: center;
}

.hero-product-mark {
  display: block;
  width: clamp(120px, 14vw, 178px);
  height: auto;
  margin: 0 auto 18px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 168, 255, 0.2)) drop-shadow(0 22px 34px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.hero-product-mark:hover {
  transform: translateY(-4px) scale(1.02);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(88, 166, 255, 0.08);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 20px;
}

.badge-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 14px;
  color: #fff;
}

.hero h1 .accent-text {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ink-secondary);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.languages-badge-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 20px;
}

.lang-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #c9d1d9;
}

.btn-webapp-launch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.18), rgba(63, 185, 80, 0.18));
  border: 1px solid rgba(88, 166, 255, 0.4);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 9999px;
  text-decoration: none;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(88, 166, 255, 0.15);
  transition: all 0.2s ease;
}

.btn-webapp-launch:hover {
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.3), rgba(63, 185, 80, 0.3));
  border-color: #58a6ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(88, 166, 255, 0.25);
}

.classroom-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 920px;
  margin: 0 auto 24px;
  border-block: 1px solid var(--border);
}
.classroom-proof > div { display: grid; gap: 2px; padding: 15px 12px; border-right: 1px solid var(--border); }
.classroom-proof > div:last-child { border-right: 0; }
.classroom-proof strong { color: #fff; font-size: 14px; }
.classroom-proof span { color: var(--ink-muted); font-size: 11px; }

@media (max-width: 700px) {
  .classroom-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .classroom-proof > div:nth-child(2) { border-right: 0; }
  .classroom-proof > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* Downloads Hub */
.downloads-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto 20px;
}

.download-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.download-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

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

.os-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 650;
  color: #fff;
}

.os-badge {
  font-size: 10px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--ink-muted);
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #080b12;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  transition: opacity 0.15s ease, transform 0.15s ease;
  margin-bottom: 10px;
}

.btn-download:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.download-options {
  font-size: 12px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.download-options a {
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.download-options a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Professional Direct Access Banner */
.release-direct-box {
  max-width: 920px;
  margin: 16px auto 16px;
  background: rgba(88, 166, 255, 0.05);
  border: 1px solid rgba(88, 166, 255, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.release-direct-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.release-direct-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.release-direct-info p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-secondary);
}

.btn-release-github {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-release-github:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .release-direct-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

.download-options .sep {
  opacity: 0.4;
}

.downloads-meta-note {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 48px;
}

.downloads-meta-note a {
  color: var(--accent);
  text-decoration: none;
}

.downloads-meta-note a:hover {
  text-decoration: underline;
}

/* Teacher Pitch Section */
.teacher-pitch {
  margin: 20px 0 64px;
  text-align: center;
}

.pitch-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 8px;
}

.pitch-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pitch-lead {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--ink-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.pitch-lead strong {
  color: #fff;
}

.pitch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
  margin-bottom: 36px;
}

.pitch-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pitch-card:hover {
  border-color: rgba(88, 166, 255, 0.3);
  transform: translateY(-2px);
}

.pitch-icon {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
}

.pitch-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.pitch-card p {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.pitch-card strong {
  color: #fff;
}

.pitch-card code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
}

.pitch-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .pitch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .pitch-grid {
    grid-template-columns: 1fr;
  }
  .pitch-cta {
    flex-direction: column;
    width: 100%;
  }
  .pitch-cta a {
    width: 100%;
    justify-content: center;
  }
}

/* Real Showcase Gallery */
.showcase-section {
  margin-bottom: 64px;
}

.showcase-header {
  text-align: center;
  margin-bottom: 24px;
}

.showcase-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 8px;
}

.showcase-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.showcase-desc {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--ink-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Tab Navigation */
.showcase-nav-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.showcase-nav {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}

.showcase-nav::-webkit-scrollbar {
  display: none;
}

.showcase-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.showcase-tab:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.showcase-tab.active {
  background: var(--accent);
  color: #080b12;
  box-shadow: 0 0 16px rgba(88, 166, 255, 0.35);
}

.tab-icon {
  font-size: 14px;
}

/* Panels */
.showcase-panel {
  display: none;
}

.showcase-panel.active {
  display: block;
  animation: panelFadeIn 0.25s ease-out;
}

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

/* Preview Frame */
.preview-frame {
  border: 1px solid rgba(88, 166, 255, 0.2);
  border-radius: 14px;
  overflow: hidden;
  background: #080b12;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(88, 166, 255, 0.08);
}

.preview-topbar {
  background: #0b0f17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink-muted);
}

.topbar-dots {
  display: flex;
  gap: 7px;
}

.topbar-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.topbar-dots .dot.red { background: #ff5f56; }
.topbar-dots .dot.yellow { background: #ffbd2e; }
.topbar-dots .dot.green { background: #27c93f; }

.topbar-title {
  color: var(--ink-secondary);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #3fb950;
}

.topbar-status.alert-status {
  color: #ff5f56;
}

.topbar-status.exam-status {
  color: #58a6ff;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fb950;
}

.status-indicator.pulse {
  background: #ff5f56;
  box-shadow: 0 0 10px #ff5f56;
  animation: strobePulse 0.5s infinite alternate;
}

@keyframes strobePulse {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.preview-img-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080b12;
  overflow: hidden;
}

.preview-img-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Showcase Details under Frame */
.showcase-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
}

.showcase-info {
  flex: 1;
}

.showcase-info h3 {
  font-size: 17px;
  font-weight: 650;
  color: #fff;
  margin-bottom: 6px;
}

.showcase-info p {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin: 0;
}

.showcase-info code {
  color: var(--accent);
  font-family: var(--font-mono);
  background: rgba(88, 166, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.showcase-info kbd {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.showcase-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
}

.showcase-pills .pill {
  background: rgba(88, 166, 255, 0.06);
  border: 1px solid rgba(88, 166, 255, 0.18);
  color: var(--accent);
  font-size: 11.5px;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.showcase-pills .pill.alert-pill {
  background: rgba(255, 95, 86, 0.08);
  border-color: rgba(255, 95, 86, 0.25);
  color: #ff7b72;
}

.showcase-pills .pill.exam-pill {
  background: rgba(88, 166, 255, 0.08);
  border-color: rgba(88, 166, 255, 0.25);
  color: #79c0ff;
}

.showcase-pills .pill.task-pill {
  background: rgba(63, 185, 80, 0.08);
  border-color: rgba(63, 185, 80, 0.25);
  color: #3fb950;
}

/* Mini Thumbnail Gallery */
.showcase-thumbnails {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.thumb-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  color: inherit;
}

.thumb-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.thumb-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(88, 166, 255, 0.25);
}

.thumb-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080b12;
  overflow: hidden;
}

.thumb-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumb-card:hover .thumb-img-wrap img {
  transform: scale(1.04);
}

.thumb-card span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumb-card.active span {
  color: var(--accent);
}

@media (max-width: 1100px) {
  .showcase-details {
    flex-direction: column;
  }
  .showcase-pills {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }
  .showcase-thumbnails {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .showcase-thumbnails {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Modes Grid: 3 Clean Minimalist Columns */
.modes-section {
  margin-bottom: 56px;
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .modes-grid {
    grid-template-columns: 1fr;
  }
}

.mode-box {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.mode-box.mode-task {
  border-color: rgba(63, 185, 80, 0.22);
}

.mode-box.mode-task .mode-box-tag {
  color: #3fb950;
}

.mode-box-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.mode-box h2 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.mode-box p {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.mode-list {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
}

.mode-list li {
  display: block;
  position: relative;
  padding-left: 20px;
}

.mode-list li::before {
  position: absolute;
  left: 0;
  content: '✓';
  color: var(--accent-green);
  font-weight: bold;
}

/* Requirements Box */
.quick-info-box {
  background: rgba(88, 166, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 56px;
}

.quick-info-text {
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.quick-info-text strong {
  color: #fff;
}

.quick-info-link {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
}

.quick-info-link:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 0;
  margin-top: auto;
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-inner a:hover {
  color: var(--accent);
}

.footer-nav {
  display: flex;
  gap: 20px;
}

/* Responsive */
@media (max-width: 860px) {
  .downloads-hub {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .modes-grid {
    grid-template-columns: 1fr;
  }
  .quick-info-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .shell {
    padding: 0 16px;
  }
  .hero {
    padding-top: 36px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 14.5px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.release-note { max-width:850px; margin:0 auto 24px; padding:14px 18px; border-left:2px solid #dcc18e; background:#dcc18e08; color:#b5bfce; font-size:13px; line-height:1.7; text-align:left; }
.release-note strong { color:#dcc18e; }
.release-note a, .compatibility-note a { color:#7cc7fd; text-decoration:underline; text-underline-offset:3px; }
.compatibility-note { color:#a0adbf; font-size:12px; line-height:1.8; margin:0 0 48px; }
@media (max-width:520px) { .nav-links { gap:10px; } .nav-link { font-size:12px; } .brand { gap:8px; } .header-inner { gap:12px; } }

/* Hero Actions */
.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 12px auto 28px;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #c9d1d9;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.nav-link-highlight {
  color: var(--accent) !important;
  font-weight: 700;
}

/* Section Centered Badge */
.section-badge-center {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
}

/* Comparison Section */
.comparison-section {
  padding: 72px 0;
  text-align: center;
}

.comparison-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
}

.comparison-lead {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--ink-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.comparison-table-wrap {
  overflow-x: auto;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.comparison-table th {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  letter-spacing: -0.01em;
}

.comparison-table .th-feature {
  width: 34%;
  color: #fff;
}

.comparison-table .th-generic {
  width: 33%;
  color: #ff7b72;
}

.comparison-table .th-codego {
  width: 33%;
  color: #58a6ff;
  background: rgba(88, 166, 255, 0.06);
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--ink-secondary);
  vertical-align: middle;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:last-child {
  background: rgba(88, 166, 255, 0.03);
  color: #e6edf3;
}

.comparison-table .status-bad {
  color: #e06c75;
}

.comparison-table .status-good {
  color: #7ee787;
}

/* Remote Education / Cognago Section */
.remote-edu-section {
  padding: 60px 0;
}

.remote-box-inner {
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.08), rgba(56, 139, 253, 0.02));
  border: 1px solid rgba(88, 166, 255, 0.3);
  border-radius: 18px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.remote-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.remote-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 10px 0 16px;
}

.remote-lead {
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.remote-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.remote-benefits-list li {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 20px;
}

.remote-benefits-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.remote-benefits-list strong {
  color: #fff;
}

.remote-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .remote-benefits-list {
    grid-template-columns: 1fr;
  }
}

/* Languages Cards Grid */
.languages-section {
  padding: 60px 0 20px;
  text-align: center;
}

.languages-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.lang-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: left;
  transition: all 0.2s ease;
}

.lang-feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.lang-feature-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.lang-feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.lang-feature-card p {
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin: 0;
}

.modes-header-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.modes-title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 8px 0;
}

.modes-subtitle {
  font-size: 16px;
  color: var(--ink-secondary);
}

