:root {
  --bg: #07090d;
  --surface: #10151d;
  --surface-strong: #161d28;
  --text: #f7f8fb;
  --muted: #aab3c2;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #67e8f9;
  --accent-strong: #a3e635;
  --warm: #f4b860;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.nav-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 52px);
  transition: background 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
  box-shadow: 0 12px 28px rgba(103, 232, 249, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(247, 248, 251, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.site-nav .nav-cta {
  margin-left: 6px;
  background: var(--text);
  color: #07090d;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--text);
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header.nav-active .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-active .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-active .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 64px) 72px;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("./assets/hero-ai-workspace.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.96) 0%, rgba(7, 9, 13, 0.84) 38%, rgba(7, 9, 13, 0.24) 78%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.18) 0%, #07090d 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.hero-description {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(247, 248, 251, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #061014;
  box-shadow: 0 18px 42px rgba(103, 232, 249, 0.2);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.hero-stats {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 58px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-stats div {
  min-width: 0;
  padding: 22px;
  background: rgba(12, 17, 24, 0.72);
  backdrop-filter: blur(18px);
}

.hero-stats strong,
.proof-metrics strong {
  display: block;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.hero-stats span,
.proof-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.section {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 104px 0;
}

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

.section-heading p,
.split-section p,
.proof-panel p,
.cta-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.feature-card {
  min-height: 246px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.feature-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid rgba(103, 232, 249, 0.3);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.feature-card p,
.timeline-item p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.timeline-item > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: rgba(244, 184, 96, 0.14);
  color: var(--warm);
  font-weight: 800;
}

.proof-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: stretch;
}

.proof-panel {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(103, 232, 249, 0.14), transparent 42%),
    var(--surface-strong);
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.proof-metrics div {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.cta-section {
  width: min(100% - 40px, 940px);
  padding: 104px 0 124px;
  text-align: center;
}

.cta-section p {
  max-width: 620px;
  margin: 22px auto 28px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 77px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(12, 17, 24, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-header.nav-active .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 16px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

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

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 9, 13, 0.92) 0%, rgba(7, 9, 13, 0.78) 54%, #07090d 100%),
      linear-gradient(90deg, rgba(7, 9, 13, 0.92), rgba(7, 9, 13, 0.4));
  }

  .hero-stats,
  .feature-grid,
  .split-section,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .split-section {
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    padding: 106px 20px 54px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    margin-top: 40px;
  }

  .hero-stats div,
  .feature-card,
  .timeline-item,
  .proof-panel,
  .proof-metrics div {
    padding: 22px;
  }

  .section {
    width: min(100% - 32px, var(--max-width));
    padding: 74px 0;
  }

  .proof-metrics {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .timeline-item > span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}
