:root {
  --bg: #08090d;
  --ink: #f8fbff;
  --muted: #aab4c2;
  --soft: #dfe6ee;
  --panel: rgba(16, 18, 25, 0.86);
  --panel-strong: #151821;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --cyan: #27f5ff;
  --pink: #ff4f9d;
  --gold: #ffd15c;
  --green: #65f0a4;
  --red: #ff665e;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(255, 209, 92, 0.08), transparent 520px),
    linear-gradient(135deg, #07090d 0%, #111016 46%, #081615 100%);
}

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

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

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(255, 79, 157, 0.28);
}

.site-nav nav {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.site-nav nav a,
.nav-cta {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(248, 251, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 850;
  white-space: nowrap;
}

.site-nav nav a:hover,
.site-nav nav a.is-current {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  color: #061114;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  height: calc(100svh - 76px);
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  z-index: -2;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.16) contrast(1.08);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 6, 10, 0.92) 0%, rgba(4, 6, 10, 0.68) 46%, rgba(4, 6, 10, 0.24) 100%),
    linear-gradient(0deg, rgba(8, 9, 13, 0.9) 0%, rgba(8, 9, 13, 0.18) 48%, rgba(8, 9, 13, 0.72) 100%);
}

.hero-inner {
  min-width: 0;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  width: min(1040px, 100%);
  overflow-wrap: anywhere;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.98;
}

h1 span {
  display: block;
}

.hero-lead {
  max-width: 720px;
  margin-top: 22px;
  color: var(--soft);
  font-size: 1.14rem;
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 950;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button.primary {
  color: #061114;
  border-color: rgba(255, 209, 92, 0.78);
  background: linear-gradient(135deg, var(--gold), var(--green));
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 34px 0 0;
}

.hero-metrics div {
  min-width: 0;
  padding: 12px 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.hero-metrics dt {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-metrics dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #101016;
}

.trust-strip strong {
  flex: 1 1 370px;
  max-width: 600px;
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.45;
}

.trust-strip span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.045);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-kicker {
  max-width: 760px;
}

.section-kicker.compact {
  max-width: 640px;
}

.section h2,
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.section-kicker p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 34px;
}

.preview-copy {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.preview-tabs {
  display: grid;
  gap: 8px;
}

.preview-tabs button {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-align: left;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.06);
}

.preview-tabs button.is-active {
  color: #061114;
  border-color: rgba(39, 245, 255, 0.86);
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.preview-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  list-style: none;
}

.preview-points li {
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.18);
}

.preview-frame {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.preview-frame img {
  width: 100%;
  max-height: 720px;
  border-radius: 6px;
  object-fit: cover;
  object-position: top center;
}

.preview-frame figcaption {
  padding: 12px 4px 2px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.5;
}

.feature-band,
.plans-section {
  width: 100%;
  padding-left: max(20px, calc((100% - 1180px) / 2));
  padding-right: max(20px, calc((100% - 1180px) / 2));
}

.feature-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(39, 245, 255, 0.08), transparent 230px),
    #101219;
}

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

.feature-grid article,
.pricing-grid article,
.steps li,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-grid article,
.pricing-grid article {
  padding: 22px;
}

.feature-line {
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 22px;
  border-radius: 999px;
}

.feature-line.cyan {
  background: var(--cyan);
}

.feature-line.pink {
  background: var(--pink);
}

.feature-line.gold {
  background: var(--gold);
}

.feature-line.green {
  background: var(--green);
}

.feature-line.white {
  background: var(--ink);
}

.feature-line.red {
  background: var(--red);
}

.feature-grid h3,
.pricing-grid h3 {
  font-size: 1.18rem;
  line-height: 1.3;
}

.feature-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.workflow-section {
  padding-top: 90px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  min-height: 178px;
  padding: 20px;
  counter-increment: steps;
}

.steps li::before {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 8px;
  color: #061114;
  font-size: 0.9rem;
  font-weight: 950;
  background: var(--gold);
  content: counter(steps);
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.plans-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 79, 157, 0.08), transparent 220px),
    #15151a;
}

.plan-name {
  color: var(--cyan);
  font-weight: 950;
}

.price {
  margin-top: 16px;
  font-size: 2rem;
  font-weight: 950;
}

.pricing-grid ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.pricing-grid li::before {
  margin-right: 8px;
  color: var(--green);
  content: "✓";
  font-weight: 950;
}

.pricing-grid .is-featured {
  border-color: rgba(255, 209, 92, 0.64);
  background: linear-gradient(180deg, rgba(255, 209, 92, 0.14), rgba(255, 255, 255, 0.045));
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.04);
}

.faq-list summary {
  min-height: 58px;
  padding: 18px 20px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 44px;
  padding: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(39, 245, 255, 0.14), rgba(255, 209, 92, 0.1)),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

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

  .site-nav nav {
    display: none;
  }

  .hero {
    height: calc(100svh - 82px);
  }

  .hero-metrics,
  .preview-layout,
  .feature-grid,
  .pricing-grid,
  .steps,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .preview-copy {
    position: static;
  }

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

  .steps li {
    min-height: auto;
  }

  .final-cta .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-nav {
    left: 20px;
    right: 20px;
    width: auto;
    margin: 0;
    gap: 10px;
    padding-top: 14px;
  }

  .brand {
    overflow: hidden;
  }

  .brand span {
    overflow: hidden;
    font-size: 0.92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    height: calc(100svh - 78px);
    min-height: 560px;
  }

  .hero-inner {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
    padding: 96px 0 32px;
  }

  h1 {
    font-size: clamp(1.5rem, 6.6vw, 1.7rem);
    line-height: 1.08;
    word-break: break-all;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }

  .hero-metrics div {
    padding: 10px;
  }

  .hero-metrics dt {
    font-size: 0.82rem;
  }

  .hero-metrics dd {
    font-size: 0.72rem;
  }

  .trust-strip {
    justify-content: flex-start;
  }

  .section {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
    padding: 58px 0;
  }

  .feature-band,
  .plans-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section h2,
  .final-cta h2 {
    font-size: 1.72rem;
  }

  .preview-tabs {
    grid-template-columns: 1fr;
  }

  .preview-frame img {
    max-height: 520px;
  }

  .final-cta {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
    padding: 24px;
  }
}
