:root {
  color-scheme: dark;
  --bg: #071015;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-2: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f2fbf8;
  --muted: #abc2bf;
  --jade: #27d7c5;
  --blue: #6aa3ff;
  --gold: #d6aa48;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 4%, rgba(39, 215, 197, 0.22), transparent 32%),
    radial-gradient(circle at 90% 12%, rgba(106, 163, 255, 0.2), transparent 34%),
    linear-gradient(180deg, #071015 0%, #101823 48%, #071015 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 21, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

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

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

nav a:hover {
  color: var(--jade);
}

.domain-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(39, 215, 197, 0.32);
  border-radius: 999px;
  color: #dffdfa;
  background: rgba(39, 215, 197, 0.08);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

main {
  overflow: hidden;
}

.hero,
.section,
.workflow,
.download,
.developer,
.business-note,
.site-footer {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 58px;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 72px 0 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--jade);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead,
.section-head p,
.download p,
.developer p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.domain-line {
  color: #dffdfa !important;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span {
  padding: 10px 14px;
  border: 1px solid rgba(39, 215, 197, 0.34);
  border-radius: 999px;
  color: #dffdfa;
  background: rgba(39, 215, 197, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 900;
}

.primary,
.secondary,
.pricing-grid button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 900;
}

.primary {
  color: #031412;
  border-color: transparent;
  background: linear-gradient(135deg, var(--jade), #8effef);
  box-shadow: 0 18px 42px rgba(39, 215, 197, 0.24);
}

.secondary {
  color: var(--text);
  background: var(--panel);
}

button.secondary,
.pricing-grid button {
  cursor: pointer;
  font: inherit;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-visual .halo {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(39, 215, 197, 0.16), transparent 55%),
    linear-gradient(135deg, rgba(106, 163, 255, 0.12), rgba(214, 170, 72, 0.1));
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.05);
}

.hero-visual > img {
  position: relative;
  z-index: 1;
  width: min(320px, 64vw);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  z-index: 2;
  width: min(260px, 70vw);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 18, 25, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.floating-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.card-code {
  top: 54px;
  right: 0;
}

.card-agent {
  left: 0;
  bottom: 58px;
}

.section,
.workflow,
.download,
.developer,
.business-note {
  padding: 88px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

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

.capability-grid article,
.workflow,
.model-panel,
.download,
.developer,
.business-note {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
}

.capability-grid article {
  min-height: 230px;
  padding: 22px;
}

.capability-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 13px;
  color: #031412;
  background: linear-gradient(135deg, var(--jade), var(--gold));
  font-weight: 900;
}

.capability-grid p,
.workflow span,
.model-panel span,
.download-grid span,
.platform-card span,
.evolution-grid span,
.fine {
  color: var(--muted);
  line-height: 1.65;
}

.workflow {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  padding: 34px;
}

.workflow ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: center;
}

.model-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.model-panel div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.model-panel b {
  display: block;
  margin-bottom: 6px;
}

.download,
.evolution-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  padding: 34px;
}

.download-grid,
.platform-grid {
  display: grid;
  gap: 12px;
}

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

.download-grid a,
.platform-card {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.platform-card {
  position: relative;
  min-height: 138px;
  align-content: start;
  overflow: hidden;
}

.platform-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 215, 197, 0.28), transparent 68%);
}

.platform-card strong {
  font-size: 21px;
}

.platform-card em {
  align-self: end;
  color: var(--jade);
  font-style: normal;
  font-weight: 900;
}

.primary-card {
  color: #031412;
  border-color: transparent;
  background: linear-gradient(135deg, var(--jade), #9ffff2);
}

.primary-card span,
.primary-card em {
  color: rgba(3, 20, 18, 0.78);
}

.download-grid a:hover,
.platform-card:hover {
  border-color: rgba(39, 215, 197, 0.55);
}

.evolution-section {
  align-items: start;
}

.evolution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.evolution-grid article {
  min-height: 168px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 92% 10%, rgba(106, 163, 255, 0.15), transparent 36%);
}

.evolution-grid b {
  color: var(--jade);
  font-size: 22px;
}

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

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

.pricing-grid article {
  min-height: 280px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 12%, rgba(39, 215, 197, 0.18), transparent 34%),
    var(--panel);
  box-shadow: var(--shadow);
}

.pricing-grid article.featured {
  border-color: rgba(39, 215, 197, 0.55);
  background:
    linear-gradient(135deg, rgba(39, 215, 197, 0.16), rgba(214, 170, 72, 0.1)),
    var(--panel);
}

.pricing-grid span,
.pricing-grid small {
  color: var(--muted);
  line-height: 1.6;
}

.pricing-grid strong {
  font-size: 44px;
  line-height: 1;
}

.pricing-grid p {
  margin: 0;
  color: var(--jade);
  font-weight: 900;
}

.pricing-grid button {
  align-self: end;
  color: #031412;
  border-color: transparent;
  background: linear-gradient(135deg, var(--jade), #8effef);
}

.business-note {
  display: grid;
  gap: 8px;
  padding: 34px;
}

.business-note p:last-child {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(3, 7, 10, 0.74);
  backdrop-filter: blur(18px);
}

.auth-modal[hidden] {
  display: none;
}

.auth-card {
  position: relative;
  width: min(480px, 100%);
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #0b151d;
  box-shadow: var(--shadow);
}

.auth-card img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.auth-card h2 {
  margin-bottom: 4px;
  font-size: 32px;
}

.auth-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 900;
}

.auth-card input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 12px;
  color: var(--text);
  background: var(--panel);
  font: inherit;
}

.auth-card small {
  color: var(--muted);
  line-height: 1.65;
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--panel);
}

.developer {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  padding: 34px;
}

.developer img {
  width: 112px;
  height: 112px;
  border-radius: 26px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  nav {
    display: none;
  }

  .hero,
  .split,
  .download,
  .evolution-section,
  .workflow,
  .developer {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 18px;
    min-height: auto;
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid,
  .evolution-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .workflow li {
    grid-template-columns: 1fr;
  }

  .developer img {
    width: 86px;
    height: 86px;
  }
}
