:root {
  --bg: #f6fbff;
  --surface: #ffffff;
  --surface-soft: #eef6fb;
  --ink: #07111f;
  --muted: #607084;
  --line: #dbe7ef;
  --line-strong: #b7cedd;
  --green: #0ea5e9;
  --green-soft: #e0f2fe;
  --amber: #f59e0b;
  --blue: #7dd3fc;
  --deep: #06121f;
  --deep-2: #0c1726;
  --deep-3: #111827;
  --shadow: 0 24px 70px rgba(6, 18, 31, 0.16);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

main {
  background:
    linear-gradient(rgba(125, 211, 252, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, var(--deep) 0, var(--deep-2) 690px, var(--bg) 690px);
  background-size:
    42px 42px,
    42px 42px,
    auto;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(6, 18, 31, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 680;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.42);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(14, 165, 233, 0.2));
  color: #e0f2fe;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(8, 47, 73, 0.28);
}

.brand-text {
  color: #ffffff;
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(226, 238, 255, 0.74);
  font-size: 14px;
}

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

.nav-links a:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.text-link {
  color: rgba(226, 238, 255, 0.78);
  font-size: 14px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button-dark {
  background: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.24);
}

.button-dark:hover {
  background: #0284c7;
}

.button-light {
  border-color: rgba(125, 211, 252, 0.24);
  background: rgba(255, 255, 255, 0.82);
  color: #0c1726;
}

.button-light:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px rgba(27, 24, 18, 0.08);
}

.button.full {
  width: 100%;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.6);
}

.menu-button span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 3px auto;
  background: #ffffff;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.25fr);
  gap: 44px;
  align-items: center;
  padding: 94px 0 82px;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  color: #ffffff;
}

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

h1 {
  margin-bottom: 22px;
  font-size: 66px;
  font-weight: 720;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 42px;
  font-weight: 690;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 680;
  line-height: 1.25;
}

.hero-subtitle,
.section-heading p,
.workspace-copy p,
.cta-section p,
.faq p {
  color: var(--muted);
}

.hero-subtitle {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(226, 238, 255, 0.76);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-strip span {
  min-height: 32px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.48);
  color: rgba(226, 238, 255, 0.76);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  margin: 0;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  padding: 8px;
  background: rgba(15, 23, 42, 0.62);
  box-shadow: 0 30px 90px rgba(2, 8, 23, 0.42);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  object-fit: cover;
}

.intro {
  padding: 64px 0 82px;
}

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

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.compact {
  max-width: 740px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
}

.feature-card {
  min-height: 240px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-index {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 12px;
}

.feature-card p,
.audience-grid p,
.price-note,
.price-card li {
  color: var(--muted);
}

.workspace-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eef6fb;
}

.workspace-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: center;
  padding: 86px 0;
}

.workspace-copy {
  max-width: 560px;
}

.module-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.82);
}

.module-tab {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 0 13px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.module-tab.is-active {
  background: var(--deep-2);
  color: #ffffff;
}

.module-panel {
  min-height: 420px;
  border: 1px solid #b7cedd;
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(180deg, #ffffff, #f8fcff),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 45%);
  box-shadow: 0 22px 54px rgba(6, 18, 31, 0.11);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 74px;
  color: var(--muted);
  font-size: 13px;
}

.module-panel h3 {
  max-width: 460px;
  font-size: 30px;
}

.module-panel p {
  max-width: 500px;
  color: var(--muted);
}

.panel-table {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.panel-table div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  background: #ffffff;
}

.panel-table span {
  color: #343631;
}

.panel-table strong {
  color: #0284c7;
  font-size: 13px;
  font-weight: 650;
}

.audience-section {
  padding: 86px 0 70px;
}

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

.audience-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--surface);
}

.pricing {
  padding: 70px 0 86px;
}

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

.price-card {
  position: relative;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: #ffffff;
}

.price-card-primary {
  border-color: #7dd3fc;
  background: #f8fcff;
  box-shadow: 0 18px 45px rgba(14, 165, 233, 0.16);
}

.price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
}

.price {
  margin: 14px 0 4px;
  font-size: 42px;
  font-weight: 710;
  line-height: 1.1;
}

.price span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 520;
}

.price-note {
  min-height: 48px;
  margin-bottom: 24px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 20px;
}

.price-card li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #0ea5e9;
  content: "";
}

.price-card .button {
  margin-top: auto;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(6, 18, 31, 0.98), rgba(17, 24, 39, 0.96)),
    linear-gradient(rgba(125, 211, 252, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.05) 1px, transparent 1px);
  background-size:
    auto,
    42px 42px,
    42px 42px;
  color: #ffffff;
}

.cta-section .eyebrow,
.cta-section p {
  color: rgba(226, 238, 255, 0.76);
}

.cta-section h2 {
  max-width: 820px;
  margin-bottom: 10px;
  font-size: 36px;
}

.cta-section .button-dark {
  background: #ffffff;
  color: #06121f;
}

.faq {
  padding-bottom: 74px;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

summary {
  min-height: 64px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 650;
}

details p {
  margin: -4px 24px 22px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  align-items: center;
  padding: 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 31, 0.58);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  margin-bottom: 24px;
  font-size: 32px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  font-size: 20px;
}

.signup-form {
  display: grid;
  gap: 14px;
}

.signup-form label {
  display: grid;
  gap: 7px;
  color: #444640;
  font-size: 13px;
  font-weight: 650;
}

.signup-form input,
.signup-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #f8fcff;
  color: var(--ink);
}

.signup-form input:focus,
.signup-form select:focus {
  border-color: #7dd3fc;
  outline: 3px solid rgba(14, 165, 233, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-note.is-success {
  color: var(--green);
  font-weight: 650;
}

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

  .nav-links {
    position: fixed;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 12px;
  }

  .header-actions .text-link {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero,
  .workspace-layout,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .intro-grid,
  .audience-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 200px;
  }

  .workspace-layout {
    gap: 34px;
  }

  .module-panel {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 66px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-actions .button {
    display: none;
  }

  .nav-links {
    top: 66px;
  }

  .hero {
    gap: 30px;
    padding: 56px 0 54px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    padding: 5px;
  }

  .intro,
  .audience-section,
  .pricing {
    padding: 52px 0;
  }

  .workspace-layout {
    padding: 56px 0;
  }

  .feature-card,
  .audience-grid article,
  .price-card,
  .module-panel,
  .cta-section,
  .modal-panel {
    padding: 22px;
  }

  .module-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .panel-topline {
    margin-bottom: 42px;
  }

  .panel-table div {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
  }
}
