/* =========================================================================
   Ruslan Əliyev — personal brand site
   1. Design tokens & base
   2. Ambient background, preloader, cursor, progress
   3. Header, navigation, mobile menu
   4. Buttons & shared UI
   ========================================================================= */

:root {
  --bg: #060810;
  --bg-soft: #0a0f1c;
  --navy: #0c1428;
  --panel: rgba(255, 255, 255, 0.028);
  --panel-2: rgba(255, 255, 255, 0.05);
  --glass: rgba(12, 20, 40, 0.55);
  --ink: #f4f7fd;
  --muted: #95a2b9;
  --muted-2: #6b7890;
  --blue: #3b78ff;
  --blue-bright: #6ba0ff;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.15);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 28px;

  --shadow-soft: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 0 0 1px rgba(91, 147, 255, 0.18), 0 30px 90px -50px rgba(59, 120, 255, 0.65);

  --header-h: 78px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; overscroll-behavior: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(59, 120, 255, 0.4); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 0.86em;
}

.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  translate: -50% -140%;
  z-index: 200;
  padding: 12px 22px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  transition: translate 0.25s var(--ease);
}
.skip-link:focus-visible { translate: -50% 0; }

/* ---------- Ambient background ---------- */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .site-header, .site-footer { position: relative; z-index: 2; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #0d1730 0%, #060810 65%);
  transition: opacity 0.7s var(--ease-soft), visibility 0.7s;
  animation: plFailsafe 0.4s 9s forwards;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; padding: 24px; }
.preloader-mark { width: 96px; margin: 0 auto 22px; }
.preloader-mark svg { width: 100%; height: auto; overflow: visible; }
.pl-ring {
  stroke: rgba(107, 160, 255, 0.28);
  stroke-width: 1.5;
  stroke-dasharray: 8 10;
}
.pl-letter, .pl-slash {
  stroke: #cfe0ff;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: plDraw 1.6s var(--ease) 0.15s forwards;
}
.pl-slash { animation-delay: 0.5s; stroke: var(--blue-bright); }
.preloader-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.preloader-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 8px;
}
.preloader-bar {
  width: 190px;
  height: 2px;
  margin: 26px auto 0;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  box-shadow: 0 0 12px rgba(91, 147, 255, 0.8);
  transition: width 0.3s linear;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  background: rgba(255, 255, 255, 0.05);
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--violet) 60%, var(--cyan));
  box-shadow: 0 0 14px rgba(91, 147, 255, 0.85);
}

/* ---------- Custom cursor ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 250;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  translate: -50% -50%;
  will-change: transform;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: #dbe7ff;
  transition: opacity 0.3s;
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(139, 170, 255, 0.5);
  transition: opacity 0.3s, width 0.25s var(--ease), height 0.25s var(--ease), background-color 0.25s, border-color 0.25s;
}
body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring { opacity: 1; }
body.has-cursor.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
  background: rgba(91, 147, 255, 0.09);
  border-color: rgba(139, 170, 255, 0.8);
}
body.has-cursor.cursor-hover .cursor-dot { opacity: 0.4; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s, height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  height: 68px;
  background: rgba(6, 9, 18, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1280px, 100% - 48px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.04em;
  color: #eaf1ff;
  background: linear-gradient(150deg, rgba(59, 120, 255, 0.32), rgba(139, 92, 246, 0.18));
  border: 1px solid rgba(140, 175, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 26px -14px rgba(59, 120, 255, 0.9);
}
.brand-mark span { color: #9dc0ff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-text small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  display: block;
  padding: 9px 13px;
  font-size: 13.5px;
  color: #b7c2d6;
  border-radius: 9px;
  transition: color 0.25s, background-color 0.25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-bright), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.status-dot,
.pulse-dot,
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38e1a4;
  box-shadow: 0 0 0 4px rgba(56, 225, 164, 0.14);
  flex: none;
}
.pulse-dot { animation: pulseDot 2.4s infinite; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.6px;
  background: #e6eeff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s, top 0.35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: calc(var(--header-h) + 26px) 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.98), rgba(6, 9, 17, 0.99));
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.45s var(--ease-soft), visibility 0.45s, clip-path 0.6s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); }
.mobile-menu ul { display: grid; gap: 2px; }
.mobile-menu li a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 6px;
  font-family: var(--font-display);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s;
}
.mobile-menu li a span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.05em;
}
.mobile-menu.is-open li a { opacity: 1; transform: none; }
.mobile-menu li a:hover { color: var(--blue-bright); }
.mobile-menu-foot { display: grid; gap: 14px; }
.mobile-menu-foot p {
  font-size: 12px;
  color: var(--muted-2);
  text-align: center;
  font-family: var(--font-mono);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #eaf1ff;
  border: 1px solid var(--line-strong);
  background: var(--btn-bg);
  transition: transform 0.3s var(--ease), border-color 0.3s, background-color 0.3s, box-shadow 0.3s, color 0.3s;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 15px 26px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-icon { width: 17px; height: 17px; object-fit: contain; flex: none; }

.btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #3b78ff, #6b5bff 55%, #8b5cf6);
  box-shadow: 0 12px 34px -14px rgba(76, 111, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #5b93ff, #8b5cf6);
  opacity: 0;
  transition: opacity 0.35s;
}
.btn-primary:hover { box-shadow: 0 18px 44px -14px rgba(97, 128, 255, 0.95); }
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.13);
  color: #dbe6fa;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(140, 175, 255, 0.45);
  color: #fff;
}
.btn .i,
.btn svg.i {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.btn:hover svg.i { transform: translateX(3px); }

/* ---------- Shared section shells ---------- */
.section {
  position: relative;
  padding: clamp(72px, 9vw, 130px) 0;
}
.section-head { margin-bottom: clamp(36px, 5vw, 58px); }
.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 18px;
}
.eyebrow .mono {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #cfe0ff;
  background: rgba(59, 120, 255, 0.14);
  border: 1px solid rgba(107, 160, 255, 0.28);
}
.section-title {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.section-title.wide { font-size: clamp(30px, 4.8vw, 56px); }
.section-title.xl { font-size: clamp(32px, 5.2vw, 60px); }
.section-lead {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 52ch;
}
.section-lead .muted { color: var(--muted-2); }
.br-lg { display: inline; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 26px);
  overflow: hidden;
  isolation: isolate;
}
.hero-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.aurora.a1 {
  width: 620px; height: 620px;
  top: -260px; right: -120px;
  background: radial-gradient(circle, rgba(59, 120, 255, 0.5), transparent 62%);
}
.aurora.a2 {
  width: 520px; height: 520px;
  top: 40%; left: -220px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.34), transparent 64%);
}
.aurora.a3 {
  width: 480px; height: 480px;
  bottom: -260px; right: 24%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 66%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.88fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(28px, 4vw, 48px) clamp(46px, 6vw, 74px);
}
.hero-copy { position: relative; z-index: 3; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #cfdcf2;
  background: linear-gradient(100deg, rgba(56, 225, 164, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(56, 225, 164, 0.22);
}
.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a9b7cf;
}
.hero-eyebrow .mono { color: #dbe7ff; }
.hero-eyebrow .sep { color: rgba(107, 160, 255, 0.55); }

.hero-title {
  margin-top: 18px;
  font-size: clamp(38px, 5.6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.048em;
  font-weight: 600;
}
.text-grad,
.text-grad-2 {
  background: linear-gradient(100deg, #7fb0ff 0%, #a08cff 55%, #d8c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-grad-2 {
  background: linear-gradient(100deg, #5b93ff, #8b5cf6 60%, #22d3ee 120%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  margin-top: 24px;
  max-width: 49ch;
  font-size: clamp(15px, 1.25vw, 16.5px);
  line-height: 1.75;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 42px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stats div { min-width: 0; }
.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
  line-height: 1.4;
}
.hero-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

/* Portrait */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding-block: 18px;
}
.orbit {
  position: absolute;
  inset: 6% 4%;
  border-radius: 50%;
  pointer-events: none;
}
.orbit span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(120, 160, 255, 0.16);
}
.orbit span:nth-child(2) {
  inset: 9%;
  border-style: solid;
  border-color: rgba(139, 92, 246, 0.12);
}

.portrait-card {
  position: relative;
  width: min(100%, 420px);
  margin: 0;
  padding: 1.5px;
  border-radius: 30px;
  background: linear-gradient(165deg, rgba(150, 185, 255, 0.65), rgba(139, 92, 246, 0.3) 42%, rgba(255, 255, 255, 0.06));
  box-shadow: 0 46px 100px -52px rgba(38, 82, 220, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.02);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}
.portrait-media {
  position: relative;
  border-radius: 28.5px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #0a1120;
}
.portrait-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transform: scale(1.015);
  transition: transform 1.4s var(--ease);
}
.portrait-card:hover .portrait-media img { transform: scale(1.06); }
.portrait-sheen {
  position: absolute;
  inset: 1.5px;
  border-radius: 28.5px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 9, 18, 0.42) 0%, transparent 26%, transparent 58%, rgba(6, 9, 18, 0.85) 100%),
    radial-gradient(90% 60% at 78% 8%, rgba(59, 120, 255, 0.22), transparent 60%);
}
.portrait-tag {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: #e6eefc;
  background: rgba(9, 14, 26, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.portrait-tag .dot { background: #4be3ae; }

.corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(150, 185, 255, 0.55);
  pointer-events: none;
}
.corner.tl { top: -9px; left: -9px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.corner.tr { top: -9px; right: -9px; border-left: 0; border-bottom: 0; border-radius: 0 4px 0 0; }
.corner.bl { bottom: -9px; left: -9px; border-right: 0; border-top: 0; border-radius: 0 0 0 4px; }
.corner.br { bottom: -9px; right: -9px; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }

.chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px 9px 9px;
  border-radius: 14px;
  background: rgba(10, 16, 30, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.95);
}
.chip-logo, .chip-e {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #dbe8ff;
  background: linear-gradient(150deg, rgba(59, 120, 255, 0.32), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(140, 175, 255, 0.28);
}
.chip-text { display: flex; flex-direction: column; line-height: 1.25; }
.chip-text b { font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; }
.chip-text small {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
.chip-1 { top: 9%; left: -7%; }
.chip-2 { top: 37%; right: -9%; }
.chip-3 { bottom: 25%; left: -10%; }
.chip-4 { bottom: 6%; right: -6%; }

.hero-card {
  position: absolute;
  left: 50%;
  bottom: -22px;
  z-index: 5;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}
.hero-card-ico {
  color: var(--blue-bright);
  font-size: 16px;
  text-shadow: 0 0 14px rgba(91, 147, 255, 0.9);
}
.hero-card div { display: flex; flex-direction: column; line-height: 1.3; }
.hero-card strong { font-size: 12.5px; font-weight: 600; }
.hero-card span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-2);
}

/* Marquee */
.marquee {
  position: relative;
  margin-top: clamp(26px, 4vw, 46px);
  padding: 15px 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(160, 178, 205, 0.55);
  animation: marquee 42s linear infinite;
}
.marquee-track span:nth-child(even) { color: rgba(107, 160, 255, 0.5); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.86fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: start;
}
.about-story p { color: var(--muted); margin-bottom: 18px; font-size: 15.5px; line-height: 1.8; }
.about-story .lead {
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.7;
  color: #d9e4f6;
  margin-bottom: 22px;
}
.about-story strong { color: #fff; font-weight: 600; }
.pull-quote {
  position: relative;
  margin: 34px 0 0;
  padding: 24px 28px 24px 56px;
  border-radius: 4px 18px 18px 4px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: #eaf2ff;
  background: linear-gradient(100deg, rgba(59, 120, 255, 0.13), rgba(139, 92, 246, 0.05) 55%, transparent);
  border-left: 2px solid rgba(107, 160, 255, 0.7);
}
.quote-mark {
  position: absolute;
  left: 15px;
  top: 4px;
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 1;
  color: rgba(107, 160, 255, 0.42);
}
.about-panel { display: grid; gap: 18px; }
.panel-card { border-radius: 20px; padding: 24px; }
.panel-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bcd3f7;
  margin-bottom: 16px;
}
.facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
  font-size: 13.5px;
}
.facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.facts span { color: var(--muted-2); flex: none; font-size: 12.5px; }
.facts strong { font-weight: 500; color: #e9f0fc; text-align: right; }
.facts .ok { color: #4be3ae; }
.focus-list li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.8px;
  line-height: 1.6;
  color: var(--muted);
}
.focus-list span { color: var(--blue-bright); flex: none; }
.about-signature { padding: 6px 4px 0; }
.sign-name {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #dce7fb;
}
.sign-role {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Journey / Timeline ---------- */
.journey { background: linear-gradient(180deg, transparent, rgba(10, 16, 32, 0.45) 22%, rgba(10, 16, 32, 0.45) 78%, transparent); }
.timeline { position: relative; padding-left: 44px; }
.timeline-rail {
  position: absolute;
  left: 13px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.timeline-fill {
  display: block;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  background: linear-gradient(180deg, var(--blue), var(--violet));
  box-shadow: 0 0 16px rgba(91, 147, 255, 0.65);
  transition: transform 0.25s linear;
}
.timeline-item {
  position: relative;
  border-radius: 20px;
  margin-bottom: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  transition: border-color 0.45s, box-shadow 0.45s, background-color 0.45s;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item.is-open {
  border-color: rgba(140, 175, 255, 0.26);
  box-shadow: 0 34px 80px -56px rgba(59, 120, 255, 0.95);
  background: linear-gradient(160deg, rgba(59, 120, 255, 0.075), rgba(255, 255, 255, 0.015));
}
.timeline-head {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 36px;
  gap: 18px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  border-radius: 20px;
}
.timeline-dot {
  position: absolute;
  left: -36px;
  top: 50%;
  translate: 0 -50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0a1020;
  border: 1px solid rgba(150, 185, 255, 0.5);
  box-shadow: 0 0 0 4px #070b14;
  transition: background 0.4s, box-shadow 0.4s;
}
.timeline-item.is-open .timeline-dot {
  background: linear-gradient(140deg, #6ba0ff, #8b5cf6);
  border-color: transparent;
  box-shadow: 0 0 0 4px #070b14, 0 0 20px rgba(107, 160, 255, 0.9);
}
.tl-emblem {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #eef4ff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.tl-emblem.asan { background: linear-gradient(150deg, rgba(34, 211, 238, 0.24), rgba(59, 120, 255, 0.16)); color: #d2f4ff; }
.tl-emblem.whatasoft { background: linear-gradient(150deg, rgba(139, 92, 246, 0.28), rgba(59, 120, 255, 0.14)); color: #e6dcff; }
.tl-emblem.evosreda { background: linear-gradient(150deg, rgba(56, 225, 164, 0.2), rgba(34, 211, 238, 0.1)); color: #d3fff1; }
.tl-main { display: grid; gap: 4px; min-width: 0; }
.tl-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tl-period {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tl-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  color: #7ff0c8;
  background: rgba(56, 225, 164, 0.09);
  border: 1px solid rgba(56, 225, 164, 0.24);
}
.tl-live .dot { width: 5px; height: 5px; box-shadow: none; }
.tl-role {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.25;
}
.tl-company { font-size: 13px; color: #b7c6de; }
.tl-place { color: var(--muted-2); }
.tl-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  flex: none;
}
.tl-toggle svg { width: 16px; height: 16px; fill: none; stroke: #cfe0ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tl-inner { display: grid; gap: 16px; padding: 0 24px 24px 98px; }
.tl-summary { font-size: 14.5px; line-height: 1.78; color: #c3d0e6; }
.tl-points { display: grid; gap: 8px; }
.tl-points li {
  position: relative;
  padding-left: 20px;
  font-size: 13.8px;
  line-height: 1.65;
  color: var(--muted);
}
.tl-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(140deg, #6ba0ff, #8b5cf6);
  opacity: 0.85;
}
.tl-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tl-tags span {
  padding: 5px 11px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #c9d8ef;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

/* ---------- Tech stack ---------- */
.stack { position: relative; }
.stack::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  width: 760px;
  height: 520px;
  translate: -50% 0;
  background: radial-gradient(circle, rgba(59, 120, 255, 0.12), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}
.stack-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 26px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: 13px;
  color: #aebbd2;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s;
}
.filter-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.filter-btn.is-active {
  color: #fff;
  background: linear-gradient(140deg, rgba(59, 120, 255, 0.3), rgba(139, 92, 246, 0.2));
  border-color: rgba(140, 175, 255, 0.32);
}
.filter-btn .count { font-family: var(--font-mono); font-size: 9.5px; opacity: 0.6; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 14px;
}
.tech-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-height: 172px;
  padding: 19px;
  border-radius: 17px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}
.tech-card.is-featured {
  background: linear-gradient(160deg, rgba(59, 120, 255, 0.12), rgba(139, 92, 246, 0.05));
  border-color: rgba(120, 160, 255, 0.24);
}
.tech-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  flex: none;
}
.tech-logo img {
  position: relative;
  z-index: 2;
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.tech-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #9fb4d4;
  z-index: 1;
}
.tech-glyph.lg { position: static; font-size: 12px; color: #c7d8f0; }
.tech-logo img:not(.is-missing) ~ .tech-glyph { display: none; }
.tech-body { margin-top: auto; }
.tech-body h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 5px; }
.tech-body p { font-size: 12.8px; line-height: 1.62; color: var(--muted-2); }
.tech-level {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.level-pro { color: #7ff0c8; background: rgba(56, 225, 164, 0.09); border: 1px solid rgba(56, 225, 164, 0.2); }
.level-learn { color: #c9b6ff; background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.28); }
.stack-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  max-width: 74ch;
  margin-top: 24px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted-2);
}
.note-dot {
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
}

/* ---------- What I can build ---------- */
.build-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.build-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 196px;
  padding: 23px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}
.build-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  border-radius: 11px;
  font-size: 15px;
  color: #dbe8ff;
  background: rgba(59, 120, 255, 0.13);
  border: 1px solid rgba(107, 160, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.build-card h3 { font-size: 16.5px; letter-spacing: -0.025em; }
.build-card p { font-size: 13.2px; line-height: 1.65; color: var(--muted); }
.build-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.build-tags span {
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #a9bcd8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.build-hero {
  grid-column: span 2;
  grid-row: span 2;
  padding: 28px;
  background:
    radial-gradient(90% 70% at 90% 0%, rgba(139, 92, 246, 0.14), transparent 60%),
    linear-gradient(160deg, rgba(59, 120, 255, 0.12), rgba(255, 255, 255, 0.012) 60%);
  border-color: rgba(120, 160, 255, 0.22);
}
.build-kicker {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.build-head h3 { font-size: clamp(19px, 2vw, 23px); margin: 9px 0 7px; }
.build-head p { font-size: 13.2px; color: var(--muted); max-width: 44ch; }
.diagram {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 16px;
  padding: 18px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(140, 175, 255, 0.22);
  background: rgba(6, 10, 20, 0.55);
}
.dg-col { display: flex; flex-direction: column; gap: 8px; flex: 1 1 0; min-width: 0; }
.dg-core { flex: 1.12; }
.dg-node {
  display: grid;
  gap: 2px;
  padding: 10px 8px;
  border-radius: 11px;
  text-align: center;
  border: 1px solid rgba(140, 175, 255, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.018));
}
.dg-core .dg-node:first-child {
  border-color: rgba(107, 160, 255, 0.42);
  box-shadow: 0 0 26px -10px rgba(59, 120, 255, 0.85);
}
.dg-ico { font-size: 12px; color: var(--blue-bright); line-height: 1; }
.dg-node b { font-family: var(--font-display); font-size: 11.5px; font-weight: 600; letter-spacing: -0.01em; }
.dg-node small { font-family: var(--font-mono); font-size: 8px; color: var(--muted-2); }
.dg-arrow {
  position: relative;
  flex: none;
  align-self: center;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(107, 160, 255, 0.15), rgba(107, 160, 255, 0.6));
}
.dg-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  translate: 0 -50%;
  border: 4px solid transparent;
  border-left-color: rgba(140, 175, 255, 0.75);
  border-right: 0;
}
.diagram-legend { display: grid; gap: 5px; }
.diagram-legend li { display: flex; gap: 8px; font-size: 12px; color: var(--muted-2); }
.diagram-legend span { color: rgba(107, 160, 255, 0.8); }

/* ---------- Future ---------- */
.future {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 60% at 18% 0%, rgba(20, 35, 70, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(8, 12, 24, 0.55), rgba(6, 9, 17, 0.2));
}
.future-glow {
  position: absolute;
  right: -160px;
  top: 6%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}
.future-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.future-text p { font-size: 15.2px; line-height: 1.82; color: var(--muted); margin-bottom: 16px; }
.future-text .lead { font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.75; color: #d9e4f6; margin-bottom: 20px; }
.future-list { display: grid; gap: 8px; }
.future-list li {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.35s, background-color 0.35s, transform 0.35s var(--ease);
}
.future-list li:hover {
  transform: translateX(3px);
  border-color: rgba(140, 175, 255, 0.28);
  background: rgba(59, 120, 255, 0.06);
}
.fl-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 13px;
  color: #cfe0ff;
  background: rgba(59, 120, 255, 0.14);
  border: 1px solid rgba(107, 160, 255, 0.22);
}
.future-list b { display: block; font-size: 13.8px; font-weight: 600; margin-bottom: 2px; }
.future-list p { font-size: 12.5px; line-height: 1.55; color: var(--muted-2); }

.ladder-wrap {
  margin-top: clamp(38px, 6vw, 66px);
  padding: clamp(22px, 3.4vw, 38px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.012));
}
.ladder-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}
.ladder-head h3 { font-size: clamp(19px, 2vw, 24px); }
.ladder-head p { font-size: 12.8px; color: var(--muted-2); max-width: 58ch; }
.ladder { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ladder::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 13px;
  height: 1px;
  background: linear-gradient(90deg, rgba(107, 160, 255, 0.12), rgba(107, 160, 255, 0.55), rgba(139, 92, 246, 0.55), rgba(139, 92, 246, 0.12));
}
.ladder li { position: relative; padding-top: 36px; }
.ladder-num {
  position: absolute;
  left: 0;
  top: 0;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: #9fb6d8;
  background: #0a1120;
  border: 1px solid rgba(140, 175, 255, 0.28);
}
.ladder li b { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.ladder li small { display: block; font-size: 11.6px; line-height: 1.5; color: var(--muted-2); }
.ladder-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 12.3px;
  color: var(--muted-2);
}

/* ---------- Roadmap ---------- */
.roadmap-layout {
  display: grid;
  grid-template-columns: 336px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}
.roadmap-nav {
  display: grid;
  gap: 4px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}
.rm-btn {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 12px 12px;
  border-radius: 11px;
  border: 1px solid transparent;
  text-align: left;
  color: #a8b6ce;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s;
}
.rm-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.045); }
.rm-btn.is-active {
  color: #fff;
  background: linear-gradient(100deg, rgba(59, 120, 255, 0.24), rgba(139, 92, 246, 0.12));
  border-color: rgba(140, 175, 255, 0.28);
}
.rm-btn.is-active .rm-num { color: #cfe0ff; background: rgba(59, 120, 255, 0.28); border-color: rgba(140, 175, 255, 0.4); }
.rm-num {
  display: inline-grid;
  place-items: center;
  height: 22px;
  border-radius: 6px;
  font-size: 9.5px;
  color: #8fa4c4;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
}
.rm-label { font-size: 13.4px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.rm-arrow {
  font-size: 12px;
  color: var(--blue-bright);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.rm-btn.is-active .rm-arrow { opacity: 1; transform: none; }

.roadmap-panels {
  position: relative;
  min-height: 100%;
}
.rm-panel {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 20px;
  border: 1px solid rgba(140, 175, 255, 0.18);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(139, 92, 246, 0.12), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}
.rm-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--violet));
  opacity: 0.75;
}
.rm-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.rm-badge {
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfe0ff;
  background: rgba(59, 120, 255, 0.16);
  border: 1px solid rgba(107, 160, 255, 0.26);
}
.rm-topic {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.rm-panel h3 { font-size: clamp(21px, 2.4vw, 28px); margin-bottom: 12px; }
.rm-panel > p { font-size: 14.4px; line-height: 1.78; color: var(--muted); max-width: 60ch; }
.rm-result {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(56, 225, 164, 0.06);
  border: 1px solid rgba(56, 225, 164, 0.18);
}
.rm-result-title {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6fe9c1;
}
.rm-result p { font-size: 13.4px; line-height: 1.65; color: #cfe6dd; }
.rm-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.rm-tags span {
  padding: 4px 9px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #b9cbe4;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.why-card {
  padding: 22px 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}
.why-num {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(107, 160, 255, 0.85);
}
.why-card h3 { font-size: 15px; line-height: 1.35; margin-bottom: 8px; letter-spacing: -0.02em; }
.why-card p { font-size: 12.8px; line-height: 1.65; color: var(--muted-2); }

/* ---------- Students / teaching ---------- */
.students { position: relative; overflow: hidden; }
.students-glow {
  position: absolute;
  left: 50%;
  bottom: -34%;
  translate: -50% 0;
  width: 940px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 78, 220, 0.28), transparent 64%);
  filter: blur(60px);
  pointer-events: none;
}
.students-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: clamp(28px, 4.4vw, 56px);
  padding: clamp(26px, 4vw, 52px);
  border-radius: 28px;
  background:
    radial-gradient(85% 70% at 0% 0%, rgba(59, 120, 255, 0.12), transparent 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  box-shadow: var(--shadow-soft);
}
.students-lead {
  margin-top: 16px;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}
.students-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 20px;
  margin-top: 26px;
}
.students-features li { display: flex; gap: 10px; font-size: 13.2px; line-height: 1.55; color: #c6d4e9; }
.students-features span { margin-top: 4px; font-size: 8px; color: var(--blue-bright); flex: none; }
.students-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.students-note { margin-top: 18px; font-size: 11.8px; line-height: 1.65; color: var(--muted-2); max-width: 60ch; }
.students-side { display: grid; gap: 13px; align-content: start; }
.format-card {
  padding: 21px;
  border-radius: 17px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
}
.format-tag {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b39bff;
}
.format-card h3 { font-size: 17.5px; margin: 8px 0; }
.format-card p { font-size: 12.8px; line-height: 1.62; color: var(--muted); }
.format-card ul { display: grid; gap: 6px; margin-top: 12px; }
.format-card li { position: relative; padding-left: 14px; font-size: 12.2px; color: var(--muted-2); }
.format-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(107, 160, 255, 0.75);
}
.side-note { font-size: 11.6px; line-height: 1.6; color: var(--muted-2); padding: 0 4px; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; padding-bottom: clamp(80px, 10vw, 140px); }
.contact-glow {
  position: absolute;
  left: 50%;
  top: -6%;
  translate: -50% 0;
  width: 900px;
  height: 480px;
  background: radial-gradient(ellipse, rgba(59, 120, 255, 0.3), transparent 66%);
  filter: blur(70px);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.62fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.contact-lead { margin-top: 18px; max-width: 52ch; font-size: 15.2px; line-height: 1.75; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}
.contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.35s var(--ease), border-color 0.35s, background-color 0.35s;
}
.contact-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 175, 255, 0.35);
  background: rgba(59, 120, 255, 0.07);
}
.ci {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 14px;
  color: #cfe0ff;
  background: rgba(59, 120, 255, 0.13);
  border: 1px solid rgba(107, 160, 255, 0.22);
}
.ci-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ci-body small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.ci-body strong { font-size: 12.8px; font-weight: 500; color: #e9f0fc; overflow-wrap: anywhere; }
.ci-arrow { margin-left: auto; font-size: 13px; color: var(--muted-2); transition: transform 0.3s var(--ease), color 0.3s; }
.contact-list a:hover .ci-arrow { transform: translate(2px, -2px); color: var(--blue-bright); }

.qr-card {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(140, 175, 255, 0.2);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(59, 120, 255, 0.14), transparent 65%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  text-align: center;
  box-shadow: 0 40px 90px -60px rgba(50, 100, 240, 0.95);
}
.qr-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cfe0ff;
}
.qr-frame {
  position: relative;
  width: min(100%, 236px);
  margin: 18px auto;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 40px -12px rgba(120, 160, 255, 0.55);
}
.qr-frame img { width: 100%; height: auto; border-radius: 6px; }
.qr-corner { position: absolute; width: 13px; height: 13px; border: 1px solid rgba(107, 160, 255, 0.9); }
.qr-corner.tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.qr-corner.tr { top: -6px; right: -6px; border-left: 0; border-bottom: 0; }
.qr-corner.bl { bottom: -6px; left: -6px; border-right: 0; border-top: 0; }
.qr-corner.br { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.qr-caption { font-size: 12px; line-height: 1.6; color: var(--muted-2); padding: 0 6px; }
.qr-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  padding-top: clamp(48px, 6vw, 74px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.7), #060810 70%);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 70px);
  padding-bottom: 42px;
}
.footer-brand p { margin-top: 16px; max-width: 34ch; font-size: 12.8px; line-height: 1.65; color: var(--muted-2); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-nav h4 {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cfe0ff;
}
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: 12.8px; color: var(--muted); transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 11.8px;
  color: var(--muted-2);
}
.footer-tech { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(107, 160, 255, 0.6); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(12, 20, 38, 0.86);
  border: 1px solid rgba(140, 175, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: #dbe7ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { border-color: rgba(140, 175, 255, 0.6); box-shadow: 0 0 26px -6px rgba(59, 120, 255, 0.55); }


/* =========================================================================
   Offer bar, pricing, teaching platform
   ========================================================================= */
:root { --offer-h: 38px; }

.offer-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110;
  height: var(--offer-h);
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(59, 120, 255, 0.18), rgba(139, 92, 246, 0.18));
  border-bottom: 1px solid rgba(140, 175, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.offer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
}
.offer-pill {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 5px;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(135deg, #3b78ff, #8b5cf6);
  box-shadow: 0 4px 14px -6px rgba(90, 120, 255, 0.9);
}
.offer-text {
  font-size: 12px;
  color: #c9d7ee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.offer-text b { color: #fff; font-weight: 600; }
.offer-text-short { display: none; }
.offer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #dbe7ff;
  white-space: nowrap;
  border: 1px solid rgba(140, 175, 255, 0.28);
  transition: background-color 0.25s, border-color 0.25s;
}
.offer-link:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(140, 175, 255, 0.55); }

.site-header { top: var(--offer-h); }
[id] { scroll-margin-top: calc(var(--header-h) + var(--offer-h) + 18px); }
.hero { padding-top: calc(var(--header-h) + var(--offer-h) + 26px); }
.mobile-menu { padding-top: calc(var(--header-h) + var(--offer-h) + 26px); }
.skip-link {
  top: calc(var(--offer-h) + 8px);
  translate: -50% calc(-100% - 70px);
}

/* Hero offer row */
.hero-offer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.hero-offer li {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #c2d0e6;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.hero-offer .ho-price {
  color: #fff;
  background: linear-gradient(135deg, rgba(59, 120, 255, 0.24), rgba(139, 92, 246, 0.16));
  border-color: rgba(140, 175, 255, 0.32);
}
.hero-offer .ho-price b { font-family: var(--font-display); font-size: 13.5px; letter-spacing: -0.02em; }
.hero-offer .ho-price span { font-size: 10.5px; color: #a9bdd8; }
.hero-offer b { color: #fff; font-weight: 600; }
.hero-offer + .hero-actions { margin-top: 14px; }

/* Pricing card */
.price-card {
  position: relative;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(140, 175, 255, 0.3);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(59, 120, 255, 0.22), transparent 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 40px 90px -60px rgba(80, 130, 255, 0.95);
  overflow: hidden;
}
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-tag {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #bcd3f7;
}
.price-badge {
  padding: 3px 7px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: #061018;
  background: #7ff0c8;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 14px 0 4px;
}
.price b {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(120deg, #ffffff, #9dc0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price span { display: flex; align-items: baseline; gap: 4px; font-size: 21px; color: #c2d3ea; line-height: 1; }
.price i { font-style: normal; font-size: 11.5px; color: var(--muted-2); }
.price-sub { font-size: 12.5px; color: var(--muted-2); }
.price-list { display: grid; gap: 8px; margin: 18px 0 20px; }
.price-list li { position: relative; padding-left: 20px; font-size: 12.8px; line-height: 1.5; color: #c6d4e9; }
.price-list li::before { content: "✓"; position: absolute; left: 0; top: 0; font-size: 11px; color: #7ff0c8; }
.price-note { margin-top: 12px; font-size: 10.8px; line-height: 1.5; text-align: center; color: var(--muted-2); }

/* Registration steps */
.steps { display: grid; gap: 10px; margin-top: 14px; }
.steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 12.8px; line-height: 1.5; color: #c6d4e9; }
.steps li span {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #dbe8ff;
  background: rgba(59, 120, 255, 0.2);
  border: 1px solid rgba(140, 175, 255, 0.3);
}
.steps-card .format-tag { display: block; margin-bottom: 6px; }
.steps-card .side-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
/* Teaching platform */
.platform {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: 8px;
  padding-top: clamp(26px, 3.4vw, 40px);
  border-top: 1px solid var(--line);
}
.platform-title { font-size: clamp(21px, 2.4vw, 28px); margin-bottom: 10px; }
.platform-lead { max-width: 52ch; font-size: 13.8px; line-height: 1.75; color: var(--muted); }
.platform-list { display: grid; gap: 9px; margin-top: 18px; }
.platform-list li {
  display: grid;
  gap: 2px;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.platform-list b { font-size: 12.8px; font-weight: 600; color: #e9f0fc; }
.platform-list span { font-size: 12px; line-height: 1.55; color: var(--muted-2); }

.mock {
  border-radius: 18px;
  border: 1px solid rgba(140, 175, 255, 0.22);
  background: linear-gradient(170deg, rgba(12, 20, 38, 0.96), rgba(8, 12, 24, 0.98));
  box-shadow: 0 40px 90px -52px rgba(50, 100, 240, 0.85);
  overflow: hidden;
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.mock-dots { display: flex; gap: 4px; }
.mock-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.mock-dots i:first-child { background: rgba(255, 107, 107, 0.6); }
.mock-dots i:nth-child(2) { background: rgba(255, 205, 90, 0.6); }
.mock-dots i:nth-child(3) { background: rgba(56, 225, 164, 0.6); }
.mock-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9d8ef;
}
.mock-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7ff0c8;
}
.mock-live i { width: 5px; height: 5px; border-radius: 50%; background: #38e1a4; box-shadow: 0 0 8px #38e1a4; }
.mock-body { padding: 15px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 14px; }
.mock-stats div {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.mock-stats small {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.mock-stats b { font-size: 10px; font-weight: 500; color: #e9f0fc; white-space: nowrap; }
.mock-stats .warn { color: #ffcb6b; }
.mock-rows { display: grid; gap: 9px; }
.mock-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #b9c8de;
}
.mock-bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.mock-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #3b78ff, #8b5cf6); }
.mock-bar i.bar-88 { width: 88%; }
.mock-bar i.bar-74 { width: 74%; }
.mock-bar i.bar-61 { width: 61%; }
.mock-row b { font-family: var(--font-mono); font-size: 9px; font-weight: 500; color: #dbe7ff; text-align: right; }
.mock-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted-2);
}
.mock-check { color: #7ff0c8; }

/* Contact offer recap */
.contact-offer { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.contact-offer span {
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 12px;
  color: #c2d0e6;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.contact-offer b { color: #fff; font-weight: 600; }
.footer-brand .footer-offer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: #8fb0e0;
}

/* Teaching poster */
.poster-section {
  position: relative;
  padding: clamp(26px, 4vw, 54px) 0 clamp(44px, 6vw, 80px);
}
.poster { margin: 0 auto; max-width: 880px; }
.poster-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(140, 175, 255, 0.22);
  background: #0a1120;
  box-shadow: 0 60px 120px -70px rgba(50, 100, 240, 0.95);
}
.poster-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.poster img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.9s var(--ease);
}
.poster:hover img { transform: scale(1.015); }
.poster figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted-2);
}
.poster-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38e1a4;
  box-shadow: 0 0 10px rgba(56, 225, 164, 0.8);
}
