:root {
  --bg: #03050a;
  --panel: #050711;
  --panel-2: #0a0f1c;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f3f4f6;
  --muted: #9ca3af;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --violet: #8b5cf6;
  --amber: #f59e0b;
  --green: #34d399;
  --container: 1200px;
  --radius-lg: 32px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    "Space Grotesk", "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei",
    Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(38, 82, 180, 0.2), transparent 36%),
    linear-gradient(180deg, #03050a 0%, #050814 50%, #03050a 100%);
}

.site-backdrop::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.site-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle, rgba(96, 165, 250, 0.55) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 255, 255, 0.3) 0 1px, transparent 1.5px);
  background-position:
    16px 26px,
    92px 140px;
  background-size:
    180px 180px,
    260px 260px;
  opacity: 0.36;
}

.aurora {
  position: absolute;
  display: block;
  border-radius: 9999px;
  filter: blur(76px);
}

.aurora-blue {
  top: -130px;
  left: -140px;
  width: 680px;
  height: 680px;
  background: rgba(59, 130, 246, 0.26);
}

.aurora-violet {
  right: -190px;
  top: 260px;
  width: 820px;
  height: 820px;
  background: rgba(139, 92, 246, 0.16);
}

.aurora-cyan {
  right: 120px;
  top: 420px;
  width: 620px;
  height: 620px;
  background: rgba(6, 182, 212, 0.14);
}

.star {
  position: absolute;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.55), transparent);
  transform: rotate(-28deg);
  opacity: 0.5;
}

.star-a {
  top: 460px;
  right: 25%;
}

.star-b {
  top: 760px;
  left: -40px;
}

.star-c {
  top: 1120px;
  right: -30px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 5, 10, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.header-actions,
.hero-actions,
.footer-row,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  justify-self: start;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: #03050a;
  background: #ffffff;
  font-weight: 900;
}

.site-nav {
  gap: 28px;
  justify-self: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.nav-cta {
  display: none;
}

.header-actions {
  justify-self: end;
  gap: 18px;
}

.engine-pill,
.deploy-pill,
.system-pill,
.button,
.copy-button {
  border-radius: 9999px;
}

.engine-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.engine-pill span {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.8);
}

.deploy-pill {
  padding: 10px 22px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 136px 0 70px;
  text-align: center;
}

.hero-content {
  max-width: 1180px;
}

.system-pill {
  display: inline-flex;
  margin: 8px auto 28px;
  padding: 8px 16px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

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

h1 {
  max-width: 820px;
  margin: 0 auto 26px;
  color: #ffffff;
  font-size: clamp(56px, 8vw, 108px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span,
.section-heading h2 span {
  display: block;
  background: linear-gradient(90deg, #60a5fa 0%, #818cf8 48%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto 58px;
  color: var(--muted);
  font-size: 20px;
}

.hero-panel {
  position: relative;
  width: min(100%, 1100px);
  margin: 0 auto;
}

.panel-glow {
  position: absolute;
  inset: -18px;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.34), rgba(139, 92, 246, 0.12), transparent);
  filter: blur(8px);
}

.panel-shell {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background: var(--panel);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

.panel-shell::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 48%);
  pointer-events: none;
}

.panel-topbar {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.panel-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.panel-topbar span:first-child {
  background: #ef4444;
}

.panel-topbar span:nth-child(2) {
  background: #f59e0b;
}

.panel-topbar span:nth-child(3) {
  background: #22c55e;
}

.panel-topbar strong {
  margin-left: 8px;
  font-weight: 500;
}

.panel-shell img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
  filter: saturate(1.12) contrast(1.05);
}

.panel-overlay {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(3, 5, 10, 0.72);
  backdrop-filter: blur(14px);
  text-align: left;
}

.panel-overlay small {
  display: block;
  color: #93c5fd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.panel-overlay strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
}

.panel-overlay span {
  flex: 0 0 auto;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.ticker {
  position: relative;
  overflow: hidden;
  padding: 36px 0;
}

.ticker::before,
.ticker::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 160px;
  content: "";
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding-left: 16px;
  animation: marquee 24s linear infinite;
}

.ticker-track span {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section {
  position: relative;
  padding: 112px 0;
}

.compact-section {
  padding-top: 56px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: #60a5fa;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-heading p:not(.eyebrow),
.workflow-card p,
.cta-card p,
.contact-card p {
  color: var(--muted);
  font-size: 18px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card,
.workflow-card,
.cta-card,
.contact-card,
.faq-list details {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bento-card {
  min-height: 330px;
  padding: 32px;
  border-radius: var(--radius-lg);
}

.bento-card::after,
.workflow-card::after,
.cta-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
  pointer-events: none;
}

.bento-large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: center;
}

.bento-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: center;
}

.card-content,
.terminal-visual,
.flow-visual,
.workflow-card > *,
.cta-card > *,
.contact-card > * {
  position: relative;
  z-index: 1;
}

.icon-tile {
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid currentColor;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.blue {
  color: #60a5fa;
}

.cyan {
  color: #22d3ee;
}

.violet {
  color: #c084fc;
}

.amber {
  color: #fbbf24;
}

.bento-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.bento-card code {
  display: inline-flex;
  margin-top: 28px;
  color: #93c5fd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.terminal-visual {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.36);
}

.terminal-visual div,
.flow-visual span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.055);
}

.terminal-visual div {
  padding: 14px;
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
}

.terminal-visual span {
  display: block;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.terminal-visual strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
}

.flow-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.flow-visual span {
  min-height: 78px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  font-weight: 800;
}

.workflow-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 54px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius-lg);
}

.workflow-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.26);
  font-weight: 700;
}

.workflow-list span {
  color: #93c5fd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.cta-card {
  max-width: 900px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 42px;
  border-radius: 40px;
  text-align: center;
}

.orb {
  width: 72px;
  height: 72px;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.2), transparent 30%),
    rgba(255, 255, 255, 0.05);
}

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  font-weight: 850;
  cursor: pointer;
}

.button-light {
  margin: 20px 0 18px;
  color: #03050a;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(255, 255, 255, 0.12);
}

.cta-card small {
  color: var(--muted);
}

.faq-section {
  padding-top: 40px;
}

.faq-list {
  max-width: 860px;
}

.faq-list details {
  border-radius: 18px;
}

.faq-list details + details {
  margin-top: 12px;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #93c5fd;
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact-section {
  padding-top: 56px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 36px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius-lg);
}

.contact-actions {
  align-items: stretch;
  flex-direction: column;
  gap: 14px;
}

.contact-actions a {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.copy-button {
  width: 100%;
  color: #03050a;
  background: #ffffff;
}

.copy-status {
  min-height: 22px;
  color: #93c5fd;
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-row {
  min-height: 82px;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.6);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    inset: 88px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(5, 7, 17, 0.96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  }

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

  .site-nav a {
    padding: 14px 14px;
  }

  .nav-cta {
    display: block;
  }

  .header-actions {
    display: none;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-large,
  .bento-wide,
  .workflow-card,
  .contact-card {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    height: 68px;
    padding: 0 14px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .site-nav {
    inset: 76px 14px auto;
  }

  .hero {
    min-height: auto;
    padding: 108px 0 46px;
  }

  .system-pill {
    max-width: 100%;
    justify-content: center;
    white-space: normal;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy,
  .section-heading p:not(.eyebrow) {
    font-size: 16px;
  }

  .panel-shell {
    min-height: 320px;
    border-radius: 24px;
  }

  .panel-glow {
    inset: 0;
    border-radius: 28px;
  }

  .panel-shell img {
    height: 320px;
  }

  .panel-overlay {
    right: 14px;
    bottom: 14px;
    left: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .ticker::before,
  .ticker::after {
    width: 60px;
  }

  .section {
    padding: 72px 0;
  }

  .bento-grid,
  .bento-large,
  .bento-wide,
  .workflow-card,
  .contact-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bento-grid {
    gap: 16px;
  }

  .bento-large,
  .bento-wide {
    grid-column: auto;
  }

  .bento-card,
  .workflow-card,
  .contact-card {
    padding: 24px;
    border-radius: 24px;
  }

  .flow-visual {
    grid-template-columns: 1fr;
  }

  .cta-card {
    min-height: 380px;
    padding: 46px 24px;
    border-radius: 28px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }
}
