/* =========================================================
   eSysVision × Galaxy Z Flip8 Concept Experience
   Visual system / layout / simulator UI
   ========================================================= */

:root {
  --bg: #07090d;
  --bg-soft: #0a0e14;
  --bg-panel: #0d121a;
  --bg-elevated: #121821;
  --text: #f3f1e9;
  --muted: #909ca7;
  --muted-2: #626e79;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --mint: #76f7d4;
  --lime: #d7ff8f;
  --coral: #ff9a80;
  --blue: #9ab6ff;
  --violet: #c8b5ff;
  --cream: #f3f1e9;
  --max: 1480px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 24px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-display: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Segoe UI", var(--font);
  --font-serif: "Batang", "Nanum Myeongjo", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: dark;
}

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1200px 800px at 88% -12%, rgba(74, 63, 120, 0.14), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-menu-open,
body.is-modal-open { overflow: hidden; }

::selection { background: var(--mint); color: #07100d; }

h1, h2, h3, h4, p, figure { margin: 0; }
button, input, textarea { font: inherit; }
button { border: 0; background: none; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--lime);
  color: #09110b;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.25s;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Boot / texture ---------- */

.boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #06080c;
  pointer-events: none;
  animation: bootAway 0.55s cubic-bezier(0.7, 0, 0.2, 1) 0.55s forwards;
}
.boot__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.boot__mark {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.boot__mark span { color: var(--mint); }
.boot__line { display: block; width: 150px; height: 1px; background: rgba(255,255,255,0.14); overflow: hidden; }
.boot__line i { display: block; width: 100%; height: 100%; background: var(--mint); transform-origin: left; animation: bootLoad 1.05s var(--ease) forwards; }
.boot__label { font-size: 9px; letter-spacing: 0.32em; color: var(--muted-2); }
@keyframes bootLoad { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes bootAway { to { opacity: 0; visibility: hidden; } }

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  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='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.2;
}
.ambient--a { width: 40vw; height: 40vw; top: 20%; left: -24vw; background: #135c55; }
.ambient--b { width: 34vw; height: 34vw; top: 62%; right: -20vw; background: #3c376e; opacity: 0.14; }

.cursor-glow {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 247, 212, 0.055), transparent 62%);
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
@media (pointer: fine) { .cursor-glow.is-on { opacity: 1; } }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 82px;
  transition: height 0.35s var(--ease), background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(7, 9, 13, 0.76);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(20px) saturate(140%);
}
.site-header__inner {
  width: min(100%, 1600px);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 50%;
}
.brand__glyph::before,
.brand__glyph::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--mint);
  border-radius: 50%;
}
.brand__glyph::after { inset: 13px; background: var(--mint); border: 0; }
.brand__aperture {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border-top: 1px solid transparent;
  border-right: 1px solid var(--coral);
  transform: rotate(-30deg);
}
.brand__type { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand__type strong { font-family: var(--font-display); font-size: 17px; letter-spacing: -0.035em; }
.brand__type strong span { color: var(--mint); }
.brand__type small { font-size: 7px; letter-spacing: 0.24em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: 24px; }
.site-nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.17em;
  color: #a8b1b9;
  transition: color 0.25s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--mint);
  transition: right 0.3s var(--ease);
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { right: 0; }
.site-nav a.site-nav__edu { color: #c9f6e8; font-size: 10.5px; letter-spacing: .06em; }
.site-nav a.site-nav__edu:hover { color: var(--mint); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.concept-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a8b1b9;
  font-size: 9px;
  letter-spacing: 0.14em;
  font-family: var(--font-display);
}
.concept-tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(118,247,212,0.1); animation: pulseDot 2.4s infinite; }
.header-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  transition: border-color 0.25s, background 0.25s;
}
.header-link .icon { width: 13px; height: 13px; }
.header-link:hover { border-color: rgba(118,247,212,0.55); background: rgba(118,247,212,0.06); }
.header-edu {
  display: none;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(118,247,212,.28);
  border-radius: 999px;
  color: #c9f6e8;
  font-size: 10px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.header-edu:hover { border-color: rgba(118,247,212,.55); background: rgba(118,247,212,.06); }
.sound-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--mint);
  transition: border-color .25s, background .25s, color .25s;
}
.sound-toggle .icon { width: 15px; height: 15px; }
.sound-toggle:hover { border-color: rgba(118,247,212,.55); background: rgba(118,247,212,.06); }
.sound-toggle[aria-pressed="false"] { color: #737d86; }
.sound-toggle[aria-pressed="false"]::after {
  content: "";
  position: absolute;
  width: 19px;
  height: 1px;
  background: #aeb6bd;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 2px var(--bg, #070b0b);
}
.sound-toggle.is-locked { border-color: rgba(118,247,212,.38); }
.sound-toggle.is-locked::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(118,247,212,.28);
  border-radius: 50%;
  animation: soundPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes soundPulse {
  0% { transform: scale(.86); opacity: .7; }
  72%, 100% { transform: scale(1.18); opacity: 0; }
}
.menu-button { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; position: relative; }
.menu-button span { position: absolute; left: 11px; width: 14px; height: 1px; background: var(--text); transition: transform .3s, top .3s; }
.menu-button span:first-child { top: 16px; }
.menu-button span:last-child { top: 21px; }
.menu-button[aria-expanded="true"] span:first-child { top: 18px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 18px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed;
  inset: 70px 0 auto;
  background: rgba(7,9,13,0.98);
  border-bottom: 1px solid var(--line);
  padding: 22px var(--gutter) 30px;
  backdrop-filter: blur(24px);
}
.mobile-menu:not([hidden]) { animation: menuIn .3s var(--ease); }
.mobile-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
}
.mobile-menu a span { color: var(--muted-2); font-size: 10px; }
.mobile-menu a .icon { width: 18px; height: 18px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding: 142px var(--gutter) 94px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 55% at 71% 40%, rgba(53, 114, 113, 0.16), transparent 70%),
    radial-gradient(ellipse 38% 40% at 90% 22%, rgba(110, 90, 150, 0.12), transparent 70%),
    #07090d;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.7; }
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to bottom, transparent 2%, #000 28%, transparent 94%);
}
.hero-aurora {
  position: absolute;
  z-index: -1;
  width: 56vw;
  height: 56vw;
  max-width: 800px;
  max-height: 800px;
  right: -8vw;
  top: 4%;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(118,247,212,0.08), rgba(154,182,255,0.12), rgba(255,154,128,0.07), rgba(118,247,212,0.08));
  filter: blur(80px);
  animation: auroraSpin 26s linear infinite;
}
.hero__inner {
  width: min(100%, 1530px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(470px, 0.96fr);
  align-items: center;
  gap: clamp(20px, 3vw, 60px);
  min-height: calc(100svh - 260px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #9ca7b0;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(118,247,212,0.1);
  animation: pulseDot 2.6s infinite;
}
.hero-title {
  margin: 26px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(4.7rem, 9.1vw, 9.6rem);
  line-height: 0.82;
  letter-spacing: -0.062em;
  font-weight: 700;
  text-transform: uppercase;
}
.hero-title__line { display: block; }
.hero-title__line--gradient {
  background: linear-gradient(95deg, var(--mint) 3%, #b9f9dc 28%, var(--blue) 61%, var(--coral) 92%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 9s ease-in-out infinite alternate;
}
.hero-title__dot { color: var(--coral); -webkit-text-fill-color: var(--coral); }
.hero-lead {
  max-width: 490px;
  color: #adb5bc;
  font-size: clamp(1.06rem, 1.5vw, 1.32rem);
  line-height: 1.65;
  letter-spacing: -0.02em;
}
.hero-lead strong { color: var(--text); font-weight: 600; }
.hero__copy { min-width: 0; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; max-width: 100%; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 54px;
  padding: 0 9px 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
}
.button:hover { transform: translateY(-2px); }
.button--lime {
  background: var(--lime);
  color: #0a100a;
  box-shadow: 0 14px 50px rgba(190, 255, 128, 0.13);
}
.button--lime:hover { box-shadow: 0 18px 60px rgba(190, 255, 128, 0.24); }
.button__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #10160f;
  color: var(--lime);
}
.button__icon .icon { width: 18px; height: 18px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #b9c0c6;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 4px;
  transition: color .25s, border-color .25s;
}
.text-link .icon { width: 14px; height: 14px; transition: transform .25s; }
.text-link:hover { color: var(--mint); border-color: var(--mint); }
.text-link:hover .icon { transform: translate(2px, -2px); }
.hero-motion-mobile {
  display: none;
  appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(118,247,212,.35);
  background: transparent;
  font-family: var(--font);
  cursor: pointer;
}
@media (max-width: 640px) {
  .hero-motion-mobile {
    display: inline-flex;
    width: max-content;
    margin-top: 12px;
    color: #c9f6e8;
  }
}
.hero-proof { display: flex; align-items: center; gap: 23px; margin-top: 50px; }
.hero-proof__item { display: flex; align-items: flex-end; gap: 9px; }
.hero-proof__item strong { font-family: var(--font-display); font-size: 24px; line-height: 1; letter-spacing: -0.04em; }
.hero-proof__item span { font-family: var(--font-display); font-size: 7.5px; line-height: 1.45; letter-spacing: 0.12em; color: var(--muted-2); }
.hero-proof__rule { width: 1px; height: 27px; background: var(--line); }
.hero-proof > p { font-size: 10px; line-height: 1.6; color: var(--muted-2); }

.hero-reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: heroReveal 1s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }

/* Hero visual */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
}
.orbit-stage {
  position: relative;
  width: min(100%, 650px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.orbit-stage::before {
  content: "";
  position: absolute;
  width: 54%;
  height: 54%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118,247,212,0.12), rgba(118,247,212,0.02) 55%, transparent 70%);
  filter: blur(20px);
}
.orbit-ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
}
.orbit-ring--outer {
  width: 78%;
  height: 78%;
  transform: rotateX(66deg) rotateZ(-12deg);
  border-color: rgba(118,247,212,0.2);
  box-shadow: 0 0 80px rgba(118,247,212,0.05) inset;
}
.orbit-ring--inner {
  width: 58%;
  height: 58%;
  transform: rotateX(72deg) rotateZ(18deg);
  border-style: dashed;
  border-color: rgba(154,182,255,0.18);
  animation: ringSpin 30s linear infinite;
}
.orbit-ring--outer::before,
.orbit-ring--outer::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px var(--mint);
}
.orbit-ring--outer::before { top: 12%; left: 18%; }
.orbit-ring--outer::after { bottom: 9%; right: 22%; background: var(--coral); box-shadow: 0 0 14px var(--coral); }
.orbit-spark { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: white; box-shadow: 0 0 10px white; opacity: .55; }
.orbit-spark--1 { top: 22%; right: 14%; animation: drift 6s ease-in-out infinite; }
.orbit-spark--2 { bottom: 24%; left: 12%; animation: drift 8s ease-in-out 1s infinite; }
.orbit-spark--3 { top: 43%; left: 7%; animation: drift 7s ease-in-out .5s infinite; }
.orbit-tag {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(9,13,17,0.55);
  backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: #bbc4cb;
}
.orbit-tag i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); }
.orbit-tag--ai { top: 13%; left: 13%; animation: tagFloat 7s ease-in-out infinite; }
.orbit-tag--edu { top: 24%; right: 5%; animation: tagFloat 8s ease-in-out 1s infinite; }
.orbit-tag--future { bottom: 13%; right: 12%; animation: tagFloat 7.5s ease-in-out .5s infinite; }
.orbit-tag--mobile { bottom: 23%; left: 3%; animation: tagFloat 9s ease-in-out 1.3s infinite; }
.orbit-coord {
  position: absolute;
  right: -6%;
  top: 46%;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 7px;
  line-height: 1.7;
  letter-spacing: 0.16em;
  color: #4f5b65;
}
.hero-phone {
  position: relative;
  z-index: 3;
  width: 244px;
  height: 514px;
  animation: phoneFloat 8s ease-in-out infinite;
  --ry: -14deg;
  --rx: 4deg;
}
.hero-phone__glow {
  position: absolute;
  inset: 8% -22%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(118,247,212,0.16), transparent 65%);
  filter: blur(28px);
}
.hero-phone__frame {
  position: absolute;
  inset: 0;
  padding: 7px;
  border-radius: 42px;
  background: linear-gradient(145deg, #a4a9a7 0%, #4a5052 20%, #242a2e 50%, #6f7778 82%, #2a3033 100%);
  box-shadow:
    0 50px 100px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.13) inset,
    0 0 70px rgba(118,247,212,0.08);
  transform: perspective(1300px) rotateY(var(--ry)) rotateX(var(--rx));
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease);
}
.hero-phone__frame:hover { filter: brightness(1.04); }
.hero-phone__screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(60, 237, 196, 0.12), transparent 45%),
    linear-gradient(165deg, #0a1315 0%, #080b0e 55%, #11131a 100%);
  border: 1px solid rgba(0,0,0,0.8);
}
.hero-phone__screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(118,247,212,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118,247,212,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 28%, black, transparent 62%);
}
.hero-phone__bar {
  position: relative;
  z-index: 2;
  height: 28px;
  padding: 8px 17px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: 7px;
  color: #c9d0d2;
  letter-spacing: .04em;
}
.hero-phone__island { width: 45px; height: 11px; border-radius: 999px; background: #020303; margin-top: -2px; }
.hero-phone__core { position: relative; z-index: 2; padding: 39px 22px 0; text-align: center; }
.ai-orb { position: relative; display: inline-block; border-radius: 50%; }
.ai-orb--hero { width: 118px; height: 118px; margin-bottom: 22px; }
.ai-orb__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(118,247,212,0.35); }
.ai-orb__ring--a { inset: 0; animation: ringSpin 12s linear infinite; border-top-color: transparent; border-left-color: rgba(154,182,255,.7); }
.ai-orb__ring--b { inset: 15px; animation: ringSpin 8s linear infinite reverse; border-right-color: transparent; border-bottom-color: rgba(255,154,128,.55); }
.ai-orb__ring--c { inset: 31px; border-style: dashed; opacity: .6; }
.ai-orb__center {
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #e5fff8, var(--mint) 28%, #2f9a87 65%, #0f2c2c);
  box-shadow: 0 0 30px rgba(118,247,212,0.6), 0 0 70px rgba(118,247,212,0.2);
  animation: orbBreathe 4s ease-in-out infinite;
}
.hero-phone__kicker { font-family: var(--font-display); font-size: 6.5px; letter-spacing: .2em; color: var(--mint); margin-bottom: 8px; }
.hero-phone__core h2 { font-size: 17px; line-height: 1.35; letter-spacing: -0.04em; font-weight: 500; color: #eef8f4; }
.hero-phone__pulse { display: flex; align-items: center; justify-content: center; gap: 3px; height: 22px; margin-top: 17px; }
.hero-phone__pulse i { width: 2px; height: 7px; border-radius: 3px; background: var(--mint); opacity: .6; animation: pulseBar 1.4s ease-in-out infinite; }
.hero-phone__pulse i:nth-child(2) { animation-delay: .1s; }
.hero-phone__pulse i:nth-child(3) { animation-delay: .2s; }
.hero-phone__pulse i:nth-child(4) { animation-delay: .3s; }
.hero-phone__pulse i:nth-child(5) { animation-delay: .4s; }
.hero-phone__pulse i:nth-child(6) { animation-delay: .5s; }
.hero-phone__pulse i:nth-child(7) { animation-delay: .6s; }
.hero-phone__widget {
  position: absolute;
  z-index: 2;
  left: 17px;
  right: 17px;
  bottom: 75px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 15px;
  background: rgba(255,255,255,0.045);
  backdrop-filter: blur(10px);
}
.hero-phone__widget-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(118,247,212,0.13);
  color: var(--mint);
  flex: none;
}
.hero-phone__widget-icon .icon { width: 14px; height: 14px; }
.hero-phone__widget > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; text-align: left; flex: 1; }
.hero-phone__widget strong { font-size: 8px; font-weight: 600; }
.hero-phone__widget small { font-size: 6px; color: #77847e; margin-top: 2px; }
.hero-phone__widget b { font-family: var(--font-display); font-size: 9px; color: var(--mint); }
.hero-phone__dock { position: absolute; bottom: 31px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; }
.hero-phone__dock i { width: 27px; height: 27px; border-radius: 9px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.06); }
.hero-phone__dock i:first-child { background: rgba(118,247,212,0.15); }
.hero-phone__crease {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 0;
  right: 0;
  height: 20px;
  transform: translateY(-50%);
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.18) 40%, rgba(255,255,255,0.035) 52%, transparent);
  pointer-events: none;
}
.hero-phone__camera { position: absolute; z-index: 5; top: 13px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: #020303; box-shadow: 0 0 0 1px #121718 inset, 0 0 5px rgba(118,247,212,0.25); transform: translateX(-50%); }
.hero-phone__button { position: absolute; right: -3px; width: 3px; border-radius: 2px; background: linear-gradient(#8b9192, #3a4042); }
.hero-phone__button--a { top: 132px; height: 45px; }
.hero-phone__button--b { top: 186px; height: 65px; }
.hero-phone__float-label {
  position: absolute;
  z-index: 6;
  left: -30px;
  bottom: 750px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: .18em;
  color: #9da7ad;
  writing-mode: vertical-rl;
  opacity: 0;
}
.hero-phone__float-label span { color: var(--coral); }

/* ---------- Hero fold sequence ---------- */
.fold-hero {
  position: relative;
  z-index: 4;
  width: 300px;
  height: 590px;
  perspective: 1500px;
  transform-style: preserve-3d;
  --fold-accent: #76f7d4;
}
.fold-halo {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(118, 247, 212, 0.18), rgba(118, 247, 212, 0.04) 38%, transparent 66%);
  filter: blur(28px);
  opacity: .5;
  transition: opacity 1.2s, transform 1.6s var(--ease);
}
.fold-hero[data-fold="open"] .fold-halo { opacity: .95; transform: translate(-50%, -50%) scale(1.14); }
.fold-halo::before {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px solid rgba(118,247,212,.28);
  border-radius: 50%;
  opacity: 0;
}
.fold-halo::after {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 18%, rgba(118,247,212,.28) 21%, transparent 25% 42%, rgba(154,182,255,.2) 46%, transparent 50% 70%, rgba(255,154,128,.17) 74%, transparent 78%);
  filter: blur(3px);
  opacity: 0;
}
.fold-hero.is-unfolding .fold-halo::before { animation: foldRing 1.9s var(--ease) .1s; }
.fold-hero.is-unfolding .fold-halo::after { animation: foldAura 1.9s linear .1s; }
.fold-beam {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 126px;
  width: 1px;
  height: 264px;
  background: linear-gradient(to top, rgba(118,247,212,.7), rgba(118,247,212,.1) 58%, transparent);
  box-shadow: 0 0 14px rgba(118,247,212,.8);
  opacity: 0;
  transform: translateX(-50%) scaleY(.2);
  transform-origin: bottom;
  pointer-events: none;
}
.fold-hero.is-unfolding .fold-beam { animation: foldBeam 1.75s var(--ease) .05s; }
.fold-spin {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-style: preserve-3d;
  will-change: transform;
}
.fold-hero.is-spinning .fold-spin { will-change: transform; }
.fold-tilt {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-style: preserve-3d;
  transform: rotateX(var(--hero-tilt-x, 4deg)) rotateY(var(--hero-tilt-y, -8deg)) rotateZ(var(--hero-tilt-z, -2deg));
  transform-origin: center center;
  transition: transform .38s var(--ease);
  will-change: transform;
}
.fold-hero.is-ready { cursor: grab; }
.fold-hero.is-dragging,
.fold-hero.is-dragging .fold-device,
.fold-hero.is-dragging .fold-backplate { cursor: grabbing; }
.fold-hero { user-select: none; -webkit-user-select: none; }
.fold-device, .fold-backplate { touch-action: none; }
.fold-hero.is-manual .fold-frame::after { animation: frameSheen .85s cubic-bezier(.2, .7, .25, 1) both; }
.fold-sparkles {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
}
.fold-sparkles i {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #edfffa;
  clip-path: polygon(50% 0, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0 50%, 39% 36%);
  filter: drop-shadow(0 0 7px rgba(118,247,212,.96));
  opacity: 0;
  transform: scale(.2);
}
.fold-sparkles i:nth-child(1) { top: 15%; left: 13%; }
.fold-sparkles i:nth-child(2) { top: 24%; right: 7%; width: 5px; height: 5px; }
.fold-sparkles i:nth-child(3) { top: 44%; left: 4%; width: 4px; height: 4px; }
.fold-sparkles i:nth-child(4) { top: 56%; right: 8%; width: 6px; height: 6px; }
.fold-sparkles i:nth-child(5) { bottom: 23%; left: 8%; width: 5px; height: 5px; }
.fold-sparkles i:nth-child(6) { bottom: 17%; right: 15%; width: 4px; height: 4px; }
.fold-sparkles i:nth-child(7) { top: 8%; left: 47%; width: 4px; height: 4px; }
.fold-sparkles i:nth-child(8) { bottom: 36%; right: 28%; width: 3px; height: 3px; }
.fold-hero.is-spinning .fold-sparkles i {
  animation: foldSparkle 1.25s cubic-bezier(.2, .7, .25, 1) both;
}
.fold-hero.is-spinning .fold-sparkles i:nth-child(2) { animation-delay: .08s; }
.fold-hero.is-spinning .fold-sparkles i:nth-child(3) { animation-delay: .16s; }
.fold-hero.is-spinning .fold-sparkles i:nth-child(4) { animation-delay: .25s; }
.fold-hero.is-spinning .fold-sparkles i:nth-child(5) { animation-delay: .33s; }
.fold-hero.is-spinning .fold-sparkles i:nth-child(6) { animation-delay: .42s; }
.fold-hero.is-spinning .fold-sparkles i:nth-child(7) { animation-delay: .5s; }
.fold-hero.is-spinning .fold-sparkles i:nth-child(8) { animation-delay: .58s; }
@keyframes foldSparkle {
  0% { opacity: 0; transform: scale(.2) rotate(0deg); }
  28% { opacity: 1; transform: scale(1.25) rotate(70deg); }
  100% { opacity: 0; transform: scale(.25) rotate(150deg); }
}
.fold-shell {
  position: absolute;
  z-index: 0;
  top: 136px;
  left: 50%;
  width: 252px;
  height: 260px;
  margin-left: -126px;
  transform-style: preserve-3d;
  transition:
    top 1.5s cubic-bezier(.65, 0, .35, 1),
    height 1.5s cubic-bezier(.65, 0, .35, 1);
  pointer-events: none;
}
.fold-hero[data-fold="open"] .fold-shell { top: 6px; height: 520px; }
.fold-shell__edge {
  position: absolute;
  display: block;
  background:
    linear-gradient(90deg, rgba(255,255,255,.18), transparent 22%, rgba(0,0,0,.55) 58%, rgba(255,255,255,.1)),
    linear-gradient(180deg, #5f686a, #1a2023 28%, #2f373a 60%, #0b0e10);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
}
.fold-shell__edge--left,
.fold-shell__edge--right { top: 0; bottom: 0; width: 16px; }
.fold-shell__edge--left { left: 0; transform-origin: left center; transform: translateZ(8px) rotateY(90deg); }
.fold-shell__edge--right { right: 0; transform-origin: right center; transform: translateZ(8px) rotateY(-90deg); }
.fold-shell__edge--top,
.fold-shell__edge--bottom { left: 0; right: 0; height: 16px; }
.fold-shell__edge--top { top: 0; transform-origin: center top; transform: translateZ(8px) rotateX(-90deg); }
.fold-shell__edge--bottom { bottom: 0; transform-origin: center bottom; transform: translateZ(8px) rotateX(90deg); }
.fold-shell__edge--left::after,
.fold-shell__edge--right::after {
  content: "";
  position: absolute;
  inset: 7% 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.2) 46%, transparent 52%);
  opacity: .5;
}
.fold-shell__edge--right::before,
.fold-shell__edge--left::before {
  content: "";
  position: absolute;
  right: 3px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #98a0a0, #3b4346 38%, #202629);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35);
}
.fold-shell__edge--right::before { top: 28%; height: 58px; }
.fold-shell__edge--left::before { top: 43%; height: 32px; }
.fold-backplate {
  position: absolute;
  z-index: 1;
  top: 136px;
  left: 50%;
  width: 252px;
  height: 260px;
  margin-left: -126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 38px;
  background:
    radial-gradient(circle at 78% 12%, rgba(118,247,212,.11), transparent 34%),
    radial-gradient(circle at 18% 88%, rgba(154,182,255,.1), transparent 38%),
    linear-gradient(145deg, #30383b 0%, #151b1f 28%, #090d10 62%, #1f272a 100%);
  box-shadow:
    0 0 0 2px rgba(0,0,0,.55),
    0 0 0 3px rgba(255,255,255,.035),
    0 32px 60px rgba(0,0,0,.45);
  transform: translateZ(-8px) rotateY(180deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition:
    top 1.5s cubic-bezier(.65, 0, .35, 1),
    height 1.5s cubic-bezier(.65, 0, .35, 1);
}
.fold-backplate::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(160deg, #000, transparent 75%);
  opacity: .7;
}
.fold-backplate::after {
  content: "";
  position: absolute;
  left: -40%;
  top: -30%;
  width: 38%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent);
  transform: rotate(18deg);
  animation: backplateSheen 8s ease-in-out infinite;
}
.fold-hero[data-fold="open"] .fold-backplate { top: 6px; height: 520px; }
.fold-backplate__camera { position: absolute; z-index: 3; top: 21px; left: 22px; display: flex; align-items: flex-start; gap: 5px; }
.fold-backplate__camera::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -12px;
  top: -12px;
  width: 93px;
  height: 74px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: linear-gradient(145deg, #3c474b, #11171a 48%, #070a0c);
  box-shadow: 0 10px 18px rgba(0,0,0,.5), 0 1px 0 rgba(255,255,255,.12) inset;
}
.fold-backplate__camera i { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4e5a5e, #111619 42%, #020303 70%); box-shadow: 0 0 0 3px rgba(0,0,0,.28), 0 0 9px rgba(118,247,212,.08), 0 1px 1px rgba(255,255,255,.18) inset; }
.fold-backplate__camera i:nth-child(2) { width: 22px; height: 22px; margin-top: 3px; }
.fold-backplate__camera i:nth-child(3) { width: 15px; height: 15px; margin-top: 7px; }
.fold-backplate__camera span { width: 6px; height: 6px; margin: 5px 0 0 1px; border-radius: 50%; background: #e9f4ec; box-shadow: 0 0 8px rgba(255,255,255,.3); }
.fold-backplate__brand { position: relative; z-index: 3; display: flex; align-items: center; gap: 8px; }
.fold-backplate__mark { position: relative; width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; }
.fold-backplate__mark::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--mint); border-radius: 50%; }
.fold-backplate__mark::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--mint); }
.fold-backplate__brand strong { font-family: var(--font-display); font-size: 20px; line-height: 1; letter-spacing: -.045em; color: #f4faf6; font-weight: 600; }
.fold-backplate__brand strong span { color: var(--mint); }
.fold-backplate > p { position: relative; z-index: 3; font-family: var(--font-display); font-size: 5px; letter-spacing: .17em; color: #84948d; }
.fold-backplate__tags { position: relative; z-index: 3; display: flex; gap: 4px; margin-top: 5px; }
.fold-backplate__tags span { padding: 2px 5px; border: 1px solid rgba(118,247,212,.17); border-radius: 2px; font-family: var(--font-display); font-size: 4.5px; letter-spacing: .1em; color: #89baac; }
.fold-backplate__serial { position: absolute; z-index: 3; bottom: 14px; left: 16px; font-family: var(--font-display); font-size: 4.5px; letter-spacing: .13em; color: #53645e; }
.fold-backplate__seam { position: absolute; z-index: 2; left: 8px; right: 8px; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.15) 18%, rgba(118,247,212,.16) 50%, rgba(255,255,255,.15) 82%, transparent); opacity: 0; transition: opacity .5s; }
.fold-hero[data-fold="open"] .fold-backplate__seam { opacity: 1; }
@keyframes backplateSheen {
  0%, 20% { transform: translateX(-40%) rotate(18deg); opacity: 0; }
  35% { opacity: .8; }
  60%, 100% { transform: translateX(430%) rotate(18deg); opacity: 0; }
}
.fold-device {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 252px;
  height: 520px;
  margin-left: -126px;
  z-index: 2;
  transform-style: preserve-3d;
  transform: translate3d(0, 130px, 8px);
  transition: transform 1.5s cubic-bezier(.65, 0, .35, 1);
  will-change: transform;
}
.fold-hero[data-fold="open"] .fold-device { transform: translate3d(0, 0, 8px) rotateZ(0); }
.fold-half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 260px;
  transform-style: preserve-3d;
}
.fold-half--top { top: 0; z-index: 1; }
.fold-half--bottom {
  top: 260px;
  z-index: 3;
  transform-origin: top center;
  transform: translateZ(2px) rotateX(180deg);
  transition: transform 1.5s cubic-bezier(.65, 0, .35, 1);
  will-change: transform;
}
.fold-hero[data-fold="open"] .fold-half--bottom { transform: translateZ(0) rotateX(0deg); }
.fold-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}
.fold-face--inner { transform: translateZ(0.02px); }
.fold-face--outer { transform: rotateX(180deg) translateZ(1.5px); }
.fold-frame {
  position: absolute;
  inset: 0;
  padding: 6px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 38px 38px 8px 8px;
  background:
    linear-gradient(145deg, #aeb3b1 0%, #4f5759 9%, #202629 27%, #343b3e 52%, #757d7e 76%, #272d30 92%, #9ba1a0 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.15) inset,
    0 0 0 2px rgba(0,0,0,.55),
    0 0 0 3px rgba(255,255,255,.03);
}
.fold-frame::after {
  content: "";
  position: absolute;
  z-index: 9;
  top: -30%;
  bottom: -30%;
  left: -70%;
  width: 48%;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.52) 42%, rgba(118,247,212,.18) 58%, transparent);
  transform: translateX(-120%) rotate(12deg);
  filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.fold-hero.is-spinning .fold-frame::after {
  animation: frameSheen 1.45s cubic-bezier(.2, .7, .25, 1) .06s both;
}
@keyframes frameSheen {
  0% { opacity: 0; transform: translateX(-130%) rotate(12deg); }
  22% { opacity: .9; }
  100% { opacity: 0; transform: translateX(330%) rotate(12deg); }
}
.fold-half--bottom .fold-frame { border-radius: 8px 8px 38px 38px; }
.fold-frame--cover { border-radius: 38px; }
.fold-face--outer .fold-frame {
  border-radius: 38px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.16) inset,
    0 0 0 2px rgba(0,0,0,.55),
    0 24px 45px rgba(0,0,0,.45);
}
.fold-screen {
  position: absolute;
  inset: 6px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #070b0e;
  border-radius: 33px 33px 4px 4px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.8) inset;
}
.fold-screen--bottom { border-radius: 4px 4px 33px 33px; }
.fold-screen--top {
  background:
    radial-gradient(circle at 50% 68%, rgba(76, 241, 198, 0.15), transparent 42%),
    radial-gradient(circle at 78% 12%, rgba(154, 182, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #0a1315 0%, #080b0e 100%);
}
.fold-screen--bottom {
  background:
    radial-gradient(circle at 50% 0%, rgba(118, 247, 212, 0.09), transparent 48%),
    radial-gradient(circle at 18% 92%, rgba(255, 154, 128, 0.08), transparent 42%),
    linear-gradient(180deg, #080b0e 0%, #11131a 100%);
}
.fold-screen--top::before {
  content: "";
  position: absolute;
  z-index: 7;
  top: 8px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #010202;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 0 6px rgba(118,247,212,.14);
}
.fold-screen--top::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(118,247,212,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118,247,212,.03) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 52%, #000, transparent 72%);
}
.fold-status {
  position: relative;
  z-index: 5;
  height: 27px;
  padding: 9px 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: 6.5px;
  letter-spacing: .02em;
  color: #e3f0eb;
}
.fold-status__right { display: flex; align-items: center; gap: 4px; }
.fold-status__right b { font-weight: 500; }
.fold-status__right i { width: 8px; height: 5px; border: 1px solid rgba(224,246,238,.55); border-radius: 1px; }
.fold-top-content {
  position: relative;
  z-index: 3;
  padding: 24px 16px 0;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.fold-hero[data-fold="open"] .fold-top-content { opacity: 1; transform: translateY(0); transition-delay: .16s; }
.ai-orb--fold { width: 76px; height: 76px; margin-bottom: 15px; }
.ai-orb--fold .ai-orb__ring--b { inset: 9px; }
.ai-orb--fold .ai-orb__ring--c { inset: 20px; }
.ai-orb--fold .ai-orb__center { inset: 35%; }
.fold-kicker { font-family: var(--font-display); font-size: 5px; letter-spacing: .15em; color: var(--mint); margin-bottom: 6px; }
.fold-top-content h2 { font-size: 14px; line-height: 1.35; font-weight: 500; letter-spacing: -.04em; color: #f1fbf6; }
.fold-pulse { display: flex; align-items: center; justify-content: center; gap: 2px; height: 19px; margin-top: 12px; }
.fold-pulse i { width: 2px; height: 5px; border-radius: 2px; background: var(--mint); opacity: .5; animation: pulseBar 1.5s ease-in-out infinite; }
.fold-pulse i:nth-child(2) { animation-delay: .08s; }
.fold-pulse i:nth-child(3) { animation-delay: .16s; }
.fold-pulse i:nth-child(4) { animation-delay: .24s; }
.fold-pulse i:nth-child(5) { animation-delay: .32s; }
.fold-pulse i:nth-child(6) { animation-delay: .4s; }
.fold-pulse i:nth-child(7) { animation-delay: .48s; }
.fold-pulse i:nth-child(8) { animation-delay: .56s; }
.fold-pulse i:nth-child(9) { animation-delay: .64s; }
.fold-crease {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  height: 16px;
  pointer-events: none;
}
.fold-crease--top {
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.2) 50%, rgba(255,255,255,.06) 72%, transparent);
}
.fold-crease--bottom {
  top: 0;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.05) 28%, rgba(0,0,0,.18) 60%, transparent);
}
.fold-screen--bottom {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 0;
}
.fold-brand-screen {
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.fold-hero[data-fold="open"] .fold-brand-screen { opacity: 1; transform: translateY(0); transition-delay: .3s; }
.fold-brand-lockup { display: flex; align-items: center; gap: 7px; }
.brand__glyph--fold { width: 23px; height: 23px; }
.brand__glyph--fold::before { inset: 5px; }
.brand__glyph--fold::after { inset: 9px; }
.fold-brand-word { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.045em; line-height: 1; color: #f3fbf7; }
.fold-brand-word span { color: var(--mint); }
.fold-brand-screen > p { margin-top: 4px; font-family: var(--font-display); font-size: 5.5px; letter-spacing: .14em; color: #7f938b; }
.fold-brand-tags { display: flex; gap: 4px; margin-top: 8px; }
.fold-brand-tags span { padding: 2px 5px; border: 1px solid rgba(118,247,212,.18); border-radius: 2px; font-family: var(--font-display); font-size: 4.5px; letter-spacing: .1em; color: #89baac; }
.fold-widget {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  background: rgba(255,255,255,.045);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.fold-hero[data-fold="open"] .fold-widget { opacity: 1; transform: translateY(0); transition-delay: .42s; }
.fold-widget__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(118,247,212,.1); color: var(--mint); flex: none; }
.fold-widget__icon .icon { width: 12px; height: 12px; }
.fold-widget__text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.fold-widget__text small { font-family: var(--font-display); font-size: 4.5px; letter-spacing: .12em; color: #6f817a; }
.fold-widget__text strong { font-size: 7.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fold-widget b { font-family: var(--font-display); font-size: 7px; color: var(--mint); font-weight: 500; }
.fold-dock {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.fold-hero[data-fold="open"] .fold-dock { opacity: 1; transform: translateY(0); transition-delay: .54s; }
.fold-dock > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; background: rgba(255,255,255,.055); color: #d9eae4; }
.fold-dock > span:first-child { background: rgba(118,247,212,.12); color: var(--mint); }
.fold-dock .icon { width: 15px; height: 15px; }
.fold-homebar { position: absolute; left: 50%; bottom: 7px; width: 82px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.72); transform: translateX(-50%); }
.fold-hinge {
  position: absolute;
  z-index: 10;
  left: 1px;
  right: 1px;
  top: 260px;
  height: 9px;
  transform: translateY(-50%);
  border-radius: 5px;
  background: linear-gradient(180deg, #89908f 0%, #363d40 26%, #1b2023 52%, #596163 78%, #a3a8a6 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.13) inset, 0 4px 12px rgba(0,0,0,.55);
  transition: box-shadow .6s, filter .6s;
}
.fold-hinge i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 2px;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.7);
  box-shadow: 0 -1px 0 rgba(255,255,255,.16);
  transition: background .6s, box-shadow .6s;
}
.fold-hinge span {
  position: absolute;
  left: 50%;
  top: 11px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 4px;
  letter-spacing: .13em;
  color: #5f716a;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .8s .4s;
}
.fold-hero[data-fold="open"] .fold-hinge { box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 0 22px rgba(118,247,212,.18); }
.fold-hero[data-fold="open"] .fold-hinge i { background: rgba(118,247,212,.45); box-shadow: 0 0 12px rgba(118,247,212,.4); }
.fold-hero[data-fold="open"] .fold-hinge span { opacity: 1; }
.fold-side-key { position: absolute; z-index: 11; right: -3px; width: 3px; border-radius: 2px; background: linear-gradient(180deg, #8b9292, #3b4245); }
.fold-side-key--a { top: 152px; height: 30px; }
.fold-side-key--b { top: 190px; height: 48px; }
.fold-shadow { position: absolute; left: 50%; bottom: 28px; width: 210px; height: 28px; border-radius: 50%; background: #000; filter: blur(18px); opacity: .65; transform: translateX(-50%); transition: width 1.4s, opacity 1.4s; }
.fold-hero[data-fold="open"] .fold-shadow { width: 250px; opacity: .55; }

.fold-cover {
  position: absolute;
  inset: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px 15px 13px;
  border-radius: 33px;
  background:
    radial-gradient(circle at 22% 8%, rgba(255,154,128,.2), transparent 36%),
    radial-gradient(circle at 96% 25%, rgba(118,247,212,.2), transparent 48%),
    radial-gradient(circle at 38% 100%, rgba(154,182,255,.16), transparent 50%),
    #090d11;
  color: #edf5f1;
}
.fold-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(#000, transparent 70%);
}
.fold-cover__scan {
  position: absolute;
  z-index: 1;
  left: -30%;
  top: -40%;
  width: 160%;
  height: 38%;
  background: linear-gradient(to bottom, transparent, rgba(118,247,212,.08), transparent);
  transform: rotate(-18deg);
  animation: coverScan 6.5s ease-in-out infinite;
}
.fold-camera-cluster { position: absolute; z-index: 5; left: 13px; top: 12px; display: flex; gap: 4px; }
.fold-camera-cluster i { width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3f484a, #080b0c 48%, #010202 72%); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 2px rgba(0,0,0,.25); }
.fold-camera-cluster i:last-child { width: 11px; height: 11px; margin-top: 2px; }
.fold-cover__status { position: relative; z-index: 3; display: flex; justify-content: space-between; padding-left: 40px; font-family: var(--font-display); font-size: 6px; color: #cbd5d0; }
.fold-cover__time { position: relative; z-index: 3; margin-top: 14px; font-family: var(--font-display); font-size: 42px; line-height: .9; font-weight: 500; letter-spacing: -.055em; }
.fold-cover__date { position: relative; z-index: 3; margin-top: 5px; font-size: 6.5px; color: #aebbb4; }
.fold-cover__weather { position: absolute; z-index: 3; right: 15px; top: 82px; display: flex; align-items: center; gap: 5px; }
.fold-cover__weather .icon { width: 16px; height: 16px; color: #d2eae0; }
.fold-cover__weather strong { font-family: var(--font-display); font-size: 13px; font-weight: 500; }
.fold-cover__weather small { font-size: 5px; color: #8c9b94; }
.fold-cover__note {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  margin-top: 13px;
  padding: 5px 8px;
  border: 1px solid rgba(118,247,212,.16);
  border-radius: 999px;
  background: rgba(118,247,212,.055);
  color: #9fcfc0;
  font-family: var(--font-display);
  font-size: 4.5px;
  letter-spacing: .09em;
}
.fold-cover__note i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 7px var(--mint); animation: pulseDot 2s infinite; }
.fold-cover__brand { position: relative; z-index: 3; display: flex; align-items: center; gap: 6px; margin-top: auto; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: -.03em; }
.fold-cover__brand em { font-style: normal; color: var(--mint); }
.fold-cover__mark { position: relative; width: 15px; height: 15px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.fold-cover__mark::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--mint); border-radius: 50%; }
.fold-cover__mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--mint); }
.fold-cover__cue { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; margin-top: 7px; font-family: var(--font-display); font-size: 4.5px; letter-spacing: .14em; color: #6f7e77; }
.fold-cover__cue i { width: 32px; height: 1px; background: linear-gradient(90deg, var(--mint), transparent); }

.hero-brand-reveal {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translate(-50%, 14px) scale(.97);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  pointer-events: none;
}
.fold-hero[data-brand="true"] .hero-brand-reveal { opacity: 1; transform: translate(-50%, 0) scale(1); }
.hero-brand-beacon { position: relative; display: block; width: 1px; height: 25px; background: linear-gradient(to top, rgba(118,247,212,.7), transparent); }
.hero-brand-beacon::before { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); transform: translateX(-50%); }
.hero-brand-beacon i { position: absolute; left: 50%; top: 0; width: 16px; height: 1px; background: rgba(118,247,212,.45); transform: translateX(-50%); }
.hero-brand-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  background: rgba(8,13,16,.7);
  box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 0 30px rgba(118,247,212,.05);
  backdrop-filter: blur(14px);
}
.brand__glyph--reveal { width: 24px; height: 24px; }
.brand__glyph--reveal::before { inset: 5px; }
.brand__glyph--reveal::after { inset: 9px; }
.hero-brand-copy { display: flex; flex-direction: column; gap: 2px; }
.hero-brand-copy strong { font-family: var(--font-display); font-size: 15px; line-height: 1; letter-spacing: -.035em; color: #f3fbf7; }
.hero-brand-copy strong span { color: var(--mint); }
.hero-brand-copy small { font-family: var(--font-display); font-size: 4px; letter-spacing: .16em; color: #73827a; }
.hero-brand-rule { width: 1px; height: 23px; background: rgba(255,255,255,.1); }
.hero-brand-meta { font-family: var(--font-display); font-size: 4px; line-height: 1.5; letter-spacing: .1em; color: #64736c; }
.fold-replay {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(7,11,14,.45);
  color: #66756e;
  font-family: var(--font-display);
  font-size: 5px;
  letter-spacing: .12em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 7px);
  transition: opacity .5s, transform .5s, visibility .5s, color .25s, border-color .25s;
}
.hero__visual.is-unfolded .fold-replay { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.fold-replay:hover { color: var(--mint); border-color: rgba(118,247,212,.3); }
.fold-replay .icon { width: 9px; height: 9px; transition: transform .5s var(--ease); }
.fold-replay:hover .icon { transform: rotate(-80deg); }
.orbit-stage.is-unfolded .orbit-ring--outer { border-color: rgba(118,247,212,.3); box-shadow: 0 0 90px rgba(118,247,212,.08) inset; }
.orbit-stage.is-unfolded .orbit-ring--inner { border-color: rgba(154,182,255,.28); }
.orbit-stage.is-unfolded .orbit-tag { opacity: 1; }
.orbit-stage .orbit-tag { opacity: .45; transition: opacity 1s .8s; }
.orbit-stage .float-card { opacity: .35; transition: opacity 1s .9s; }
.orbit-stage.is-unfolded .float-card { opacity: 1; }
@keyframes coverScan { 0%, 15% { transform: translateY(-40%) rotate(-18deg); } 65%, 100% { transform: translateY(330%) rotate(-18deg); } }
@keyframes foldRing {
  0% { opacity: 0; transform: scale(.62); }
  22% { opacity: .9; }
  100% { opacity: 0; transform: scale(1.5); }
}
@keyframes foldAura {
  0% { opacity: 0; transform: rotate(0); }
  22% { opacity: .8; }
  100% { opacity: 0; transform: rotate(160deg); }
}
@keyframes foldBeam {
  0% { opacity: 0; transform: translateX(-50%) scaleY(.15); }
  22% { opacity: .95; }
  62% { opacity: .55; }
  100% { opacity: 0; transform: translateX(-50%) scaleY(1.35); }
}
.fold-hero.is-unfolding .fold-hinge { animation: hingeFlare 1.7s ease-out; }
@keyframes hingeFlare {
  0% { box-shadow: 0 0 0 1px rgba(255,255,255,.13) inset, 0 4px 12px rgba(0,0,0,.55); }
  30% { box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 0 30px rgba(118,247,212,.55), 0 0 75px rgba(118,247,212,.16); }
  100% { box-shadow: 0 0 0 1px rgba(255,255,255,.13) inset, 0 4px 12px rgba(0,0,0,.55); }
}

.float-card {
  position: absolute;
  z-index: 6;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(11,16,21,0.67);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  animation: tagFloat 8s ease-in-out infinite;
}
.float-card--ai { right: -1%; top: 22%; width: 134px; }
.float-card--lesson { left: -2%; bottom: 18%; width: 134px; animation-delay: 1.4s; }
.float-card__label { display: flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size: 6.5px; letter-spacing: .16em; color: #88949d; }
.float-card__label i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); }
.float-card strong { display: block; margin: 6px 0 6px; font-family: var(--font-display); font-size: 14px; letter-spacing: .02em; }
.float-card small { font-size: 7px; color: #68757e; }
.float-card__meter { height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.float-card__meter span { display: block; width: 76%; height: 100%; background: linear-gradient(90deg, var(--mint), var(--blue)); }
.hero-side-note {
  position: absolute;
  right: 26px;
  bottom: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #59646e;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: .22em;
  writing-mode: vertical-rl;
}
.hero-side-note i { width: 1px; height: 55px; background: linear-gradient(var(--mint), transparent); }

.marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58px;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7,9,13,0.32);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  animation: marqueeMove 42s linear infinite;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .17em;
  color: #68747d;
  white-space: nowrap;
}
.marquee__track i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); opacity: .65; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }

/* ---------- Shared sections / typography ---------- */

.section { position: relative; padding: clamp(100px, 12vw, 176px) var(--gutter); }
.section-shell { width: min(100%, var(--max)); margin: 0 auto; }
.section-shell--wide { width: min(100%, 1600px); }
.section-index {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .18em;
  color: #6f7b84;
}
.section-index span:first-child { color: #aeb6bd; }
.display-title {
  font-size: clamp(3.2rem, 6.6vw, 7rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
  font-weight: 600;
}
.display-title--sm { font-size: clamp(2.8rem, 4.8vw, 5rem); }
.display-title .serif {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--mint);
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .95s var(--ease), transform .95s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Manifesto ---------- */

.manifesto { background: linear-gradient(180deg, transparent, rgba(11,15,20,0.55) 35%, transparent); }
.manifesto__head {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: end;
  gap: 60px;
  padding: clamp(50px, 6vw, 88px) 0 clamp(60px, 7vw, 100px);
}
.manifesto__lead { padding-bottom: 8px; color: #9aa5ae; font-size: 15px; line-height: 1.9; max-width: 390px; }
.manifesto__lead strong { color: var(--text); font-weight: 500; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar {
  position: relative;
  min-height: 345px;
  padding: 26px 25px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background .4s;
}
.pillar:first-child { border-left: 1px solid var(--line); }
.pillar::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.pillar::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -60px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(70px);
  opacity: 0;
  transition: opacity .5s;
}
.pillar:hover { background: rgba(255,255,255,0.022); }
.pillar:hover::before { transform: scaleX(1); }
.pillar:hover::after { opacity: .12; }
.pillar__top { display: flex; justify-content: space-between; align-items: flex-start; }
.pillar__num { font-family: var(--font-display); font-size: 10px; color: var(--muted-2); letter-spacing: .1em; }
.pillar__icon { color: var(--accent); }
.pillar__icon .icon { width: 24px; height: 24px; stroke-width: 1.3; }
.pillar h3 {
  margin-top: auto;
  padding-top: 50px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.pillar p { margin-top: 15px; font-size: 12px; line-height: 1.85; color: #87939c; }
.pillar__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.pillar__tags span { padding: 4px 7px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--font-display); font-size: 6.5px; letter-spacing: .12em; color: var(--muted-2); }

/* ---------- Simulator ---------- */

.simulator {
  background:
    radial-gradient(ellipse 55% 45% at 50% 42%, rgba(40, 80, 77, 0.12), transparent 72%),
    linear-gradient(180deg, #080b10, #070a0e 40%, #080b10);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.sim-head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 50px; padding-top: 44px; }
.sim-head .section-index { margin-bottom: 48px; }
.sim-head h2 { margin-top: 0; }
.sim-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 10px; max-width: 420px; justify-self: end; }
.sim-head__aside p { color: #929ea8; font-size: 13.5px; line-height: 1.9; }
.inline-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #b9c2ca;
  transition: color .25s, border-color .25s;
}
.inline-help .icon { width: 14px; height: 14px; }
.inline-help:hover { color: var(--mint); border-color: var(--mint); }
.lab {
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr) 324px;
  gap: 18px;
  margin-top: 60px;
  align-items: stretch;
}
.feature-rail,
.guide-panel,
.device-stage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(18, 24, 32, 0.86), rgba(10, 14, 19, 0.92));
  backdrop-filter: blur(14px);
}
.feature-rail { display: flex; flex-direction: column; padding: 15px 12px 14px; min-width: 0; }
.rail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 8px 14px;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: .16em;
  color: #707c86;
}
.live-pill { display: inline-flex; align-items: center; gap: 5px; color: var(--mint); }
.live-pill i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); animation: pulseDot 1.8s infinite; }
.feature-list { display: flex; flex-direction: column; gap: 5px; }
.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 20px 39px minmax(0, 1fr) 19px;
  align-items: center;
  gap: 9px;
  min-height: 69px;
  padding: 9px 8px;
  border: 1px solid transparent;
  border-radius: 13px;
  text-align: left;
  color: #f2f1eb;
  transition: background .28s, border-color .28s, transform .28s;
}
.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  bottom: 17px;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleY(.4);
  transition: opacity .3s, transform .3s;
}
.feature-card:hover,
.feature-card.is-preview { background: rgba(255,255,255,0.045); border-color: var(--line); transform: translateX(2px); }
.feature-card.is-active { background: linear-gradient(90deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)); border-color: rgba(255,255,255,0.11); }
.feature-card.is-active::before { opacity: 1; transform: scaleY(1); }
.feature-card__num { font-family: var(--font-display); font-size: 7.5px; color: #535f69; }
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  color: var(--accent);
  transition: background .3s, box-shadow .3s;
}
.feature-card__icon .icon { width: 18px; height: 18px; stroke-width: 1.5; }
.feature-card.is-active .feature-card__icon { background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 8%, transparent); }
.feature-card__body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.feature-card__body strong { font-size: 11.5px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feature-card__body small { font-size: 8.5px; line-height: 1.4; color: #6e7a84; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feature-card__arrow { color: #53606a; opacity: 0; transform: translateX(-3px); transition: opacity .3s, transform .3s, color .3s; }
.feature-card__arrow .icon { width: 14px; height: 14px; }
.feature-card:hover .feature-card__arrow,
.feature-card.is-active .feature-card__arrow { opacity: 1; transform: translateX(0); color: var(--accent); }
.rail-note {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 15px 9px 5px;
  border-top: 1px solid var(--line-soft);
}
.rail-note .icon { width: 15px; height: 15px; color: var(--mint); flex: none; margin-top: 2px; }
.rail-note p { font-size: 8.5px; line-height: 1.65; color: #67737d; }
.rail-note strong { display: block; color: #b7c0c7; font-weight: 500; margin-bottom: 1px; }

/* Device stage */
.device-stage { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.012);
}
.stage-title { display: flex; align-items: center; gap: 8px; min-width: 0; font-family: var(--font-display); font-size: 9px; letter-spacing: .12em; color: #c2c9ce; white-space: nowrap; }
.stage-title__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px rgba(118,247,212,.65); }
.stage-title small { color: #4f5b65; font-size: 7px; letter-spacing: .1em; overflow: hidden; text-overflow: ellipsis; }
.mode-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0,0,0,.22); flex: none; }
.mode-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 9px;
  color: #7e8992;
  transition: color .25s, background .25s;
}
.mode-button .icon { width: 12px; height: 12px; }
.mode-button:hover { color: var(--text); }
.mode-button.is-active { background: rgba(255,255,255,0.1); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.22); }
.stage-canvas {
  position: relative;
  flex: 1;
  min-height: 738px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 14px 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 50% at 50% 48%, rgba(58, 112, 106, 0.16), transparent 70%),
    radial-gradient(ellipse 65% 38% at 50% 100%, rgba(79, 70, 130, 0.12), transparent 70%);
}
.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 55% 58% at 50% 48%, black, transparent 76%);
}
.stage-orbit {
  position: absolute;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(118,247,212,0.08);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-15deg);
  box-shadow: 0 0 100px rgba(118,247,212,0.03) inset;
}
.stage-orbit::after { content: ""; position: absolute; inset: 60px; border: 1px dashed rgba(154,182,255,0.08); border-radius: 50%; }
.stage-caption {
  position: absolute;
  bottom: 32px;
  display: flex;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 6px;
  letter-spacing: .14em;
  color: #47535d;
  writing-mode: vertical-rl;
}
.stage-caption--left { left: 20px; }
.stage-caption--right { right: 20px; }
.device-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .14s ease-out;
  will-change: transform;
}
.device-motion {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  animation: simFloat 7.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes simFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  35% { transform: translateY(-6px) rotateX(.8deg) rotateY(-1.3deg) rotateZ(.28deg); }
  70% { transform: translateY(-2px) rotateX(-.5deg) rotateY(1deg) rotateZ(-.18deg); }
}

.device {
  position: relative;
  width: 332px;
  height: 704px;
  transition: width .38s var(--ease), height .38s var(--ease), transform .38s var(--ease);
  transform-style: preserve-3d;
  /* A live drop-shadow on the 3D device forces expensive re-rasterization on every frame. */
}
.device * {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.device .app-head { background: linear-gradient(rgba(9,13,17,.97), rgba(9,13,17,.55)); }
.device .phone-toast { background: rgba(10,14,18,.97); }
.device .share-sheet__backdrop { backdrop-filter: none !important; }
.device .home__focus::after,
.device .ai-stage::before,
.device .edu-lesson::after,
.device .cover-focus::after { filter: none; opacity: .08; }
.device .home::before {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(118,247,212,.12), transparent 70%);
  filter: none;
}
.device .home::after {
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(255,154,128,.1), transparent 70%);
  filter: none;
}
.device .flex-video::before { filter: none; opacity: .16; }
.device[data-mode="flex"] { height: 662px; transform: perspective(1800px) rotateX(2.8deg); }
.device[data-mode="closed"] { width: 326px; height: 388px; }
.device__aura {
  position: absolute;
  inset: 2% -18%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(118,247,212,0.14), transparent 64%);
  pointer-events: none;
  transition: opacity .36s, transform .38s;
}
.device[data-mode="closed"] .device__aura { transform: scale(.8); opacity: .7; }
.hero.is-offscreen * { animation-play-state: paused !important; }
.screen-viewport { contain: layout paint; }
.device__shadow {
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: -31px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.72), rgba(0,0,0,.28) 46%, transparent 72%);
  opacity: .8;
  pointer-events: none;
}
.device__frame {
  position: absolute;
  inset: 0;
  padding: 7px;
  border-radius: 46px;
  background:
    linear-gradient(140deg, #8f9697 0%, #3d4448 10%, #1d2327 28%, #242a2e 53%, #5f686a 74%, #2a3033 90%, #777f80 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.17) inset,
    0 0 0 2px rgba(0,0,0,0.55),
    0 0 0 3px rgba(255,255,255,0.035);
  transition: border-radius .38s var(--ease);
}
.device[data-mode="closed"] .device__frame { border-radius: 43px; }
.device__bezel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 39px;
  background: #030405;
  padding: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.85) inset;
}
.device__screen {
  position: absolute;
  inset: 3px;
  border-radius: 37px;
  overflow: hidden;
  background: #070a0d;
  color: #f3f2ec;
  opacity: 1;
  transform: scale(1);
  transition: opacity .38s ease .16s, transform .7s var(--ease);
  z-index: 2;
}
.device[data-mode="closed"] .device__screen { opacity: 0; transform: scale(.9); pointer-events: none; transition: opacity .25s ease, transform .6s var(--ease); }
.device__side {
  position: absolute;
  top: 13%;
  bottom: 13%;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, #848b8c, #363c40 18%, #2a3033 75%, #6d7576);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35);
}
.device__side--l { left: -3px; }
.device__side--r { right: -3px; }
.device__power, .device__volume { position: absolute; right: -5px; width: 4px; border-radius: 3px; background: linear-gradient(180deg, #8c9394, #444b4f 30%, #2c3235); z-index: 4; }
.device__power { top: 155px; height: 56px; }
.device__volume { top: 84px; height: 48px; }
.device__brand {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 5px;
  letter-spacing: .2em;
  color: rgba(15,18,20,0.65);
  opacity: .8;
}
.device[data-mode="closed"] .device__brand { display: none; }
.hinge-mark {
  position: absolute;
  z-index: 6;
  left: 9px;
  right: 9px;
  bottom: 7px;
  height: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(12,15,17,0.6);
  opacity: .65;
  transition: opacity .35s;
}
.hinge-mark i { width: 48px; height: 2px; background: rgba(10,12,14,0.8); border-radius: 2px; box-shadow: 0 -1px 0 rgba(255,255,255,0.14); }
.hinge-mark span { display: none; }
.device[data-mode="closed"] .hinge-mark { opacity: 0; }

/* Phone screen base */
.screen-wallpaper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,154,128,0.16), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(118,247,212,0.13), transparent 38%),
    radial-gradient(circle at 40% 88%, rgba(154,182,255,0.12), transparent 40%),
    linear-gradient(160deg, #0a1113, #07090d 60%, #0c0d14);
  transition: background .6s;
}
.device[data-wallpaper="1"] .screen-wallpaper {
  background:
    radial-gradient(circle at 75% 18%, rgba(255,154,128,0.22), transparent 38%),
    radial-gradient(circle at 18% 60%, rgba(200,181,255,0.14), transparent 42%),
    linear-gradient(155deg, #110c12, #09090e 60%, #0f0b0d);
}
.device[data-wallpaper="2"] .screen-wallpaper {
  background:
    radial-gradient(circle at 30% 22%, rgba(154,182,255,0.22), transparent 38%),
    radial-gradient(circle at 80% 80%, rgba(118,247,212,0.15), transparent 42%),
    linear-gradient(155deg, #090e16, #070a0f 60%, #0b1015);
}
.device[data-wallpaper="3"] .screen-wallpaper {
  background:
    radial-gradient(circle at 60% 10%, rgba(255,255,255,0.13), transparent 32%),
    linear-gradient(135deg, #16231e, #0a0f0c 46%, #11160f);
}
.screen-brightness { position: absolute; inset: 0; z-index: 50; background: #000; opacity: var(--screen-dim, 0); pointer-events: none; transition: opacity .3s; }
.status-bar {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 31px;
  padding: 7px 17px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: .02em;
  color: #f2f4f2;
  pointer-events: none;
}
.status-bar__left, .status-bar__right { display: flex; align-items: center; gap: 5px; pointer-events: auto; }
.status-icon { width: 11px; height: 11px; stroke-width: 2; }
.status-icon--signal { width: 10px; height: 10px; }
.battery { display: inline-flex; align-items: center; gap: 3px; font-size: 7px; }
.battery .icon, .battery svg { width: 16px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.battery__level { display: inline-block; width: 8px; height: 4px; border-radius: 1px; background: currentColor; }
.punch-hole {
  position: absolute;
  z-index: 34;
  top: 9px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #010202;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 0 5px rgba(118,247,212,.12);
}
.screen-viewport { position: absolute; z-index: 4; top: 31px; bottom: 0; left: 0; right: 0; overflow: hidden; }
.phone-homebar {
  position: absolute;
  z-index: 35;
  bottom: 7px;
  left: 50%;
  width: 104px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.74);
  transform: translateX(-50%);
  cursor: pointer;
  box-shadow: 0 0 0 8px transparent;
  transition: width .25s;
}
.phone-homebar:hover { width: 118px; background: #fff; }
.phone-toast {
  position: absolute;
  z-index: 45;
  left: 50%;
  top: 64px;
  transform: translate(-50%, -8px);
  min-width: 150px;
  max-width: 82%;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(10,14,18,0.9);
  backdrop-filter: blur(16px);
  color: #e9eeeb;
  font-size: 9px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.phone-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.screen-flash { position: absolute; inset: 0; z-index: 48; background: #fff; opacity: 0; pointer-events: none; }
.screen-flash.is-on { animation: cameraFlash .52s ease-out; }
.fold-crease {
  position: absolute;
  z-index: 32;
  left: 0;
  right: 0;
  top: 50%;
  height: 18px;
  transform: translateY(-50%);
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.052) 42%, rgba(255,255,255,0.018) 50%, rgba(0,0,0,0.038) 58%, transparent);
  pointer-events: none;
  opacity: .42;
  transition: opacity .5s;
}
.device[data-mode="flex"] .fold-crease { opacity: .72; height: 30px; background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.11) 40%, rgba(118,247,212,0.07) 50%, rgba(0,0,0,0.11) 60%, transparent); }

/* Screen generic */
.screen-viewport button { cursor: pointer; }
.app { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.app-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.app-scroll::-webkit-scrollbar { display: none; }
.app-head {
  position: relative;
  z-index: 8;
  flex: none;
  min-height: 53px;
  padding: 9px 13px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  background: linear-gradient(rgba(9,13,17,0.82), rgba(9,13,17,0.25));
  backdrop-filter: blur(16px);
}
.app-head--clear { border-bottom-color: transparent; background: linear-gradient(rgba(3,5,7,0.6), transparent); }
.app-head__text { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.app-head__text small { font-family: var(--font-display); font-size: 5.8px; letter-spacing: .15em; color: #77848d; }
.app-head__text strong { font-size: 13px; font-weight: 600; letter-spacing: -.03em; }
.app-back {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: #dbe1de;
  flex: none;
}
.app-back .icon { width: 13px; height: 13px; transform: rotate(180deg); }
.app-head__action {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.055);
  color: #d9dfdc;
  flex: none;
}
.app-head__action .icon { width: 14px; height: 14px; }
.app-badge { padding: 3px 7px; border-radius: 999px; background: rgba(118,247,212,0.12); color: var(--mint); font-family: var(--font-display); font-size: 5.5px; letter-spacing: .09em; }
.coach {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 10px 13px 0;
  padding: 8px 10px;
  border: 1px solid rgba(118,247,212,0.12);
  border-radius: 9px;
  background: rgba(118,247,212,0.045);
  color: #9eadaa;
  font-size: 8px;
  line-height: 1.55;
}
.coach .icon { width: 11px; height: 11px; color: var(--mint); margin-top: 1px; flex: none; }
.coach strong { color: #d5e9e2; font-weight: 500; }

/* Home */
.home {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 11px 14px 16px;
  background:
    radial-gradient(circle at 18% 7%, rgba(255,154,128,0.15), transparent 28%),
    radial-gradient(circle at 87% 21%, rgba(118,247,212,0.16), transparent 36%),
    radial-gradient(circle at 47% 80%, rgba(154,182,255,0.12), transparent 40%);
}
.home::before, .home::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}
.home::before { width: 90px; height: 90px; top: 9%; right: -30px; background: rgba(118,247,212,0.12); }
.home::after { width: 110px; height: 110px; bottom: 22%; left: -45px; background: rgba(255,154,128,0.1); }
.home__top { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; }
.home__clock { font-family: var(--font-display); font-size: 32px; line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.home__date { margin-top: 3px; font-size: 8px; color: #9ea9ab; letter-spacing: .01em; }
.home__weather { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid rgba(255,255,255,0.08); border-radius: 999px; background: rgba(255,255,255,0.035); }
.home__weather .icon { width: 13px; height: 13px; color: #d6ecdf; }
.home__weather span { font-family: var(--font-display); font-size: 7px; color: #cbd4d0; }
.home__ai-widget {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 10px 11px;
  border: 1px solid rgba(118,247,212,0.17);
  border-radius: 15px;
  background: linear-gradient(120deg, rgba(118,247,212,0.1), rgba(154,182,255,0.055) 55%, rgba(255,255,255,0.025));
  box-shadow: 0 12px 30px rgba(0,0,0,.11);
  text-align: left;
}
.home__ai-orb {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #eafff9, #76f7d4 30%, #2e8d80 67%, #0e2827);
  box-shadow: 0 0 18px rgba(118,247,212,.32);
}
.home__ai-orb::after { content: ""; position: absolute; inset: -4px; border: 1px solid rgba(118,247,212,.24); border-radius: 50%; border-left-color: transparent; animation: ringSpin 8s linear infinite; }
.home__ai-text { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.home__ai-text small { font-family: var(--font-display); font-size: 5px; letter-spacing: .17em; color: var(--mint); }
.home__ai-text strong { font-size: 9px; font-weight: 500; letter-spacing: -.02em; }
.home__ai-text span { font-size: 7px; color: #778681; }
.home__ai-arrow { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: rgba(255,255,255,.08); color: #d9f9ed; }
.home__ai-arrow .icon { width: 11px; height: 11px; }
.home__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 8px;
  margin-top: 21px;
}
.app-icon { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.app-icon__tile {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: var(--icon-bg, linear-gradient(145deg, #24353c, #111b22));
  box-shadow: 0 8px 18px rgba(0,0,0,0.22), 0 1px 0 rgba(255,255,255,.16) inset;
  color: var(--icon-fg, #eafaf5);
  transition: transform .25s var(--ease-spring), filter .25s;
}
.app-icon:hover .app-icon__tile { transform: translateY(-2px) scale(1.04); filter: brightness(1.12); }
.app-icon:active .app-icon__tile { transform: scale(.96); }
.app-icon__tile .icon { width: 22px; height: 22px; stroke-width: 1.45; }
.app-icon__tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(145deg, rgba(255,255,255,.14), transparent 45%); pointer-events: none; }
.app-icon span { max-width: 100%; font-size: 7.5px; color: #dce2de; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-icon--ai { --icon-bg: linear-gradient(145deg, #1f564f, #0d2927); --icon-fg: var(--mint); }
.app-icon--camera { --icon-bg: linear-gradient(145deg, #57342d, #281513); --icon-fg: #ffc1ad; }
.app-icon--edu { --icon-bg: linear-gradient(145deg, #423368, #1d1730); --icon-fg: #d4c6ff; }
.app-icon--flex { --icon-bg: linear-gradient(145deg, #2b3c62, #111a2d); --icon-fg: #becfff; }
.app-icon--gallery { --icon-bg: linear-gradient(145deg, #5b4a2e, #251e12); --icon-fg: #ffdc9c; }
.app-icon--music { --icon-bg: linear-gradient(145deg, #582d43, #26121d); --icon-fg: #ffb1ca; }
.app-icon--settings { --icon-bg: linear-gradient(145deg, #3e464b, #1a2024); --icon-fg: #dbe1e4; }
.app-icon--home { --icon-bg: linear-gradient(145deg, #3f4a3d, #1b221a); --icon-fg: #d9e9d2; }
.home__dock {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px 9px;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 19px;
  background: rgba(255,255,255,0.045);
  backdrop-filter: blur(18px);
}
.home__dock .app-icon__tile { width: 42px; height: 42px; border-radius: 13px; }
.home__dock .app-icon > span:not(.app-icon__tile) { display: none; }
.home__focus {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  width: 100%;
  margin-top: 14px;
  padding: 10px 11px;
  border: 1px solid rgba(200,181,255,.16);
  border-radius: 13px;
  background: linear-gradient(115deg, rgba(200,181,255,.09), rgba(255,255,255,.022) 64%);
  text-align: left;
  overflow: hidden;
}
.home__focus::after { content: ""; position: absolute; right: -28px; top: -32px; width: 86px; height: 86px; border-radius: 50%; background: var(--violet); filter: blur(28px); opacity: .14; }
.home__focus-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.home__focus-top span { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-display); font-size: 5px; letter-spacing: .14em; color: #a89bc4; }
.home__focus-top span .icon { width: 9px; height: 9px; color: var(--violet); }
.home__focus-top b { font-family: var(--font-display); font-size: 5.5px; color: #8b7fa9; font-weight: 400; }
.home__focus strong { font-size: 9px; font-weight: 500; color: #eee8f8; letter-spacing: -.02em; }
.home__focus-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.home__focus-meta small { font-size: 5.5px; color: #7e758e; }
.home__focus-meta b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(200,181,255,.13); color: var(--violet); }
.home__focus-meta b .icon { width: 10px; height: 10px; }
.home__focus-bar { grid-column: 1 / -1; height: 2px; margin-top: 3px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.home__focus-bar i { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--coral)); }
.home__search {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  align-self: center;
  margin-top: 11px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: #85918f;
  font-size: 7px;
}
.home__search .icon { width: 10px; height: 10px; }
.home__pages { position: relative; z-index: 2; display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.home__pages i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.28); }
.home__pages i:first-child { width: 11px; border-radius: 3px; background: #edf7f1; }

/* AI */
.app-ai { background: linear-gradient(165deg, #091310 0%, #080b0f 48%, #0b0a12 100%); }
.ai-stage { position: relative; padding: 12px 14px 6px; flex: none; overflow: hidden; }
.ai-stage::before { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -40px; top: -90px; background: rgba(118,247,212,.13); filter: blur(38px); }
.ai-stage__top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.ai-stage__label { font-family: var(--font-display); font-size: 6px; letter-spacing: .16em; color: #78857f; }
.ai-stage__live { display: inline-flex; align-items: center; gap: 4px; color: var(--mint); }
.ai-stage__live i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); animation: pulseDot 1.8s infinite; }
.ai-hero { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 11px; }
.ai-orb--phone { width: 58px; height: 58px; flex: none; }
.ai-orb--phone .ai-orb__ring--b { inset: 8px; }
.ai-orb--phone .ai-orb__ring--c { inset: 17px; }
.ai-orb--phone .ai-orb__center { inset: 36%; }
.ai-hero__copy { min-width: 0; }
.ai-hero__copy h2 { font-size: 15px; line-height: 1.3; font-weight: 500; letter-spacing: -.04em; }
.ai-hero__copy p { margin-top: 3px; font-size: 7.5px; line-height: 1.55; color: #7f8b86; }
.ai-suggestions { display: flex; gap: 5px; padding: 10px 13px 8px; overflow-x: auto; scrollbar-width: none; flex: none; }
.ai-suggestions::-webkit-scrollbar { display: none; }
.ai-chip { flex: none; padding: 7px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.035); color: #b9c7c1; font-size: 7.5px; white-space: nowrap; transition: border-color .2s, background .2s; }
.ai-chip:hover { border-color: rgba(118,247,212,.4); background: rgba(118,247,212,.08); color: #e3f3ed; }
.ai-thread { flex: 1; min-height: 0; overflow-y: auto; padding: 5px 13px 8px; scrollbar-width: none; display: flex; flex-direction: column; gap: 10px; }
.ai-thread::-webkit-scrollbar { display: none; }
.ai-msg { display: flex; gap: 7px; align-items: flex-start; animation: msgIn .3s var(--ease); }
.ai-msg--user { flex-direction: row-reverse; }
.ai-msg__avatar { width: 20px; height: 20px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d8fff4, #76f7d4 35%, #23665e); box-shadow: 0 0 10px rgba(118,247,212,.2); }
.ai-msg--user .ai-msg__avatar { background: linear-gradient(145deg, #526a8f, #263247); box-shadow: none; }
.ai-bubble { max-width: 84%; padding: 9px 11px; border-radius: 12px 12px 12px 4px; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.06); color: #dce5e0; font-size: 8.3px; line-height: 1.68; }
.ai-bubble p + p { margin-top: 6px; }
.ai-msg--user .ai-bubble { border-radius: 12px 12px 4px 12px; background: rgba(118,247,212,.13); border-color: rgba(118,247,212,.12); color: #e8fbf4; }
.ai-bubble strong { color: #f4fffb; font-weight: 600; }
.ai-bubble ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ai-bubble li { display: flex; gap: 5px; align-items: flex-start; }
.ai-bubble li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--mint); margin-top: 5px; flex: none; }
.ai-bubble .ai-mini-card { margin-top: 7px; padding: 8px; border: 1px solid rgba(118,247,212,.18); border-radius: 8px; background: rgba(118,247,212,.05); }
.ai-bubble .ai-mini-card small { display: block; font-family: var(--font-display); font-size: 5px; letter-spacing: .15em; color: var(--mint); }
.ai-bubble .ai-mini-card b { display: block; margin-top: 3px; font-size: 8px; font-weight: 500; }
.ai-bubble .ai-action { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; background: rgba(255,255,255,.04); font-size: 6.8px; color: #d7e4de; }
.ai-bubble .ai-action:hover { border-color: var(--mint); color: var(--mint); }
.ai-generated-art { position: relative; width: 100%; height: 78px; margin-top: 7px; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #ff9a80, #9ab6ff 42%, #76f7d4 75%, #11151b); }
.ai-generated-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 25%, rgba(255,255,255,.6), transparent 18%), radial-gradient(circle at 30% 80%, rgba(8,12,15,.5), transparent 40%); }
.ai-generated-art span { position: absolute; left: 7px; bottom: 6px; z-index: 2; font-family: var(--font-display); font-size: 5px; letter-spacing: .13em; color: rgba(255,255,255,.9); }
.typing { display: inline-flex; gap: 3px; padding: 5px 2px; }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: #92a29b; animation: typingDot 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.ai-compose { flex: none; display: flex; align-items: center; gap: 6px; margin: 6px 12px 17px; padding: 5px 5px 5px 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; background: rgba(255,255,255,.055); backdrop-filter: blur(12px); }
.ai-compose input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #e9efeb; font-size: 8.5px; }
.ai-compose input::placeholder { color: #64716b; }
.ai-compose__mic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #8f9b95; flex: none; }
.ai-compose__mic .icon { width: 12px; height: 12px; }
.ai-compose__send { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--mint); color: #07110d; flex: none; }
.ai-compose__send .icon { width: 13px; height: 13px; }

/* Camera */
.app-camera { background: #030505; color: #fff; }
.cam-head { position: absolute; z-index: 10; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: linear-gradient(rgba(0,0,0,.55), transparent); }
.cam-head__btn { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(0,0,0,.28); backdrop-filter: blur(10px); color: #fff; }
.cam-head__btn { position: relative; }
.cam-head__btn .icon { width: 13px; height: 13px; }
.cam-head__btn[data-action="back"] .icon { transform: rotate(180deg); }
.cam-head__btn.is-off { color: #6f7977; }
.cam-head__btn.is-off::after { content: ""; position: absolute; width: 18px; height: 1px; background: #8d9694; transform: rotate(-45deg); }
.cam-head__mode { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.cam-head__mode strong { font-family: var(--font-display); font-size: 7px; letter-spacing: .17em; }
.cam-head__mode small { font-size: 5.5px; color: rgba(255,255,255,.55); letter-spacing: .1em; }
.cam-view { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #111; }
.cam-view canvas { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .35s; }
.cam-view::after { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.28) 100%); pointer-events: none; }
.cam-gridlines { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .35; }
.cam-gridlines::before, .cam-gridlines::after { content: ""; position: absolute; background: rgba(255,255,255,.4); }
.cam-gridlines::before { left: 33.33%; right: 33.33%; top: 0; bottom: 0; border-left: 1px solid rgba(255,255,255,.34); border-right: 1px solid rgba(255,255,255,.34); background: none; }
.cam-gridlines::after { top: 33.33%; bottom: 33.33%; left: 0; right: 0; border-top: 1px solid rgba(255,255,255,.34); border-bottom: 1px solid rgba(255,255,255,.34); background: none; }
.cam-ai-chip { position: absolute; z-index: 4; left: 13px; top: 46px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; background: rgba(4,10,9,.4); backdrop-filter: blur(10px); font-family: var(--font-display); font-size: 5.5px; letter-spacing: .1em; color: #d9f9ee; }
.cam-ai-chip i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 7px var(--mint); }
.cam-zoom { position: absolute; z-index: 4; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; background: rgba(0,0,0,.33); backdrop-filter: blur(12px); }
.cam-zoom button { width: 32px; height: 24px; border-radius: 999px; font-family: var(--font-display); font-size: 7.5px; color: rgba(255,255,255,.63); transition: background .2s, color .2s; }
.cam-zoom button.is-active { background: rgba(255,255,255,.92); color: #0b0e0e; }
.cam-flip { position: absolute; z-index: 4; right: 13px; bottom: 13px; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(0,0,0,.32); backdrop-filter: blur(10px); color: #fff; }
.cam-flip .icon { width: 16px; height: 16px; }
.cam-bottom { flex: none; padding: 10px 14px 22px; background: #030505; }
.cam-modes { display: flex; justify-content: center; gap: 18px; margin-bottom: 10px; font-family: var(--font-display); font-size: 6.5px; letter-spacing: .1em; color: #5d6868; }
.cam-modes .is-active { color: var(--coral); }
.cam-filters { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }
.cam-filter { padding: 4px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #8d9898; font-size: 6.5px; }
.cam-filter.is-active { border-color: rgba(255,154,128,.55); color: #ffc3b3; background: rgba(255,154,128,.08); }
.cam-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cam-thumb { width: 37px; height: 37px; border-radius: 9px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); flex: none; padding: 0; }
.cam-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cam-thumb__empty { display: grid; place-items: center; width: 100%; height: 100%; color: #54605e; }
.cam-thumb__empty .icon { width: 14px; height: 14px; }
.cam-shutter { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); flex: none; }
.cam-shutter::before { content: ""; width: 39px; height: 39px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cam-shutter:active::before { transform: scale(.84); }
.cam-caption { width: 57px; flex: none; text-align: right; font-size: 6px; line-height: 1.45; color: #6e7977; }
.cam-caption strong { display: block; color: #aeb8b5; font-weight: 500; }
.cam-caption #cameraMeta { display: block; }
.cam-counter { font-family: var(--font-display); font-size: 6px; letter-spacing: .1em; color: #687471; }

/* Education */
.app-edu { background: linear-gradient(160deg, #0e0b17, #090a10 55%, #0b1013); }
.edu-body { padding: 12px 13px 19px; }
.edu-greeting { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.edu-greeting h2 { font-size: 17px; line-height: 1.35; letter-spacing: -.04em; font-weight: 500; }
.edu-greeting h2 em { color: var(--violet); font-style: normal; }
.edu-greeting p { margin-top: 4px; font-size: 7.5px; color: #7b818e; }
.edu-streak { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 8px; border: 1px solid rgba(200,181,255,.17); border-radius: 10px; background: rgba(200,181,255,.06); }
.edu-streak .icon { width: 14px; height: 14px; color: var(--violet); }
.edu-streak b { font-family: var(--font-display); font-size: 12px; }
.edu-streak small { font-size: 5px; color: #857c99; }
.edu-section-label { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 8px; font-family: var(--font-display); font-size: 6px; letter-spacing: .14em; color: #6b707c; }
.edu-section-label span:last-child { color: #8e86a5; }
.edu-lesson {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: linear-gradient(110deg, rgba(200,181,255,.1), rgba(255,255,255,.025));
  text-align: left;
  overflow: hidden;
}
.edu-lesson::after { content: ""; position: absolute; width: 80px; height: 80px; right: -25px; top: -30px; border-radius: 50%; background: var(--violet); filter: blur(30px); opacity: .15; }
.edu-lesson__thumb { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 10px; background: linear-gradient(140deg, #4d3d76, #211a36); flex: none; overflow: hidden; }
.edu-lesson__thumb::before, .edu-lesson__thumb::after { content: ""; position: absolute; border: 1px solid rgba(200,181,255,.3); border-radius: 50%; }
.edu-lesson__thumb::before { inset: 8px; }
.edu-lesson__thumb::after { inset: 17px; background: rgba(200,181,255,.22); }
.edu-lesson__thumb .icon { position: relative; z-index: 1; width: 19px; height: 19px; color: #eadfff; }
.edu-lesson__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.edu-lesson__text small { font-family: var(--font-display); font-size: 5px; letter-spacing: .11em; color: #a297c0; }
.edu-lesson__text strong { font-size: 10px; font-weight: 500; line-height: 1.35; }
.edu-lesson__text span { font-size: 6.5px; color: #7a7787; }
.edu-lesson__go { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: rgba(255,255,255,.08); color: #e9ddff; flex: none; }
.edu-lesson__go .icon { width: 12px; height: 12px; }
.edu-progress { margin-top: 11px; }
.edu-progress__top { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 6.5px; color: #898393; }
.edu-progress__top strong { color: #d8cff0; font-family: var(--font-display); }
.edu-progress__bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.edu-progress__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), #ff9a80); border-radius: inherit; transition: width .8s var(--ease); }
.edu-courses { display: flex; flex-direction: column; gap: 6px; }
.edu-course { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 9px; border: 1px solid rgba(255,255,255,.06); border-radius: 9px; background: rgba(255,255,255,.025); text-align: left; transition: background .2s, border-color .2s; }
.edu-course:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.edu-course.is-selected { background: linear-gradient(90deg, color-mix(in srgb, var(--course-color, #c8b5ff) 13%, transparent), rgba(255,255,255,.02)); border-color: color-mix(in srgb, var(--course-color, #c8b5ff) 35%, transparent); }
.edu-course.is-selected .edu-course__time { color: var(--course-color, #c8b5ff); }
.edu-course__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--course-color, var(--violet)); flex: none; box-shadow: 0 0 8px var(--course-color, var(--violet)); }
.edu-course__text { flex: 1; min-width: 0; }
.edu-course__text strong { display: block; font-size: 8.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.edu-course__text small { font-size: 6px; color: #74757e; }
.edu-course__time { font-family: var(--font-display); font-size: 6px; color: #77717f; }
.edu-cta { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 13px; padding: 11px 12px; border-radius: 11px; background: var(--violet); color: #171020; font-size: 9px; font-weight: 600; }
.edu-cta .icon { width: 14px; height: 14px; }
.edu-quiz { padding: 13px; }
.quiz-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 6px; letter-spacing: .13em; color: #847d92; }
.quiz-dots { display: flex; gap: 4px; }
.quiz-dots i { width: 14px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); }
.quiz-dots i.is-on { background: var(--violet); }
.quiz-dots i.is-done { background: #ff9a80; }
.quiz-card { margin-top: 18px; }
.quiz-card__tag { display: inline-flex; padding: 3px 7px; border-radius: 999px; background: rgba(200,181,255,.1); color: #c8b5ff; font-size: 6px; letter-spacing: .08em; }
.quiz-card h2 { margin-top: 9px; font-size: 17px; line-height: 1.45; letter-spacing: -.04em; font-weight: 500; }
.quiz-options { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
.quiz-option { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(255,255,255,.03); text-align: left; font-size: 8px; line-height: 1.45; transition: background .2s, border-color .2s, transform .2s; }
.quiz-option:hover:not(:disabled) { border-color: rgba(200,181,255,.35); background: rgba(200,181,255,.05); }
.quiz-option__num { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); font-family: var(--font-display); font-size: 6.5px; color: #9e98aa; flex: none; }
.quiz-option.is-correct { border-color: rgba(118,247,212,.55); background: rgba(118,247,212,.08); }
.quiz-option.is-correct .quiz-option__num { background: var(--mint); border-color: var(--mint); color: #07110d; }
.quiz-option.is-wrong { border-color: rgba(255,154,128,.55); background: rgba(255,154,128,.07); }
.quiz-option.is-wrong .quiz-option__num { background: var(--coral); border-color: var(--coral); color: #1a0c08; }
.quiz-feedback { margin-top: 11px; padding: 10px; border: 1px solid rgba(118,247,212,.16); border-radius: 9px; background: rgba(118,247,212,.05); font-size: 7.5px; line-height: 1.65; color: #b6c9c1; animation: msgIn .3s var(--ease); }
.quiz-feedback strong { display: block; color: var(--mint); font-size: 8px; margin-bottom: 2px; }
.quiz-next { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 11px; padding: 10px 12px; border-radius: 9px; background: #eae4f7; color: #1a1424; font-size: 8.5px; font-weight: 600; }
.quiz-next .icon { width: 13px; height: 13px; }
.quiz-result { padding: 20px 14px; text-align: center; }
.quiz-result__orb { position: relative; display: grid; place-items: center; width: 92px; height: 92px; margin: 4px auto 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #eedfff, #c8b5ff 42%, #675391 75%, #241d35); box-shadow: 0 0 40px rgba(200,181,255,.28); }
.quiz-result__orb::before { content: ""; position: absolute; inset: -8px; border: 1px dashed rgba(200,181,255,.35); border-radius: 50%; animation: ringSpin 14s linear infinite; }
.quiz-result__orb strong { font-family: var(--font-display); font-size: 25px; letter-spacing: -.04em; }
.quiz-result h2 { font-size: 20px; letter-spacing: -.045em; font-weight: 500; }
.quiz-result p { margin-top: 6px; font-size: 8px; line-height: 1.7; color: #8e8999; }
.quiz-result__stats { display: flex; justify-content: center; gap: 22px; margin: 17px 0; }
.quiz-result__stats div { display: flex; flex-direction: column; gap: 1px; }
.quiz-result__stats strong { font-family: var(--font-display); font-size: 15px; color: var(--violet); }
.quiz-result__stats span { font-size: 6px; color: #77727f; }
.quiz-result__actions { display: flex; gap: 7px; }
.quiz-result__actions button { flex: 1; padding: 10px; border-radius: 9px; font-size: 8px; }
.quiz-result__actions button:first-child { background: var(--violet); color: #1c1428; font-weight: 600; }
.quiz-result__actions button:last-child { border: 1px solid rgba(255,255,255,.14); color: #cfc7dc; }

/* Flex */
.app-flex { background: #06080c; color: #edf2f0; }
.flex-head { position: relative; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.flex-head__left { display: flex; align-items: center; gap: 8px; }
.flex-head__badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border: 1px solid rgba(154,182,255,.25); border-radius: 999px; background: rgba(154,182,255,.08); color: #c2d0ff; font-family: var(--font-display); font-size: 5px; letter-spacing: .1em; }
.flex-head__badge i { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }
.flex-head__left strong { font-size: 10px; font-weight: 500; }
.flex-head__swap { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: rgba(255,255,255,.06); color: #c8d0dd; }
.flex-head__swap .icon { width: 13px; height: 13px; }
.flex-split { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; padding: 0 8px 13px; }
.flex-pane { position: relative; min-height: 0; border: 1px solid rgba(255,255,255,.075); border-radius: 13px; overflow: hidden; background: #0a0e14; }
.flex-pane--top { flex: 0 0 var(--split, 46%); display: flex; flex-direction: column; margin-top: 8px; }
.flex-pane--bottom { flex: 1; display: flex; flex-direction: column; }
.flex-divider { position: relative; flex: 0 0 18px; display: flex; align-items: center; justify-content: center; cursor: ns-resize; touch-action: none; }
.flex-divider::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 1px; background: rgba(154,182,255,.3); }
.flex-divider i { position: relative; z-index: 2; display: block; width: 34px; height: 5px; border-radius: 5px; background: #3b4b69; box-shadow: 0 0 0 4px rgba(6,8,12,.9); }
.flex-divider:focus-visible i, .flex-divider:hover i { background: var(--blue); }
.flex-pane__bar { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-bottom: 1px solid rgba(255,255,255,.06); flex: none; }
.flex-pane__bar .icon { width: 11px; height: 11px; color: var(--blue); }
.flex-pane__bar strong { flex: 1; font-size: 7.5px; font-weight: 500; }
.flex-pane__bar small { font-family: var(--font-display); font-size: 5px; color: #637085; letter-spacing: .1em; }
.flex-pane__bar button { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.06); color: #aeb9cc; }
.flex-pane__bar button .icon { width: 10px; height: 10px; }
.flex-video { position: relative; flex: 1; min-height: 0; overflow: hidden; background: linear-gradient(135deg, #2e1d35, #121523 50%, #122c2b); cursor: pointer; }
.flex-video::before { content: ""; position: absolute; inset: -20%; background: conic-gradient(from 90deg, rgba(255,154,128,.6), rgba(154,182,255,.4), rgba(118,247,212,.45), rgba(255,154,128,.6)); filter: blur(38px); opacity: .42; animation: auroraSpin 18s linear infinite; }
.flex-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(3,5,8,.75)); }
.flex-video__content { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 9px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.flex-video__content small { display: block; font-family: var(--font-display); font-size: 5px; letter-spacing: .12em; color: #b9c8ff; }
.flex-video__content strong { display: block; margin-top: 2px; font-size: 10px; font-weight: 500; }
.flex-video__play { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.26); backdrop-filter: blur(7px); color: #fff; flex: none; }
.flex-video__play .icon { width: 13px; height: 13px; }
.flex-video__duration { position: absolute; z-index: 2; right: 8px; top: 8px; padding: 2px 5px; border-radius: 3px; background: rgba(0,0,0,.45); font-family: var(--font-display); font-size: 5px; color: #ddd; }
.flex-video__progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.18); }
.flex-video__progress i { display: block; width: 38%; height: 100%; background: var(--blue); }
.flex-video.is-playing .flex-video__progress i { animation: videoProgress 16s linear infinite; }
.flex-map { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #0b1119; }
.flex-map svg { width: 100%; height: 100%; display: block; }
.flex-map__label { position: absolute; z-index: 2; left: 9px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border: 1px solid rgba(154,182,255,.24); border-radius: 999px; background: rgba(6,10,15,.72); backdrop-filter: blur(7px); color: #c6d5ff; font-size: 5.5px; }
.flex-map__label .icon { width: 9px; height: 9px; }
.flex-note { flex: 1; min-height: 0; display: flex; flex-direction: column; background: linear-gradient(160deg, rgba(154,182,255,.06), rgba(255,255,255,.015)); }
.flex-note textarea { flex: 1; width: 100%; min-height: 0; padding: 9px 10px; border: 0; outline: 0; resize: none; background: transparent; color: #dce4e1; font-family: var(--font); font-size: 8px; line-height: 1.7; }
.flex-note textarea::placeholder { color: #58636e; }
.flex-note__footer { display: flex; justify-content: space-between; align-items: center; padding: 5px 9px 7px; border-top: 1px solid rgba(255,255,255,.05); }
.flex-note__footer span { font-family: var(--font-display); font-size: 5px; color: #59636f; letter-spacing: .08em; }
.flex-note__footer b { font-weight: 400; color: #8996a6; }
.flex-hint { flex: none; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 10px 0; font-size: 6.5px; color: #657181; }
.flex-hint .icon { width: 10px; height: 10px; color: var(--blue); }

/* Gallery */
.app-gallery { background: linear-gradient(155deg, #0d1014, #080a0e 60%); }
.gallery-body { padding: 12px 12px 18px; }
.gallery-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; }
.gallery-top h2 { font-size: 16px; font-weight: 500; letter-spacing: -.04em; }
.gallery-tabs { display: flex; gap: 4px; }
.gallery-tabs button { padding: 4px 7px; border-radius: 999px; font-size: 6.5px; color: #75808a; background: rgba(255,255,255,.04); }
.gallery-tabs button.is-active { background: #ece9df; color: #101317; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.gallery-tile { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #151a20; padding: 0; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0,0,0,.5)); opacity: .55; pointer-events: none; }
.gallery-tile__label { position: absolute; z-index: 2; left: 7px; bottom: 6px; display: flex; flex-direction: column; align-items: flex-start; color: #f1f2ee; font-size: 6.5px; line-height: 1.4; text-shadow: 0 1px 5px rgba(0,0,0,.5); }
.gallery-tile__label span { font-family: var(--font-display); font-size: 4.5px; letter-spacing: .1em; opacity: .65; }
.gallery-tile--wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-empty { grid-column: 1/-1; display: grid; place-items: center; min-height: 140px; border: 1px dashed rgba(255,255,255,.12); border-radius: 10px; color: #65717b; font-size: 8px; text-align: center; line-height: 1.7; }
.gallery-viewer { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; background: #05070a; animation: viewerIn .3s var(--ease); }
.viewer-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.viewer-head__title { text-align: center; }
.viewer-head__title strong { display: block; font-size: 8.5px; font-weight: 500; }
.viewer-head__title small { display: block; font-size: 5.5px; color: #68737b; }
.viewer-media { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 10px; background: radial-gradient(circle at 50% 40%, #12161c, #05070a 75%); }
.viewer-media img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 7px; transition: filter .35s; }
.viewer-media__ai { position: absolute; z-index: 4; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border: 1px solid rgba(118,247,212,.25); border-radius: 999px; background: rgba(6,12,10,.7); backdrop-filter: blur(8px); color: var(--mint); font-family: var(--font-display); font-size: 5px; letter-spacing: .1em; opacity: 0; }
.viewer-media.is-ai .viewer-media__ai { opacity: 1; }
.viewer-media.is-erasing { cursor: crosshair; }
.viewer-media.is-erasing img { cursor: crosshair; outline: 1px dashed rgba(118,247,212,.45); outline-offset: -5px; }
.viewer-edit-hint {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  max-width: 88%;
  padding: 7px 10px;
  border: 1px solid rgba(118,247,212,.3);
  border-radius: 999px;
  background: rgba(5,10,10,.82);
  backdrop-filter: blur(10px);
  color: #c8f7e9;
  font-size: 7px;
  transform: translateX(-50%);
  pointer-events: none;
}
.viewer-edit-hint .icon { width: 11px; height: 11px; color: var(--mint); }
.viewer-processing {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(3,5,7,.62);
  backdrop-filter: blur(3px);
  color: #d9e8e2;
  font-size: 9px;
}
.viewer-processing__spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,.14); border-top-color: var(--mint); border-radius: 50%; animation: processingSpin .7s linear infinite; }
@keyframes processingSpin { to { transform: rotate(360deg); } }
.viewer-tools { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 8px 10px 16px; border-top: 1px solid rgba(255,255,255,.06); }
.viewer-tool { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 7px; border-radius: 7px; color: #8b969d; font-size: 5.5px; }
.viewer-tool .icon { width: 14px; height: 14px; }
.viewer-tool:hover { background: rgba(255,255,255,.05); color: #edf2ef; }
.viewer-tool--ai { color: var(--mint); }
.viewer-tool.is-on { background: rgba(118,247,212,.1); color: var(--mint); }
.viewer-tool--download { color: #d9cbab; }
.share-sheet {
  position: absolute;
  z-index: 70;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
}
.share-sheet__backdrop { position: absolute; inset: 0; background: rgba(2,4,6,.74); backdrop-filter: blur(5px); animation: fadeIn .2s; }
.share-sheet__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: linear-gradient(155deg, #151d24, #0a0e12 76%);
  box-shadow: 0 -20px 50px rgba(0,0,0,.45);
  animation: shareSheetUp .32s var(--ease);
}
@keyframes shareSheetUp { from { opacity: 0; transform: translateY(18px); } }
.share-sheet__eyebrow { font-family: var(--font-display); font-size: 5px; letter-spacing: .17em; color: var(--mint); }
.share-sheet__panel h3 { margin-top: 5px; font-size: 16px; line-height: 1.3; letter-spacing: -.04em; font-weight: 500; }
.share-sheet__desc { margin-top: 4px; font-size: 7.5px; line-height: 1.55; color: #7f8b92; }
.share-sheet__actions { display: grid; gap: 6px; margin-top: 12px; }
.share-sheet__actions button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
  background: rgba(255,255,255,.04);
  text-align: left;
  color: #e4ebe7;
}
.share-sheet__actions button:hover { border-color: rgba(118,247,212,.3); background: rgba(118,247,212,.07); }
.share-sheet__actions .icon { width: 15px; height: 15px; color: var(--mint); flex: none; }
.share-sheet__actions button span { display: flex; flex-direction: column; gap: 1px; }
.share-sheet__actions strong { font-size: 8.5px; font-weight: 500; }
.share-sheet__actions small { font-size: 6px; color: #75837c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.share-sheet__close { width: 100%; margin-top: 7px; padding: 8px; border-radius: 8px; color: #8c9893; font-size: 7.5px; }
.share-sheet__close:hover { color: #e7efeb; background: rgba(255,255,255,.04); }

/* Music */
.app-music { background: radial-gradient(circle at 65% 5%, rgba(255,143,183,.14), transparent 35%), linear-gradient(160deg, #120b11, #09090e 60%, #0d0a10); }
.music-body { display: flex; flex-direction: column; padding: 14px 15px 17px; }
.music-top { display: flex; justify-content: space-between; align-items: center; }
.music-top span { font-family: var(--font-display); font-size: 6px; letter-spacing: .15em; color: #8f7885; }
.music-heart { color: #ff8fb7; }
.music-heart .icon { width: 15px; height: 15px; }
.music-art { position: relative; align-self: center; width: 156px; height: 156px; margin: 14px auto 15px; border-radius: 50%; background: conic-gradient(from 30deg, #ff8fb7, #6f4a97, #1c1e2e, #ff9a80, #ff8fb7); box-shadow: 0 22px 45px rgba(0,0,0,.42), 0 0 60px rgba(255,143,183,.12); display: grid; place-items: center; }
.music-art::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); }
.music-art::after { content: ""; position: absolute; inset: 34px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3d2b40, #0d0c12 65%); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; }
.music-vinyl__label { position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(145deg, #f6c0d3, #b4618c 50%, #3b2434); display: grid; place-items: center; font-family: var(--font-display); font-size: 5px; letter-spacing: .12em; color: #2f1422; }
.music-art.is-playing { animation: vinylSpin 12s linear infinite; }
.music-art.is-loading { animation: vinylSpin 2.4s linear infinite; }
.music-loading {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(10,8,12,.78);
  backdrop-filter: blur(8px);
  font-family: var(--font-display);
  font-size: 5px;
  letter-spacing: .14em;
  color: #ffd7e6;
}
.music-loading::before { content: ""; width: 9px; height: 9px; border: 1px solid rgba(255,255,255,.2); border-top-color: #ff8fb7; border-radius: 50%; animation: processingSpin .7s linear infinite; }
.music-info { text-align: center; }
.music-info h2 { font-size: 16px; font-weight: 500; letter-spacing: -.035em; }
.music-info p { margin-top: 2px; font-size: 7px; color: #8b7a86; }
.music-visualizer { display: flex; justify-content: center; align-items: flex-end; gap: 2px; height: 23px; margin: 11px 0 4px; }
.music-visualizer i { width: 2px; height: 20%; border-radius: 2px; background: linear-gradient(var(--coral), var(--pink, #ff8fb7)); opacity: .65; animation: eqBar 1.2s ease-in-out infinite alternate; }
.music-visualizer i:nth-child(2n) { animation-duration: .9s; }
.music-visualizer i:nth-child(3n) { animation-duration: 1.4s; }
.music-visualizer i:nth-child(4n) { animation-duration: .7s; }
.music-visualizer.is-paused i { animation-play-state: paused; opacity: .3; }
.music-visualizer.is-live i { animation: none; transition: height .14s ease-out; }
.music-progress { margin-top: 7px; cursor: pointer; }
.music-progress__bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.09); overflow: hidden; }
.music-progress__bar i { display: block; width: 23%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff8fb7, #ff9a80); transition: width .3s linear; }
.music-progress__time { display: flex; justify-content: space-between; margin-top: 4px; font-family: var(--font-display); font-size: 5.5px; color: #716370; }
.music-volume { display: flex; align-items: center; gap: 8px; margin: 7px 2px 0; color: #9d8594; }
.music-volume .icon { width: 12px; height: 12px; flex: none; }
.music-volume input { flex: 1; height: 2px; accent-color: #ff8fb7; cursor: pointer; }
.music-volume output { min-width: 24px; text-align: right; font-family: var(--font-display); font-size: 5px; color: #7c6975; }
.music-controls { display: flex; align-items: center; justify-content: center; gap: 19px; margin-top: 7px; }
.music-controls button { display: grid; place-items: center; width: 26px; height: 26px; color: #d7c5d0; }
.music-controls button .icon { width: 17px; height: 17px; }
.music-play { width: 43px !important; height: 43px !important; border-radius: 50%; background: #f3e5eb !important; color: #24141d !important; }
.music-play .icon { width: 17px !important; height: 17px !important; }
.music-tracklist { margin-top: 15px; border-top: 1px solid rgba(255,255,255,.06); padding-top: 7px; }
.music-track { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px; border-radius: 7px; text-align: left; }
.music-track:hover { background: rgba(255,255,255,.04); }
.music-track.is-active { background: rgba(255,143,183,.07); }
.music-track__num { width: 11px; font-family: var(--font-display); font-size: 5.5px; color: #6e5f69; }
.music-track.is-active .music-track__num { color: #ff8fb7; }
.music-track__text { flex: 1; min-width: 0; }
.music-track__text strong { display: block; font-size: 7.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music-track__text small { font-size: 5.5px; color: #756872; }
.music-track__time { font-family: var(--font-display); font-size: 5.5px; color: #685c65; }

/* Settings */
.app-settings { background: linear-gradient(160deg, #0d1115, #080b0e 60%); }
.settings-body { padding: 12px 12px 18px; }
.settings-profile { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: linear-gradient(120deg, rgba(118,247,212,.07), rgba(255,255,255,.02)); text-align: left; }
.settings-profile__avatar { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; background: linear-gradient(145deg, #396e65, #172c2a); color: var(--mint); font-family: var(--font-display); font-size: 13px; flex: none; }
.settings-profile__text { flex: 1; }
.settings-profile__text strong { display: block; font-size: 9px; font-weight: 500; }
.settings-profile__text small { font-size: 6px; color: #6e7b7a; }
.settings-profile > .icon { width: 13px; height: 13px; color: #5e6a69; }
.settings-group { margin-top: 13px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.018); }
.settings-group__title { padding: 8px 10px 5px; font-family: var(--font-display); font-size: 5.5px; letter-spacing: .14em; color: #64716f; }
.setting-row { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-top: 1px solid rgba(255,255,255,.045); }
.setting-row__icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; background: rgba(255,255,255,.05); color: #bfcac7; flex: none; }
.setting-row__icon .icon { width: 13px; height: 13px; }
.setting-row__text { flex: 1; min-width: 0; }
.setting-row__text strong { display: block; font-size: 7.8px; font-weight: 500; }
.setting-row__text small { display: block; font-size: 5.5px; color: #66726f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toggle { position: relative; width: 28px; height: 16px; border-radius: 999px; background: rgba(255,255,255,.13); flex: none; transition: background .25s; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #8e9996; transition: transform .25s var(--ease-spring), background .25s; }
.setting-row[aria-checked="true"] .toggle { background: rgba(118,247,212,.55); }
.setting-row[aria-checked="true"] .toggle::after { transform: translateX(12px); background: #07110d; }
.brightness { display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
.brightness .icon { width: 12px; height: 12px; color: #a8b2af; }
.brightness input { flex: 1; height: 3px; accent-color: var(--mint); cursor: pointer; }
.brightness output { width: 24px; text-align: right; font-family: var(--font-display); font-size: 6px; color: #8d9995; }
.wallpaper-row { padding: 8px 10px; }
.wallpaper-row > span { display: block; margin-bottom: 6px; font-size: 6.5px; color: #6e7a77; }
.wallpaper-swatches { display: flex; gap: 6px; }
.wallpaper-swatch { width: 31px; height: 31px; border-radius: 8px; border: 2px solid transparent; padding: 0; }
.wallpaper-swatch.is-active { border-color: var(--mint); }
.wallpaper-swatch--0 { background: linear-gradient(145deg, #ff9a80, #76f7d4 50%, #10141a); }
.wallpaper-swatch--1 { background: linear-gradient(145deg, #ff9a80, #c8b5ff 50%, #1a0e14); }
.wallpaper-swatch--2 { background: linear-gradient(145deg, #9ab6ff, #76f7d4 50%, #0c1420); }
.wallpaper-swatch--3 { background: linear-gradient(145deg, #edf5e6, #5a7c63 55%, #0b120d); }
.settings-storage { margin-top: 13px; padding: 9px 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; }
.settings-storage__top { display: flex; justify-content: space-between; font-size: 6px; color: #7a8682; }
.settings-storage__top b { color: #c8d2ce; font-weight: 500; }
.settings-storage__bar { display: flex; gap: 2px; height: 5px; margin-top: 6px; border-radius: 4px; overflow: hidden; }
.settings-storage__bar i:nth-child(1) { width: 44%; background: var(--mint); }
.settings-storage__bar i:nth-child(2) { width: 22%; background: var(--blue); }
.settings-storage__bar i:nth-child(3) { width: 11%; background: var(--coral); }
.settings-storage__bar i:nth-child(4) { flex: 1; background: rgba(255,255,255,.1); }

/* Cover screen */
.cover-screen {
  position: absolute;
  z-index: 12;
  inset: 3px;
  border-radius: 38px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
  transition: opacity .35s ease .28s, transform .7s var(--ease);
  background:
    radial-gradient(circle at 20% 12%, rgba(255,154,128,.22), transparent 34%),
    radial-gradient(circle at 92% 24%, rgba(118,247,212,.18), transparent 42%),
    radial-gradient(circle at 40% 92%, rgba(154,182,255,.2), transparent 50%),
    #090d11;
  color: #f1f4ef;
}
.device[data-mode="closed"] .cover-screen { opacity: 1; pointer-events: auto; transform: scale(1); }
.cover-inner { position: relative; height: 100%; padding: 17px 18px 14px; display: flex; flex-direction: column; overflow: hidden; }
.cover-inner::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(#000, transparent 55%); }
.cover-status { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-left: 43px; font-family: var(--font-display); font-size: 7px; color: #cbd3ce; }
.cover-status__icons { display: flex; gap: 5px; align-items: center; }
.cover-status__icons .icon { width: 10px; height: 10px; }
.cover-cameras { position: absolute; z-index: 80; top: 12px; left: 15px; display: flex; gap: 4px; opacity: 0; pointer-events: none; transition: opacity .3s .35s; }
.device[data-mode="closed"] .cover-cameras { opacity: 1; }
.cover-cameras span { width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #343b3d, #080a0b 45%, #010202 70%); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 2px rgba(0,0,0,.27); }
.cover-cameras span:nth-child(2) { width: 11px; height: 11px; margin-top: 2px; }
.cover-clock { position: relative; z-index: 2; margin-top: 15px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cover-clock__time { font-family: var(--font-display); font-size: 51px; line-height: .9; letter-spacing: -.06em; font-weight: 500; }
.cover-clock__date { margin-top: 5px; font-size: 7.5px; color: #adb8b2; }
.cover-weather { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; padding-top: 4px; }
.cover-weather .icon { width: 18px; height: 18px; color: #cbeadd; }
.cover-weather b { font-family: var(--font-display); font-size: 13px; font-weight: 500; }
.cover-weather small { font-size: 5.5px; color: #8d9a93; }
.cover-notification { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; margin-top: 13px; padding: 8px 9px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.cover-notification__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(118,247,212,.14); color: var(--mint); flex: none; }
.cover-notification__icon .icon { width: 12px; height: 12px; }
.cover-notification__text { flex: 1; min-width: 0; }
.cover-notification__text strong { display: block; font-size: 7px; font-weight: 500; }
.cover-notification__text small { display: block; font-size: 5.5px; color: #89978f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-notification__time { font-family: var(--font-display); font-size: 5px; color: #7b8781; }
.cover-widgets { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 7px; margin-top: 9px; }
.cover-music { display: flex; align-items: center; gap: 7px; padding: 9px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(255,255,255,.05); text-align: left; }
.cover-music__art { width: 30px; height: 30px; border-radius: 8px; background: conic-gradient(from 30deg, #ff8fb7, #6f4a97, #232333, #ff9a80, #ff8fb7); flex: none; }
.cover-music__text { min-width: 0; flex: 1; }
.cover-music__text strong { display: block; font-size: 6.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-music__text small { display: block; font-size: 5px; color: #8d7f89; }
.cover-music__play { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.12); flex: none; }
.cover-music__play .icon { width: 9px; height: 9px; }
.cover-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.cover-quick button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(255,255,255,.05); }
.cover-quick .icon { width: 16px; height: 16px; color: #d9ece3; }
.cover-quick span { font-size: 5.5px; color: #abb7b1; }
.cover-focus { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 2px; width: 100%; margin-top: 8px; padding: 9px 10px; border: 1px solid rgba(200,181,255,.15); border-radius: 10px; background: linear-gradient(110deg, rgba(200,181,255,.1), rgba(255,255,255,.025)); text-align: left; overflow: hidden; }
.cover-focus::after { content: ""; position: absolute; right: -18px; top: -26px; width: 70px; height: 70px; border-radius: 50%; background: var(--violet); filter: blur(24px); opacity: .16; }
.cover-focus__kicker { font-family: var(--font-display); font-size: 5px; letter-spacing: .14em; color: #b1a3cc; }
.cover-focus strong { font-size: 8px; font-weight: 500; letter-spacing: -.02em; color: #f0eafa; }
.cover-focus__meta { display: flex; justify-content: space-between; align-items: center; font-size: 5.5px; color: #8f849f; }
.cover-focus__meta b { display: inline-flex; align-items: center; gap: 2px; color: var(--violet); font-weight: 500; }
.cover-focus__meta b .icon { width: 8px; height: 8px; }
.cover-mini-stats { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 7px; }
.cover-mini-stats span { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border: 1px solid rgba(255,255,255,.07); border-radius: 8px; background: rgba(255,255,255,.035); font-family: var(--font-display); font-size: 6px; color: #d3dfd8; }
.cover-mini-stats small { font-size: 4.5px; letter-spacing: .08em; color: #73817a; }
.cover-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 9px; }
.cover-brand-stamp { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size: 7px; font-weight: 600; letter-spacing: -.025em; color: #e7f0eb; }
.cover-brand-stamp i { position: relative; width: 11px; height: 11px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.cover-brand-stamp i::before { content: ""; position: absolute; inset: 3px; border: 1px solid var(--mint); border-radius: 50%; }
.cover-brand-stamp i::after { content: ""; position: absolute; inset: 4.5px; border-radius: 50%; background: var(--mint); }
.cover-brand-stamp b { font-weight: 600; letter-spacing: -.03em; }
.cover-brand-stamp span { color: var(--mint); }
.cover-unfold { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.1); color: #edf5f1; font-size: 6.5px; }
.cover-unfold .icon { width: 10px; height: 10px; }
.cover-homebars { position: absolute; z-index: 3; bottom: 7px; left: 50%; transform: translateX(-50%); display: flex; gap: 3px; }
.cover-homebars i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.35); }
.cover-homebars i:first-child { width: 10px; border-radius: 3px; background: rgba(255,255,255,.75); }
.cover-view-head { display: flex; justify-content: space-between; align-items: center; }
.cover-view-head button { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: rgba(255,255,255,.09); }
.cover-view-head button .icon { width: 12px; height: 12px; }
.cover-view-head button[data-cover="main"] .icon { transform: rotate(180deg); }
.cover-camera-view { position: relative; flex: 1; min-height: 0; margin-top: 9px; border-radius: 11px; overflow: hidden; background: linear-gradient(150deg, #ff9a80, #6f4a97 45%, #101820); }
.cover-camera-view::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 55% 35%, rgba(255,255,255,.25), transparent 22%), linear-gradient(transparent 55%, rgba(0,0,0,.5)); }
.cover-camera-view__hint { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 9px; font-size: 6px; color: #eef7f2; }
.cover-ai-view { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; gap: 10px; text-align: center; }
.cover-ai-view h3 { font-size: 16px; line-height: 1.3; font-weight: 500; letter-spacing: -.04em; }
.cover-ai-view p { font-size: 6.5px; color: #8f9d96; line-height: 1.6; }
.cover-ai-view .button { height: 32px; padding: 0 12px; font-size: 7px; border-radius: 999px; background: var(--mint); color: #07110d; }

/* Stage bottom */
.stage-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--line-soft);
  background: rgba(255,255,255,.012);
}
.stage-controls { display: flex; align-items: center; gap: 4px; }
.stage-control { display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 6px; font-size: 8px; color: #75818a; transition: color .2s, background .2s; }
.stage-control:hover { color: #dfe5e2; background: rgba(255,255,255,.05); }
.stage-control .icon { width: 11px; height: 11px; }
.stage-pagination { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-size: 6px; letter-spacing: .1em; color: #4f5b65; }
.stage-pagination__line { width: 45px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.stage-pagination__line i { display: block; width: 12.5%; height: 100%; background: var(--mint); transition: width .5s var(--ease); }
.stage-hint {
  position: absolute;
  z-index: 7;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 90%;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(8,12,15,.7);
  backdrop-filter: blur(14px);
  opacity: 1;
  pointer-events: none;
  transition: opacity .4s, transform .4s;
}
.stage-hint.is-hidden { opacity: 0; transform: translate(-50%, 8px); pointer-events: none; }
.stage-hint__icon { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: rgba(118,247,212,.1); color: var(--mint); flex: none; }
.stage-hint__icon .icon { width: 11px; height: 11px; }
.stage-hint p { font-size: 7px; line-height: 1.4; color: #8d9995; white-space: nowrap; }
.stage-hint strong { color: #dfe8e3; font-weight: 500; }

/* Guide panel */
.guide-panel { display: flex; flex-direction: column; padding: 20px 19px 17px; min-width: 0; }
.guide-panel__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--line-soft); }
.guide-badge { padding: 4px 7px; border-radius: 3px; background: rgba(255,255,255,.07); font-family: var(--font-display); font-size: 6.5px; letter-spacing: .13em; color: #b6c0c7; }
.guide-state { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size: 6px; letter-spacing: .13em; color: #5f6c75; transition: color .25s; }
.guide-state i { width: 4px; height: 4px; border-radius: 50%; background: #5f6c75; }
.guide-state.is-preview { color: var(--mint); }
.guide-state.is-preview i { background: var(--mint); animation: pulseDot 1.5s infinite; }
.guide-panel__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: 22px;
  border: 1px solid color-mix(in srgb, var(--guide-accent, #76f7d4) 25%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--guide-accent, #76f7d4) 8%, transparent);
  color: var(--guide-accent, #76f7d4);
  transition: background .3s, color .3s, border-color .3s;
}
.guide-panel__icon .icon { width: 21px; height: 21px; stroke-width: 1.45; }
.guide-panel__kicker { margin-top: 19px; font-family: var(--font-display); font-size: 7px; letter-spacing: .17em; color: #62717a; }
.guide-panel h3 { margin-top: 7px; font-size: clamp(1.35rem, 1.8vw, 1.8rem); line-height: 1.22; letter-spacing: -.045em; font-weight: 500; }
.guide-panel__desc { margin-top: 12px; font-size: 10.5px; line-height: 1.8; color: #8d9aa3; min-height: 56px; }
.guide-steps { list-style: none; margin: 19px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.guide-steps li { display: flex; align-items: flex-start; gap: 9px; }
.guide-steps li > span { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--line); border-radius: 50%; font-family: var(--font-display); font-size: 5.5px; color: #6f7d86; flex: none; margin-top: 1px; }
.guide-steps p { font-size: 9px; line-height: 1.6; color: #78858e; }
.guide-steps strong { color: #cbd3d8; font-weight: 500; }
.guide-tip { display: flex; gap: 8px; margin-top: 19px; padding: 9px 10px; border-radius: 8px; background: rgba(118,247,212,.045); border: 1px solid rgba(118,247,212,.1); }
.guide-tip > span { font-family: var(--font-display); font-size: 5px; letter-spacing: .12em; color: var(--mint); flex: none; margin-top: 2px; }
.guide-tip p { font-size: 8px; line-height: 1.55; color: #82938d; }
.guide-visual {
  flex: 1;
  min-height: 116px;
  margin: 10px 0 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  opacity: .8;
}
.guide-visual__orbit {
  position: relative;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--guide-accent, #76f7d4) 14%, transparent);
  border-radius: 50%;
  transform: rotate(-16deg);
}
.guide-visual__orbit::before {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px dashed color-mix(in srgb, var(--guide-accent, #76f7d4) 19%, transparent);
  border-radius: 50%;
  animation: ringSpin 24s linear infinite;
}
.guide-visual__orbit::after {
  content: "";
  position: absolute;
  width: 158%;
  height: 40%;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 50%;
  transform: rotate(21deg);
}
.guide-visual__orbit i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--guide-accent, #76f7d4);
  box-shadow: 0 0 10px color-mix(in srgb, var(--guide-accent, #76f7d4) 45%, transparent);
}
.guide-visual__orbit i:first-of-type { top: 14px; right: 22px; }
.guide-visual__orbit i:last-of-type { bottom: 20px; left: 13px; width: 3px; height: 3px; opacity: .55; }
.guide-visual__orbit b {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -.04em;
  color: color-mix(in srgb, var(--guide-accent, #76f7d4) 65%, #ffffff);
  transform: rotate(16deg);
}
.guide-visual > span {
  font-family: var(--font-display);
  font-size: 5.5px;
  letter-spacing: .2em;
  color: #4f5c66;
}
.guide-progress { margin-top: auto; padding-top: 20px; }
.guide-progress__label { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 6px; letter-spacing: .11em; color: #5f6c75; }
.guide-progress__label strong { color: #c4cdd1; font-size: 7px; }
.guide-progress__track { height: 3px; margin-top: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.guide-progress__track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--blue)); transition: width .6s var(--ease); }
.guide-progress p { margin-top: 6px; font-size: 7.5px; line-height: 1.5; color: #5d6972; }
.button--guide { width: 100%; height: 44px; margin-top: 13px; padding: 0 14px; justify-content: space-between; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); font-size: 9.5px; color: #dfe6e2; border-radius: 8px; }
.button--guide .icon { width: 14px; height: 14px; transition: transform .25s; }
.button--guide:hover { background: rgba(118,247,212,.1); border-color: rgba(118,247,212,.32); color: var(--mint); }
.button--guide:hover .icon { transform: translateX(3px); }

.free-note { display: flex; align-items: center; gap: 20px; margin-top: 34px; }
.free-note__line { flex: 1; height: 1px; background: var(--line-soft); }
.free-note p { display: inline-flex; align-items: center; gap: 7px; font-size: 9px; color: #606c75; white-space: nowrap; }
.free-note p .icon { width: 12px; height: 12px; color: var(--mint); }
.free-note strong { color: #a4afb6; font-weight: 500; }

/* ---------- Experience guide section ---------- */

.guide-section { background: linear-gradient(180deg, transparent, rgba(12,16,22,.55) 45%, transparent); }
.guide-section__head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 60px; padding: 52px 0 54px; }
.guide-section__head p { max-width: 360px; justify-self: end; color: #8d99a1; font-size: 13.5px; line-height: 1.9; padding-bottom: 6px; }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.experience-card {
  position: relative;
  min-height: 240px;
  padding: 24px 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: background .35s;
}
.experience-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -50px; bottom: -70px; border-radius: 50%; background: var(--accent); filter: blur(65px); opacity: 0; transition: opacity .4s; }
.experience-card:hover { background: rgba(255,255,255,.022); }
.experience-card:hover::after { opacity: .12; }
.experience-card__head { display: flex; justify-content: space-between; align-items: flex-start; }
.experience-card__head span { font-family: var(--font-display); font-size: 9px; color: #5f6c75; letter-spacing: .1em; }
.experience-card__head .icon { width: 21px; height: 21px; color: var(--accent); stroke-width: 1.4; }
.experience-card h3 { margin-top: 42px; font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: -.04em; }
.experience-card p { max-width: 440px; margin-top: 9px; font-size: 10.5px; line-height: 1.8; color: #7e8b94; }
.experience-card__meta { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 19px; }
.experience-card__meta span { padding: 3px 6px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--font-display); font-size: 5.5px; letter-spacing: .1em; color: #697681; }
.guide-section__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 30px; }
.guide-section__footer p { font-size: 11px; color: #6c7982; }

/* ---------- Contact ---------- */

.contact { overflow: hidden; border-top: 1px solid var(--line-soft); background: #080b0f; }
.contact__glow { position: absolute; width: 60vw; height: 60vw; max-width: 850px; max-height: 850px; right: -12%; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(118,247,212,.1), rgba(154,182,255,.04) 40%, transparent 68%); filter: blur(20px); pointer-events: none; }
.contact .section-shell { position: relative; }
.contact__top { display: flex; justify-content: space-between; gap: 30px; }
.contact__top .section-index { flex: 1; }
.contact__top > p { font-family: var(--font-display); font-size: 8px; letter-spacing: .17em; color: #56626b; }
.contact__body { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 7vw, 120px); align-items: start; padding: 62px 0 92px; }
.contact__body .display-title { max-width: 700px; }
.contact__card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,.018)); backdrop-filter: blur(10px); }
.contact__kicker { font-family: var(--font-display); font-size: 7px; letter-spacing: .16em; color: #6b7881; }
.contact__phone { display: block; margin: 12px 0 22px; font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 2.5rem); letter-spacing: -.04em; transition: color .25s; }
.contact__phone:hover { color: var(--mint); }
.contact__links { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
.contact__links a { display: grid; grid-template-columns: 55px 1fr 16px; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.contact__links a span { font-family: var(--font-display); font-size: 5.5px; letter-spacing: .1em; color: #5d6972; }
.contact__links a strong { font-size: 10px; font-weight: 400; color: #c4ccd1; }
.contact__links a .icon { width: 12px; height: 12px; color: #64717a; transition: transform .25s, color .25s; }
.contact__links a:hover strong { color: var(--mint); }
.contact__links a:hover .icon { transform: translate(2px, -2px); color: var(--mint); }
.contact__address { display: grid; grid-template-columns: 55px 1fr; gap: 8px; padding: 13px 0 0; }
.contact__address span { font-family: var(--font-display); font-size: 5.5px; letter-spacing: .1em; color: #5d6972; padding-top: 3px; }
.contact__address p { font-size: 9.5px; line-height: 1.7; color: #89959d; }
.contact__person { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line-soft); }
.contact__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(118,247,212,.25); background: rgba(118,247,212,.07); color: var(--mint); font-family: var(--font-display); font-size: 9px; }
.contact__person p { display: flex; flex-direction: column; gap: 1px; }
.contact__person strong { font-size: 9px; font-weight: 500; }
.contact__person small { font-family: var(--font-display); font-size: 5px; letter-spacing: .1em; color: #5f6c75; }
.contact__marquee { display: flex; align-items: center; gap: 35px; padding: 19px 0 4px; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(1.5rem, 3.7vw, 3.3rem); letter-spacing: -.03em; color: rgba(255,255,255,.055); white-space: nowrap; overflow: hidden; }
.contact__marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); opacity: .55; flex: none; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line-soft); padding: 38px var(--gutter) 44px; background: #06080b; }
.site-footer__inner { width: min(100%, 1600px); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr 1.4fr; align-items: start; gap: 40px; }
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.brand__glyph--sm { width: 31px; height: 31px; flex: none; }
.footer-brand strong { font-family: var(--font-display); font-size: 15px; letter-spacing: -.035em; }
.footer-brand strong span { color: var(--mint); }
.footer-brand p { margin-top: 4px; font-size: 8px; color: #5d6a73; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; justify-self: center; padding-top: 4px; }
.footer-links a { font-size: 9px; color: #89959d; transition: color .2s; }
.footer-links a:hover { color: var(--mint); }
.footer-meta { justify-self: end; text-align: right; }
.footer-meta p:first-child { font-family: var(--font-display); font-size: 7.5px; letter-spacing: .09em; color: #7b8891; }
.footer-meta p:last-child { max-width: 470px; margin-top: 7px; font-size: 7.5px; line-height: 1.75; color: #55616a; }

/* ---------- Help modal ---------- */

.help-modal { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 20px; }
.help-modal[hidden] { display: none; }
.help-modal__backdrop { position: absolute; inset: 0; background: rgba(2,4,6,.78); backdrop-filter: blur(10px); animation: fadeIn .25s; }
.help-modal__panel {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  max-height: 90svh;
  overflow-y: auto;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: linear-gradient(150deg, #131a21, #090c10 70%);
  box-shadow: 0 50px 120px rgba(0,0,0,.65);
  animation: modalIn .4s var(--ease);
}
.help-modal__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 50%; color: #aab4bb; }
.help-modal__close .icon { width: 15px; height: 15px; }
.help-modal__panel h2 { margin-top: 19px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 500; }
.help-modal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.help-modal__grid > div { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); }
.help-modal__grid span { font-family: var(--font-display); font-size: 8px; color: var(--mint); letter-spacing: .1em; }
.help-modal__grid h3 { margin-top: 13px; font-size: 12px; font-weight: 500; }
.help-modal__grid p { margin-top: 6px; font-size: 9px; line-height: 1.7; color: #7f8b94; }
.help-modal__grid b { color: #c3ccd2; font-weight: 500; }
.help-modal__footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.help-modal__footer p { display: flex; align-items: center; gap: 7px; font-size: 9px; color: #7f8b94; }
.help-modal__footer p .icon { width: 13px; height: 13px; color: var(--mint); }
.help-modal__footer .button { height: 45px; padding: 0 9px 0 19px; font-size: 11px; flex: none; }
.help-modal__footer .button .icon { width: 15px; height: 15px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes viewerIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(5px); } }

/* ---------- Keyframes ---------- */

@keyframes pulseDot { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(118,247,212,.28); } 50% { opacity: .7; box-shadow: 0 0 0 5px rgba(118,247,212,0); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes auroraSpin { to { transform: rotate(360deg); } }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes phoneFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes tagFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes drift { 0%,100% { transform: translate(0,0); opacity: .3; } 50% { transform: translate(14px,-18px); opacity: .8; } }
@keyframes orbBreathe { 0%,100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.06); filter: brightness(1.16); } }
@keyframes pulseBar { 0%,100% { height: 5px; opacity: .35; } 50% { height: 17px; opacity: 1; } }
@keyframes typingDot { 0%,60%,100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes cameraFlash { 0% { opacity: 0; } 12% { opacity: .92; } 100% { opacity: 0; } }
@keyframes vinylSpin { to { transform: rotate(360deg); } }
@keyframes eqBar { 0% { height: 12%; } 100% { height: 95%; } }
@keyframes videoProgress { from { width: 38%; } to { width: 100%; } }

/* ---------- Responsive ---------- */

@media (max-width: 1400px) {
  .lab { grid-template-columns: 252px minmax(0, 1fr) 306px; gap: 14px; }
  .feature-card { grid-template-columns: 17px 36px minmax(0,1fr) 16px; gap: 7px; padding: 8px 7px; min-height: 65px; }
  .feature-card__icon { width: 36px; height: 36px; }
  .feature-card__body strong { font-size: 10.5px; }
  .feature-card__body small { font-size: 7.8px; }
  .guide-panel { padding: 18px 17px 16px; }
  .guide-panel h3 { font-size: 1.45rem; }
}

@media (max-width: 1240px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(410px, .9fr); }
  .hero-title { font-size: clamp(4.6rem, 8.6vw, 8rem); }
  .hero-phone { width: 220px; height: 464px; }
  .float-card--ai { right: -2%; }
  .site-nav { gap: 20px; margin-left: 8px; }
  .concept-tag { display: none; }
  .lab { grid-template-columns: 238px minmax(0, 1fr) 294px; }
  .device { width: 312px; height: 662px; }
  .device[data-mode="closed"] { width: 306px; height: 364px; }
  .cover-mini-stats { display: none; }
  .device[data-mode="flex"] { height: 620px; }
  .stage-canvas { min-height: 690px; }
  .stage-hint { bottom: 14px; }
  .stage-caption { display: none; }
}

@media (max-width: 1080px) {
  .hero { padding-top: 126px; }
  .hero__inner { grid-template-columns: 1fr 390px; gap: 8px; }
  .hero__visual { min-height: 570px; }
  .hero-phone { width: 198px; height: 418px; }
  .hero-phone__core { padding: 30px 17px 0; }
  .ai-orb--hero { width: 95px; height: 95px; margin-bottom: 17px; }
  .hero-phone__core h2 { font-size: 14px; }
  .hero-phone__widget { bottom: 61px; padding: 8px; }
  .hero-phone__widget small { display: none; }
  .hero-phone__dock { bottom: 24px; }
  .float-card { display: none; }
  .orbit-tag--mobile, .orbit-tag--future { display: none; }
  .orbit-coord { display: none; }
  .site-nav { display: none; }
  .menu-button { display: block; }
  .header-link { display: none; }
  .header-edu { display: inline-flex; }
  .site-header__actions { gap: 12px; }
  .lab {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-rows: auto 1fr;
  }
  .feature-rail { grid-column: 1 / -1; grid-row: 1; padding-bottom: 11px; }
  .feature-list {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 205px;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 3px;
  }
  .feature-list::-webkit-scrollbar { display: none; }
  .feature-card { min-height: 56px; }
  .rail-note { display: none; }
  .device-stage { grid-column: 1; grid-row: 2; }
  .guide-panel { grid-column: 2; grid-row: 2; }
  .stage-canvas { min-height: 625px; }
  .device { width: 292px; height: 620px; }
  .device[data-mode="closed"] { width: 286px; height: 350px; }
  .device[data-mode="flex"] { height: 585px; }
  .stage-top { padding: 11px 12px; flex-wrap: wrap; }
  .stage-title small { display: none; }
  .mode-button { padding: 0 7px; }
  .guide-panel h3 { font-size: 1.3rem; }
  .guide-tip { display: none; }
  .guide-visual { min-height: 96px; }
  .guide-visual__orbit { width: 96px; height: 96px; }
  .guide-visual__orbit b { font-size: 24px; }
  .guide-panel__desc { font-size: 9.5px; min-height: 52px; }
  .guide-steps { gap: 8px; }
}

@media (max-width: 900px) {
  .cover-mini-stats { display: none; }
  .hero { padding: 118px var(--gutter) 86px; min-height: auto; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 30px; }
  .hero__copy { max-width: 700px; }
  .hero-title { font-size: clamp(4.6rem, 15vw, 8.2rem); margin-top: 20px; }
  .hero__visual { min-height: 520px; margin-top: 10px; }
  .orbit-stage { width: min(100%, 540px); }
  .hero-phone { width: 216px; height: 456px; }
  .hero-side-note { display: none; }
  .hero-proof { margin-top: 37px; }
  .manifesto__head { grid-template-columns: 1fr; gap: 28px; }
  .manifesto__lead { max-width: 560px; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(1), .pillar:nth-child(2) { border-bottom: 1px solid var(--line); }
  .pillar:nth-child(3) { border-left: 1px solid var(--line); }
  .pillar { min-height: 300px; }
  .sim-head { grid-template-columns: 1fr; gap: 22px; }
  .sim-head__aside { justify-self: start; max-width: 600px; }
  .lab { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .feature-rail { grid-column: 1; grid-row: 1; }
  .device-stage { grid-column: 1; grid-row: 2; }
  .guide-panel { grid-column: 1; grid-row: 3; display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; padding: 22px; }
  .guide-panel__head { grid-column: 1 / -1; }
  .guide-panel__icon { grid-column: 1; grid-row: 2; margin-top: 22px; width: 54px; height: 54px; }
  .guide-panel__kicker { grid-column: 2; grid-row: 2; margin-top: 20px; }
  .guide-panel h3 { grid-column: 2; grid-row: 3; margin-top: 0; }
  .guide-panel__desc { grid-column: 2; grid-row: 4; margin-top: 8px; min-height: 0; }
  .guide-steps { grid-column: 2; grid-row: 5; }
  .guide-progress { grid-column: 1 / -1; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
  .button--guide { grid-column: 1 / -1; margin-top: 10px; }
  .guide-panel__head { padding-bottom: 13px; }
  .guide-visual { display: none; }
  .stage-canvas { min-height: 660px; }
  .device { width: 306px; height: 648px; }
  .device[data-mode="closed"] { width: 300px; height: 358px; }
  .device[data-mode="flex"] { height: 610px; }
  .contact__body { grid-template-columns: 1fr; gap: 40px; padding-bottom: 70px; }
  .contact__card { max-width: 520px; }
  .contact__top > p { display: none; }
  .contact__marquee { gap: 24px; }
  .guide-section__head { grid-template-columns: 1fr; gap: 22px; }
  .guide-section__head p { justify-self: start; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-meta { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .footer-links { justify-self: end; }
  .help-modal__grid { grid-template-columns: 1fr; }
  .help-modal__footer { flex-direction: column; align-items: flex-start; }
  .help-modal__footer .button { width: 100%; justify-content: space-between; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; --radius: 18px; }
  .site-header { height: 68px; }
  .site-header.is-scrolled { height: 62px; }
  .site-header__inner { gap: 12px; padding: 0 17px; }
  .brand__glyph { width: 30px; height: 30px; }
  .brand__type strong { font-size: 15px; }
  .brand__type small { font-size: 6px; }
  .mobile-menu { top: 62px; }
  .hero { padding: 94px var(--gutter) 58px; }
  .hero-title { font-size: clamp(3.55rem, 17.5vw, 6rem); line-height: .86; margin: 20px 0 18px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { gap: 16px; flex-wrap: wrap; margin-top: 23px; }
  .button { height: 49px; padding-left: 20px; font-size: 12px; }
  .button__icon { width: 34px; height: 34px; }
  .text-link { font-size: 10px; }
  .hero-proof { display: none; }
  .hero__visual { height: 400px; min-height: 400px; margin-top: 0; }
  .orbit-stage { width: 390px; max-width: 116%; transform: scale(.92); }
  .hero-phone { width: 180px; height: 380px; }
  .hero-phone__bar { padding: 7px 13px 0; font-size: 6px; }
  .hero-phone__core { padding: 24px 14px 0; }
  .ai-orb--hero { width: 82px; height: 82px; margin-bottom: 14px; }
  .hero-phone__core h2 { font-size: 12.5px; }
  .hero-phone__kicker { font-size: 5.5px; }
  .hero-phone__pulse { margin-top: 11px; height: 18px; }
  .hero-phone__widget { left: 12px; right: 12px; bottom: 54px; border-radius: 11px; }
  .hero-phone__widget-icon { width: 23px; height: 23px; border-radius: 7px; }
  .hero-phone__widget strong { font-size: 6.5px; }
  .hero-phone__widget b { font-size: 7px; }
  .hero-phone__dock { bottom: 20px; gap: 6px; }
  .hero-phone__dock i { width: 21px; height: 21px; border-radius: 6px; }
  .orbit-tag { font-size: 6.5px; padding: 4px 7px; }
  .orbit-tag--ai { top: 10%; left: 8%; }
  .orbit-tag--edu { top: 22%; right: 1%; }
  .marquee { height: 44px; }
  .marquee__track { font-size: 8px; gap: 26px; animation-duration: 34s; }
  .section { padding: 86px var(--gutter); }
  .section-index { font-size: 7px; gap: 12px; padding-bottom: 13px; }
  .section-index span:last-child { text-align: right; }
  .display-title { font-size: clamp(2.55rem, 12vw, 4rem); line-height: 1.08; }
  .display-title--sm { font-size: clamp(2.3rem, 10.5vw, 3.5rem); }
  .manifesto__head { padding: 42px 0 52px; }
  .manifesto__lead { font-size: 13px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 250px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px; }
  .pillar:last-child { border-bottom: 0; }
  .pillar h3 { padding-top: 32px; font-size: 1.55rem; }
  .pillar p { max-width: 400px; }
  .sim-head .section-index { margin-bottom: 32px; }
  .sim-head__aside p { font-size: 12px; }
  .lab { margin-top: 38px; gap: 10px; }
  .feature-rail { padding: 11px 9px 9px; }
  .feature-list { grid-auto-columns: 188px; }
  .feature-card { grid-template-columns: 32px minmax(0,1fr) 14px; min-height: 50px; padding: 7px; gap: 7px; }
  .feature-card__num { display: none; }
  .feature-card__icon { width: 32px; height: 32px; border-radius: 9px; }
  .feature-card__icon .icon { width: 15px; height: 15px; }
  .feature-card__body strong { font-size: 9.5px; }
  .feature-card__body small { font-size: 7px; }
  .feature-card__arrow { opacity: .5; }
  .stage-top { gap: 9px; }
  .stage-title { font-size: 7.5px; }
  .mode-switch { margin-left: auto; }
  .mode-button { height: 25px; padding: 0 6px; font-size: 7.5px; }
  .mode-button .icon { width: 10px; height: 10px; }
  .stage-canvas { min-height: 574px; padding: 18px 8px 20px; }
  .device { width: 270px; height: 572px; }
  .device[data-mode="closed"] { width: 264px; height: 364px; }
  .device[data-mode="flex"] { height: 538px; }
  .cover-mini-stats { display: none; }
  .device__frame { border-radius: 40px; padding: 6px; }
  .device__bezel { border-radius: 35px; }
  .device__screen, .cover-screen { border-radius: 32px; }
  .stage-hint { display: none; }
  .stage-bottom { padding: 10px 12px; }
  .stage-pagination { display: none; }
  .guide-panel { padding: 17px; display: block; }
  .guide-panel__head { display: flex; }
  .guide-panel__icon { width: 43px; height: 43px; margin-top: 17px; }
  .guide-panel__kicker { margin-top: 14px; }
  .guide-panel h3 { margin-top: 5px; font-size: 1.3rem; }
  .guide-panel__desc { margin-top: 8px; min-height: 0; font-size: 9.5px; }
  .guide-steps { margin-top: 14px; }
  .guide-progress { margin-top: 16px; }
  .free-note { gap: 10px; margin-top: 25px; }
  .free-note__line { display: none; }
  .free-note p { white-space: normal; font-size: 8px; line-height: 1.6; }
  .guide-section__head { padding: 38px 0; }
  .guide-section__head p { font-size: 12px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: 225px; padding: 20px; }
  .experience-card h3 { margin-top: 28px; }
  .guide-section__footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact__body { padding: 40px 0 55px; }
  .contact__card { padding: 20px; }
  .contact__phone { font-size: 2rem; }
  .contact__links a { grid-template-columns: 45px 1fr 14px; }
  .contact__address { grid-template-columns: 45px 1fr; }
  .contact__marquee { font-size: 1.35rem; gap: 15px; }
  .site-footer { padding: 28px 18px 36px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }
  .footer-meta { grid-column: auto; }
  .help-modal { padding: 10px; }
  .help-modal__panel { border-radius: 18px; padding: 25px 19px; }
  .help-modal__grid { margin-top: 23px; gap: 8px; }
  .help-modal__footer { margin-top: 23px; }
  .cursor-glow { display: none; }
}

@media (max-width: 380px) {
  .device { width: 250px; height: 532px; }
  .device[data-mode="closed"] { width: 246px; height: 356px; }
  .device[data-mode="flex"] { height: 500px; }
  .stage-canvas { min-height: 540px; }
  .hero-title { font-size: 3.4rem; }
}

@media (max-width: 1080px) {
  .fold-hero { transform: scale(.9); transform-origin: center center; }
}
@media (max-width: 900px) {
  .fold-hero { transform: scale(.82); }
}
@media (max-width: 640px) {
  .fold-hero { transform: translateY(-58px) scale(.64); }
  .fold-hero[data-fold="closed"] .fold-device { transform: translate3d(0, 0, 8px); }
  .fold-replay { display: none; }
}
@media (max-width: 380px) {
  .fold-hero { transform: translateY(-52px) scale(.58); }
  .hero__visual { height: 380px; min-height: 380px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .boot { display: none; }
  .hero-reveal, .reveal { opacity: 1; transform: none; animation-delay: 0s !important; }
  .fold-hero.force-motion .fold-device { transition: transform 1.5s cubic-bezier(.65, 0, .35, 1) !important; }
  .fold-hero.force-motion .fold-half--bottom { transition: transform 1.5s cubic-bezier(.65, 0, .35, 1) !important; }
  .fold-hero.force-motion .fold-backplate,
  .fold-hero.force-motion .fold-shell {
    transition: top 1.5s cubic-bezier(.65, 0, .35, 1), height 1.5s cubic-bezier(.65, 0, .35, 1) !important;
  }
  .fold-hero.force-motion .fold-frame::after { animation-duration: .85s !important; animation-iteration-count: 1 !important; }
  .fold-hero.force-motion .fold-sparkles i { animation-duration: 1.1s !important; animation-iteration-count: 1 !important; }
}
