:root {
  --page: #f4f6f5;
  --surface: #ffffff;
  --surface-soft: #eef5f4;
  --text: #172126;
  --muted: #66747b;
  --line: #d8e1e2;
  --primary: #14766f;
  --primary-dark: #0c554f;
  --accent: #d45b3f;
  --ink: #101619;
  --warm: #c9874f;
  --rose: #b95f6b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--text);
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

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

.review-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(20, 118, 111, 0.08), transparent 360px),
    var(--page);
}

.review-nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
}

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

.review-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.review-brand strong { display: block; font-size: 20px; }
.review-brand span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }

.review-links { display: flex; align-items: center; gap: 18px; color: #415156; font-weight: 700; }
.review-links .active { color: var(--primary); }

.review-button {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.review-button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary-dark);
}

.review-button:hover { filter: brightness(0.96); }

.review-button.disabled {
  background: #d6ddde;
  color: #6f7b80;
}

.review-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.hero-copy { display: grid; gap: 20px; }
.eyebrow { color: var(--primary); font-size: 13px; font-weight: 900; }
.hero h1, .page-heading h1 { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: 0; }
.hero p, .page-heading p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-image, .feature-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101820;
  box-shadow: 0 18px 42px rgba(25, 45, 48, 0.14);
}

.hero-image img, .feature-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-image { aspect-ratio: 16 / 10; }

.home-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(640px, calc(100vh - 88px));
  margin-top: -88px;
  padding: 136px 24px 56px;
  overflow: hidden;
  color: #fff;
}

.home-hero-bg,
.home-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-bg {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.home-hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 16, 18, 0.9) 0%, rgba(10, 16, 18, 0.68) 44%, rgba(10, 16, 18, 0.22) 100%),
    linear-gradient(0deg, rgba(10, 16, 18, 0.55), rgba(10, 16, 18, 0.08) 45%);
}

.home-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  width: min(760px, 100%);
  max-width: 1180px;
  margin: 0 auto;
}

.home-hero .eyebrow { color: #8ee1d7; }
.home-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.home-hero p {
  margin: 0;
  max-width: 660px;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  line-height: 1.8;
}

.home-hero .review-button.secondary {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
  color: #fff;
  backdrop-filter: blur(10px);
}

.creator-hero {
  min-height: min(720px, calc(100vh - 70px));
}

.production-hero .home-hero-content {
  width: min(860px, 100%);
}

.production-hero h1 {
  max-width: 820px;
}

.creator-note {
  max-width: 560px;
  border-left: 3px solid #8ee1d7;
  padding-left: 13px;
  color: rgba(255, 255, 255, 0.74) !important;
  font-size: 14px !important;
}

.hero-art-card {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2 + 24px));
  bottom: 42px;
  z-index: 2;
  display: grid;
  gap: 5px;
  min-width: 280px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(12, 18, 21, .52);
  color: #fff;
  padding: 14px 16px;
  backdrop-filter: blur(12px);
}

.hero-art-card span {
  color: #8ee1d7;
  font-size: 12px;
  font-weight: 900;
}

.hero-art-card strong {
  font-size: 15px;
}

.intro-section {
  padding-top: 72px;
}

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

.flow-cards article,
.usecase-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.flow-cards strong {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0;
}

.flow-cards h3,
.usecase-grid h3,
.gallery-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.flow-cards p,
.usecase-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-section {
  padding-top: 64px;
}

.proof-section {
  padding-top: 72px;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.92fr);
  gap: 16px;
}

.proof-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(22, 39, 42, 0.08);
}

.proof-card.feature {
  grid-row: span 3;
}

.proof-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ink);
}

.proof-card.feature img {
  height: 530px;
  aspect-ratio: auto;
}

.proof-copy {
  display: grid;
  gap: 9px;
  padding: 17px;
}

.proof-copy span {
  width: fit-content;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.proof-copy h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.proof-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.proof-copy .sample-line {
  border-left: 3px solid var(--accent);
  background: #fff8f5;
  color: #7d4938;
  padding: 8px 10px;
  font-weight: 800;
}

.belief-section {
  padding-top: 54px;
}

.belief-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: center;
  border: 1px solid #bdd7d4;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 118, 111, .13), rgba(212, 91, 63, .07)),
    var(--surface);
  padding: 28px;
}

.belief-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
}

.belief-panel p {
  margin: 0;
  color: #405258;
  font-size: 17px;
  line-height: 1.85;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.gallery-card.feature {
  grid-row: span 3;
  min-height: 650px;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 13, 15, .84) 100%);
}

.gallery-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.gallery-card span {
  width: fit-content;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #d7f8f4;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.gallery-card h3 {
  max-width: 640px;
  color: #fff;
}

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

.usecase-grid article {
  padding: 0;
  overflow: hidden;
}

.usecase-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}

.production-usecases img {
  aspect-ratio: 4 / 3;
}

.usecase-grid h3,
.usecase-grid p {
  padding-left: 16px;
  padding-right: 16px;
}

.usecase-grid h3 {
  padding-top: 14px;
}

.usecase-grid p {
  padding-bottom: 18px;
}

.maker-panel {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 118, 111, .10), rgba(212, 91, 63, .08)),
    var(--surface);
  padding: 28px;
}

.maker-panel h2,
.final-cta h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}

.maker-copy {
  display: grid;
  gap: 14px;
}

.maker-copy p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.final-cta {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding-top: 72px;
  padding-bottom: 74px;
}

.final-cta .review-button {
  min-width: 160px;
}

.home-section { padding-top: 58px; padding-bottom: 22px; }

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.home-showcase h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading p,
.home-showcase p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.workflow-strip article {
  display: grid;
  gap: 10px;
  min-height: 176px;
  padding: 22px;
  background: var(--surface);
}

.workflow-strip strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8f3f0;
  color: var(--primary-dark);
  font-size: 16px;
}

.workflow-strip h3,
.home-category-card h3 {
  margin: 0;
  font-size: 20px;
}

.workflow-strip p,
.home-category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.home-category-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.home-category-card.wide { grid-column: span 2; }

.home-category-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--ink);
}

.home-category-card.wide img { aspect-ratio: 16 / 9; }
.home-category-card div { display: grid; gap: 8px; padding: 16px; }

.home-showcase {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 118, 111, .12), rgba(185, 95, 107, .08)),
    var(--surface);
}

.home-showcase > div:first-child {
  display: grid;
  gap: 16px;
  align-content: start;
}

.home-showcase .review-button { width: fit-content; }

.showcase-mosaic {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.showcase-mosaic img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--ink);
}

.showcase-mosaic img:first-child { grid-row: span 2; }

.section-title { margin: 64px 0 18px; font-size: 28px; }

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

.service-card, .price-card, .pay-panel, .order-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-card { overflow: hidden; }
.service-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #101820; }
.service-card div { display: grid; gap: 8px; padding: 16px; }
.service-card h3, .price-card h3 { margin: 0; font-size: 18px; }
.service-card p, .price-card p, .muted { margin: 0; color: var(--muted); line-height: 1.65; }

.page-heading {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin-bottom: 28px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.price-card { display: grid; gap: 12px; padding: 18px; }
.price-card strong { color: var(--primary); font-size: 26px; }

.pay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.pay-panel { padding: 22px; }
.pay-panel h2, .order-card h2 { margin: 0 0 16px; }
.pay-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}
.pay-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  font-weight: 900;
}
.order-card { display: grid; gap: 14px; padding: 20px; }
.order-row { display: flex; justify-content: space-between; gap: 16px; color: #405258; }
.order-total { padding-top: 14px; border-top: 1px solid var(--line); font-size: 20px; font-weight: 900; }

.notice {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #ead7b2;
  border-radius: 6px;
  background: #fff9ea;
  color: #775a22;
  line-height: 1.65;
}

.review-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.review-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: start;
  justify-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  background: rgba(12, 18, 21, 0.82);
}

.review-auth-dialog {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(420px, 92vw);
  margin: auto 0;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.review-auth-dialog h2 { margin: 0; font-size: 24px; }
.review-auth-dialog p, .review-auth-dialog small { margin: 0; color: var(--muted); line-height: 1.55; }
.review-auth-dialog input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}

.review-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.review-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.review-captcha-row strong {
  display: grid;
  place-items: center;
  min-height: 40px;
  border: 1px dashed #9bb9b6;
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.review-auth-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#reviewAuthMessage { min-height: 18px; color: var(--accent); }
.hidden { display: none !important; }

@media (max-width: 860px) {
  .review-nav { align-items: flex-start; flex-direction: column; }
  .review-links { flex-wrap: wrap; }
  .hero, .pay-layout, .service-list { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .home-hero {
    min-height: 620px;
    margin-top: -146px;
    padding-top: 198px;
  }
  .home-hero-shade {
    background:
      linear-gradient(180deg, rgba(10, 16, 18, 0.84), rgba(10, 16, 18, 0.48) 46%, rgba(10, 16, 18, 0.9) 100%);
  }
  .workflow-strip,
  .home-showcase,
  .showcase-mosaic,
  .flow-cards,
  .gallery-grid,
  .proof-grid,
  .usecase-grid,
  .maker-panel { grid-template-columns: 1fr; }
  .creator-hero {
    min-height: 700px;
  }
  .hero-art-card {
    left: 24px;
    right: 24px;
    bottom: 24px;
    min-width: 0;
  }
  .gallery-card,
  .gallery-card.feature,
  .proof-card.feature {
    grid-row: auto;
    min-height: 380px;
  }
  .proof-card.feature img {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .home-category-grid { grid-template-columns: 1fr; }
  .home-category-card.wide { grid-column: auto; }
  .showcase-mosaic img:first-child { grid-row: auto; }
}
