:root {
  --ink: #18151d;
  --muted: #67616d;
  --line: #ece5f1;
  --surface: #fcf7fe;
  --soft: #f6f0fa;
  --purple: #753dcb;
  --green: #16835d;
  --red: #a8364b;
  --shadow: 0 22px 54px rgba(53, 36, 68, 0.14);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

[v-cloak] {
  display: none;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #fff8fd 34%, #ffffff 66%, #faf6fd 100%);
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(48, 31, 59, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

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

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 17px;
  line-height: 1;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 0;
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--purple);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 96px);
  background: linear-gradient(135deg, #ffffff 0%, #fff7fd 46%, #f2ebff 100%);
  overflow: hidden;
}

.hero::after {
  content: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
}

.hero h1,
.section-title h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(56px, 8vw, 112px);
  line-height: 1.08;
}

.hero-text > p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
  font-weight: 600;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  max-width: 620px;
  margin: 36px 0 0;
}

.hero-meta div {
  min-width: 128px;
  padding: 0;
}

.hero-meta div + div {
  padding-left: 0;
}

.hero-meta dt {
  color: var(--purple);
  font-size: 13px;
  font-weight: 850;
}

.hero-meta dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.primary-action {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(24, 21, 29, 0.18);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(117, 61, 203, 0.13),
    0 12px 28px rgba(53, 36, 68, 0.08);
}

.hero-image {
  width: min(390px, 100%);
  justify-self: center;
  filter: drop-shadow(0 34px 44px rgba(49, 34, 64, 0.16));
}

.section {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 96px);
}

.section-title {
  position: sticky;
  top: 96px;
  align-self: start;
  max-width: 780px;
}

.section-number {
  display: block;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 850;
}

.section-title h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.08;
}

.section-title p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.feature-list {
  counter-reset: feature;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-list > div {
  counter-increment: feature;
  position: relative;
  min-height: 260px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf6ff 100%);
  box-shadow: 0 16px 42px rgba(53, 36, 68, 0.08);
}

.feature-list > div::before {
  content: counter(feature, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 38px;
  color: #fff;
  background: var(--purple);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.feature-list > div:nth-child(2) {
  background: linear-gradient(180deg, #ffffff 0%, #f8f3ff 100%);
}

.feature-list > div:nth-child(3) {
  background: linear-gradient(180deg, #ffffff 0%, #fbf6ff 100%);
}

.feature-list h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.screens-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 42%, #ffffff 100%);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.screens-grid figure {
  margin: 0;
}

.screens-grid figcaption {
  display: flex;
  align-items: center;
  min-height: auto;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 800;
}

.screens-grid img {
  width: 100%;
  max-width: 390px;
  filter: drop-shadow(0 22px 34px rgba(42, 28, 54, 0.16));
}

.screens-grid .screen-wide {
  grid-column: span 2;
}

.feedback-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
}

.feedback-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.feedback-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--soft);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(117, 61, 203, 0.06);
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

input,
select {
  height: 48px;
  padding: 0 12px;
}

textarea {
  min-height: 150px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(117, 61, 203, 0.28);
}

.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-footer p {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-footer p[data-tone="success"] {
  color: var(--green);
}

.form-footer p[data-tone="error"] {
  color: var(--red);
}

.form-footer button {
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  background: var(--purple);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(117, 61, 203, 0.22);
}

.form-footer button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-section {
  background: linear-gradient(135deg, #fbf6fd 0%, #ffffff 100%);
}

address {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-style: normal;
  font-size: 17px;
}

address strong {
  color: var(--ink);
  font-size: 20px;
}

address a {
  color: var(--purple);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 24px clamp(20px, 6vw, 96px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  }

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

@media (max-width: 920px) {
  .hero,
  .section,
  .feature-list,
  .screens-grid,
  .feedback-form {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    min-height: auto;
  }

  .section-title {
    position: static;
  }

  .hero-meta {
    gap: 14px 24px;
  }

  .hero-meta div + div {
    padding-left: 0;
  }

  .hero-image,
  .screens-grid img {
    justify-self: start;
    width: min(390px, 100%);
  }

  .feedback-form .full {
    grid-column: auto;
  }

  .screens-grid .screen-wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: auto;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .hero-actions a,
  .form-footer button {
    width: 100%;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }
}
