:root {
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --text: #111827;
  --muted: #5d6978;
  --line: #e2ebf4;
  --warm: #1769e0;
  --warm-dark: #0b4ea2;
  --warm-soft: #eaf3ff;
  --green: #0b9b8f;
  --blue: #2f5ff2;
  --signal: #00a3ff;
  --shadow: 0 22px 64px rgba(17, 34, 64, 0.1);
  --radius: 8px;
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 235, 244, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.desktop-nav,
.hero-actions,
.hero-facts,
.scene-topbar,
.scene-title-row,
.poster-stats {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--warm);
  color: #fff;
}

.desktop-nav {
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}

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

.nav-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.nav-cta,
.primary-button {
  background: var(--warm);
  color: #fff;
  box-shadow: 0 14px 28px rgba(23, 105, 224, 0.2);
}

.secondary-button {
  color: var(--warm-dark);
  background: var(--warm-soft);
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 132px);
  overflow: hidden;
  padding: 62px 0 54px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--warm-dark);
  font-size: 13px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 24px;
  font-size: 72px;
  font-weight: 200;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 48px;
  font-weight: 250;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 520;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-lede,
.section-heading > p,
.library-copy > p,
.poster-card > p,
.feature-card p,
.price-panel p,
.intro-grid > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.hero-facts {
  gap: 32px;
}

.hero-facts div {
  display: grid;
  gap: 4px;
}

.hero-facts strong {
  color: var(--text);
  font-size: 30px;
  font-weight: 300;
}

.hero-facts span {
  color: var(--muted);
  font-size: 13px;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.scene-frame {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.scene-frame-main {
  top: 56px;
  right: max(24px, calc((100vw - 1180px) / 2));
  width: min(610px, 48vw);
  min-height: 480px;
  opacity: 0.86;
}

.scene-topbar {
  gap: 7px;
  height: 44px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.scene-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfd9e4;
}

.scene-layout {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 436px;
}

.scene-sidebar {
  padding: 22px 14px;
  border-right: 1px solid var(--line);
  background: #f8fbff;
}

.scene-logo {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--warm);
  color: #fff;
  font-weight: 700;
}

.scene-sidebar span,
.library-mock aside button {
  display: flex;
  width: 100%;
  min-height: 38px;
  margin-bottom: 8px;
  padding: 0 12px;
  align-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}

.scene-sidebar span.active,
.library-mock aside button.active {
  background: var(--warm-soft);
  color: var(--warm-dark);
  font-weight: 700;
}

.scene-main {
  padding: 26px;
}

.scene-search,
.library-search {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #758294;
  background: #fff;
  font-size: 14px;
}

.library-search:focus {
  border-color: rgba(23, 105, 224, 0.42);
  box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.08);
  outline: 0;
}

.scene-title-row {
  justify-content: space-between;
  margin: 28px 0 18px;
}

.scene-title-row span {
  font-size: 28px;
  font-weight: 300;
}

.scene-title-row strong {
  color: var(--warm-dark);
  font-size: 14px;
}

.scene-task {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  margin-bottom: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.scene-task span {
  width: 18px;
  height: 18px;
  border: 1px solid #cfd9e4;
  border-radius: 50%;
}

.scene-task.done span {
  border-color: var(--green);
  background: var(--green);
}

.scene-task p {
  margin: 0;
  color: #263243;
  font-size: 14px;
}

.scene-resource {
  right: max(320px, calc((100vw - 1180px) / 2 + 310px));
  bottom: 34px;
  width: 260px;
  min-height: 132px;
  padding: 22px;
}

.scene-picture {
  right: max(34px, calc((100vw - 1180px) / 2 + 18px));
  bottom: 54px;
  width: 284px;
  min-height: 154px;
  padding: 24px;
}

.feature-card,
.resource-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 34, 64, 0.05);
}

.scene-frame > span,
.resource-grid span,
.poster-kicker,
.price-panel span {
  color: var(--warm-dark);
  font-size: 12px;
  font-weight: 700;
}

.scene-frame > strong {
  display: block;
  margin: 10px 0;
  font-size: 18px;
}

.scene-frame > p,
.resource-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.intro-band {
  padding: 62px 0;
  background: var(--bg-soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  align-items: start;
}

.intro-grid h2 {
  max-width: 520px;
}

.content-section,
.split-section,
.library-section,
.picture-section {
  padding: 104px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading.compact {
  max-width: 560px;
  margin-bottom: 0;
}

.section-heading.compact p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.feature-card {
  min-height: 260px;
  padding: 30px;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  margin-bottom: 38px;
  border-radius: 999px;
  background: var(--warm-soft);
  color: var(--warm-dark);
  font-size: 13px;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 64px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.workflow-panel {
  display: grid;
  gap: 12px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(17, 34, 64, 0.055);
}

.workflow-step span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #e9fbfa;
  color: var(--green);
  font-weight: 700;
}

.workflow-step p {
  margin: 0;
  font-size: 17px;
}

.library-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 64px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.library-mock {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.library-mock aside {
  padding: 22px 14px;
  border-right: 1px solid var(--line);
  background: #f8fbff;
}

.library-content {
  padding: 24px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.resource-grid article {
  min-height: 140px;
  padding: 20px;
}

.resource-grid h3 {
  margin: 12px 0 8px;
  font-size: 19px;
}

.resource-action {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 16px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--warm-soft);
  color: var(--warm-dark);
  font-size: 13px;
  font-weight: 700;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.picture-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
}

.poster-card {
  min-height: 390px;
  padding: 42px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(0deg, #eaf3ff, #eaf3ff 1px, #ffffff 1px, #ffffff 26px);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(17, 34, 64, 0.055);
}

.poster-card h2 {
  margin-top: 50px;
  color: var(--warm-dark);
}

.poster-card > p {
  max-width: 560px;
}

.poster-stats {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.poster-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(23, 105, 224, 0.18);
  border-radius: 999px;
  background: #f7fbff;
  color: var(--warm-dark);
  font-size: 13px;
  font-weight: 700;
}

.price-panel {
  display: grid;
  gap: 16px;
}

.price-panel > div {
  min-height: 186px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(17, 34, 64, 0.055);
}

.price-panel strong {
  display: block;
  margin: 18px 0 8px;
  font-size: 34px;
  font-weight: 280;
}

.final-cta {
  background: #07111f;
  color: #fff;
}

.final-cta-inner {
  display: grid;
  justify-items: center;
  padding: 96px 0;
  text-align: center;
}

.final-cta .eyebrow {
  color: #78d7ff;
}

.final-cta h2 {
  max-width: 760px;
}

.login-shell,
.workbench-shell {
  min-height: 100vh;
  background: var(--bg-soft);
}

.login-shell {
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  display: grid;
  width: min(100%, 420px);
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin-bottom: 0;
  font-size: 34px;
}

.login-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.login-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.login-card input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
}

.login-card input:focus {
  border-color: rgba(23, 105, 224, 0.42);
  box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.08);
  outline: 0;
}

.login-error {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff1f2;
  color: #be123c;
  font-size: 14px;
}

@media (max-width: 1040px) {
  .intro-grid,
  .split-section,
  .library-section,
  .picture-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100vh - 126px);
    padding-top: 58px;
  }

  .scene-frame-main {
    right: -220px;
    width: 620px;
    opacity: 0.24;
  }

  .scene-resource {
    right: 250px;
    opacity: 0.5;
  }

  .scene-picture {
    right: 24px;
    opacity: 0.52;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 40px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 210px;
  }

  .section-heading.compact {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .desktop-nav {
    display: none;
  }

  .brand-text {
    max-width: 128px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: calc(100vh - 122px);
    padding: 42px 0 54px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.12;
  }

  h2 {
    font-size: 31px;
    line-height: 1.18;
  }

  h3 {
    font-size: 20px;
  }

  .hero-lede,
  .section-heading > p,
  .library-copy > p,
  .poster-card > p,
  .feature-card p,
  .price-panel p,
  .intro-grid > p {
    font-size: 16px;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hero-facts strong {
    font-size: 24px;
  }

  .library-mock {
    grid-template-columns: 1fr;
  }

  .library-mock aside {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-scene {
    display: none;
  }

  .library-mock aside button {
    margin-bottom: 0;
    text-align: center;
  }

  .library-content {
    padding: 18px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .intro-band {
    padding: 48px 0;
  }

  .content-section,
  .split-section,
  .library-section,
  .picture-section {
    padding: 72px 0;
  }

  .feature-card,
  .poster-card,
  .price-panel > div {
    padding: 24px;
  }

  .poster-card h2 {
    margin-top: 28px;
  }

  .price-panel strong {
    font-size: 28px;
  }

  .final-cta-inner {
    padding: 74px 0;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .library-mock aside {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    grid-template-columns: 38px 1fr;
    min-height: 68px;
    padding: 0 16px;
  }
}
