:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d7dde6;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --deep: #101820;
  --blue: #2456d6;
  --green: #0f766e;
  --gold: #c0822b;
  --red: #bf3f49;
  --shadow: 0 22px 70px rgba(16, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(180deg, rgba(12, 19, 29, 0.82), rgba(12, 19, 29, 0));
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 116px clamp(22px, 6vw, 76px) 58px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #101820;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 17, 27, 0.9) 0%, rgba(10, 17, 27, 0.72) 38%, rgba(10, 17, 27, 0.34) 72%, rgba(10, 17, 27, 0.66) 100%),
    linear-gradient(0deg, rgba(10, 17, 27, 0.88) 0%, rgba(10, 17, 27, 0.08) 42%),
    url("./assets/hero-ai-visual-platform.png?v=1") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content,
.hero-metrics {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(780px, 100%);
  padding-bottom: 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 11vw, 128px);
  line-height: 0.88;
  font-weight: 900;
}

.hero-copy {
  width: min(660px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 34px rgba(36, 86, 214, 0.34);
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-metrics span {
  min-height: 74px;
  padding: 18px 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.hero-metrics strong {
  display: block;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.band {
  padding: clamp(64px, 9vw, 112px) clamp(22px, 6vw, 76px);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: start;
  background: #fff;
}

.intro p,
.deployment p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.features {
  background: #edf3f2;
}

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

.feature-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.feature-grid article:nth-child(2n) .feature-icon {
  background: var(--blue);
}

.feature-grid article:nth-child(3n) .feature-icon {
  background: var(--red);
}

.feature-grid h3,
.timeline h3,
.deployment h3 {
  margin: 20px 0 10px;
  font-size: 22px;
}

.feature-grid p,
.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.screenshots {
  background: #101820;
  color: #fff;
}

.screenshots .section-heading {
  margin-bottom: 42px;
}

.screenshots .eyebrow {
  color: #7dd3c7;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(360px, 1.12fr) minmax(300px, 0.88fr);
  gap: 22px;
  align-items: stretch;
}

figure {
  margin: 0;
}

.large-shot,
.shot-grid figure {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.large-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.large-shot figcaption {
  padding: 20px 22px 24px;
  display: grid;
  gap: 8px;
}

.large-shot figcaption span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

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

.shot-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.shot-grid figcaption {
  padding: 12px 14px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.workflow {
  background: var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.timeline span {
  color: var(--red);
  font-weight: 900;
}

.deployment {
  background: #fff;
}

.deployment-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.78fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.deployment ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.deployment li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.contact {
  padding: clamp(56px, 8vw, 94px) clamp(22px, 6vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.94), rgba(16, 24, 32, 0.76)),
    url("./assets/screenshots/free-canvas.png?v=2") center / cover no-repeat;
}

.contact p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
}

footer {
  min-height: 74px;
  padding: 0 clamp(22px, 6vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.62);
  background: #0b1118;
}

@media (max-width: 960px) {
  .site-header {
    position: absolute;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding-bottom: 38px;
  }

  .hero-metrics,
  .intro,
  .showcase,
  .deployment-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .hero {
    min-height: 84vh;
    padding-top: 96px;
  }

  .hero-actions,
  .contact,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-metrics,
  .feature-grid,
  .shot-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .timeline article {
    min-height: 0;
  }
}
