:root {
  color-scheme: dark;
  --bg: #080b0f;
  --bg-soft: #0d1316;
  --panel: rgba(15, 22, 26, 0.9);
  --panel-strong: rgba(20, 30, 34, 0.96);
  --line: rgba(170, 238, 232, 0.18);
  --line-strong: rgba(170, 238, 232, 0.34);
  --text: #edf7f4;
  --muted: #a8b9b5;
  --cyan: #52ece5;
  --green: #b7ff7d;
  --amber: #ffd06d;
  --ink: #020405;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(82, 236, 229, 0.08), transparent 34rem),
    linear-gradient(135deg, rgba(183, 255, 125, 0.06), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

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

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

.shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px 0;
  background: linear-gradient(180deg, rgba(8, 11, 15, 0.98), rgba(8, 11, 15, 0.76));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

.brand span:last-child {
  display: grid;
  gap: 2px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(82, 236, 229, 0.75);
  background:
    linear-gradient(135deg, transparent 0 38%, var(--cyan) 38% 48%, transparent 48%),
    linear-gradient(315deg, transparent 0 42%, var(--green) 42% 52%, transparent 52%),
    #111b20;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar nav a {
  padding: 9px 11px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 14px;
}

.topbar nav a:hover {
  border-color: var(--line);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 42px 0 52px;
}

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

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 19px;
}

.lead {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.primary-action {
  background: var(--cyan);
  color: var(--ink);
  border-color: var(--cyan);
}

.secondary-action {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  margin: 0;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(18, 27, 31, 0.98), rgba(10, 14, 17, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-visual figcaption {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.scenario-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 0 84px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.scenario-strip div {
  padding: 22px;
  background: rgba(10, 14, 17, 0.94);
}

.scenario-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 18px;
}

.scenario-strip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.site-plan,
.interaction-band,
.value-section,
.delivery-section,
.process-section,
.contact-section {
  padding: 76px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading p:last-child,
.contact-section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.site-grid,
.value-grid,
.delivery-grid,
.process-line {
  display: grid;
  gap: 14px;
}

.site-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.site-card,
.value-grid article,
.delivery-grid article,
.process-line article,
.feature-panel {
  border: 1px solid var(--line);
  background: var(--panel);
}

.site-card,
.value-grid article,
.delivery-grid article,
.process-line article {
  padding: 24px;
}

.site-card.wide {
  background: linear-gradient(180deg, rgba(25, 38, 42, 0.96), rgba(12, 18, 21, 0.96));
}

.site-card span,
.value-grid span,
.process-line span {
  display: block;
  margin-bottom: 22px;
  color: var(--cyan);
  font-weight: 900;
}

.site-card p,
.value-grid p,
.delivery-grid p,
.process-line p,
.feature-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

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

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 0;
  margin-bottom: 18px;
  border: 1px solid var(--line-strong);
  background: var(--panel-strong);
  overflow: hidden;
}

.feature-story figure {
  margin: 0;
  min-height: 420px;
}

.feature-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.story-copy h3 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.story-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.76;
}

.feature-panel {
  min-height: 100%;
  overflow: hidden;
}

.image-crop {
  width: 100%;
  aspect-ratio: 1.35;
  overflow: hidden;
  background: #060a0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-panel div:last-child {
  padding: 18px;
}

.artwork-panel img {
  object-position: center;
  transform: scale(1.075);
}

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

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

.operations-visual {
  margin: 0 0 18px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: var(--panel);
}

.operations-visual img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

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

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-bottom: 48px;
  padding: 42px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(82, 236, 229, 0.10), transparent 42%),
    var(--panel-strong);
}

.contact-section h2 {
  margin-bottom: 14px;
}

.contact-actions {
  justify-content: flex-end;
  min-width: 280px;
}

@media (max-width: 1020px) {
  .hero,
  .section-heading,
  .site-grid,
  .feature-story,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
  }

  .demo-grid,
  .scenario-strip,
  .delivery-grid,
  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 20px, 1200px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .topbar nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-visual img,
  .feature-story figure {
    min-height: 300px;
  }

  .demo-grid,
  .scenario-strip,
  .value-grid,
  .delivery-grid,
  .process-line {
    grid-template-columns: 1fr;
  }

  .site-plan,
  .interaction-band,
  .value-section,
  .delivery-section,
  .process-section {
    padding: 58px 0;
  }

  .contact-section {
    padding: 24px;
  }
}
