:root {
  --bg: #090911;
  --bg-2: #0d0d16;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-2: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: rgba(248, 249, 255, 0.98);
  --muted: rgba(217, 222, 241, 0.72);
  --violet: #8d6dff;
  --cyan: #71e7ff;
  --pink: #ff8ca8;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Noto Sans SC", system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(141, 109, 255, 0.18), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(113, 231, 255, 0.14), transparent 24%),
    radial-gradient(circle at 76% 78%, rgba(255, 140, 168, 0.1), transparent 20%),
    linear-gradient(180deg, #0b0b12 0%, #090911 48%, #08080d 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
svg { display: block; }

.shell {
  width: min(1200px, calc(100vw - 40px));
  margin: 0 auto;
}
.section-gap {
  padding: 92px 0;
}

.bg-grid,
.grain,
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  opacity: .16;
}
.grain {
  opacity: .06;
  background-image: radial-gradient(#fff 0.5px, transparent 0.5px);
  background-size: 11px 11px;
  mix-blend-mode: soft-light;
}
.ambient { filter: blur(70px); }
.ambient-a {
  left: -12%; top: 3%; width: 38vw; height: 38vw;
  background: rgba(141, 109, 255, 0.23);
}
.ambient-b {
  left: 60%; top: 10%; width: 30vw; height: 30vw;
  background: rgba(113, 231, 255, 0.18);
}
.ambient-c {
  left: 68%; top: 68%; width: 24vw; height: 24vw;
  background: rgba(255, 140, 168, 0.12);
}

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.05));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .18em;
}
.glass-mini {
  position: absolute;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}
.glass-mini strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.glass-mini span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 30;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(141,109,255,.12));
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
}
.brand-mark svg { width: 42px; height: 42px; }
.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand-text em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover { color: var(--text); }

.hero {
  display: grid;
  grid-template-columns: 1fr .96fr;
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 110px);
  padding: 44px 0 40px;
}
.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(52px, 8vw, 108px);
  line-height: .92;
  letter-spacing: -.05em;
}
.hero-copy .lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 24px;
}
.hero-actions.center { justify-content: center; }
.btn {
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary {
  color: #0a0b13;
  background: linear-gradient(90deg, #fcfbff 0%, #c8b8ff 44%, #79e9ff 100%);
  box-shadow: 0 14px 36px rgba(113, 231, 255, 0.16);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
}
.btn-secondary:hover { background: rgba(255,255,255,.08); }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(241,244,255,.84);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 720px;
  border-radius: 36px;
  padding: 28px;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto auto 8% -8%;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(141,109,255,.3), transparent 65%);
  filter: blur(16px);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 10% -10% auto auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(113,231,255,.18), transparent 65%);
}
.visual-rings {
  position: absolute;
  inset: 6%;
  border-radius: 30px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.06) 0 1px, transparent 1px),
    radial-gradient(circle at center, rgba(255,255,255,.06) 0 1px, transparent 1px);
  background-size: 26px 26px, 120px 120px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
  opacity: .35;
}
.mascot-card {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 660px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mascot-caption {
  position: absolute;
  top: 20px;
  left: 20px;
  color: rgba(255,255,255,.46);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mascot {
  width: min(100%, 560px);
  height: auto;
  transform: translateY(8px);
  filter: drop-shadow(0 30px 80px rgba(111, 83, 255, .22));
}
.floating-a { top: 8%; right: 5%; }
.floating-b { left: 4%; bottom: 18%; }
.floating-c { right: 8%; bottom: 7%; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.story-card {
  border-radius: var(--radius);
  padding: 32px;
}
.story-card h2,
.section-head h2,
.showcase-copy h2,
.final-card h2 {
  margin: 12px 0 12px;
  letter-spacing: -.04em;
  line-height: 1.02;
}
.story-card h2 { font-size: clamp(30px, 4vw, 48px); }
.story-card p,
.section-head p,
.showcase-copy p,
.final-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 17px;
}
.section-kicker {
  display: inline-flex;
  color: #d7cbff;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px;
}
.section-head h2 { font-size: clamp(34px, 5vw, 58px); }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cap-card {
  position: relative;
  border-radius: 28px;
  padding: 28px;
  min-height: 220px;
  transition: transform .25s ease, border-color .25s ease;
}
.cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.cap-no {
  color: rgba(255,255,255,.18);
  font-weight: 900;
  font-size: 42px;
  letter-spacing: -.04em;
}
.cap-card h3 {
  margin: 12px 0 10px;
  font-size: 24px;
  letter-spacing: -.03em;
}
.cap-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}
.cap-card.highlight {
  background: linear-gradient(180deg, rgba(141,109,255,.18), rgba(255,255,255,.05));
}

.showcase-panel {
  border-radius: 34px;
  padding: 32px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: center;
}
.showcase-copy h2 { font-size: clamp(34px, 5vw, 60px); }
.showcase-console {
  border-radius: 28px;
  background: rgba(8, 10, 18, 0.85);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.console-head {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.console-head span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
}
.console-body { padding: 22px; }
.console-line {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  color: rgba(237,241,255,.9);
  line-height: 1.75;
}
.console-line:last-child { border-bottom: 0; }
.console-line b { color: #7fe9ff; }
.console-line.success b { color: #d7c6ff; }

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.system-card {
  border-radius: 28px;
  padding: 28px;
}
.system-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  letter-spacing: -.03em;
}
.system-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 2;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.asset-card {
  border-radius: 28px;
  padding: 20px;
}
.asset-card h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  letter-spacing: -.02em;
}
.asset-card a {
  color: #bfefff;
  font-size: 14px;
}
.asset-preview {
  height: 180px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.asset-preview.dark { background: #0b0b14; }
.asset-preview.light { background: #f3f5fa; }
.asset-preview img {
  width: min(100%, 180px);
  height: auto;
}
.asset-preview.wide img {
  width: min(100%, 260px);
}
.about-strip {
  border-radius: 30px;
  padding: 28px 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.about-strip h2 {
  margin: 10px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.04em;
}
.about-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}
.brand-image {
  width: 42px;
  height: 42px;
}
.about-page {
  min-height: calc(100vh - 120px);
}
.about-hero {
  border-radius: 32px;
  padding: clamp(30px, 5vw, 52px);
}
.about-hero h1 {
  margin: 14px 0 14px;
  font-size: clamp(40px, 6vw, 78px);
  letter-spacing: -.05em;
  line-height: .96;
}
.about-hero p {
  max-width: 860px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quote-band { padding-top: 24px; padding-bottom: 24px; }
.quote-shell {
  border-radius: 28px;
  padding: 28px 30px;
  text-align: center;
}
.quote-shell p {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -.04em;
  font-weight: 900;
}
.quote-shell span {
  color: var(--muted);
  font-size: 15px;
}

.final-card {
  border-radius: 34px;
  padding: clamp(34px, 5vw, 58px);
  text-align: center;
}
.final-card h2 { font-size: clamp(36px, 5vw, 62px); }
.final-card p {
  max-width: 760px;
  margin: 0 auto;
}
.contact-meta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.contact-meta a:hover { color: var(--text); }
.site-footer {
  padding: 0 0 42px;
}
.footer-inner {
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  color: var(--muted);
}
.footer-inner strong {
  display: block;
  color: var(--text);
  margin-bottom: 8px;
}
.footer-inner p {
  margin: 0;
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links a:hover { color: var(--text); }

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .72s ease, transform .72s ease;
}
.reveal-up.in {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@media (max-width: 1080px) {
  .hero,
  .showcase-panel,
  .story-grid,
  .capability-grid,
  .system-grid,
  .workflow-grid,
  .asset-grid {
    grid-template-columns: 1fr;
  }
  .about-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    min-height: auto;
    padding-top: 32px;
  }
  .hero-visual { min-height: 620px; }
}

@media (max-width: 760px) {
  .shell { width: min(100vw - 24px, 1200px); }
  .topbar { padding: 12px 14px; border-radius: 20px; }
  .nav-links { display: none; }
  .section-gap { padding: 64px 0; }
  .hero-copy h1 { font-size: 50px; }
  .hero-copy .lead { font-size: 17px; }
  .story-card, .cap-card, .system-card, .showcase-panel, .final-card { padding: 22px; }
  .hero-visual { min-height: 540px; padding: 16px; }
  .mascot-card { min-height: 500px; }
  .floating-a, .floating-b, .floating-c {
    position: static;
    margin-top: 12px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
