:root {
  --app: #f1f3f5;
  --surface: #ffffff;
  --panel: #f7f8fa;
  --line: #e7e9ed;
  --text: #0f172a;
  --muted: #5b6b82;
  --faint: #8d9bab;

  --accent-50: #ecfeff;
  --accent-100: #cffafe;
  --accent-200: #a5f3fc;
  --accent-300: #67e8f9;
  --accent-400: #22d3ee;
  --accent-500: #06b6d4;
  --accent-600: #0891b2;
  --accent-700: #0e7490;
  --accent-800: #155e75;
  --accent-900: #164e63;
  --accent-950: #083344;

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-panel: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 12px rgba(16, 24, 40, 0.04);
  --shadow-float: 0 12px 32px -8px rgba(16, 24, 40, 0.16);
  --shadow-pop: 0 28px 70px -24px rgba(16, 24, 40, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--app);
  color: var(--text);
  font-family: "Segoe UI Variable", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 2px solid var(--accent-600);
  outline-offset: 3px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(238, 240, 242, 0.86);
  backdrop-filter: blur(12px);
  background: rgba(241, 243, 245, 0.84);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

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

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--accent-700);
  color: #fff;
  box-shadow: var(--shadow-panel);
}

.brand-mark .icon {
  width: 16px;
  height: 16px;
}

.brand-mark .logo-svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  color: #020617;
}

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

.brand-sub {
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: var(--accent-50);
  color: var(--accent-700);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px var(--accent-100);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent-700);
  color: #fff;
  box-shadow: var(--shadow-panel);
}

.btn-primary:hover {
  background: var(--accent-800);
}

.btn-ghost {
  background: var(--surface);
  color: var(--muted);
  border-color: rgba(15, 23, 42, 0.1);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.03);
  color: var(--text);
}

.btn-cta:active,
.btn-primary:active,
.btn-ghost:active {
  transform: translateY(1px) scale(0.98);
}

.btn-lg {
  height: 46px;
  padding: 0 24px;
  font-size: 15px;
}

.btn-cta {
  height: 48px;
  padding: 0 28px;
  background: var(--accent-500);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 12px 28px -10px rgba(6, 182, 212, 0.55);
}

.btn-cta:hover {
  background: var(--accent-400);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent-200);
  background: var(--accent-50);
  color: var(--accent-800);
  font-size: 13px;
  font-weight: 500;
}

.eyebrow.plain {
  border-color: transparent;
  background: transparent;
  color: var(--accent-700);
  padding: 0;
}

.eyebrow.plain::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-600);
  margin-right: 8px;
  vertical-align: middle;
}

.eyebrow.dark {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.hero h1 {
  margin: 22px 0 0;
  font-size: 42px;
  font-weight: 650;
  line-height: 1.08;
  color: #020617;
  text-wrap: balance;
}

.hero-accent {
  color: var(--accent-700);
}

.hero-sub {
  max-width: 520px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-flag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin-top: 20px;
  padding: 9px 16px;
  border: 1px solid #a5f3fc;
  border-radius: 999px;
  background: linear-gradient(90deg, #ecfeff, #f0f9ff);
  color: var(--accent-800);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.hero-flag .icon {
  flex: none;
  color: var(--accent-600);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points .icon.check {
  color: var(--accent-600);
}

/* Mock window */
.hero-visual {
  min-width: 0;
}

.mock-window {
  padding: 12px;
  border-radius: var(--radius-lg);
  background: #020617;
  box-shadow: var(--shadow-pop);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: rgba(251, 113, 133, 0.85);
}

.dot.amber {
  background: rgba(252, 211, 77, 0.85);
}

.dot.green {
  background: rgba(52, 211, 153, 0.85);
}

.mock-title {
  margin-left: 8px;
  font-size: 11px;
  color: #94a3b8;
}

.product-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
}

.mock-body {
  display: flex;
  height: 330px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.mock-layers {
  display: none;
  width: 150px;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-right: 1px solid rgba(15, 23, 42, 0.06);
}

.mock-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #1e293b;
}

.mock-count {
  font-size: 10px;
  font-weight: 400;
  color: var(--faint);
}

.layer-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 10px;
  color: #475569;
}

.layer-row.active {
  background: var(--accent-50);
  box-shadow: inset 0 0 0 1px rgba(8, 145, 178, 0.2);
  color: #083344;
}

.thumb {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.thumb.t1 {
  background: var(--accent-100);
}

.thumb.t2 {
  background: #e2e8f0;
}

.thumb.t3 {
  background: #d1fae5;
}

.mock-canvas {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 12px;
  background-color: #fff;
  background-image: linear-gradient(45deg, #e9eaed 25%, transparent 25%),
    linear-gradient(-45deg, #e9eaed 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e9eaed 75%),
    linear-gradient(-45deg, transparent 75%, #e9eaed 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
}

.mock-art {
  position: absolute;
  inset: 12px;
  overflow: hidden;
  border-radius: 12px;
  background: #dbeafe;
}

.art-sun {
  position: absolute;
  top: 28px;
  left: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(252, 211, 77, 0.9);
}

.art-hill {
  position: absolute;
  bottom: 0;
  height: 90px;
  border-radius: 14px;
}

.art-hill-a {
  left: 46px;
  bottom: 42px;
  width: 128px;
  transform: rotate(-8deg);
  background: rgba(14, 116, 144, 0.78);
}

.art-hill-b {
  right: 40px;
  bottom: 56px;
  width: 112px;
  transform: rotate(6deg);
  background: rgba(30, 41, 59, 0.78);
}

.art-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-panel);
  font-size: 10px;
  font-weight: 500;
  color: #334155;
}

.mock-mask {
  position: absolute;
  left: 38%;
  top: 22%;
  width: 138px;
  height: 96px;
  border-radius: 10px;
  border: 2px solid var(--accent-600);
  background: rgba(8, 145, 178, 0.1);
}

.mask-number,
.prompt-number {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-600);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.mask-number {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 20px;
  height: 20px;
}

.mock-prompt {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  width: 86%;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(8px);
}

.prompt-number {
  width: 20px;
  height: 20px;
}

.prompt-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: var(--muted);
}

.prompt-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-700);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
}

.mock-params {
  display: none;
  width: 170px;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-left: 1px solid rgba(15, 23, 42, 0.06);
}

.param-card {
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.param-label {
  display: block;
  font-size: 10px;
  color: var(--faint);
}

.param-value {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #1e293b;
}

.param-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--faint);
}

.param-row b {
  color: #334155;
  font-weight: 500;
}

.swatch-card {
  margin-top: auto;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--accent-50);
  box-shadow: inset 0 0 0 1px var(--accent-100);
}

.swatches {
  display: flex;
  gap: 5px;
  margin-top: 7px;
}

.swatches i {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-caption {
  margin: 12px 0 0;
  text-align: left;
  font-size: 12px;
  color: var(--faint);
}

/* Stats */
.stats {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.stat {
  text-align: center;
}

.stat-num {
  margin: 0;
  font-size: 30px;
  font-weight: 650;
  color: #020617;
}

.stat-label {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.section-tinted {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--surface);
}

.section-head {
  max-width: 700px;
}

.section-head h2 {
  margin: 10px 0 0;
  font-size: 32px;
  font-weight: 650;
  line-height: 1.18;
  color: #020617;
  text-wrap: balance;
}

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

.section-head strong {
  color: var(--text);
  font-weight: 600;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 44px;
}

.card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--surface);
  box-shadow: var(--shadow-panel);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-200);
  box-shadow: var(--shadow-float);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-50);
  color: var(--accent-700);
  transition: background 0.18s ease, color 0.18s ease;
}

.card-icon .icon {
  width: 20px;
  height: 20px;
}

.card:hover .card-icon {
  background: var(--accent-700);
  color: #fff;
}

.card h3 {
  margin: 18px 0 0;
  font-size: 17px;
  font-weight: 650;
}

.card p {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* Workflow */
.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 44px;
}

.step {
  position: relative;
}

.step::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 56px;
  right: -40px;
  height: 1px;
  background: var(--line);
  display: none;
}

.step:last-child::before {
  display: none;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--accent-700);
  color: #fff;
  font-size: 17px;
  font-weight: 650;
  box-shadow: 0 0 0 1px rgba(8, 145, 178, 0.25), var(--shadow-panel);
}

.step h3 {
  margin: 18px 0 0;
  font-size: 19px;
  font-weight: 650;
}

.step p {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 44px;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--surface);
  box-shadow: var(--shadow-panel);
}

.gallery-shot {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  background: var(--panel);
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-shot {
  transform: scale(1.03);
}

.shot-a {
  object-position: 50% 18%;
}

.shot-b {
  object-position: 20% 62%;
}

.shot-c {
  object-position: 82% 66%;
}

.gallery-card figcaption {
  padding: 14px 18px 18px;
}

.gallery-card figcaption b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.gallery-card figcaption span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* Pricing */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 44px;
}

.plan {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--surface);
  box-shadow: var(--shadow-panel);
}

.plan-hot {
  border-color: var(--accent-600);
  background: var(--accent-50);
  box-shadow: var(--shadow-float);
}

.plan-badge {
  position: absolute;
  top: -11px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-700);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.plan-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 650;
}

.plan-name .icon.coins {
  color: var(--accent-700);
}

.plan-hot .plan-name .icon.coins {
  color: var(--accent-700);
}

.plan-price {
  margin: 16px 0 0;
  font-size: 32px;
  font-weight: 650;
  color: #020617;
}

.plan-desc {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.plan-features {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.plan-features .icon {
  width: 14px;
  height: 14px;
  color: var(--accent-600);
}

.plan-btn {
  width: 100%;
  margin-top: 22px;
}

/* 全新平台模式 */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: var(--surface);
  box-shadow: var(--shadow-panel);
}

.mode-hot {
  border-color: var(--accent-600);
  background: var(--accent-50);
  box-shadow: var(--shadow-float);
}

.mode-tag,
.mode-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.mode-tag {
  background: #f1f5f9;
  color: #475569;
}

.mode-badge {
  background: var(--accent-700);
  color: #fff;
}

.mode-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--accent-700);
  color: #fff;
}

.mode-card:not(.mode-hot) .mode-icon {
  background: #0f172a;
}

.mode-icon .icon {
  width: 20px;
  height: 20px;
}

.mode-card h3 {
  margin: 18px 0 0;
  font-size: 19px;
  font-weight: 650;
}

.mode-card > p {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.mode-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.mode-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #334155;
}

.mode-list .icon {
  width: 15px;
  height: 15px;
  color: var(--accent-600);
}

.mode-hot .mode-list li {
  color: var(--accent-900);
}

.mode-btn {
  margin-top: 22px;
}

.mode-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.mode-note-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--accent-50);
  color: var(--accent-700);
  flex-shrink: 0;
}

.mode-note-icon .icon {
  width: 15px;
  height: 15px;
}

.mode-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.mode-note strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 860px) {
  .mode-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 56px 24px;
  border-radius: var(--radius-lg);
  background: #020617;
  color: #fff;
  text-align: center;
}

.cta-glow {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(14, 116, 144, 0.32), transparent 55%, rgba(8, 145, 178, 0.18));
}

.cta-band h2 {
  position: relative;
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 32px;
  font-weight: 650;
  line-height: 1.18;
}

.cta-band p {
  position: relative;
  margin: 12px auto 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
}

.cta-band .btn {
  position: relative;
  margin-top: 30px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
  font-size: 14px;
  color: var(--muted);
}

.footer-links a:hover {
  color: #1e293b;
}

.copyright {
  margin: 0;
  font-size: 12px;
  color: var(--faint);
}

/* Floating WeChat contact */
.contact-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.contact-float-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  box-shadow: var(--shadow-pop);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-float-toggle:hover {
  background: var(--accent-700);
  transform: translateY(-1px);
}

.contact-float-toggle .icon {
  width: 18px;
  height: 18px;
}

.contact-float-panel {
  position: relative;
  width: 216px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-pop);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-float-panel[hidden] {
  display: none;
}

.contact-float-panel img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
}

.contact-float-title {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.contact-float-sub {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.contact-float-close {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.06);
  color: var(--muted);
  cursor: pointer;
}

.contact-float-close:hover {
  background: rgba(15, 23, 42, 0.12);
  color: var(--text);
}

.contact-float-close .icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 639px) {
  .contact-float {
    right: 14px;
    bottom: 14px;
  }

  .contact-float-panel {
    width: 196px;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.feature-grid .reveal:nth-child(2),
.step-grid .reveal:nth-child(2),
.gallery-grid .reveal:nth-child(2) {
  transition-delay: 70ms;
}

.feature-grid .reveal:nth-child(3),
.step-grid .reveal:nth-child(3),
.gallery-grid .reveal:nth-child(3) {
  transition-delay: 140ms;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 52px;
  }

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

  .stat + .stat {
    border-left: 1px solid var(--line);
  }

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

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

  .gallery-shot {
    height: 210px;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .step::before {
    display: block;
  }

  .mock-layers {
    display: flex;
  }

  .mock-params {
    display: flex;
  }

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    padding-top: 80px;
    padding-bottom: 88px;
  }

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

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

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

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms;
  }

  .btn,
  .btn:active,
  .card,
  .card:hover,
  .gallery-card:hover .gallery-shot {
    transition: none;
    transform: none;
  }
}
