:root {
  --base-bg: #f6f7fb;
  --base-text: #0f172a;
  --surface-1: #ffffff;
  --surface-2: #f7f8fb;
  --surface-3: #edf1f7;
  --border: rgba(15, 23, 42, 0.1);
  --muted: rgba(15, 23, 42, 0.65);
  --accent: #b6881b;
  --accent-dark: #8f6a12;
  --radius-lg: 10px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --shadow-strong: 0 22px 46px rgba(15, 23, 42, 0.16);
  --shadow-soft: 0 12px 24px rgba(15, 23, 42, 0.12);
  --max-width: 1180px;
  --font-sans: "IBM Plex Sans", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --base-bg: #0b1220;
    --base-text: #f6f7fb;
    --surface-1: #151c2a;
    --surface-2: #1b2334;
    --surface-3: #222c40;
    --border: rgba(241, 244, 248, 0.08);
    --muted: rgba(241, 244, 248, 0.65);
    --shadow-strong: 0 22px 46px rgba(11, 14, 19, 0.35);
    --shadow-soft: 0 12px 24px rgba(11, 14, 19, 0.2);
  }
}

html[data-theme="dark"] {
  --base-bg: #0b1220;
  --base-text: #f6f7fb;
  --surface-1: #151c2a;
  --surface-2: #1b2334;
  --surface-3: #222c40;
  --border: rgba(241, 244, 248, 0.08);
  --muted: rgba(241, 244, 248, 0.65);
  --shadow-strong: 0 22px 46px rgba(11, 14, 19, 0.35);
  --shadow-soft: 0 12px 24px rgba(11, 14, 19, 0.2);
}

html[data-theme="light"] {
  --base-bg: #f6f7fb;
  --base-text: #0f172a;
  --surface-1: #ffffff;
  --surface-2: #eef2f7;
  --surface-3: #e3e8ef;
  --border: rgba(15, 23, 42, 0.1);
  --muted: rgba(15, 23, 42, 0.65);
  --shadow-strong: 0 22px 46px rgba(15, 23, 42, 0.16);
  --shadow-soft: 0 12px 24px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--base-text);
  background: var(--base-bg);
  min-height: 100vh;
  line-height: 1.6;
}

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

main {
  display: flex;
  flex-direction: column;
  gap: 150px;
  padding: 40px 24px 120px;
  position: relative;
  z-index: 1;
}

.grid-overlay {
  display: none;
}

html[data-theme="light"] .grid-overlay {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 40px;
  background: color-mix(in srgb, var(--base-bg) 85%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

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

.brand-name {
  font-size: 18px;
  letter-spacing: 0.04em;
}

.brand-accent {
  color: var(--accent);
}

.brand-chinese {
  font-family: "ZCOOL QingKe HuangYou", "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-align: center;
  display: grid;
  gap: 2px;
  font-weight: 300;
}

.brand-chinese-top {
  color: var(--base-text);
}

.brand-chinese-bottom {
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

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

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.primary-btn,
.ghost-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  background: var(--accent);
  color: var(--base-bg);
  box-shadow: 0 14px 28px rgba(182, 136, 27, 0.35);
}

.primary-btn:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: 0 18px 36px rgba(182, 136, 27, 0.45);
}

.ghost-btn {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--base-text) 28%, transparent);
  color: var(--base-text);
}

.ghost-btn:hover {
  transform: translateY(-2px);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 40px;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 3.2vw + 1.4rem, 4rem);
  line-height: 1.05;
  margin: 16px 0 20px;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.hero-copy p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--base-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 28px 0 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-proof {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 840px;
}

.works-with {
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: grid;
  gap: 12px;
}

.works-with-label {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.works-with-row {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
}

.works-with-row span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: color-mix(in srgb, var(--surface-1) 92%, var(--accent) 8%);
  font-size: 12px;
  color: var(--base-text);
}

.works-with-row img {
  height: 32px;
  width: auto;
  display: block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: color-mix(in srgb, var(--surface-1) 92%, var(--accent) 8%);
}

.works-with-carousel {
  width: 540px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  margin: 0 auto;
}

.works-with-track {
  display: flex;
  gap: 0;
  animation: works-with-scroll 10s linear infinite reverse;
  will-change: transform;
}

@keyframes works-with-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  .works-with-carousel {
    width: 315px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .works-with-track {
    animation: none;
  }
}

.showcase-card {
  background: var(--surface-1);
  color: var(--base-text);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--border);
}

.media-placeholder {
  border-radius: var(--radius-md);
  border: 1px dashed color-mix(in srgb, var(--base-text) 30%, transparent);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  background: color-mix(in srgb, var(--base-text) 4%, transparent);
}

.media-frame {
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  background: var(--surface-1);
  overflow: hidden;
}

.media-image {
  width: 100%;
  height: auto;
  display: block;
}

.media-placeholder.small {
  min-height: 140px;
}

.media-placeholder.wide {
  min-height: 260px;
  border: 1px dashed var(--border);
  background: var(--surface-1);
}

/* Hero chips row */
.hero-chips {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.section-header {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 2vw + 1.4rem, 3rem);
  margin: 12px 0;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.highlights,
.about,
.pricing,
.testimonials,
.contact {
  max-width: var(--max-width);
  margin: 0 auto;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.highlight-card {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  display: grid;
  align-content: start;
  aspect-ratio: 1 / 1;
}

.highlight-card p {
  max-width: 28ch;
}

.feature-strip {
  margin-top: 24px;
  background: var(--surface-1);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature-strip ul {
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.feature-strip li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.product-visuals {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.visual-caption p {
  color: var(--muted);
}

.about {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.about-tile {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border);
}

.pricing-card {
  margin-top: 36px;
  background: color-mix(in srgb, var(--surface-1) 92%, var(--accent) 8%);
  color: var(--base-text);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--border);
  display: grid;
  gap: 16px;
}

.pricing-card .price {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}

.pricing {
  padding: 8px 0 12px;
}

.testimonial-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--border);
  display: grid;
  gap: 16px;
}

.testimonial-card p {
  color: var(--muted);
  font-size: 15px;
}

.testimonial-meta {
  display: grid;
  gap: 4px;
  font-size: 13px;
}

.testimonial-meta .name {
  font-weight: 600;
}

.workflow {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.workflow-step {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.workflow-step p {
  color: var(--muted);
  margin-top: 8px;
}

.workflow-visuals {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.workflow-visuals .wide {
  grid-column: 1 / -1;
  min-height: 260px;
}

.trust-strip-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.trust-strip {
  padding: 12px 16px;
  border-radius: 999px;
  display: inline-flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-strip span::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.next-steps {
  background: var(--surface-2);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border);
}

.next-steps h4 {
  font-size: 14px;
  margin-bottom: 6px;
}

.next-steps p {
  color: var(--muted);
  font-size: 14px;
}

.contact-card {
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.contact-card p {
  color: var(--muted);
  margin-top: 12px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--surface-1);
  color: var(--base-text);
}

.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

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

.form-proof {
  color: var(--base-text);
  font-size: 13px;
  font-weight: 600;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto 60px;
  padding: 40px 24px 0;
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.theme-toggle-group {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
  opacity: 0.65;
}

.theme-option {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.theme-option svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-option[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent);
  opacity: 1;
}

.theme-option:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-note {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 960px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .workflow-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

}

@media (min-width: 960px) {
  .highlight-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .highlight-card {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 720px) {
  main {
    padding: 32px 16px 100px;
    gap: 104px;
  }

  .site-nav {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
