:root {
  --bg: #070b10;
  --panel: rgba(10, 18, 26, 0.72);
  --panel-strong: rgba(13, 26, 36, 0.92);
  --text: #edf7fb;
  --muted: #a9bac4;
  --line: rgba(164, 231, 229, 0.18);
  --cyan: #59f2e6;
  --mint: #a9f8cf;
  --red: #ff5b63;
  --amber: #ffd166;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(89, 242, 230, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 15%, rgba(255, 91, 99, 0.14), transparent 25rem),
    linear-gradient(180deg, #05080d 0%, #091119 48%, #070b10 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(4, 10, 15, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(89, 242, 230, 0.5);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(89, 242, 230, 0.16), rgba(255, 91, 99, 0.16));
  color: var(--cyan);
  font-weight: 900;
  box-shadow: 0 0 34px rgba(89, 242, 230, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #c9d7de;
  font-size: 14px;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--cyan);
}

.header-cta,
.primary-action,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(89, 242, 230, 0.55);
  border-radius: 8px;
  background: linear-gradient(135deg, #6ef7ef 0%, #c1ffd8 52%, #ff6970 150%);
  color: #051013;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(89, 242, 230, 0.18);
}

.header-cta {
  min-width: 118px;
  padding: 0 18px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 112px clamp(18px, 4vw, 56px) 72px;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 9, 13, 0.96) 0%, rgba(5, 9, 13, 0.76) 34%, rgba(5, 9, 13, 0.34) 69%, rgba(5, 9, 13, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 9, 13, 0.2), #070b10 98%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: #d4e4e9;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action,
.download-button {
  min-width: 168px;
  padding: 0 24px;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(237, 247, 251, 0.2);
  border-radius: 8px;
  background: rgba(237, 247, 251, 0.08);
  color: #edf7fb;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid rgba(164, 231, 229, 0.18);
  border-radius: 8px;
  background: rgba(4, 12, 18, 0.62);
  color: #cde5e8;
  font-size: 13px;
}

.hero-panel {
  padding: 22px;
  border: 1px solid rgba(164, 231, 229, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(9, 24, 34, 0.88), rgba(8, 14, 22, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccebf0;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 20px var(--mint);
}

.signal-card,
.cue-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(89, 242, 230, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.signal-card span,
.cue-card span {
  color: var(--muted);
  font-size: 13px;
}

.signal-card strong {
  display: block;
  margin-top: 8px;
  color: var(--amber);
  font-size: 24px;
}

.signal-card p,
.cue-card p {
  margin: 10px 0 0;
  color: #d7e7eb;
  line-height: 1.7;
}

.cue-card {
  border-color: rgba(255, 91, 99, 0.28);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.metrics div {
  padding: 14px 10px;
  border: 1px solid rgba(164, 231, 229, 0.15);
  border-radius: 8px;
  background: rgba(7, 13, 19, 0.7);
  text-align: center;
}

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

.metrics strong {
  color: var(--cyan);
  font-size: 20px;
}

.metrics span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

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

.intro {
  padding-top: 86px;
}

.intro-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 18, 26, 0.64);
}

.intro h2,
.section-heading h2,
.download-band h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro p {
  margin: 0;
  color: #c6d7dd;
  font-size: 17px;
  line-height: 1.9;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.pain-grid,
.feature-grid,
.customer-grid {
  display: grid;
  gap: 16px;
}

.pain-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.customer-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pain-card,
.feature-card,
.customer-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 18, 26, 0.72);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.16);
}

.pain-card span {
  color: var(--red);
  font-weight: 900;
}

.pain-card h3,
.feature-card h3 {
  margin: 16px 0 10px;
  font-size: 20px;
}

.pain-card p,
.feature-card p,
.customer-card p,
.workflow-line p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(89, 242, 230, 0.42);
  border-radius: 8px;
  background: rgba(89, 242, 230, 0.1);
  color: var(--cyan);
  font-weight: 900;
}

.customer-card strong {
  display: block;
  margin-bottom: 12px;
  color: #f4fbfd;
  font-size: 18px;
}

.workflow-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.workflow-line div {
  min-height: 180px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.workflow-line div:last-child {
  border-right: 0;
}

.workflow-line span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 91, 99, 0.16);
  color: #ffb1b6;
  font-weight: 900;
}

.workflow-line strong {
  display: block;
  margin: 18px 0 8px;
  font-size: 20px;
}

.tutorial-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 16, 24, 0.76);
}

.tutorial-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.tutorial-tabs button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #bfd1d7;
  cursor: pointer;
  text-align: left;
  padding: 0 14px;
}

.tutorial-tabs button.active,
.tutorial-tabs button:hover {
  border-color: rgba(89, 242, 230, 0.28);
  background: rgba(89, 242, 230, 0.1);
  color: var(--text);
}

.tutorial-content {
  min-height: 330px;
  padding: clamp(24px, 5vw, 48px);
}

.tutorial-content span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.tutorial-content h3 {
  max-width: 720px;
  margin: 12px 0 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
}

.tutorial-content p,
.download-band p {
  max-width: 760px;
  color: #c6d7dd;
  line-height: 1.85;
}

.tutorial-content ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tutorial-content li {
  position: relative;
  padding-left: 24px;
  color: #d8e7ec;
}

.tutorial-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 18px rgba(169, 248, 207, 0.5);
}

.download-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 36px));
  margin: 24px auto 88px;
  padding: 38px;
  border: 1px solid rgba(89, 242, 230, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(89, 242, 230, 0.13), rgba(255, 91, 99, 0.12)),
    rgba(8, 18, 26, 0.84);
  box-shadow: var(--shadow);
}

.download-button {
  min-width: 210px;
  min-height: 54px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  line-height: 1.7;
}

.site-footer a {
  color: var(--cyan);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .intro-layout,
  .tutorial-shell,
  .download-band {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
  }

  .pain-grid,
  .feature-grid,
  .customer-grid,
  .workflow-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-line div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-line div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .tutorial-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-width: 94px;
    padding: 0 12px;
  }

  .hero {
    padding: 96px 18px 50px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-actions,
  .primary-action,
  .secondary-action,
  .download-button {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .intro-layout,
  .download-band {
    padding: 24px;
  }

  .pain-grid,
  .feature-grid,
  .customer-grid,
  .workflow-line,
  .metrics,
  .tutorial-tabs {
    grid-template-columns: 1fr;
  }

  .workflow-line div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .workflow-line div:last-child {
    border-bottom: 0;
  }

  .tutorial-tabs button {
    text-align: center;
  }

  .site-footer {
    padding-inline: 18px;
  }
}
