/* ============================================================
   ONPECY — premium AI incubator landing
   ============================================================ */
:root {
  --bg: #070B18;
  --bg-deep: #050608;
  --bg-alt: #090E1F;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #F8FAFC;
  --muted: #94A3B8;
  --blue: #3B82F6;
  --violet: #8B5CF6;
  --cyan: #67E8F9;
  --radius: 20px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --grad: linear-gradient(120deg, #67E8F9 0%, #3B82F6 45%, #8B5CF6 100%);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'Noto Sans SC', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  padding: 14px 26px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, #3B82F6, #8B5CF6);
  box-shadow: 0 10px 30px -8px rgba(59, 130, 246, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(139, 92, 246, 0.65); }
.btn--ghost {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); }
.play { font-size: 11px; color: var(--cyan); }

/* ---------- eyebrow / headings ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--cyan);
  padding: 7px 14px; margin-bottom: 22px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface);
}
.eyebrow--center { margin-left: auto; margin-right: auto; }

.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section__title { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.section__lead { margin-top: 20px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; padding: 0 20px; }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  background: rgba(9, 14, 31, 0.6);
  backdrop-filter: blur(18px) saturate(160%);
  border-radius: 999px;
  transition: background 0.3s var(--ease), border 0.3s var(--ease);
}
.nav.scrolled .nav__inner { background: rgba(9, 14, 31, 0.85); border-color: var(--border-strong); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: -0.02em; }
.brand__mark { width: 28px; height: 28px; object-fit: contain; display: block; filter: drop-shadow(0 0 10px rgba(103, 232, 249, 0.4)); }
.brand__name { font-size: 19px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav__mobile { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 700px;
  background: radial-gradient(50% 60% at 30% 20%, rgba(59, 130, 246, 0.28), transparent 70%),
              radial-gradient(45% 55% at 75% 15%, rgba(139, 92, 246, 0.25), transparent 70%),
              radial-gradient(40% 50% at 55% 40%, rgba(103, 232, 249, 0.14), transparent 70%);
  filter: blur(20px); animation: drift 16s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }

.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; position: relative; }
.hero__title { font-size: clamp(38px, 5.6vw, 68px); font-weight: 900; line-height: 1.03; letter-spacing: -0.035em; }
.hero__lead { margin-top: 22px; font-size: clamp(17px, 2vw, 21px); font-weight: 600; color: var(--text); }
.hero__sub { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 520px; }
.hero__cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__cta--center { justify-content: center; }
.hero__credibility { margin-top: 26px; font-size: 13.5px; color: var(--muted); letter-spacing: 0.01em; }

/* hero flow diagram */
.flow {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  padding: 34px 24px; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.flow__node {
  width: 100%; max-width: 300px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  position: relative;
}
.flow__node--you, .flow__node--company {
  border-color: transparent;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.22), rgba(139, 92, 246, 0.22));
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.25), 0 10px 30px -10px rgba(59, 130, 246, 0.5);
}
.flow__ico { font-size: 22px; }
.flow__label { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.flow__tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan); font-weight: 600; }
.flow__line { width: 2px; height: 22px; background: linear-gradient(180deg, var(--cyan), rgba(139, 92, 246, 0.2)); opacity: 0.7; }

/* hero flow: AI Agent Team sub-labels */
.flow__node--team { max-width: 320px; gap: 6px; }
.flow__agents { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.flow__agents span {
  font-size: 11px; font-weight: 600; color: var(--muted);
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03);
}

/* ============================================================
   HERO — brand lockup, admission card, proof row
   ============================================================ */
.hero__brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__brand-mark { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(103, 232, 249, 0.4)); }
.hero__brand-name { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; }
.hero__brand-tag { font-size: 12.5px; font-weight: 600; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--border-strong); letter-spacing: 0.01em; }

.hero__sub2 { margin-top: 12px; font-size: 15.5px; color: var(--text); font-weight: 500; max-width: 520px; }

.admitcard {
  display: flex; align-items: center; gap: 14px; margin-top: 28px;
  max-width: 480px; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.10), rgba(139, 92, 246, 0.08));
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.12);
}
.admitcard__ico { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(103, 232, 249, 0.12); border: 1px solid rgba(103, 232, 249, 0.3); }
.admitcard__ico .ico { width: 22px; height: 22px; }
.admitcard__t { display: block; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.admitcard__p { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

.hero__proof { margin-top: 28px; }
.hero__proof-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.hero__proof-names { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__proof-names span {
  font-size: 13px; font-weight: 800; letter-spacing: 0.02em; color: var(--text);
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.28);
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.10));
}

/* ============================================================
   COMPARE
   ============================================================ */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; max-width: 900px; margin: 0 auto; }
.compare__card { padding: 34px 32px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.compare__card--hero { border-color: transparent; background: linear-gradient(160deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.1)); box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.2), var(--shadow); }
.compare__tag { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; margin-bottom: 20px; }
.compare__tag--hero { color: var(--cyan); }
.compare__list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.compare__list li { color: var(--muted); padding-left: 26px; position: relative; }
.compare__list li::before { content: "✕"; position: absolute; left: 0; color: #64748b; font-size: 13px; }
.compare__list--hero li { color: var(--text); font-weight: 500; }
.compare__list--hero li::before { content: "✓"; color: var(--cyan); font-weight: 700; }
.compare__vs { font-weight: 800; color: var(--muted); font-size: 15px; }

/* ============================================================
   GRID + CARDS
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.card, .school, .model, .cap, .income {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover, .school:hover, .model:hover, .cap:hover, .income:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.card__ico { font-size: 28px; display: block; margin-bottom: 16px; }
.card__title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.card__text { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* schools */
.school { display: flex; flex-direction: column; }
.school__ico { font-size: 32px; margin-bottom: 18px; }
.school__kicker { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--cyan); font-weight: 700; }
.school__name { font-size: 22px; font-weight: 800; margin-top: 6px; letter-spacing: -0.02em; }
.school__text { margin-top: 10px; color: var(--muted); font-size: 15px; flex: 1; }
.link { margin-top: 18px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; transition: color 0.2s; }
.link:hover { color: var(--cyan); }

/* ============================================================
   ORBIT / AI TEAM
   ============================================================ */
.orbit { position: relative; width: min(560px, 92vw); height: min(560px, 92vw); margin: 20px auto 0; }
.orbit__ring { position: absolute; border: 1px dashed var(--border-strong); border-radius: 50%; inset: 0; }
.orbit__ring--1 { inset: 12%; animation: spin 40s linear infinite; }
.orbit__ring--2 { inset: 0; opacity: 0.5; animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit__center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 130px; height: 130px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(59, 130, 246, 0.35), rgba(139, 92, 246, 0.35));
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.35), 0 0 60px -6px rgba(59, 130, 246, 0.55);
  z-index: 2;
}
.orbit__you { font-size: 24px; font-weight: 800; }
.orbit__agents { list-style: none; position: absolute; inset: 0; }
.orbit__agents li {
  position: absolute; top: 50%; left: 50%;
  width: 92px; height: 92px; margin: -46px;
  border-radius: 50%; display: grid; place-items: center; text-align: center;
  border: 1px solid var(--border-strong);
  background: rgba(9, 14, 31, 0.85);
  backdrop-filter: blur(4px);
  transform: rotate(calc(var(--i) * 45deg)) translate(calc(min(280px, 46vw) - 46px)) rotate(calc(var(--i) * -45deg));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.orbit__agents li span { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.2; }
.orbit__agents li:hover { border-color: var(--cyan); }
.orbit__copy { max-width: 640px; margin: 40px auto 0; text-align: center; color: var(--muted); font-size: 17px; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 2px; background: var(--grad); opacity: 0.5; }
.timeline__step { position: relative; padding: 0 10px; text-align: center; }
.timeline__num {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px;
  border-radius: 50%; font-weight: 800; font-size: 15px; color: var(--text);
  background: var(--bg-alt); border: 1px solid var(--border-strong); position: relative; z-index: 1;
}
.timeline__step h3 { font-size: 16px; font-weight: 700; }
.timeline__step p { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ============================================================
   14 MODELS — tabs
   ============================================================ */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.tab {
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--muted);
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface);
  transition: color 0.25s, background 0.25s, border 0.25s;
}
.tab:hover { color: var(--text); }
.tab.is-active { color: #fff; background: linear-gradient(120deg, #3B82F6, #8B5CF6); border-color: transparent; box-shadow: 0 8px 22px -8px rgba(59, 130, 246, 0.55); }
.tabpanel { display: none; animation: fadeUp 0.5s var(--ease); }
.tabpanel.is-active { display: block; }

.model { display: flex; flex-direction: column; }
.model__num { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: var(--cyan); }
.model__name { font-size: 19px; font-weight: 700; margin-top: 8px; letter-spacing: -0.01em; }
.model__text { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span {
  font-size: 12.5px; font-weight: 500; color: var(--text);
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface-2);
}
.model__future { margin-top: 16px; font-size: 13px; color: var(--muted); }
.model__future strong { color: var(--text); }

/* ============================================================
   CAPABILITY MATRIX
   ============================================================ */
.matrix .cap { padding: 24px 22px; }
.cap h3 { font-size: 16px; font-weight: 700; }
.cap__agent { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--cyan); }
.cap__row { margin-top: 10px; font-size: 13px; color: var(--muted); }
.cap__row span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #64748b; margin-bottom: 1px; }

/* ============================================================
   INCOME
   ============================================================ */
.income { text-align: center; }
.income h3 { font-size: 15px; font-weight: 600; color: var(--muted); }
.income__num { font-size: 26px; font-weight: 800; margin-top: 10px; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.income__unit { font-size: 12px; color: #64748b; }
.income--accent { border-color: transparent; background: linear-gradient(160deg, rgba(59, 130, 246, 0.14), rgba(139, 92, 246, 0.12)); box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.2); }
.disclaimer { margin-top: 34px; text-align: center; font-size: 13px; color: #64748b; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ============================================================
   STACK
   ============================================================ */
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stack__group { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 26px 22px; }
.stack__label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--cyan); font-weight: 700; margin-bottom: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pills span { font-size: 14px; font-weight: 500; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface-2); }

/* ============================================================
   PARTNERS
   ============================================================ */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.logo {
  display: grid; place-items: center;
  width: 190px; height: 120px; padding: 20px 24px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: #F8FAFC;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.logo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo--text { background: var(--surface); border-color: var(--border); }
.logo--text span { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--muted); }
.logo--text:hover span { color: var(--text); }

/* ============================================================
   VISION
   ============================================================ */
.vision { position: relative; padding: 130px 0; text-align: center; overflow: hidden; }
.vision__glow {
  position: absolute; inset: auto -10% -30%; height: 620px;
  background: radial-gradient(45% 60% at 50% 80%, rgba(139, 92, 246, 0.28), transparent 70%),
              radial-gradient(40% 55% at 30% 90%, rgba(59, 130, 246, 0.22), transparent 70%);
  filter: blur(24px); pointer-events: none;
}
.vision__inner { position: relative; max-width: 780px; }
.vision__title { font-size: clamp(32px, 5vw, 58px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
.vision__copy { margin: 24px auto 0; font-size: 18px; color: var(--muted); max-width: 640px; }
.vision__slogan { margin: 40px 0 34px; font-size: clamp(26px, 4vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 56px 0 34px; background: var(--bg-deep); }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 4px; }
.footer__brandrow { display: flex; align-items: center; gap: 10px; }
.footer__brand .brand__mark { width: 30px; height: 30px; object-fit: contain; }
.footer__brand .brand__name { font-size: 20px; font-weight: 800; }
.footer__tag { color: var(--muted); font-size: 14px; margin-top: 6px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__nav a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer__nav a:hover { color: var(--text); }
.footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer__legal p { color: #64748b; font-size: 13px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .flow { max-width: 420px; margin: 0 auto; }
  .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .stack { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 0; bottom: 0; left: 25px; right: auto; width: 2px; height: auto; }
  .timeline__step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; text-align: left; padding: 0 0 30px; }
  .timeline__num { margin: 0; }
}

@media (max-width: 720px) {
  .section { padding: 78px 0; }
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav { padding: 0 14px; }
  .nav__mobile {
    display: none; flex-direction: column; gap: 6px;
    margin: 10px 14px 0; padding: 16px;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: rgba(9, 14, 31, 0.95); backdrop-filter: blur(18px);
  }
  .nav__mobile.open { display: flex; }
  .nav__mobile a { color: var(--muted); text-decoration: none; padding: 8px 4px; font-weight: 500; }
  .nav__mobile .btn { margin-top: 6px; justify-content: center; }
  .nav.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .compare { grid-template-columns: 1fr; }
  .compare__vs { margin: 0 auto; }
  .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .stack { grid-template-columns: 1fr; }
  .hero { padding: 128px 0 70px; }
  .orbit__agents li { width: 74px; height: 74px; margin: -37px; transform: rotate(calc(var(--i) * 45deg)) translate(calc(44vw - 37px)) rotate(calc(var(--i) * -45deg)); }
  .orbit__agents li span { font-size: 11px; }
  .orbit__center { width: 100px; height: 100px; }
  .orbit__you { font-size: 19px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__glow, .orbit__ring { animation: none; }
}

/* ============================================================
   v2 — TRUST-FIRST COMPONENTS
   ============================================================ */
.container--narrow { max-width: 780px; }
.section__head--left { text-align: left; margin: 0; max-width: 460px; }

/* hero trust chips */
.trustchips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trustchips li {
  font-size: 13.5px; font-weight: 600; color: var(--text);
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface-2);
}
.trustchips li::before { content: "✓ "; color: var(--cyan); font-weight: 800; }

/* proof: platform cards */
.platform { display: flex; flex-direction: column; }
.platform__tag { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--cyan); font-weight: 700; }
.platform__name { font-size: 26px; font-weight: 800; margin-top: 8px; letter-spacing: -0.02em; }
.platform__text { margin-top: 12px; color: var(--muted); font-size: 14.5px; }

/* how it works: steps */
.steps { list-style: none; display: grid; gap: 16px; max-width: 860px; margin: 0 auto; counter-reset: s; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start;
  padding: 26px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.step:hover { border-color: var(--border-strong); background: var(--surface-2); }
.step__num {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 16px; font-size: 22px; font-weight: 800; color: #fff;
  background: linear-gradient(140deg, #3B82F6, #8B5CF6);
  box-shadow: 0 10px 24px -10px rgba(59,130,246,0.6);
}
.step__body h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.step__body p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.step__body .pills { margin-top: 16px; }

/* tracks */
.track { display: flex; flex-direction: column; }
.track__ico { font-size: 30px; margin-bottom: 14px; }
.track__name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.track__text { margin-top: 10px; color: var(--muted); font-size: 14.5px; flex: 1; }

/* featured models cta + revenue channels */
.models__cta { text-align: center; margin-top: 40px; }
.channels { max-width: 720px; margin: 46px auto 0; text-align: center; padding-top: 34px; border-top: 1px solid var(--border); }
.channels__label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; margin-bottom: 16px; }
.pills--center { justify-content: center; }

/* personas */
.persona { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 26px 24px; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.persona:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.persona h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.persona p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* why different */
.why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.reasons { list-style: none; display: grid; gap: 12px; }
.reasons li {
  position: relative; padding: 18px 22px 18px 52px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface);
  font-size: 15.5px; font-weight: 500;
}
.reasons li::before {
  content: "✓"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  color: var(--cyan); font-weight: 800;
}

/* FAQ (native details) */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--cyan); font-size: 22px; font-weight: 400; line-height: 1; transition: transform 0.25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; margin: 0; }

/* models page head */
.pagehead { position: relative; padding: 140px 0 40px; overflow: hidden; }
.pagehead__glow {
  position: absolute; inset: -30% -10% auto; height: 500px;
  background: radial-gradient(45% 60% at 35% 10%, rgba(59,130,246,0.22), transparent 70%),
              radial-gradient(40% 55% at 70% 5%, rgba(139,92,246,0.2), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.pagehead .section__title { max-width: 760px; }
.pagehead .section__lead { max-width: 680px; margin-top: 18px; }
.backlink { display: inline-block; margin-bottom: 22px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; transition: color 0.2s; }
.backlink:hover { color: var(--cyan); }
.tabpanel[id] { scroll-margin-top: 100px; }

/* v2 responsive */
@media (max-width: 980px) {
  .why__grid { grid-template-columns: 1fr; gap: 28px; }
  .section__head--left { max-width: none; }
}
@media (max-width: 720px) {
  .step { grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 20px; }
  .step__num { width: 44px; height: 44px; font-size: 18px; border-radius: 13px; }
  .step__num .num-ico { width: 23px; height: 23px; }
  .trustchips { gap: 8px; }
  .pagehead { padding: 120px 0 20px; }
}

/* ============================================================
   v3 — LANGUAGE TOGGLE + APPLY FORM
   ============================================================ */
.langtoggle {
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
  color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 9px 14px; cursor: pointer; line-height: 1;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.langtoggle:hover { background: rgba(255,255,255,0.1); border-color: var(--cyan); }
.langtoggle--block { width: 100%; padding: 12px; margin-top: 4px; }

/* slightly relax CJK tracking */
.lang-zh .hero__title, .lang-zh .section__title, .lang-zh .vision__title, .lang-zh .apply__title { letter-spacing: -0.01em; }
/* keep multi-character CJK terms (e.g. 一人公司) from splitting mid-word; wrap as a unit */
.lang-zh .hero__title, .lang-zh .section__title, .lang-zh .vision__title, .lang-zh .apply__title,
.lang-zh .step__body h3, .lang-zh .card__title, .lang-zh .track__name { word-break: keep-all; }

/* ---------- apply page ---------- */
.apply { position: relative; padding: 140px 0 90px; overflow: hidden; }
.apply__glow {
  position: absolute; inset: -20% -10% auto; height: 620px;
  background: radial-gradient(45% 60% at 25% 15%, rgba(59,130,246,0.22), transparent 70%),
              radial-gradient(40% 55% at 80% 10%, rgba(139,92,246,0.2), transparent 70%);
  filter: blur(22px); pointer-events: none;
}
.apply__grid { position: relative; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: start; }
.apply__aside { position: sticky; top: 110px; }
.apply__title { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-top: 6px; }
.apply__lead { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 420px; }
.apply__points { list-style: none; margin-top: 34px; display: grid; gap: 22px; }
.apply__points li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.apply__pnum {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  font-weight: 800; color: #fff; background: linear-gradient(140deg, #3B82F6, #8B5CF6);
}
.apply__points h3 { font-size: 15.5px; font-weight: 700; }
.apply__points p { margin-top: 4px; color: var(--muted); font-size: 14px; }

.apply__formwrap {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  box-shadow: var(--shadow); padding: 34px 32px;
}

/* form */
.field { margin-bottom: 18px; }
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.req { font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cyan); margin-left: 4px; }
.form input, .form select, .form textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  background: rgba(9,14,31,0.6); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 13px 15px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form textarea { resize: vertical; min-height: 80px; }
.form input::placeholder, .form textarea::placeholder { color: #64748b; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,0.22);
}
.form select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394A3B8' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 22px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.consent span { font-size: 14px; color: var(--muted); font-weight: 500; }
.btn--full { width: 100%; justify-content: center; }
.form__msg { margin-top: 14px; font-size: 14px; color: #fca5a5; text-align: center; min-height: 1px; }
.form__msg:empty { margin: 0; }

/* success state */
.form__done {
  text-align: center; padding: 50px 32px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(59,130,246,0.1), rgba(139,92,246,0.08));
  box-shadow: 0 0 0 1px rgba(103,232,249,0.2), var(--shadow);
}
.form__check {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 30px; color: #fff;
  background: linear-gradient(140deg, #3B82F6, #8B5CF6);
  box-shadow: 0 0 40px -6px rgba(59,130,246,0.6);
}
.form__done h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.form__done p { margin: 12px 0 24px; color: var(--muted); }

@media (max-width: 860px) {
  .apply__grid { grid-template-columns: 1fr; gap: 36px; }
  .apply__aside { position: static; }
}
@media (max-width: 560px) {
  .field--half { grid-template-columns: 1fr; }
  .apply__formwrap { padding: 26px 20px; }
}

/* ============================================================
   v4 — SVG ICONS + LOGO LOCKUP
   ============================================================ */
/* professional line icons (replace emojis), gradient stroke */
.ico {
  width: 28px; height: 28px; display: block;
  fill: none; stroke: url(#icoGrad);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.flow__ico { display: inline-flex; }
.flow__ico .ico { width: 22px; height: 22px; }
.card__ico { display: block; margin-bottom: 18px; }
.card__ico .ico { width: 30px; height: 30px; }
.track__ico { display: block; margin-bottom: 14px; }
.track__ico .ico { width: 30px; height: 30px; }

/* SVG numerals for step / apply-point badges (replace text digits) */
.num-ico {
  fill: none; stroke: #fff; stroke-width: 2.3;
  stroke-linecap: round; stroke-linejoin: round;
}
.step__num .num-ico { width: 28px; height: 28px; }
.apply__pnum .num-ico { width: 20px; height: 20px; }

/* nav compact lockup: [icon] ONPECY */
.brand { gap: 9px; }
.brand__mark { width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(103, 232, 249, 0.35)); }
.brand__name { font-size: 20px; font-weight: 800; letter-spacing: 0.01em; }

/* footer full lockup with tagline */
.footer__logo { width: 300px; max-width: 78vw; height: auto; display: block; }
@media (max-width: 720px) { .footer__logo { width: 240px; } }

/* ============================================================
   PRODUCT MOCKUPS — "What students actually build"
   ============================================================ */
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.mock {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mock:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: #2b3648; }
.mock__bar span:last-child { margin-left: 10px; font-size: 11px; letter-spacing: 0.04em; color: #64748b; }
.mock__screen {
  padding: 18px; min-height: 216px; display: flex; flex-direction: column; gap: 10px;
  background: radial-gradient(130% 90% at 0% 0%, rgba(59, 130, 246, 0.07), transparent 55%);
}
.mock__foot { padding: 18px 20px; border-top: 1px solid var(--border); display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.mock__name { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.mock__cap { margin-top: 5px; color: var(--muted); font-size: 13.5px; max-width: 34ch; }
.mock__badge {
  flex: none; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cyan);
  border: 1px solid var(--border-strong); background: var(--surface-2); border-radius: 999px; padding: 5px 11px; white-space: nowrap;
}

/* chat mock */
.mk-bubble { max-width: 84%; font-size: 12.5px; line-height: 1.45; padding: 9px 13px; border-radius: 14px; }
.mk-bubble--user { align-self: flex-end; background: var(--surface-2); border: 1px solid var(--border); border-bottom-right-radius: 4px; color: var(--text); }
.mk-bubble--bot { align-self: flex-start; background: linear-gradient(140deg, rgba(59, 130, 246, 0.20), rgba(139, 92, 246, 0.18)); border: 1px solid rgba(103, 232, 249, 0.22); border-bottom-left-radius: 4px; color: var(--text); }
.mk-input { margin-top: auto; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); border-radius: 999px; padding: 6px 6px 6px 14px; font-size: 12px; color: #64748b; }
.mk-input b { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(120deg, #3B82F6, #8B5CF6); display: grid; place-items: center; }
.mk-send { width: 0; height: 0; border-left: 7px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }

/* workflow mock */
.mk-wf { display: flex; flex-direction: column; }
.mk-node { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); border-radius: 12px; padding: 10px 14px; font-size: 12.5px; font-weight: 600; color: var(--text); }
.mk-node i { width: 8px; height: 8px; border-radius: 50%; background: #334155; flex: none; }
.mk-node--on { border-color: rgba(103, 232, 249, 0.35); background: linear-gradient(120deg, rgba(59, 130, 246, 0.16), rgba(139, 92, 246, 0.14)); }
.mk-node--on i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.mk-node small { margin-left: auto; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cyan); }
.mk-link { width: 2px; height: 12px; background: var(--border-strong); margin: 3px 0 3px 21px; }

/* dashboard mock */
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk-stat { border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); border-radius: 12px; padding: 10px 12px; }
.mk-stat span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; }
.mk-stat b { display: block; margin-top: 3px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.mk-chart { margin-top: auto; display: flex; align-items: flex-end; gap: 7px; height: 66px; }
.mk-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #3B82F6, rgba(139, 92, 246, 0.5)); opacity: 0.85; }

/* knowledge-base mock */
.mk-search { display: flex; align-items: center; gap: 9px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.03); border-radius: 10px; padding: 9px 13px; font-size: 12.5px; color: var(--text); }
.mk-search .ico { width: 15px; height: 15px; flex: none; }
.mk-ans { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.mk-src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; }
.mk-src span:first-child { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; border: 0; background: none; padding: 0; margin-right: 2px; }
.mk-src span { font-size: 10.5px; color: var(--text); border: 1px solid var(--border); background: var(--surface-2); border-radius: 6px; padding: 3px 8px; }

/* ============================================================
   TEAM — "Who is behind ONPECY"
   ============================================================ */
.member { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 30px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.member:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.member__avatar {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(59, 130, 246, 0.22), rgba(139, 92, 246, 0.22));
  border: 1px solid var(--border-strong);
}
.member__avatar .ico { width: 40px; height: 40px; }
.member__role { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.member__desc { margin-top: 9px; color: var(--muted); font-size: 13.5px; flex: 1; }
.member__soon { margin-top: 16px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cyan); border: 1px solid var(--border-strong); background: var(--surface-2); border-radius: 999px; padding: 5px 12px; }
.team__note { margin-top: 34px; text-align: center; font-size: 13px; color: #64748b; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ============================================================
   ADMISSION PROCESS — Apply → Review → Match → Build
   ============================================================ */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; }
.pstep { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 28px 24px; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.pstep:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.pstep__num {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px;
  background: linear-gradient(140deg, #3B82F6, #8B5CF6); box-shadow: 0 10px 24px -12px rgba(59, 130, 246, 0.6);
  margin-bottom: 18px;
}
.pstep__num .num-ico { width: 22px; height: 22px; }
.pstep h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.pstep p { margin-top: 8px; color: var(--muted); font-size: 13.5px; }

/* new-component responsive */
@media (max-width: 980px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .grid--2 { grid-template-columns: 1fr; }
  .mock__cap { max-width: none; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* ============================================================
   v5 — PREMIUM MOTION SYSTEM
   Principle: animate proof and process, not decoration.
   ------------------------------------------------------------
   Reusable primitives, then section-specific polish.
   Motion is opacity/transform only (never width/height).
   ============================================================ */

/* ---------- reveal primitives ----------
   .reveal (legacy) already exists above and reveals on .in.
   These add .is-visible so JS can toggle one class everywhere. */
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-up.is-visible { opacity: 1; transform: none; }

.reveal-scale { opacity: 0; transform: scale(0.96); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-scale.is-visible { opacity: 1; transform: none; }

.timeline-step { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.timeline-step.is-visible { opacity: 1; transform: none; }

/* stagger: children cascade once the container is visible */
.stagger-item { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.stagger.is-visible .stagger-item { opacity: 1; transform: none; }
.stagger.is-visible .stagger-item:nth-child(1) { transition-delay: 0.04s; }
.stagger.is-visible .stagger-item:nth-child(2) { transition-delay: 0.12s; }
.stagger.is-visible .stagger-item:nth-child(3) { transition-delay: 0.20s; }
.stagger.is-visible .stagger-item:nth-child(4) { transition-delay: 0.28s; }
.stagger.is-visible .stagger-item:nth-child(5) { transition-delay: 0.36s; }
.stagger.is-visible .stagger-item:nth-child(n+6) { transition-delay: 0.44s; }

/* generic utilities */
.hover-lift { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.hover-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.glow-border { transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.glow-border:hover { border-color: var(--border-strong); box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.2), var(--shadow); }

/* ---------- ambient background: slow drifting orbs ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient-orb { position: absolute; border-radius: 50%; filter: blur(60px); will-change: transform; }
.ambient-orb--blue {
  width: 520px; height: 520px; top: -10%; left: -8%;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.30), transparent 68%);
  animation: orbDriftA 36s ease-in-out infinite alternate;
}
.ambient-orb--violet {
  width: 560px; height: 560px; bottom: -14%; right: -10%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.26), transparent 68%);
  animation: orbDriftB 44s ease-in-out infinite alternate;
}
@keyframes orbDriftA { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6%, 4%, 0) scale(1.12); } }
@keyframes orbDriftB { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-5%, -4%, 0) scale(1.10); } }

/* ---------- nav: entrance + link underline + apply glow ---------- */
.nav { animation: navDrop 0.6s var(--ease) both; }
@keyframes navDrop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
  background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav .btn--primary { animation: applyGlow 3.6s ease-in-out infinite; }
@keyframes applyGlow {
  0%, 100% { box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.5); }
  50%      { box-shadow: 0 12px 34px -8px rgba(139, 92, 246, 0.6); }
}

/* ---------- hero: staged block entrance ---------- */
.hero-seq > * { opacity: 0; animation: heroRise 0.7s var(--ease) both; }
.hero-seq > *:nth-child(1) { animation-delay: 0.05s; }
.hero-seq > *:nth-child(2) { animation-delay: 0.12s; }
.hero-seq > *:nth-child(3) { animation-delay: 0.19s; }
.hero-seq > *:nth-child(4) { animation-delay: 0.26s; }
.hero-seq > *:nth-child(5) { animation-delay: 0.33s; }
.hero-seq > *:nth-child(6) { animation-delay: 0.40s; }
.hero-seq > *:nth-child(7) { animation-delay: 0.47s; }
.hero-seq > *:nth-child(8) { animation-delay: 0.54s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- hero flow diagram: sequential reveal + data pulse ---------- */
.flow-anim .flow-card, .flow-anim .flow-line { opacity: 0; animation: flowIn 0.55s var(--ease) both; }
.flow-anim > *:nth-child(1) { animation-delay: 0.20s; }
.flow-anim > *:nth-child(2) { animation-delay: 0.29s; }
.flow-anim > *:nth-child(3) { animation-delay: 0.38s; }
.flow-anim > *:nth-child(4) { animation-delay: 0.47s; }
.flow-anim > *:nth-child(5) { animation-delay: 0.56s; }
.flow-anim > *:nth-child(6) { animation-delay: 0.65s; }
.flow-anim > *:nth-child(7) { animation-delay: 0.74s; }
.flow-anim > *:nth-child(8) { animation-delay: 0.83s; }
.flow-anim > *:nth-child(9) { animation-delay: 0.92s; }
@keyframes flowIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

/* connector: a slow data packet travels the line */
.flow-line { position: relative; }
.flow-line::after {
  content: ""; position: absolute; left: 50%; top: 0; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  opacity: 0; animation: dataFlow 2.6s linear 1.4s infinite;
}
@keyframes dataFlow { 0% { top: 0; opacity: 0; } 15% { opacity: 0.9; } 85% { opacity: 0.9; } 100% { top: 100%; opacity: 0; } }

/* active card: the AI team node softly pulses (proof it's working) */
.flow-anim .flow__node--team::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  animation: teamGlow 3.4s ease-in-out 1.8s infinite;
}
@keyframes teamGlow {
  0%, 100% { box-shadow: 0 0 18px -8px rgba(103, 232, 249, 0); }
  50%      { box-shadow: 0 0 24px -4px rgba(103, 232, 249, 0.42); }
}

/* ---------- platform cards (was bare text → premium card) ---------- */
.platform {
  position: relative;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius); padding: 30px 24px 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.platform:hover {
  transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-2);
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.18), var(--shadow);
}
.platform__name { transition: text-shadow 0.3s var(--ease); }
.platform:hover .platform__name { text-shadow: 0 0 22px rgba(103, 232, 249, 0.35); }
/* tiny "verified real platform" indicator */
.platform::after {
  content: "✓"; position: absolute; top: 16px; right: 16px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: var(--cyan);
  background: rgba(103, 232, 249, 0.1); border: 1px solid rgba(103, 232, 249, 0.28);
  opacity: 0.75; transition: opacity 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.platform:hover::after { opacity: 1; box-shadow: 0 0 12px -2px rgba(103, 232, 249, 0.5); }

/* ---------- track cards (was bare text → premium card) ---------- */
.track {
  position: relative;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.track:hover {
  transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-2);
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.16), var(--shadow);
}
.track__ico { transition: transform 0.3s var(--ease); }
.track:hover .track__ico { transform: translateY(-2px) scale(1.06); }
.track:hover .track__ico .ico { filter: drop-shadow(0 0 8px rgba(103, 232, 249, 0.5)); }
.track .link { display: inline-flex; align-items: center; gap: 4px; transition: color 0.2s var(--ease), transform 0.25s var(--ease); }
.track:hover .link { color: var(--cyan); transform: translateX(3px); }

/* ---------- featured OPC models: revenue chips rise on hover ---------- */
.model .chips span { transition: transform 0.28s var(--ease), border-color 0.28s var(--ease); }
.model:hover .chips span { transform: translateY(-3px); border-color: rgba(103, 232, 249, 0.3); }
.model:hover { box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.16), var(--shadow); }

/* ---------- product mockups: hover scan line + screen glow ---------- */
.mock__screen { position: relative; overflow: hidden; transition: background 0.3s var(--ease); }
.mock__screen::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 42%;
  background: linear-gradient(180deg, rgba(103, 232, 249, 0.08), transparent);
  transform: translateY(-120%); transition: transform 0.6s var(--ease); pointer-events: none;
}
.mock:hover .mock__screen::after { transform: translateY(255%); }
.mock:hover .mock__screen { background: radial-gradient(130% 90% at 0% 0%, rgba(59, 130, 246, 0.12), transparent 55%); }
/* active workflow node: gentle running pulse (proof of process) */
.mk-node--on i { animation: nodePing 2.2s ease-in-out infinite; }
@keyframes nodePing { 0%, 100% { box-shadow: 0 0 8px var(--cyan); } 50% { box-shadow: 0 0 16px var(--cyan); } }

/* ---------- how-it-works steps: connector draws in ---------- */
.steps { position: relative; }
.steps::before {
  content: ""; position: absolute; top: 44px; bottom: 44px; left: 27px; width: 2px;
  background: var(--grad); opacity: 0.28;
  transform: scaleY(0); transform-origin: top; transition: transform 1.4s var(--ease);
}
.steps.is-visible::before, .steps.in::before { transform: scaleY(1); }

/* ---------- admission process: connector draws + current step glow ---------- */
.process { position: relative; }
.process::before {
  content: ""; position: absolute; top: 50px; left: 12%; right: 12%; height: 2px;
  background: var(--grad); opacity: 0.4;
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) 0.1s;
}
.process.is-visible::before, .process.in::before { transform: scaleX(1); }
.pstep { position: relative; z-index: 1; }
.pstep:first-child .pstep__num { animation: stepGlow 3.2s ease-in-out infinite; }
@keyframes stepGlow {
  0%, 100% { box-shadow: 0 10px 24px -12px rgba(59, 130, 246, 0.6), 0 0 0 0 rgba(103, 232, 249, 0); }
  50%      { box-shadow: 0 10px 24px -12px rgba(59, 130, 246, 0.6), 0 0 0 6px rgba(103, 232, 249, 0.1); }
}
@media (max-width: 980px) { .process::before { display: none; } }

/* ---------- FAQ: smooth open + background glow (chevron already rotates) ---------- */
.faq__item { transition: border-color 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease); }
.faq__item[open] {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.12), 0 16px 40px -28px rgba(59, 130, 246, 0.55);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.05), rgba(255, 255, 255, 0.01));
}
.faq__item[open] p { animation: faqReveal 0.35s var(--ease) both; }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- footer: logo glow ---------- */
.footer__logo { animation: logoGlow 6s ease-in-out infinite; }
@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(103, 232, 249, 0.12)); }
  50%      { filter: drop-shadow(0 0 14px rgba(103, 232, 249, 0.28)); }
}

/* ---------- apply form: submit loading spinner ---------- */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}

/* ---------- mobile: lighten ambient + connector motion ---------- */
@media (max-width: 720px) {
  .ambient-orb { filter: blur(46px); opacity: 0.6; }
  .flow-line::after { display: none; }
  .steps::before { left: 21px; }
}

/* ---------- reduced motion: disable non-essential motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ambient-orb, .nav, .nav .btn--primary, .footer__logo,
  .pstep:first-child .pstep__num, .flow-line::after,
  .flow-anim .flow__node--team::before, .mk-node--on i { animation: none !important; }
  .hero-seq > *, .flow-anim .flow-card, .flow-anim .flow-line {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
  .reveal-up, .reveal-scale, .timeline-step, .stagger-item { opacity: 1 !important; transform: none !important; }
  .steps::before, .process::before { transform: none !important; }
  .mock__screen::after { display: none; }
}
