:root {
  --bg: #07111c;
  --bg-2: #0d1825;
  --panel: rgba(11, 21, 35, 0.84);
  --panel-strong: rgba(13, 24, 38, 0.96);
  --line: rgba(61, 96, 131, 0.38);
  --line-strong: rgba(71, 121, 176, 0.55);
  --text: #ffffff;
  --muted: #a3b8cc;
  --blue: #3b93ff;
  --blue-soft: rgba(35, 136, 255, 0.22);
  --green: #20e0a0;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Space Grotesk", "Segoe UI", sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at 15% 18%, rgba(28, 112, 214, 0.18), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(36, 88, 154, 0.18), transparent 30%),
    linear-gradient(180deg, #08121d 0%, #060d16 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 110px 110px;
  pointer-events: none;
  opacity: 0.35;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 0.6px, transparent 0.6px);
  background-size: 8px 8px;
  opacity: 0.04;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.2rem 2rem;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.92), rgba(5, 10, 18, 0.56));
  border-bottom: 1px solid rgba(70, 109, 150, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 34px;
  height: 34px;
}

.top-nav {
  display: flex;
  gap: 1.4rem;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
  padding: 0.5rem;
  transition: color 150ms ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--text);
  outline: none;
}

.top-nav a:focus-visible,
.primary-button:focus-visible,
.ghost-button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.header-actions,
.hero-actions,
.creator-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, #1f7eff, #39a0ff);
  box-shadow: 0 12px 28px rgba(35, 136, 255, 0.22);
}

.ghost-button {
  color: var(--text);
  border: 1px solid rgba(81, 119, 160, 0.35);
  background: rgba(11, 20, 32, 0.55);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

main {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 2rem;
  min-height: 92vh;
  padding: 2.5rem 0 3rem;
}

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

.eyebrow,
.mini-label,
.cred-label,
.card-index {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #84a8cf;
  font-size: 0.76rem;
}

.hero h1,
.section-intro h2,
.statement-card h2,
.closing-card h2,
.creator h2 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1.1;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(3.6rem, 8vw, 7rem);
  max-width: 8.5ch;
}

.hero h1::after {
  content: "for modern operators";
  display: block;
  margin-top: 0.5rem;
  font-family: var(--serif);
  font-size: 0.34em;
  font-weight: 400;
  font-style: italic;
  color: #8ebdff;
  letter-spacing: -0.03em;
}

.hero-lead,
.section-intro p,
.capability-card p,
.workflow-step p,
.surface-copy p,
.statement-card p,
.creator-copy p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero-lead {
  max-width: 58ch;
  margin: 1.4rem 0 1.8rem;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-metrics li,
.cred-strip > div,
.capability-card,
.workflow-step,
.statement-card,
.closing-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 19, 31, 0.92), rgba(9, 16, 26, 0.76));
  box-shadow: var(--shadow);
}

.hero-metrics li {
  border-radius: 22px;
  padding: 1rem 1.05rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-scene {
  position: relative;
  min-height: 760px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
}

.orb-one {
  inset: 8% auto auto 8%;
  width: 220px;
  height: 220px;
  background: rgba(35, 136, 255, 0.18);
}

.orb-two {
  inset: auto 12% 10% auto;
  width: 180px;
  height: 180px;
  background: rgba(23, 213, 147, 0.1);
}

.product-stage {
  position: relative;
  height: 100%;
  min-height: 760px;
}

.stage-window {
  border: 1px solid rgba(70, 109, 150, 0.26);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.92), rgba(10, 17, 28, 0.72));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.is-main {
  position: absolute;
  inset: 8% 4% 12% 8%;
  padding: 1.4rem;
}

.is-floating {
  position: absolute;
  width: 250px;
  padding: 1.1rem;
  backdrop-filter: blur(18px);
}

.floating-left {
  left: -2%;
  bottom: 12%;
}

.floating-right {
  right: -1%;
  top: 6%;
}

.window-bar {
  display: flex;
  gap: 0.45rem;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(150, 165, 185, 0.55);
}

.window-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 1.2rem;
}

.window-head h3,
.surface-copy h3,
.capability-card h3,
.workflow-step h3,
.statement-card h2,
.closing-card h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  text-wrap: balance;
  line-height: 1.2;
}

.status-pill {
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  background: rgba(23, 213, 147, 0.14);
  border: 1px solid rgba(23, 213, 147, 0.32);
  color: #90ffd2;
  font-size: 0.88rem;
}

.window-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.grid-panel,
.mosaic-card,
.surface-visual,
.mock-screen,
.mock-list,
.mock-detail {
  border: 1px solid rgba(59, 98, 140, 0.22);
  background:
    linear-gradient(90deg, rgba(11, 27, 48, 0.98), rgba(11, 20, 33, 0.98));
  border-radius: 20px;
}

.grid-panel {
  padding: 1rem;
  min-height: 220px;
}

.grid-panel.tall {
  grid-row: span 2;
}

.panel-title {
  font-size: 0.95rem;
  color: #d6e6f8;
  margin-bottom: 0.9rem;
}

.field-row,
.field-duo span,
.field-trio span,
.chart-surface,
.mock-screen,
.mock-list,
.mock-detail {
  background: linear-gradient(90deg, rgba(22, 39, 63, 0.85), rgba(14, 27, 43, 0.85));
  border: 1px solid rgba(73, 110, 149, 0.24);
}

.field-row {
  height: 42px;
  border-radius: 14px;
  margin-bottom: 0.8rem;
}

.field-duo,
.field-trio,
.tab-row {
  display: grid;
  gap: 0.75rem;
}

.field-duo {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0.8rem;
}

.field-trio {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0.8rem;
}

.field-duo span,
.field-trio span {
  display: block;
  height: 42px;
  border-radius: 14px;
}

.tabs {
  grid-column: 2;
}

.tab-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 0.95rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.tab-row span {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(84, 120, 157, 0.15);
}

.tab-row .active {
  color: var(--text);
  border-color: rgba(35, 136, 255, 0.6);
}

.chart-surface {
  height: 170px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.chart-surface::before,
.mock-screen::before,
.mock-detail::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(35, 136, 255, 0.14));
}

.is-floating ul {
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.section-block {
  padding: 5.5rem 0;
}

.section-intro {
  max-width: 880px;
  margin-bottom: 2rem;
}

.section-intro h2,
.creator h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.cred-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 0 2rem;
}

.cred-strip > div {
  border-radius: 22px;
  padding: 1rem 1.15rem;
}

.cred-strip strong {
  display: block;
  margin-top: 0.35rem;
  letter-spacing: -0.02em;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.capability-card,
.workflow-step {
  border-radius: 24px;
  padding: 1.5rem;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.workflow-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: rgba(35, 136, 255, 0.18);
  border: 1px solid rgba(35, 136, 255, 0.3);
  color: #8bc3ff;
}

.surface-stack {
  display: grid;
  gap: 1.2rem;
}

.surface-card {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1.4rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 19, 31, 0.92), rgba(8, 15, 24, 0.78));
  box-shadow: var(--shadow);
}

.mock-overview,
.mock-processes {
  display: block;
  gap: unset;
  padding: 0;
  border: none;
  background: none;
}

.mock-overview {
  text-align: center;
}

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

.surface-visual {
  min-height: auto;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
}

.surface-mosaic {
  display: grid;
  min-height: 170px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.mosaic-card span {
  color: #8db6df;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.mosaic-card strong {
  margin-top: 0.6rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

.statement-card,
.closing-card {
  border-radius: 32px;
  padding: 2.2rem;
}

.creator {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 1.4rem;
  align-items: center;
}

.creator-role {
  color: #8ebdff;
  margin: 0.6rem 0 1rem;
  font-weight: 600;
}

.creator-portrait {
  position: relative;
  padding: 1.2rem;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 19, 31, 0.92), rgba(8, 15, 24, 0.78));
  box-shadow: var(--shadow);
}

.creator-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
}

.closing-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing-card .hero-actions {
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .hero,
  .creator,
  .surface-card {
    grid-template-columns: 1fr;
  }

  .workflow-rail,
  .hero-metrics,
  .cred-strip,
  .capability-grid,
  .surface-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-scene {
    min-height: 680px;
  }

  .is-main {
    inset: 8% 0 10%;
  }
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
    padding: 1rem 1rem 1.2rem;
  }

  .top-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.35rem;
  }

  main {
    width: min(100% - 24px, 1440px);
  }

  .workflow-rail,
  .hero-metrics,
  .cred-strip,
  .capability-grid,
  .surface-mosaic,
  .window-grid {
    grid-template-columns: 1fr;
  }

  .tabs {
    grid-column: auto;
  }

  .field-trio {
    grid-template-columns: 1fr;
  }

  .floating-left,
  .floating-right {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-top: 1rem;
  }

  .product-stage {
    min-height: unset;
  }

  .is-main {
    position: relative;
  }

  .hero-scene {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .section-block {
    padding: 4rem 0;
  }

  .surface-card,
  .capability-card,
  .workflow-step,
  .statement-card,
  .closing-card,
  .creator-portrait {
    padding: 1.15rem;
  }

  .creator-links {
    flex-direction: column;
    width: 100%;
  }

  .creator-links > a {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions > a {
    width: 100%;
  }
}

/* Additional Optimizations */
.h3-style {
  font-size: clamp(1.5rem, 2vw, 2.4rem);
  font-weight: bold;
  margin: 0;
}

.h4-style {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

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

.actual-img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  display: block;
}

/* Ensure smooth image scaling on large screens */
.mock-overview, .mock-processes {
  display: block;
  overflow: hidden;
  position: relative;
}

.mock-overview::before, .mock-processes::before {
  display: none; /* Removed the overlay since we have actual images now */
}
