:root {
  color-scheme: dark;
  --bg: #07090f;
  --bg-soft: #0e131d;
  --panel: #121925;
  --panel-strong: #182231;
  --text: #f7fbff;
  --muted: #9aa8ba;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #35f2a6;
  --accent-strong: #72f7d2;
  --cyan: #56c7ff;
  --rose: #ff6b9a;
  --warning: #ffc857;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(53, 242, 166, 0.18), transparent 36rem),
    radial-gradient(circle at 82% 12%, rgba(86, 199, 255, 0.16), transparent 30rem),
    linear-gradient(180deg, #07090f 0%, #0a0f17 48%, #080b11 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 76%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 9, 15, 0.78);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav .nav-cta {
  color: #06100c;
  background: var(--accent);
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1fr);
  align-items: center;
  gap: 52px;
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 54px 0 42px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: #d8e3ee;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: #06100c;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 40px rgba(53, 242, 166, 0.22);
}

.button.secondary {
  color: #dce8f5;
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats dt {
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  display: grid;
  place-items: center;
  align-self: center;
  overflow: visible;
}

.phone-shell {
  width: min(100%, 390px);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 38px;
  background: linear-gradient(145deg, #202a3a, #080c13 48%, #1a2534);
  box-shadow: var(--shadow);
}

.main-phone {
  transform: translateY(-32px) rotate(2deg);
  transform-origin: center;
  animation: phoneFloat 6s ease-in-out infinite;
}

.phone-top {
  display: flex;
  justify-content: center;
  height: 18px;
}

.phone-top span {
  width: 72px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.app-preview {
  padding: 16px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(86, 199, 255, 0.08), transparent 28%),
    #0a0f17;
  overflow: hidden;
}

.screenshot-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 100%;
  padding: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #dce8f5;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%) 0 0 / 28px 28px,
    linear-gradient(315deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%) 0 0 / 28px 28px,
    rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.screenshot-placeholder::before {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  content: "";
  background:
    radial-gradient(circle at 68% 30%, var(--accent) 0 5px, transparent 6px),
    linear-gradient(135deg, rgba(86, 199, 255, 0.34), rgba(53, 242, 166, 0.18));
}

.screenshot-placeholder span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.screenshot-placeholder strong {
  font-size: 18px;
}

.screenshot-placeholder em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.app-screenshot,
.screen-shot-frame img,
.feature-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-shot {
  display: block;
  aspect-ratio: 9 / 20;
  min-height: 560px;
  border-radius: 22px;
}

.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.app-bar small,
.prompt-box span,
.control-row span,
.control-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.app-bar strong {
  font-size: 21px;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent);
}

.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.segment span {
  padding: 7px 6px;
  border-radius: 999px;
}

.segment .active {
  color: #04110c;
  background: var(--accent);
}

.preview-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.preview-frame {
  position: relative;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 26%, rgba(255, 255, 255, 0.45), transparent 9px),
    linear-gradient(145deg, rgba(86, 199, 255, 0.46), rgba(255, 107, 154, 0.24) 56%, rgba(53, 242, 166, 0.2));
}

.preview-frame::after {
  position: absolute;
  inset: auto 8px 8px;
  height: 9px;
  border-radius: 999px;
  content: "";
  background: rgba(7, 9, 15, 0.5);
}

.frame-b {
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 200, 87, 0.55), transparent 13px),
    linear-gradient(145deg, rgba(53, 242, 166, 0.34), rgba(86, 199, 255, 0.36), rgba(255, 107, 154, 0.2));
}

.frame-c {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.4), transparent 11px),
    linear-gradient(145deg, rgba(255, 107, 154, 0.32), rgba(86, 199, 255, 0.4), rgba(53, 242, 166, 0.18));
}

.prompt-box,
.control-row,
.control-grid div {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.prompt-box {
  min-height: 102px;
  padding: 11px;
  margin-bottom: 8px;
  border-radius: 8px;
}

.prompt-box p {
  margin: 6px 0 0;
  color: #eaf3fb;
  font-size: 13px;
  line-height: 1.45;
}

.control-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 8px;
  border-radius: 8px;
}

.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 8px;
}

.control-grid div {
  padding: 8px 9px;
  border-radius: 8px;
}

.mock-primary {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: #06100c;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(53, 242, 166, 0.24);
  animation: pulseCta 2.8s ease-in-out infinite;
}

.render-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  align-items: center;
  margin: -1px 0 8px;
  padding: 7px 9px;
  border: 1px solid rgba(53, 242, 166, 0.24);
  border-radius: 8px;
  background: rgba(53, 242, 166, 0.08);
}

.render-status span {
  grid-row: 1 / 3;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.render-status strong {
  font-size: 12px;
}

.render-status em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.section {
  padding: 82px 0;
}

.section-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.split,
.setup-grid,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.intro-band,
.soft-band,
.setup-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.section h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.screens-section .section-heading,
#features .section-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.screen-card,
.principles article,
.faq-list details,
.setup-box,
.feature-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 25, 37, 0.76);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.18);
}

.screen-card {
  padding: 14px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.screen-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 242, 166, 0.32);
  background: rgba(22, 31, 46, 0.88);
}

.screen-card h3 {
  margin: 14px 0 6px;
  font-size: 18px;
}

.screen-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.screen-shot-frame {
  position: relative;
  aspect-ratio: 9 / 20;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0f17;
}

.screen-shot-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 18%),
    linear-gradient(0deg, rgba(7, 9, 15, 0.24), transparent 34%);
}

.mini-screen {
  position: relative;
  min-height: 300px;
  padding: 18px;
  border-radius: 8px;
  background: #0a0f17;
  overflow: hidden;
}

.mini-screen::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(110deg, transparent 0 36%, rgba(255, 255, 255, 0.08) 44%, transparent 52%);
  transform: translateX(-120%);
  animation: screenSheen 7s ease-in-out infinite;
}

.mini-screen.screenshot-placeholder {
  padding: 18px;
}

.mini-screen.screenshot-placeholder::before {
  position: static;
  inset: auto;
  transform: none;
  animation: none;
}

.mini-app-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.mini-app-bar i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 3px, transparent 4px),
    rgba(255, 255, 255, 0.08);
}

.mini-mode {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  text-align: center;
}

.mini-mode b,
.mini-mode span {
  padding: 6px 4px;
  border-radius: 999px;
}

.mini-mode b {
  color: #06100c;
  background: var(--accent);
}

.mini-video-canvas {
  position: relative;
  z-index: 1;
  min-height: 86px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 200, 87, 0.55), transparent 18px),
    linear-gradient(160deg, rgba(86, 199, 255, 0.36), rgba(255, 107, 154, 0.24) 46%, rgba(7, 9, 15, 0.94) 78%);
}

.mini-horizon {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.mini-subject {
  position: absolute;
  left: 46%;
  bottom: 16px;
  width: 18px;
  height: 38px;
  border-radius: 999px 999px 5px 5px;
  background: rgba(10, 15, 23, 0.82);
  box-shadow: 0 0 24px rgba(53, 242, 166, 0.24);
}

.mini-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(53, 242, 166, 0.18), transparent);
  animation: scanline 3.8s linear infinite;
}

.mini-input {
  position: relative;
  z-index: 1;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.mini-input small {
  color: var(--muted);
  font-size: 10px;
}

.mini-input p {
  margin: 4px 0 0;
  color: #dfeaf4;
  font-size: 11px;
  line-height: 1.45;
}

.mini-param-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 10px;
}

.mini-param-grid span {
  padding: 8px 4px;
  border-radius: 8px;
  color: #dce8f5;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.mini-generate {
  position: relative;
  z-index: 1;
  padding: 9px;
  border-radius: 999px;
  color: #06100c;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.orbit-card {
  position: relative;
  z-index: 1;
  min-height: 57px;
  padding: 11px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
}

.orbit-card strong,
.orbit-card small {
  display: block;
}

.orbit-card small {
  color: var(--muted);
  font-size: 11px;
}

.active-task {
  border-left-color: var(--accent);
}

.done-task {
  border-left-color: var(--cyan);
}

.failed-task {
  border-left-color: var(--rose);
}

.orbit-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0 68%, rgba(255, 255, 255, 0.12) 68%);
}

.orbit-log {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.orbit-log code {
  color: #b9c7d8;
  font-size: 10px;
}

.gallery-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.gallery-toolbar span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 800;
}

.gallery-toolbar span:first-child {
  color: #06100c;
  background: var(--accent);
}

.mini-title {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 900;
}

.mini-pill,
.mini-block,
.mini-row,
.mini-button,
.task-card,
.field,
.connection-ok {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.mini-pill {
  width: 100%;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0 50%, rgba(255, 255, 255, 0.08) 50%);
}

.mini-block {
  height: 92px;
  margin-top: 14px;
}

.mini-row {
  height: 44px;
  margin-top: 14px;
}

.mini-button {
  height: 42px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--accent);
}

.task-card {
  height: 64px;
  margin-bottom: 12px;
  border-left: 4px solid var(--cyan);
}

.task-card.live {
  border-left-color: var(--accent);
}

.task-card.error {
  border-left-color: var(--rose);
}

.masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.masonry i {
  position: relative;
  display: block;
  min-height: 82px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(86, 199, 255, 0.42), rgba(255, 107, 154, 0.24));
}

.rich-masonry i::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  background:
    radial-gradient(circle at 65% 28%, rgba(255, 255, 255, 0.45), transparent 13px),
    linear-gradient(160deg, transparent, rgba(7, 9, 15, 0.5));
}

.rich-masonry b {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 1;
  padding: 2px 5px;
  border-radius: 999px;
  color: #dfeaf4;
  background: rgba(0, 0, 0, 0.48);
  font-size: 9px;
}

.gallery-player {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.gallery-player span {
  width: 22px;
  height: 22px;
  clip-path: polygon(24% 15%, 24% 85%, 82% 50%);
  background: var(--accent);
}

.gallery-player strong {
  font-size: 12px;
}

.settings-field {
  position: relative;
  z-index: 1;
  display: block;
  padding: 11px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
}

.settings-field span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.settings-field b {
  display: block;
  overflow: hidden;
  color: #eaf3fb;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-field.compact {
  width: 86%;
}

.secure-note,
.release-chip {
  position: relative;
  z-index: 1;
  border-radius: 8px;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px;
  margin-top: 12px;
  color: #dffcef;
  background: rgba(53, 242, 166, 0.1);
  font-size: 12px;
}

.secure-note span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.release-chip {
  margin-top: 10px;
  padding: 9px 10px;
  color: #b9d9ff;
  background: rgba(86, 199, 255, 0.12);
  font-size: 11px;
  font-weight: 900;
}

.masonry i:nth-child(2),
.masonry i:nth-child(3) {
  min-height: 118px;
}

.field {
  height: 46px;
  margin-bottom: 14px;
}

.field.short {
  width: 78%;
}

.connection-ok {
  width: 56%;
  height: 30px;
  background: rgba(53, 242, 166, 0.28);
}

.mini-button.muted {
  background: rgba(86, 199, 255, 0.38);
}

.feature-panel {
  padding: 18px;
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.feature-tab {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.feature-tab.is-active {
  color: #06100c;
  border-color: transparent;
  background: var(--accent);
  font-weight: 900;
}

.feature-content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: center;
  min-height: 300px;
  padding: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(53, 242, 166, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.045);
}

.feature-kicker {
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-weight: 900;
}

.feature-content h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
}

.feature-diagram,
.feature-shot {
  position: relative;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 16%, rgba(53, 242, 166, 0.18), transparent 48px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.18));
  overflow: hidden;
}

.feature-shot {
  display: grid;
  place-items: center;
  padding: 16px;
  border-style: solid;
}

.feature-shot img {
  width: auto;
  max-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.feature-diagram::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  content: "";
}

.diagram-phone {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 42%;
  min-width: 150px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(7, 9, 15, 0.88);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.26);
}

.diagram-topline,
.diagram-prompt,
.diagram-controls i,
.diagram-task,
.diagram-field,
.diagram-chip {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.diagram-topline {
  width: 58%;
  height: 10px;
  margin-bottom: 10px;
}

.diagram-canvas {
  position: relative;
  min-height: 76px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 200, 87, 0.68), transparent 18px),
    linear-gradient(145deg, rgba(86, 199, 255, 0.54), rgba(255, 107, 154, 0.24), rgba(7, 9, 15, 0.9));
}

.diagram-canvas span {
  position: absolute;
  left: 45%;
  bottom: 14px;
  width: 16px;
  height: 34px;
  border-radius: 999px 999px 4px 4px;
  background: rgba(7, 9, 15, 0.78);
}

.diagram-prompt {
  height: 36px;
  margin-bottom: 10px;
}

.diagram-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.diagram-controls i {
  height: 24px;
}

.diagram-side {
  position: absolute;
  right: 28px;
  bottom: 30px;
  display: grid;
  gap: 10px;
  width: 44%;
}

.diagram-side span,
.diagram-side strong,
.diagram-side em {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

.diagram-side strong {
  color: #06100c;
  background: var(--accent);
}

.feature-queue {
  background:
    linear-gradient(180deg, rgba(53, 242, 166, 0.12) 0 3px, transparent 3px 34px),
    rgba(0, 0, 0, 0.2);
  background-size: 100% 34px;
}

.queue-board {
  position: absolute;
  inset: 30px 28px;
  display: grid;
  gap: 12px;
}

.diagram-task {
  position: relative;
  min-height: 58px;
  padding: 13px;
  border-left: 4px solid var(--cyan);
}

.diagram-task::before,
.diagram-task::after {
  display: block;
  width: 46%;
  height: 8px;
  margin-bottom: 8px;
  border-radius: 999px;
  content: "";
  background: rgba(255, 255, 255, 0.7);
}

.diagram-task::after {
  width: 72%;
  opacity: 0.35;
}

.diagram-task.active {
  border-left-color: var(--accent);
}

.diagram-task.failed {
  border-left-color: var(--rose);
}

.diagram-task.active span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--accent) 0 68%, rgba(255, 255, 255, 0.14) 68%);
  animation: progressGlow 2.4s ease-in-out infinite;
}

.feature-gallery {
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 107, 154, 0.28), transparent 54px),
    radial-gradient(circle at 70% 60%, rgba(86, 199, 255, 0.28), transparent 58px),
    rgba(0, 0, 0, 0.2);
}

.gallery-board {
  position: absolute;
  inset: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.gallery-tile {
  position: relative;
  min-height: 86px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.44), transparent 16px),
    linear-gradient(145deg, rgba(86, 199, 255, 0.48), rgba(255, 107, 154, 0.28));
}

.gallery-tile:nth-child(2),
.gallery-tile:nth-child(3) {
  min-height: 126px;
}

.gallery-tile span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #dfeaf4;
  background: rgba(0, 0, 0, 0.5);
  font-size: 10px;
}

.feature-settings {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 44px),
    linear-gradient(180deg, rgba(53, 242, 166, 0.13), transparent),
    rgba(0, 0, 0, 0.2);
}

.settings-board {
  position: absolute;
  inset: 30px;
  display: grid;
  gap: 12px;
  align-content: center;
}

.diagram-field {
  padding: 12px;
}

.diagram-field span,
.diagram-field b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diagram-field span {
  color: var(--muted);
  font-size: 11px;
}

.diagram-field b {
  color: #eaf3fb;
  font-size: 13px;
}

.diagram-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 12px;
  color: #dffcef;
  background: rgba(53, 242, 166, 0.12);
  font-weight: 900;
}

.diagram-chip::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principles article {
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.principles article:hover,
.faq-list details:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 242, 166, 0.28);
}

.principles span {
  color: var(--accent);
  font-weight: 900;
}

.principles h3 {
  margin: 16px 0 8px;
  font-size: 22px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.timeline div {
  padding: 24px;
  border-top: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease;
}

.timeline div:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.035);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #06100c;
  background: var(--accent);
  font-weight: 900;
}

.setup-box {
  padding: 24px;
}

.setup-box span {
  display: block;
  margin: 14px 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.setup-box span:first-child {
  margin-top: 0;
}

.setup-box code {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #e9fff7;
  background: rgba(0, 0, 0, 0.22);
  white-space: normal;
  word-break: break-word;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(-32px) rotate(2deg);
  }

  50% {
    transform: translateY(-44px) rotate(2deg);
  }
}

@keyframes pulseCta {
  0%,
  100% {
    box-shadow: 0 14px 34px rgba(53, 242, 166, 0.22);
  }

  50% {
    box-shadow: 0 18px 46px rgba(53, 242, 166, 0.38);
  }
}

@keyframes screenSheen {
  0%,
  40% {
    transform: translateX(-120%);
  }

  68%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes scanline {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(100%);
  }
}

@keyframes progressGlow {
  0%,
  100% {
    opacity: 0.76;
  }

  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 46px;
  color: var(--muted);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
}

.site-footer img {
  border-radius: 10px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(7, 9, 15, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    text-align: center;
  }

  .hero,
  .split,
  .setup-grid,
  .faq-layout,
  .feature-content {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-visual {
    place-items: center;
  }

  .main-phone {
    transform: translateY(-12px);
    animation: none;
  }

  .screens-grid,
  .principles,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .brand span {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero,
  .section-inner,
  .site-footer {
    width: calc(100% - 24px);
  }

  .hero {
    padding-top: 34px;
    gap: 30px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats,
  .screens-grid,
  .principles,
  .timeline {
    grid-template-columns: 1fr;
  }

  .app-preview {
    padding: 15px;
  }

  .phone-shell {
    width: min(100%, 340px);
  }

  .hero-visual {
    overflow: visible;
  }

  .main-phone {
    transform: translateY(-8px);
  }

  .preview-frame {
    min-height: 48px;
  }

  .prompt-box {
    min-height: 116px;
  }

  .section {
    padding: 64px 0;
  }

  .feature-content {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
