/* ============================================================
   Monkepanel
   ============================================================ */

:root {
  /* palette: monochrome, near black with a subtle cool undertone */
  --bg: #08080b;
  --bg-2: #0c0c10;
  --surface: #101014;
  --surface-2: #16161c;
  --border: rgba(255, 255, 255, 0.06);
  --border-2: rgba(255, 255, 255, 0.12);
  --border-3: rgba(255, 255, 255, 0.22);

  --text: #fafafa;
  --text-muted: #93939c;
  --text-dim: #5e5e68;

  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --accent-glow: rgba(255, 255, 255, 0.18);
  --accent-live: #a3e635;
  --accent-live-soft: rgba(163, 230, 53, 0.18);
  --accent-live-glow: rgba(163, 230, 53, 0.55);

  /* type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* layout */
  --container: 1200px;
  --pad: clamp(16px, 4vw, 32px);

  /* radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* easing */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
  letter-spacing: -0.005em;
  width: 100%;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "ss01", "cv11";
}

/* mono section index above each section title: "[02] / SAFETY" */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.section-tag__num { color: var(--text); font-weight: 600; }
.section-tag__sep { color: var(--text-dim); }
.section-tag__label { color: var(--text-muted); }
.section__head--center .section-tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.02);
}

/* small file-path-style label rendered above key visuals */
.panel-chrome {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  margin-bottom: 14px;
  text-transform: lowercase;
}
.panel-chrome__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-live);
  box-shadow: 0 0 10px var(--accent-live-glow);
  animation: live-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.panel-chrome__path { color: var(--text-muted); }
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 8px var(--accent-live-glow); opacity: 1; }
  50% { box-shadow: 0 0 14px var(--accent-live-glow); opacity: 0.85; }
}

/* ============================================================
   Background atmosphere
   ============================================================ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

.aurora {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora__blob {
  position: absolute;
  width: 70vw; height: 70vw;
  border-radius: 50%;
  filter: blur(140px);
  will-change: transform;
}
.aurora__blob--a {
  background: radial-gradient(circle, rgba(120, 130, 160, 0.18) 0%, transparent 60%);
  top: -25vw; right: -20vw;
  animation: drift-a 30s ease-in-out infinite;
}
.aurora__blob--b {
  background: radial-gradient(circle, rgba(80, 90, 130, 0.14) 0%, transparent 60%);
  bottom: -25vw; left: -20vw;
  animation: drift-b 36s ease-in-out infinite;
}
@keyframes drift-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3vw, 2vw); }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(2vw, -3vw); }
}

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

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.06s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.12s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.20s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.28s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: 0.36s; }
[data-reveal][data-reveal-delay="6"] { transition-delay: 0.44s; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(8, 8, 11, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(8, 8, 11, 0.85);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}
@media (max-width: 640px) {
  .header__inner { height: 64px; gap: 10px; }
  .brand { gap: 8px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__text { font-size: 15px; }
  .lang__btn { padding: 5px 9px; font-size: 11px; }
  .burger { width: 36px; height: 36px; }
}
@media (max-width: 420px) {
  .brand__text { display: none; }
  .brand { gap: 0; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
  font-family: var(--font-display);
}
.brand__mark {
  display: inline-flex;
  width: 52px; height: 52px;
  flex-shrink: 0;
  color: var(--text);
}
.brand__mark svg,
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: inline-flex; }

.nav {
  display: none;
  gap: 32px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.nav a {
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

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

.lang {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.02);
}
.lang__btn {
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-radius: 999px;
  transition: all 0.2s var(--ease);
}
.lang__btn:hover { color: var(--text); }
.lang__btn[aria-selected="true"] {
  background: var(--text);
  color: #0a0a0c;
}

.header__channel { display: none; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  align-items: center;
  transition: border-color 0.2s var(--ease);
}
.burger:hover { border-color: var(--border-2); }
.burger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px var(--pad) 24px;
  background: rgba(8, 8, 11, 0.95);
  border-top: 1px solid var(--border);
}
/* fix: hidden attribute must override flex */
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 13px 0;
  font-size: 16px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover { color: var(--text); }

@media (min-width: 900px) {
  .nav { display: flex; }
  .header__channel { display: inline-flex; }
  .burger { display: none; }
  .mobile-nav { display: none !important; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--lg { padding: 16px 30px; font-size: 16px; font-weight: 600; }
@media (max-width: 480px) {
  .btn { padding: 11px 18px; font-size: 14px; }
  .btn--lg { padding: 13px 22px; font-size: 15px; }
}

.btn--primary {
  background: var(--text);
  color: #0a0a0c;
  font-weight: 600;
  box-shadow: 0 6px 24px -8px rgba(255, 255, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px -8px rgba(255, 255, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  border: 1px solid var(--border-2);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--border-3);
  background: var(--accent-soft);
}

.icon { width: 18px; height: 18px; }
.btn--lg .icon { width: 20px; height: 20px; }
.btn--sm .icon { width: 14px; height: 14px; }
.arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(56px, 11vw, 110px) 0 clamp(48px, 8vw, 80px);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 7vw, 64px);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.15fr 1fr; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 28px;
  text-transform: lowercase;
}
.badge::before {
  content: "//";
  color: var(--text-dim);
  font-weight: 600;
}
.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-live);
  box-shadow: 0 0 10px var(--accent-live-glow);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px var(--accent-live-glow); opacity: 1; }
  50% { box-shadow: 0 0 14px var(--accent-live-glow); opacity: 0.85; }
}

.hero__title {
  font-size: clamp(32px, 8vw, 80px);
  line-height: 1.02;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
  word-break: break-word;
}
.hero__title span { display: block; }
.hero__title-soft { color: var(--text-muted); }

.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  font-size: 13px;
  color: var(--text-dim);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}
.dot--bright { background: var(--text); box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }

/* hero visual */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.hero__app {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: var(--surface);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}
.hero__app img { width: 100%; height: auto; display: block; }
.hero__app-glow {
  position: absolute;
  inset: -30px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

/* ============================================================
   Beta strip
   ============================================================ */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  padding: 18px 0;
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}
.strip__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  background: rgba(8, 8, 11, 0.6);
  white-space: nowrap;
}

/* ============================================================
   Section base
   ============================================================ */
.section {
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px; height: 1px;
  background: var(--text-muted);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 3px;
}

.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow::before { display: none; }
.section__head--center .eyebrow { padding: 4px 12px; border: 1px solid var(--border-2); border-radius: 999px; }
.section__title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}
.section__sub {
  color: var(--text-muted);
  font-size: clamp(16px, 1.3vw, 18px);
  max-width: 560px;
}
.section__head--center .section__sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   Features grid
   ============================================================ */
.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  padding: 26px 24px 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.045), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}
.card:hover {
  border-color: var(--border-2);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
}
.card:hover::before { opacity: 1; }

.card__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.card__num::before {
  content: "/ ";
  color: var(--text-dim);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 10px;
  color: var(--text);
}
.card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

/* Bento grid: walkbot (first) and updates (last) span 2 cols on tablet+ */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .bento__big { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .bento__big { grid-column: span 2; }
}
.bento__big {
  background:
    radial-gradient(circle at top right, rgba(163, 230, 53, 0.05), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
}
.bento__big h3 {
  font-size: 22px;
}

/* ============================================================
   Safety section
   ============================================================ */
.section--safety {
  background:
    radial-gradient(ellipse at top, rgba(255, 255, 255, 0.025) 0%, transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.012) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.card--safety {
  padding: 32px 28px 36px;
}
.card--safety .card__num { color: var(--accent-live); }

/* ============================================================
   Walkbot section
   ============================================================ */
.section--walkbot {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.015) 50%, transparent 100%);
}
.walkbot__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 1024px) { .walkbot__inner { grid-template-columns: 1.05fr 1fr; } }

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}
.checklist li { display: flex; gap: 16px; align-items: flex-start; }
.checklist h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}
.checklist p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }
.checklist__check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--border-2);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.checklist__check svg { width: 14px; height: 14px; }

/* path visualization */
.walkbot__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.path-viz {
  position: relative;
  width: 100%;
  aspect-ratio: 1374 / 1196;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  overflow: hidden;
}
.path-viz svg { width: 100%; height: 100%; display: block; }
.path-viz image { filter: contrast(1.05) saturate(0.85); }
.path-viz::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(8, 8, 11, 0.55) 100%);
  pointer-events: none;
  border-radius: inherit;
}
.path-viz__caption {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: rgba(8, 8, 11, 0.6);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.path-viz__label { color: var(--text-dim); }
.path-viz__value { color: var(--text); }
.path-viz__value::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-live);
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 10px var(--accent-live-glow);
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================================
   App showcase
   ============================================================ */
.showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.showcase__frame {
  position: relative;
  width: 100%;
  max-width: 900px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: var(--surface);
  box-shadow:
    0 40px 100px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.6s var(--ease-out);
}
.showcase__frame:hover { transform: translateY(-4px); }
.showcase__frame img { width: 100%; height: auto; display: block; }
.showcase__glow {
  position: absolute;
  inset: -30px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
  filter: blur(40px);
}

.showcase__callouts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}

/* ============================================================
   Telegram Mini App section
   ============================================================ */
.section--tgapp {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.012) 50%, transparent 100%);
}
.tgapp__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 1024px) {
  .tgapp__inner { grid-template-columns: 1fr 1fr; }
}

.tgapp__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.tgapp__phone {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: var(--surface);
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.6s var(--ease-out);
}
.tgapp__phone:hover { transform: translateY(-4px); }
.tgapp__phone img { width: 100%; height: auto; display: block; }
.tgapp__glow {
  position: absolute;
  inset: -40px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .tgapp__visual { order: 2; }
}

/* ============================================================
   Apply / steps
   ============================================================ */
.section--apply {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.section--apply::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.025) 0%, transparent 70%);
  pointer-events: none;
}
.section--apply > .container { position: relative; }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 48px;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(16, 16, 20, 0.6);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--border-2);
  background: rgba(22, 22, 28, 0.7);
}
.step__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.step__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.step__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-2) 0%, transparent 100%);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.step p { font-size: 14.5px; color: var(--text-muted); }

.apply__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.apply__cta .btn { max-width: 100%; }
.apply__note { font-size: 13px; color: var(--text-dim); text-align: center; }

/* ============================================================
   Channel CTA
   ============================================================ */
.section--channel { padding: clamp(48px, 7vw, 72px) 0; }
.channel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  position: relative;
  overflow: hidden;
}
.channel::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.channel > * { position: relative; }
.channel .section__title { font-size: clamp(26px, 4vw, 40px); margin-bottom: 8px; overflow-wrap: break-word; }
.channel .section__sub { font-size: 16px; }
.channel .btn { align-self: stretch; justify-content: center; }
@media (min-width: 768px) {
  .channel { flex-direction: row; align-items: center; justify-content: space-between; }
  .channel .btn { align-self: auto; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 820px;
  margin: 0 auto;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(16, 16, 20, 0.5);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.faq__item[open] {
  border-color: var(--border-2);
  background: rgba(22, 22, 28, 0.65);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--accent-soft);
}
.faq__body {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 64px;
  margin-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (min-width: 640px) { .footer__inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer__brand p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 320px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.footer__col a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--text); }

.lang--footer { align-self: flex-start; }

.footer__bottom {
  padding: 24px 0 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-dim);
}
.footer__disclaimer { max-width: 640px; }
@media (min-width: 768px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   Selection
   ============================================================ */
::selection { background: var(--text); color: #0a0a0c; }
