﻿:root {
  --bg: #0e1320;
  --surface: #f6f8fb;
  --ink: #142033;
  --panel: #151d2e;
  --panel-soft: #1f2a3e;
  --text: #f8fafc;
  --muted: #aab3c5;
  --soft-muted: #5d6b7f;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #f4b41b;
  --brand-strong: #e59a12;
  --violet: #635bff;
  --rose: #d9468f;
  --cyan: #1fb6c9;
  --green: #20b486;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 64px);
  background: rgba(14, 19, 32, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark,
.sidebar-brand img { width: 34px; height: 34px; }

.site-nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 14px; }
.site-nav a:hover { color: var(--text); }

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}

.header-action,
.primary-button {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #1b2432;
  box-shadow: 0 14px 34px rgba(229, 154, 18, 0.26);
}

.secondary-button { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,0.06); }

.hero-section {
  min-height: min(780px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 62px);
  padding: 70px clamp(22px, 5vw, 64px) 72px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(14, 19, 32, 0.94), rgba(25, 33, 52, 0.88)),
    linear-gradient(90deg, #0e1320, #1d2638);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(244, 180, 27, 0.14) 0 20%, transparent 20% 100%),
    radial-gradient(circle at 84% 30%, rgba(31, 182, 201, 0.18), transparent 30%);
  pointer-events: none;
}

.hero-copy,
.hero-product,
.section-block,
.workflow-section,
.contact-section,
.site-footer { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(44px, 6vw, 78px); line-height: 1.04; margin-bottom: 24px; letter-spacing: 0; }
h2 { color: var(--ink); font-size: clamp(30px, 4vw, 46px); line-height: 1.16; margin-bottom: 14px; letter-spacing: 0; }
h3 { font-size: 20px; margin-bottom: 10px; }

.hero-lede { max-width: 610px; color: var(--muted); font-size: 19px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 148px)); gap: 12px; }
.hero-metrics div { border: 1px solid rgba(244, 180, 27, 0.22); border-radius: var(--radius); padding: 14px 16px; background: rgba(255,255,255,0.06); }
.hero-metrics strong { display: block; font-size: 24px; line-height: 1; }
.hero-metrics span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }

.hero-product { min-width: 0; }
.app-shell {
  min-height: 500px;
  display: grid;
  grid-template-columns: 190px 1fr;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: #101827;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
}

.app-sidebar { padding: 22px 16px; background: #151d2e; border-right: 1px solid var(--line); }
.sidebar-brand { margin-bottom: 28px; }
.sidebar-item {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  text-align: left;
  font: inherit;
}
.sidebar-item.active { background: var(--brand); color: #1b2432; font-weight: 800; }

.app-panel { padding: 28px; }
.panel-topbar { display: flex; gap: 8px; margin-bottom: 26px; }
.panel-topbar span { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.prompt-card, .feature-card, .workflow-step, .scene-list div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.055);
}
.prompt-card { padding: 22px; margin-bottom: 18px; }
.prompt-card label { display: block; margin-bottom: 12px; color: #fff; font-weight: 700; }
.prompt-card p { color: var(--muted); margin: 0; }
.preview-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.75fr;
  gap: 12px;
  margin-bottom: 18px;
}
.preview-strip span {
  min-height: 106px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(244, 180, 27, 0.78), transparent 58%),
    linear-gradient(45deg, rgba(31, 182, 201, 0.38), rgba(99, 91, 255, 0.32)),
    #25314a;
}
.preview-strip span:nth-child(2) {
  background:
    linear-gradient(150deg, rgba(31, 182, 201, 0.68), transparent 56%),
    linear-gradient(45deg, rgba(217, 70, 143, 0.22), rgba(244, 180, 27, 0.18)),
    #223047;
}
.preview-strip span:nth-child(3) {
  background:
    linear-gradient(160deg, rgba(99, 91, 255, 0.58), transparent 54%),
    linear-gradient(45deg, rgba(244, 180, 27, 0.2), rgba(31, 182, 201, 0.22)),
    #202a3d;
}
.control-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.control { padding: 14px 10px; border-radius: var(--radius); background: #0b1222; color: var(--muted); text-align: center; font-size: 14px; }
.control.active { background: var(--violet); color: #fff; }
.timeline { height: 10px; background: #263244; border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.timeline span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--cyan)); }
.generate-button { width: 100%; min-height: 54px; border: 0; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: #1b2432; font-weight: 800; font-size: 16px; }

.section-block,
.workflow-section,
.contact-section { padding: 88px clamp(22px, 5vw, 64px); }
.section-heading { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-heading.left { text-align: left; margin: 0; }
.section-heading .eyebrow { color: var(--brand-strong); }
.section-heading p:not(.eyebrow) { color: var(--soft-muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { padding: 28px; background: #fff; color: var(--ink); box-shadow: 0 18px 45px rgba(20, 32, 51, 0.08); }
.feature-card img { width: 42px; height: 42px; margin-bottom: 22px; }
.feature-card p, .workflow-step p { color: var(--soft-muted); margin-bottom: 0; }

.workflow-section { background: #eaf0f7; border-block: 1px solid rgba(20, 32, 51, 0.08); }
.workflow-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.workflow-step { padding: 26px; background: #fff; color: var(--ink); border-color: rgba(20, 32, 51, 0.1); }
.workflow-step span { color: var(--green); font-weight: 800; }

.split-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center; }
.scene-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.scene-list div { padding: 22px; color: var(--ink); font-weight: 700; background: #fff; border-color: rgba(20, 32, 51, 0.1); box-shadow: 0 14px 36px rgba(20, 32, 51, 0.07); }

.contact-section { margin: 0 clamp(22px, 5vw, 64px) 56px; border: 1px solid rgba(20, 32, 51, 0.12); border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #182235; }
.contact-section > * { min-width: 0; }
.contact-section h2 { color: var(--text); }
.contact-section p { color: var(--muted); margin-bottom: 0; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 28px clamp(22px, 5vw, 64px); color: var(--soft-muted); border-top: 1px solid rgba(20, 32, 51, 0.1); }

@media (max-width: 980px) {
  .site-nav { display: none; }
  .hero-section { grid-template-columns: 1fr; padding-block: 54px 60px; }
  .app-shell { min-height: auto; grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .feature-grid, .workflow-list, .split-section { grid-template-columns: 1fr; }
  .section-block, .workflow-section, .contact-section { padding-block: 64px; }
  .contact-section { margin-bottom: 40px; align-items: flex-start; flex-direction: column; }
  .site-footer { padding-block: 24px; flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header { height: 64px; }
  .brand span { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-action { display: none; }
  .hero-section { min-height: auto; }
  h1 { font-size: 42px; }
  h2 { font-size: 29px; }
  .hero-lede { font-size: 17px; }
  .hero-metrics, .scene-list { grid-template-columns: 1fr; }
  .control-grid { grid-template-columns: 1fr; }
  .preview-strip { grid-template-columns: 1fr; }
  .preview-strip span { min-height: 86px; }
  .hero-actions { flex-direction: column; }
  .primary-button, .secondary-button { width: 100%; }
  .app-panel { padding: 20px; }
}

.timeline-fill { width: 72%; }
