:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #617086;
  --line: #d9e2ee;
  --soft-line: #e8eef6;
  --page: #f6f9fd;
  --surface: #ffffff;
  --surface-blue: #eef5fc;
  --navy: #003275;
  --blue: #00429a;
  --bright-blue: #105fc8;
  --gold: #c79a35;
  --gold-soft: #fff5da;
  --shadow: 0 20px 55px rgba(16, 32, 51, 0.1);
  --shadow-soft: 0 10px 28px rgba(16, 32, 51, 0.07);
  --shadow-hover: 0 22px 54px rgba(16, 32, 51, 0.12);
  --radius: 8px;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(217, 226, 238, 0.78);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.header-actions,
.main-nav,
.language-switch,
.trust-points,
.input-row,
.quick-links,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 210px;
}

.brand-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 42px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.22);
  transform-origin: center;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: 0;
  color: var(--navy);
}

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

.main-nav {
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #314156;
  font-size: 14px;
  white-space: nowrap;
}

.main-nav a:hover,
.login-link:hover,
.quick-links a:hover {
  color: var(--bright-blue);
}

.main-nav .is-current {
  color: var(--blue);
  font-weight: 700;
}

.header-actions {
  gap: 12px;
  justify-content: flex-end;
}

.language-switch {
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbfe;
  color: var(--muted);
  font-size: 13px;
}

.language-switch span,
.language-switch a {
  display: block;
  min-width: 28px;
  padding: 5px 7px;
  text-align: center;
  border-radius: 6px;
}

.language-switch .is-active {
  color: var(--navy);
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(16, 32, 51, 0.08);
}

.login-link {
  color: var(--muted);
  font-size: 14px;
}

.primary-action,
.secondary-action,
.generation-panel button,
.generation-launch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.primary-action,
.generation-panel button,
.generation-launch-link {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(0, 66, 154, 0.22);
}

.primary-action:hover,
.generation-panel button:hover,
.generation-launch-link:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 50, 117, 0.24);
}

.primary-action:focus-visible,
.secondary-action:focus-visible,
.generation-panel button:focus-visible,
.generation-launch-link:focus-visible,
.contact-form button:focus-visible {
  outline: 3px solid rgba(16, 95, 200, 0.22);
  outline-offset: 2px;
}

.generation-panel button:disabled {
  cursor: wait;
  opacity: 0.74;
  box-shadow: none;
}

.secondary-action {
  color: var(--blue);
  background: var(--surface);
  border-color: var(--line);
}

.secondary-action:hover {
  color: var(--navy);
  border-color: rgba(0, 66, 154, 0.28);
  background: #f8fbff;
  transform: translateY(-1px);
}

main {
  overflow: hidden;
  max-width: 100vw;
}

.hero-section,
.capability-section,
.proof-section,
.workflow-section,
.pricing-section,
.resource-section,
.contact-section {
  padding-right: clamp(20px, 4vw, 64px);
  padding-left: clamp(20px, 4vw, 64px);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(540px, 1.04fr);
  gap: 44px;
  align-items: center;
  min-height: min(720px, calc(100vh - 76px));
  padding-top: clamp(42px, 5vw, 74px);
  padding-bottom: clamp(44px, 5vw, 76px);
  background:
    linear-gradient(180deg, rgba(238, 245, 252, 0.8), rgba(246, 249, 253, 1)),
    linear-gradient(90deg, rgba(0, 50, 117, 0.08), transparent 54%);
}

.hero-content,
.hero-workbench,
.hero-image-shell,
.generation-panel,
.resource-section > *,
.contact-section > *,
.wide-feature > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 10px;
  border: 1px solid #d7e4f2;
  border-radius: var(--radius);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(44px, 5.7vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
  color: #071f42;
  overflow-wrap: anywhere;
}

.hero-section h1 {
  font-size: clamp(42px, 5vw, 64px);
}

.hero-lede {
  max-width: 760px;
  margin-top: 22px;
  color: #40536b;
  font-size: 18px;
  line-height: 1.82;
}

.generation-panel {
  max-width: 760px;
  margin-top: 32px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.generation-panel label {
  display: block;
  margin-bottom: 10px;
  color: #25364a;
  font-weight: 700;
}

.input-row {
  gap: 10px;
}

.input-row input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  color: var(--ink);
  background: #fbfdff;
}

.input-row input:focus {
  border-color: var(--bright-blue);
  box-shadow: 0 0 0 3px rgba(16, 95, 200, 0.12);
}

.input-row input.is-invalid,
.prompt-input-wrap textarea.is-invalid {
  border-color: #c94242;
  background: #fffafa;
  box-shadow: 0 0 0 3px rgba(201, 66, 66, 0.1);
}

.input-row button,
.input-row .generation-launch-link {
  flex: 0 0 auto;
  min-height: 48px;
}

.quick-links {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.generator-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.generator-status.is-error {
  color: #b83232;
}

.generator-status.is-loading {
  color: var(--blue);
}

.generator-status.is-success {
  color: #1f7a4d;
}

.trust-points {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-points span {
  padding: 8px 11px;
  border: 1px solid #dbe6f2;
  border-radius: var(--radius);
  color: #33455c;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-workbench {
  border: 1px solid #cddbeb;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 26px 70px rgba(0, 50, 117, 0.16);
  overflow: hidden;
}

.hero-image-shell {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid #cddbeb;
  border-radius: var(--radius);
  background: #edf4fb;
  box-shadow: 0 26px 70px rgba(0, 50, 117, 0.16);
  overflow: hidden;
}

.hero-image-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workbench-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--soft-line);
  background: #fbfdff;
}

.workbench-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
}

.workbench-top strong {
  color: #22344a;
}

.workbench-top em {
  padding: 5px 8px;
  border-radius: var(--radius);
  color: #795600;
  background: var(--gold-soft);
  font-style: normal;
  font-size: 12px;
}

.workbench-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 14px;
  padding: 16px;
}

.product-source,
.output-preview,
.insight-panel,
.script-panel {
  min-height: 150px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fff;
}

.product-source {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.source-image {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(0, 66, 154, 0.1), rgba(199, 154, 53, 0.18)),
    linear-gradient(180deg, #f7fbff, #e4edf7);
}

.product-source strong,
.product-source span {
  display: block;
}

.product-source strong {
  color: #1e3148;
}

.product-source span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.output-preview {
  grid-row: span 2;
  padding: 14px;
  background: #f8fbff;
}

.video-frame {
  display: grid;
  place-items: center;
  width: 48%;
  min-width: 126px;
  height: 250px;
  margin: 0 auto 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(0, 50, 117, 0.9), rgba(16, 95, 200, 0.82)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent);
  color: #fff;
  font-weight: 800;
}

.timeline-bars {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.7fr;
  gap: 6px;
}

.timeline-bars i {
  height: 10px;
  border-radius: var(--radius);
  background: #c7d8ec;
}

.insight-panel,
.script-panel {
  padding: 16px;
}

.insight-panel h2,
.script-panel h2 {
  margin: 0 0 12px;
  color: #21344b;
  font-size: 16px;
}

.insight-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 13px;
}

.script-line {
  height: 10px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: #d8e4f2;
}

.script-line.short {
  width: 58%;
}

.capability-section,
.workflow-section,
.pricing-section,
.resource-section,
.contact-section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 32px;
}

.capability-section .section-heading,
.proof-section .section-heading,
.workflow-section .section-heading,
.pricing-section .section-heading,
.resource-section > div:first-child {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.resource-section h2,
.contact-section h2 {
  color: #0d2546;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow),
.resource-section p,
.contact-section p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.wide-feature-list {
  display: grid;
  gap: 22px;
}

.wide-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.wide-feature:hover,
.product-card:hover,
.plans-grid article:hover,
.metric-grid article:hover,
.use-case-grid article:hover,
.relationship-grid div:hover,
.scenario-grid article:hover,
.result-grid article:hover,
.case-grid article:hover,
.docs-card-grid article:hover,
.doc-steps article:hover,
.doc-detail-grid article:hover,
.doc-api-flow article:hover,
.doc-faq-list article:hover,
.api-capability-grid article:hover,
.contact-methods > div:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 66, 154, 0.22);
  box-shadow: var(--shadow-hover);
}

.feature-copy span {
  color: var(--gold);
  font-weight: 800;
}

.feature-copy h3 {
  margin-top: 10px;
  color: #10294d;
  font-size: 28px;
}

.feature-copy p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.feature-art {
  min-height: 220px;
  border: 1px solid #d7e4f2;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbff, #edf4fc);
  overflow: hidden;
}

.feature-image-art {
  min-height: 260px;
}

.feature-image-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.wide-feature:hover .feature-image-art img,
.product-card:hover .product-card-image img,
.support-hero-visual:hover img,
.hero-image-shell:hover img,
.product-overview-visual:hover img {
  transform: scale(1.015);
}

.proof-section {
  padding-right: clamp(20px, 4vw, 64px);
  padding-left: clamp(20px, 4vw, 64px);
  background: var(--surface-blue);
}

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

.metric-grid article,
.use-case-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.metric-grid article {
  min-height: 210px;
  padding: 22px;
}

.metric-grid strong {
  display: block;
  color: var(--navy);
  font-size: 36px;
  line-height: 1;
}

.metric-grid span {
  display: block;
  margin-top: 16px;
  color: #172c49;
  font-weight: 900;
}

.metric-grid p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.use-case-grid article {
  min-height: 240px;
  padding: 24px;
}

.use-case-grid span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: #795600;
  background: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

.use-case-grid h3 {
  margin-top: 18px;
  color: #10294d;
  font-size: 24px;
  line-height: 1.32;
}

.use-case-grid p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.assurance-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.88fr);
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding: 28px;
  border: 1px solid rgba(0, 66, 154, 0.18);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 50, 117, 0.09);
}

.assurance-band h3 {
  color: #0d2546;
  font-size: 30px;
  line-height: 1.24;
}

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

.assurance-list span {
  min-height: 58px;
  padding: 18px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  color: var(--blue);
  background: #fbfdff;
  font-weight: 900;
}

.workflow-section {
  background: #fff;
}

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

.workflow-steps div,
.pricing-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.workflow-steps div {
  min-height: 190px;
  padding: 18px;
}

.workflow-steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
}

.workflow-steps span {
  display: block;
  color: #172c49;
  font-weight: 800;
}

.workflow-steps p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

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

.pricing-grid article {
  min-height: 190px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pricing-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 66, 154, 0.22);
  box-shadow: var(--shadow-hover);
}

.pricing-grid h3 {
  color: #172c49;
  font-size: 18px;
}

.pricing-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 30px;
}

.pricing-grid p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.pricing-grid .featured-plan {
  border-color: rgba(199, 154, 53, 0.55);
  box-shadow: 0 16px 36px rgba(199, 154, 53, 0.12);
}

.resource-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 32px;
  align-items: center;
}

.resource-section {
  background: var(--surface-blue);
}

.resource-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.resource-links a {
  min-height: 76px;
  padding: 18px;
  border: 1px solid #d4e0ee;
  border-radius: var(--radius);
  color: #183354;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.contact-section {
  background: #0d2546;
  color: #fff;
}

.contact-section .eyebrow {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.contact-section h2 {
  color: #fff;
}

.contact-section p {
  color: #c9d7e8;
}

.contact-actions {
  justify-content: flex-end;
  gap: 12px;
}

.pricing-light-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contact-section .secondary-action {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 24px clamp(20px, 4vw, 64px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--soft-line);
  font-size: 14px;
  text-align: center;
  flex-wrap: wrap;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--blue);
}

.product-hero,
.product-suite-section,
.product-relationship-section,
.scenario-section {
  padding-right: clamp(20px, 4vw, 64px);
  padding-left: clamp(20px, 4vw, 64px);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 0.85fr);
  gap: 44px;
  align-items: center;
  min-height: 600px;
  padding-top: 64px;
  padding-bottom: 64px;
  background:
    linear-gradient(180deg, rgba(238, 245, 252, 0.88), rgba(246, 249, 253, 1)),
    linear-gradient(90deg, rgba(0, 66, 154, 0.08), transparent 58%);
}

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

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

.product-map {
  position: relative;
  min-height: 430px;
  border: 1px solid #cddbeb;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff, #f3f8fd),
    radial-gradient(circle at center, rgba(16, 95, 200, 0.18), transparent 45%);
  box-shadow: 0 26px 70px rgba(0, 50, 117, 0.14);
  overflow: hidden;
}

.product-overview-visual {
  position: relative;
  min-height: 430px;
  border: 1px solid #cddbeb;
  border-radius: var(--radius);
  background: #edf4fb;
  box-shadow: 0 26px 70px rgba(0, 50, 117, 0.14);
  overflow: hidden;
}

.product-overview-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-map::before,
.product-map::after {
  content: "";
  position: absolute;
  inset: 72px;
  border: 1px solid rgba(0, 66, 154, 0.11);
  border-radius: 50%;
}

.product-map::after {
  inset: 118px;
}

.map-center,
.map-node {
  position: absolute;
  display: grid;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(16, 32, 51, 0.08);
}

.map-center {
  top: 50%;
  left: 50%;
  width: 170px;
  height: 112px;
  transform: translate(-50%, -50%);
  text-align: center;
  border-color: rgba(199, 154, 53, 0.42);
}

.map-center strong {
  color: var(--navy);
  font-size: 26px;
}

.map-center span,
.map-node span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.map-node {
  width: 154px;
  min-height: 86px;
  padding: 14px;
}

.map-node b {
  color: #183354;
}

.node-video {
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
}

.node-gallery {
  top: 50%;
  right: 34px;
  transform: translateY(-50%);
}

.node-prompt {
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
}

.node-script {
  top: 50%;
  left: 34px;
  transform: translateY(-50%);
}

.product-suite-section,
.product-relationship-section,
.scenario-section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.product-suite-section .section-heading,
.product-relationship-section .section-heading,
.scenario-section .section-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.product-suite-grid {
  display: grid;
  gap: 22px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: stretch;
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card-primary {
  border-color: rgba(0, 66, 154, 0.28);
  box-shadow: 0 22px 55px rgba(0, 50, 117, 0.12);
}

.product-card-copy {
  min-width: 0;
}

.product-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: #795600;
  background: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

.product-card h3 {
  color: #10294d;
  font-size: clamp(26px, 3vw, 36px);
}

.product-suite-section .product-card h3 {
  text-align: center;
}

.product-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.78;
}

.product-card dl {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.product-card dl div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.product-card dt,
.product-card dd {
  margin: 0;
}

.product-card dt {
  color: var(--blue);
  font-weight: 800;
}

.product-card dd {
  color: #41546d;
}

.product-detail-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.product-detail-link:hover {
  color: var(--bright-blue);
}

.product-card-visual {
  min-width: 0;
  min-height: 270px;
  border: 1px solid #d7e4f2;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbff, #edf4fc);
  overflow: hidden;
}

.product-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.product-relationship-section {
  background: #fff;
}

.relationship-grid,
.scenario-grid {
  display: grid;
  gap: 16px;
}

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

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

.relationship-grid div,
.scenario-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.relationship-grid strong,
.scenario-grid h3 {
  color: #172c49;
  font-size: 18px;
}

.relationship-grid p,
.scenario-grid p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.products-contact {
  margin-top: 0;
}

.video-detail-hero,
.detail-workflow-section,
.video-output-section,
.control-section,
.platform-section,
.business-results-section,
.case-section {
  padding-right: clamp(20px, 4vw, 64px);
  padding-left: clamp(20px, 4vw, 64px);
}

.video-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.9fr);
  gap: 44px;
  align-items: center;
  min-height: min(680px, calc(100vh - 76px));
  padding-top: 64px;
  padding-bottom: 64px;
  background:
    linear-gradient(180deg, rgba(238, 245, 252, 0.86), rgba(246, 249, 253, 1)),
    linear-gradient(90deg, rgba(0, 66, 154, 0.08), transparent 58%);
}

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

.video-url-panel {
  max-width: 820px;
}

.video-generation-board {
  border: 1px solid #cddbeb;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 26px 70px rgba(0, 50, 117, 0.16);
  overflow: hidden;
}

.board-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--soft-line);
  background: #fbfdff;
}

.board-header span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
}

.board-header strong {
  color: #22344a;
}

.board-header em {
  padding: 5px 8px;
  border-radius: var(--radius);
  color: #795600;
  background: var(--gold-soft);
  font-style: normal;
  font-size: 12px;
}

.board-body {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 14px;
  padding: 16px;
}

.source-card,
.board-side div {
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fff;
}

.source-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.source-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(0, 66, 154, 0.12), rgba(199, 154, 53, 0.2)),
    linear-gradient(180deg, #f7fbff, #e4edf7);
}

.source-card b,
.source-card p {
  display: block;
}

.source-card b {
  color: #1e3148;
}

.source-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.board-video-preview {
  grid-row: span 2;
  display: grid;
  place-items: center;
  min-height: 430px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.phone-frame {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  width: min(72%, 220px);
  height: 360px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 50, 117, 0.96), rgba(16, 95, 200, 0.86)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent);
  box-shadow: 0 22px 40px rgba(0, 50, 117, 0.18);
}

.phone-frame i {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.phone-frame strong {
  font-size: 18px;
}

.phone-frame span {
  color: rgba(255, 255, 255, 0.78);
}

.board-side {
  display: grid;
  gap: 10px;
}

.board-side div {
  padding: 14px;
}

.board-side b,
.board-side span {
  display: block;
}

.board-side b {
  color: var(--blue);
}

.board-side span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.detail-workflow-section,
.video-output-section,
.control-section,
.platform-section,
.business-results-section,
.case-section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.detail-workflow-section .section-heading,
.video-output-section .section-heading,
.control-section .section-heading,
.platform-section .section-heading,
.business-results-section .section-heading,
.case-section .section-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.detail-workflow-section,
.control-section,
.case-section {
  background: #fff;
}

.detail-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.detail-timeline article,
.output-grid article,
.platform-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.detail-timeline article {
  min-height: 250px;
  padding: 20px;
}

.detail-timeline span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-weight: 900;
}

.detail-timeline h3,
.output-grid h3,
.platform-grid h3 {
  color: #172c49;
  font-size: 20px;
}

.detail-timeline p,
.output-grid p,
.platform-grid p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

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

.output-grid article {
  min-height: 250px;
  padding: 22px;
}

.output-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  border: 1px solid #d7e4f2;
  background: linear-gradient(145deg, #ffffff, #d9e7f6);
}

.video-icon {
  background: linear-gradient(180deg, #003275, #105fc8);
}

.script-icon {
  background: linear-gradient(145deg, #ffffff, #c9d9eb);
}

.caption-icon {
  background: linear-gradient(145deg, #fff5da, #dfeafb);
}

.asset-icon {
  background: linear-gradient(145deg, #e8f1fb, #ffffff);
}

.control-board {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.control-list {
  display: grid;
  gap: 12px;
}

.control-list div,
.control-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.control-list div {
  padding: 18px;
}

.control-list strong,
.control-list span {
  display: block;
}

.control-list strong {
  color: #172c49;
}

.control-list span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.control-preview {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  background: linear-gradient(180deg, #f8fbff, #eef5fc);
}

.control-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fff;
}

.control-row span {
  color: var(--blue);
  font-weight: 800;
}

.control-row b {
  color: #33455c;
}

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

.platform-grid article {
  min-height: 180px;
  padding: 22px;
}

.business-results-section {
  background: var(--surface-blue);
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 16px;
}

.result-summary article {
  padding: 18px 20px;
  border: 1px solid rgba(0, 66, 154, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.result-summary strong {
  display: block;
  color: #0d2546;
  font-size: 18px;
}

.result-summary span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.result-grid,
.case-grid {
  display: grid;
  gap: 16px;
}

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

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

.result-grid article,
.case-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.06);
}

.result-grid article {
  min-height: 210px;
  padding: 24px;
}

.result-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.result-grid strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
}

.result-grid p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.case-grid article {
  min-height: 250px;
  padding: 24px;
}

.case-grid span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: #795600;
  background: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

.case-grid h3 {
  margin-top: 18px;
  color: #10294d;
  font-size: 24px;
  line-height: 1.32;
}

.case-grid p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.gallery-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.9fr);
  gap: 44px;
  align-items: center;
  min-height: min(680px, calc(100vh - 76px));
  padding: 64px clamp(20px, 4vw, 64px);
  background:
    linear-gradient(180deg, rgba(238, 245, 252, 0.86), rgba(246, 249, 253, 1)),
    linear-gradient(90deg, rgba(0, 66, 154, 0.08), transparent 58%);
}

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

.gallery-generation-board {
  border: 1px solid #cddbeb;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 26px 70px rgba(0, 50, 117, 0.16);
  overflow: hidden;
}

.gallery-board-body {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
  padding: 16px;
}

.gallery-source-card,
.gallery-side div {
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fff;
}

.gallery-source-card {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.gallery-source-card b,
.gallery-source-card p {
  display: block;
}

.gallery-source-card b {
  color: #1e3148;
}

.gallery-source-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 330px;
  padding: 14px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.gallery-preview-grid div {
  display: grid;
  place-items: center;
  border: 1px solid #d6e2f0;
  border-radius: var(--radius);
  color: #24415f;
  background: linear-gradient(145deg, #ffffff, #d9e7f6);
  font-weight: 800;
}

.gallery-preview-grid .main-shot {
  grid-row: span 2;
  color: #fff;
  background: linear-gradient(160deg, rgba(0, 66, 154, 0.9), rgba(16, 95, 200, 0.72));
}

.gallery-preview-grid .wide-shot {
  grid-column: span 2;
}

.gallery-side {
  display: grid;
  gap: 10px;
}

.gallery-side div {
  padding: 14px;
}

.gallery-side b,
.gallery-side span {
  display: block;
}

.gallery-side b {
  color: var(--blue);
}

.gallery-side span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.main-image-icon {
  background: linear-gradient(180deg, #003275, #105fc8);
}

.scene-image-icon {
  background: linear-gradient(145deg, #e8f1fb, #ffffff);
}

.selling-image-icon {
  background: linear-gradient(145deg, #fff5da, #dfeafb);
}

.banner-image-icon {
  background: linear-gradient(90deg, #003275, #105fc8);
}

.prompt-video-hero,
.script-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.9fr);
  gap: 44px;
  align-items: center;
  min-height: min(680px, calc(100vh - 76px));
  padding: 64px clamp(20px, 4vw, 64px);
  background:
    linear-gradient(180deg, rgba(238, 245, 252, 0.86), rgba(246, 249, 253, 1)),
    linear-gradient(90deg, rgba(0, 66, 154, 0.08), transparent 58%);
}

.prompt-video-hero h1,
.script-detail-hero h1 {
  max-width: 820px;
}

.prompt-input-wrap {
  display: grid;
  gap: 10px;
}

.prompt-input-wrap textarea {
  min-height: 112px;
  width: 100%;
  resize: vertical;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
  line-height: 1.6;
}

.prompt-input-wrap textarea:focus {
  border-color: var(--bright-blue);
  box-shadow: 0 0 0 3px rgba(16, 95, 200, 0.12);
}

.prompt-input-wrap button,
.prompt-input-wrap .generation-launch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(0, 66, 154, 0.22);
  cursor: pointer;
  font-weight: 700;
}

.prompt-input-wrap button:hover,
.prompt-input-wrap .generation-launch-link:hover {
  background: var(--navy);
}

.prompt-input-wrap button:disabled {
  cursor: wait;
  opacity: 0.74;
  box-shadow: none;
}

.prompt-generation-board,
.script-generation-board {
  border: 1px solid #cddbeb;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 26px 70px rgba(0, 50, 117, 0.16);
  overflow: hidden;
}

.support-hero-visual {
  overflow: hidden;
  border: 1px solid #cddbeb;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 50, 117, 0.16);
}

.support-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.board-image-shell {
  border-bottom: 1px solid var(--soft-line);
  background: #f8fbff;
}

.board-image-shell img {
  display: block;
  width: 100%;
  height: auto;
}

.is-supporting-mockup {
  display: none;
}

.prompt-board-body {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 14px;
  padding: 16px;
}

.prompt-brief-card,
.prompt-scene-board,
.prompt-video-output {
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fff;
}

.prompt-brief-card {
  grid-column: 1 / -1;
  padding: 16px;
}

.prompt-brief-card b,
.prompt-brief-card p {
  display: block;
}

.prompt-brief-card b {
  color: #1e3148;
}

.prompt-brief-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.prompt-scene-board {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #f8fbff;
}

.prompt-scene-board div {
  min-height: 82px;
  padding: 14px;
  border: 1px solid #dbe6f2;
  border-radius: var(--radius);
  background: #fff;
}

.prompt-scene-board span,
.prompt-scene-board strong {
  display: block;
}

.prompt-scene-board span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.prompt-scene-board strong {
  margin-top: 8px;
  color: #183354;
}

.prompt-video-output {
  display: grid;
  place-items: center;
  min-height: 360px;
  background: #f8fbff;
}

.prompt-phone {
  height: 300px;
}

.script-board-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(210px, 0.72fr);
  gap: 14px;
  padding: 16px;
}

.script-brief-card,
.script-table-card,
.script-side-board div {
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fff;
}

.script-brief-card {
  grid-column: 1 / -1;
  padding: 16px;
}

.script-brief-card b,
.script-brief-card p,
.script-side-board b,
.script-side-board span {
  display: block;
}

.script-brief-card b {
  color: #1e3148;
}

.script-brief-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.script-table-card {
  padding: 14px;
  background: #f8fbff;
}

.script-detail-table {
  display: grid;
  grid-template-columns: 0.58fr 1.2fr 1.1fr;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fff;
}

.script-detail-table b,
.script-detail-table span {
  min-height: 58px;
  padding: 13px;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  font-size: 13px;
  line-height: 1.55;
}

.script-detail-table b {
  color: var(--navy);
  background: #eef5fc;
}

.script-detail-table span {
  color: var(--muted);
}

.script-side-board {
  display: grid;
  gap: 10px;
}

.script-side-board div {
  padding: 14px;
}

.script-side-board b {
  color: var(--blue);
}

.script-side-board span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.page-hero,
.plans-section,
.plan-compare-section,
.docs-layout-section,
.api-hero,
.api-flow-section,
.api-capability-section,
.contact-page-hero {
  padding-right: clamp(20px, 4vw, 64px);
  padding-left: clamp(20px, 4vw, 64px);
}

.page-hero,
.api-hero,
.contact-page-hero {
  background:
    linear-gradient(180deg, rgba(238, 245, 252, 0.86), rgba(246, 249, 253, 1)),
    linear-gradient(90deg, rgba(0, 66, 154, 0.08), transparent 58%);
}

.compact-hero {
  display: grid;
  align-items: center;
  min-height: 360px;
  padding-top: 58px;
  padding-bottom: 58px;
}

.pricing-hero,
.docs-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.84fr);
  gap: 36px;
}

.support-hero-copy {
  min-width: 0;
}

.support-hero-visual {
  min-width: 0;
}

.plans-section,
.plan-compare-section,
.docs-layout-section,
.api-flow-section,
.api-capability-section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.plans-section .section-heading,
.plan-compare-section .section-heading,
.api-flow-section .section-heading,
.api-capability-section .section-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

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

.plans-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 420px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.plans-grid article > span {
  color: var(--gold);
  font-weight: 900;
}

.plans-grid h3 {
  color: var(--navy);
  font-size: 34px;
}

.plans-grid p,
.plans-grid li {
  color: var(--muted);
  line-height: 1.65;
}

.plans-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.plans-grid .primary-action,
.plans-grid .secondary-action {
  align-self: end;
  margin-top: auto;
}

.featured-plan-card {
  border-color: rgba(199, 154, 53, 0.62) !important;
  box-shadow: 0 22px 48px rgba(199, 154, 53, 0.14) !important;
}

.plan-compare-section {
  background: #fff;
  overflow: hidden;
}

.compare-table {
  display: grid;
  grid-template-columns: 1.1fr repeat(5, minmax(110px, 1fr));
  width: 100%;
  min-width: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.compare-table b,
.compare-table span {
  min-width: 110px;
  padding: 16px;
  border-right: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.compare-table b {
  color: var(--navy);
  background: #eef5fc;
}

.compare-table span {
  color: #41546d;
}

.docs-layout-section {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  background: #fff;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  align-content: start;
  gap: 8px;
  height: fit-content;
}

.docs-sidebar a {
  padding: 12px 14px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  color: #33455c;
  background: #fbfdff;
  font-weight: 700;
}

.docs-sidebar a:hover,
.docs-card-grid a:hover {
  color: var(--bright-blue);
}

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

.docs-block {
  display: grid;
  gap: 18px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--soft-line);
}

.docs-block + .docs-block {
  padding-top: 42px;
}

.docs-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.docs-content .section-heading {
  max-width: 780px;
  margin: 0;
  text-align: left;
}

.doc-steps,
.doc-detail-grid,
.doc-api-flow,
.doc-faq-list {
  display: grid;
  gap: 14px;
}

.doc-steps,
.doc-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.doc-api-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.doc-faq-list {
  grid-template-columns: 1fr;
}

.docs-card-grid article,
.doc-note,
.doc-steps article,
.doc-detail-grid article,
.doc-api-flow article,
.doc-faq-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.docs-card-grid article {
  display: grid;
  align-content: start;
  min-height: 300px;
  padding: 22px;
}

.doc-steps article,
.doc-detail-grid article,
.doc-api-flow article,
.doc-faq-list article {
  padding: 20px;
}

.docs-card-grid span,
.doc-steps span,
.doc-api-flow span {
  color: var(--gold);
  font-weight: 900;
}

.docs-card-grid h3,
.doc-note strong,
.doc-steps h3,
.doc-detail-grid h3,
.doc-api-flow h3,
.doc-faq-list h3 {
  display: block;
  margin-top: 10px;
  color: #172c49;
  font-size: 20px;
}

.docs-card-grid p,
.docs-card-grid li,
.doc-note p,
.doc-steps p,
.doc-detail-grid p,
.doc-api-flow p,
.doc-faq-list p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.docs-card-grid ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 18px;
}

.docs-card-grid a,
.doc-note a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.doc-note {
  margin-top: 16px;
  padding: 22px;
  background: #fbfdff;
}

.doc-code {
  margin: 0;
  padding: 22px;
  overflow: auto;
  border: 1px solid #cddbeb;
  border-radius: var(--radius);
  color: #dbe8ff;
  background: #0d2546;
  font-size: 14px;
  line-height: 1.75;
}

.doc-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.api-hero,
.contact-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.82fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: 64px;
  padding-bottom: 64px;
}

.api-hero-stack,
.contact-hero-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.api-visual-card {
  overflow: hidden;
  border: 1px solid #cddbeb;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 50, 117, 0.16);
}

.api-visual-card img {
  display: block;
  width: 100%;
  height: auto;
}

.api-code-card {
  overflow: hidden;
  border: 1px solid #cddbeb;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 50, 117, 0.16);
}

.api-code-card pre {
  margin: 0;
  padding: 22px;
  overflow: auto;
  color: #dbe8ff;
  background: #0d2546;
  line-height: 1.7;
  font-size: 14px;
}

.api-flow-section,
.api-capability-section {
  background: #fff;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.contact-methods div,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.contact-methods div {
  padding: 18px;
}

.contact-methods strong,
.contact-methods a,
.contact-methods span {
  display: block;
}

.contact-methods strong {
  color: var(--navy);
}

.contact-methods a,
.contact-methods span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.contact-wechat-card {
  display: grid;
  gap: 10px;
}

.contact-address-card {
  display: grid;
  gap: 10px;
}

.contact-address-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fff;
}

.contact-wechat-card img {
  display: block;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--soft-line);
  background: #fff;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #25364a;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

.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% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--bright-blue);
  box-shadow: 0 0 0 3px rgba(16, 95, 200, 0.12);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #c2410c;
  background: #fff7ed;
}

.form-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.form-status.is-error {
  color: #c2410c;
}

.form-status.is-success {
  color: #047857;
}

.contact-form button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(0, 66, 154, 0.22);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.contact-form button:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 50, 117, 0.24);
}

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

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 -4px;
    padding: 4px 4px 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid var(--soft-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
  }

  .main-nav .is-current {
    border-color: rgba(0, 66, 154, 0.18);
    background: #eef5fc;
  }

  .hero-section,
  .resource-section,
  .contact-section,
  .product-hero,
  .video-detail-hero,
  .gallery-detail-hero,
  .prompt-video-hero,
  .script-detail-hero,
  .api-hero,
  .contact-page-hero {
    grid-template-columns: 1fr;
  }

  .hero-workbench,
  .hero-image-shell {
    max-width: 760px;
  }

  .workflow-steps,
  .pricing-grid,
  .relationship-grid,
  .scenario-grid,
  .detail-timeline,
  .output-grid,
  .platform-grid,
  .metric-grid,
  .use-case-grid,
  .result-summary,
  .result-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans-grid,
  .docs-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card,
  .control-board,
  .assurance-band {
    grid-template-columns: 1fr;
  }

  .product-map,
  .product-overview-visual {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 14px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text small,
  .login-link {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switch {
    font-size: 12px;
  }

  .language-switch span,
  .language-switch a {
    min-width: 26px;
    padding: 5px 6px;
  }

  .primary-action {
    padding: 0 12px;
  }

  .main-nav {
    font-size: 13px;
  }

  .hero-section,
  .capability-section,
  .proof-section,
  .workflow-section,
  .pricing-section,
  .resource-section,
  .contact-section,
  .product-hero,
  .product-suite-section,
  .product-relationship-section,
  .scenario-section,
  .video-detail-hero,
  .gallery-detail-hero,
  .prompt-video-hero,
  .script-detail-hero,
  .page-hero,
  .plans-section,
  .plan-compare-section,
  .docs-layout-section,
  .api-hero,
  .api-flow-section,
  .api-capability-section,
  .contact-page-hero,
  .detail-workflow-section,
  .video-output-section,
  .control-section,
  .platform-section,
  .business-results-section,
  .case-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-section {
    display: block;
    min-height: auto;
    padding-top: 40px;
  }

  .hero-image-shell {
    aspect-ratio: 16 / 8;
  }

  .product-hero {
    display: block;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .video-detail-hero {
    display: block;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .gallery-detail-hero {
    display: block;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .prompt-video-hero,
  .script-detail-hero,
  .api-hero,
  .contact-page-hero {
    display: block;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .hero-content,
  .generation-panel,
  .hero-workbench,
  .hero-image-shell,
  .page-hero > div,
  .page-hero .support-hero-copy,
  .page-hero .support-hero-visual,
  .section-heading,
  .product-hero-copy,
  .product-map,
  .product-overview-visual,
  .video-detail-copy,
  .video-generation-board,
  .gallery-detail-copy,
  .gallery-generation-board,
  .prompt-video-copy,
  .prompt-generation-board,
  .script-detail-copy,
  .script-generation-board,
  .api-hero-stack,
  .api-code-card,
  .contact-hero-stack,
  .contact-form {
    width: 358px;
    max-width: 100%;
  }

  .hero-workbench,
  .hero-image-shell,
  .video-generation-board,
  .gallery-generation-board,
  .prompt-generation-board,
  .script-generation-board,
  .api-hero-stack,
  .api-code-card,
  .contact-hero-stack,
  .contact-form {
    margin-top: 28px;
  }

  .gallery-generation-board {
    margin-top: 22px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.18;
    max-width: 100%;
  }

  h2 {
    font-size: 28px;
    line-height: 1.16;
    overflow-wrap: anywhere;
  }

  .hero-lede {
    font-size: 16px;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .input-row,
  .wide-feature,
  .workbench-grid,
  .contact-actions,
  .board-body,
  .gallery-board-body,
  .prompt-board-body,
  .script-board-body,
  .assurance-band {
    display: grid;
    grid-template-columns: 1fr;
  }

  .input-row button,
  .input-row .generation-launch-link {
    width: 100%;
  }

  .wide-feature {
    padding: 18px;
  }

  .feature-copy h3 {
    font-size: 24px;
  }

  .output-preview {
    grid-row: auto;
  }

  .gallery-board-body,
  .gallery-preview-grid {
    min-height: 0;
  }

  .board-image-shell,
  .gallery-board-body {
    overflow: visible;
  }

  .gallery-preview-grid {
    padding: 12px;
  }

  .video-frame {
    height: 210px;
  }

  .workflow-steps,
  .pricing-grid,
  .metric-grid,
  .use-case-grid,
  .result-summary,
  .result-grid,
  .case-grid,
  .resource-links,
  .relationship-grid,
  .scenario-grid,
  .detail-timeline,
  .output-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .plans-grid,
  .docs-layout-section,
  .docs-card-grid,
  .doc-steps,
  .doc-detail-grid,
  .doc-api-flow,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .pricing-hero,
  .docs-hero {
    display: block;
  }

  .compact-hero {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .plans-grid article {
    min-height: 0;
  }

  .docs-sidebar {
    position: static;
  }

  .docs-block {
    padding-bottom: 34px;
  }

  .docs-block + .docs-block {
    padding-top: 34px;
  }

  .docs-card-grid article {
    min-height: 0;
  }

  .doc-code {
    max-width: 100%;
    font-size: 12px;
  }

  .compare-table {
    grid-template-columns: repeat(6, minmax(118px, 1fr));
    max-width: 100%;
    width: 100%;
  }

  .product-map {
    display: grid;
    gap: 10px;
    min-height: 0;
    margin-top: 28px;
    padding: 16px;
  }

  .product-map::before,
  .product-map::after {
    display: none;
  }

  .map-center {
    position: static;
    width: 100%;
    height: auto;
    min-height: 92px;
    transform: none;
  }

  .map-node {
    position: static;
    width: min(100% - 40px, 280px);
    width: 100%;
    min-height: 76px;
    transform: none;
  }

  .node-video {
    top: auto;
  }

  .node-gallery {
    top: auto;
    right: auto;
    transform: none;
  }

  .node-prompt {
    bottom: auto;
    top: auto;
  }

  .node-script {
    top: auto;
    transform: none;
  }

  .product-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .assurance-band {
    padding: 18px;
  }

  .assurance-list {
    grid-template-columns: 1fr;
  }

  .product-card dl div {
    grid-template-columns: 1fr;
  }

  .product-card-visual {
    min-height: 240px;
  }

  .board-video-preview {
    grid-row: auto;
    min-height: 320px;
  }

  .phone-frame {
    height: 270px;
  }

  .source-card {
    grid-template-columns: 72px 1fr;
  }

  .gallery-source-card {
    grid-template-columns: 72px 1fr;
  }

  .gallery-preview-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
  }

  .gallery-preview-grid .main-shot,
  .gallery-preview-grid .wide-shot {
    grid-column: span 2;
    grid-row: auto;
  }

  .prompt-video-output {
    min-height: 300px;
  }

  .prompt-phone {
    height: 250px;
  }

  .script-detail-table {
    grid-template-columns: 0.58fr 1.2fr 1.1fr;
  }

  .script-detail-table b,
  .script-detail-table span {
    min-height: 52px;
    padding: 10px 8px;
    font-size: 12px;
  }

  .control-board {
    grid-template-columns: 1fr;
  }

  .control-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
    justify-items: center;
  }
}
