:root {
  color: #f8fafc;
  background: #050505;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --black: #050505;
  --panel: #0a0d14;
  --line: rgba(255, 255, 255, 0.12);
  --muted: #a7b0c0;
  --muted-soft: #778197;
  --white: #ffffff;
  --silver: #d8dbe1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--black);
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 5%, rgba(255, 255, 255, 0.1), transparent 28rem),
    radial-gradient(circle at 85% 18%, rgba(148, 163, 184, 0.12), transparent 30rem),
    linear-gradient(180deg, #060910 0%, #05070d 45%, #040404 100%);
}

.site-header,
.hero-section,
.section-block,
.workflow-section,
.roadmap-section,
.site-footer {
  width: min(1230px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.6rem 0;
}

.brand-mark img {
  display: block;
  width: clamp(170px, 15vw, 220px);
  height: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--white);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: 4rem;
  align-items: center;
  padding: 4.5rem 0 5.5rem;
}

.eyebrow,
.section-heading span,
.roadmap-section span,
.tool-card span {
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.roadmap-section h2 {
  margin: 1.2rem 0 0;
  max-width: 820px;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 750;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.hero-copy p,
.section-heading p,
.roadmap-section p {
  max-width: 700px;
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  padding: 0.95rem 1.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.primary-action {
  background: var(--white);
  color: #080808;
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.studio-console,
.tool-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(6, 9, 16, 0.86);
}

.studio-console {
  border-radius: 1.4rem;
  padding: 1rem;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #050814;
  padding: 1.2rem;
}

.console-top span,
.metric-card span {
  color: var(--silver);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.console-top strong {
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 0.4rem;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.035);
  padding: 1rem;
}

.metric-card strong {
  display: block;
  font-size: 2rem;
}

.console-lines {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.7rem;
  border-radius: 999px;
  background: #86efac;
}

.section-block,
.workflow-section,
.roadmap-section {
  padding: 5rem 0;
}

.section-heading h2,
.roadmap-section h2 {
  font-size: clamp(2.4rem, 4.2vw, 4.1rem);
  line-height: 1.04;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.tool-card {
  border-radius: 1rem;
  min-height: 280px;
  padding: 1.45rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.tool-card:hover {
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.tool-card.locked:hover {
  transform: none;
}

.tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.7rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0 0.75rem;
}

.tool-card span {
  display: block;
  margin-top: 1.4rem;
  color: var(--muted-soft);
}

.tool-card.live span {
  color: #86efac;
}

.tool-card h3 {
  margin: 0.75rem 0 0;
  color: var(--white);
  font-size: 1.35rem;
}

.tool-card p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.workflow-grid div {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--silver);
  font-weight: 700;
  padding: 1.2rem;
}

.roadmap-section {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #d7d8dc 55%, #8c9098 100%);
  color: #080808;
  margin-bottom: 4rem;
  padding: 3rem;
}

.roadmap-section span,
.roadmap-section h2 {
  color: #080808;
}

.roadmap-section p {
  color: #3f4652;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
  color: var(--muted-soft);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

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

@media (max-width: 640px) {
  .site-header,
  .hero-section,
  .section-block,
  .workflow-section,
  .roadmap-section,
  .site-footer {
    width: min(100% - 28px, 1230px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-section {
    gap: 2rem;
    padding-top: 3rem;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-actions {
    flex-direction: column;
  }

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

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