:root {
  --bg: #08111f;
  --bg-soft: rgba(8, 17, 31, 0.55);
  --surface: rgba(10, 25, 47, 0.78);
  --surface-strong: #0f1f36;
  --text: #e8f0ff;
  --muted: #9ab0d3;
  --line: rgba(154, 176, 211, 0.16);
  --accent: #2583ff;
  --accent-deep: #7cb3ff;
  --accent-alt: #12c2e9;
  --shadow: 0 30px 80px rgba(2, 8, 20, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 131, 255, 0.32), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(18, 194, 233, 0.22), transparent 26%),
    linear-gradient(180deg, #09111f 0%, #0d1730 45%, #0c2446 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  inset: auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
}

body::before {
  top: 8%;
  right: -8%;
  background: rgba(37, 131, 255, 0.18);
}

body::after {
  bottom: 8%;
  left: -10%;
  background: rgba(18, 194, 233, 0.14);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto;
  padding: 1rem;
}

.hero {
  padding: 1rem 0 2rem;
}

.topbar,
.hero-grid,
.feature-strip,
.value-grid,
.cta-banner {
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-soft);
  border: 1px solid rgba(124, 179, 255, 0.18);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-family: "Gill Sans", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 2.4rem;
  height: 2.4rem;
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.link-pill,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.link-pill {
  color: var(--text);
  padding: 0.8rem 1rem;
}

.button {
  padding: 0.95rem 1.3rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, #5da8ff 100%);
  box-shadow: 0 16px 30px rgba(37, 131, 255, 0.28);
}

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

.button-secondary {
  background: linear-gradient(135deg, #153967 0%, #245ca0 100%);
  box-shadow: 0 16px 30px rgba(15, 41, 78, 0.34);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(124, 179, 255, 0.18);
  box-shadow: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 2rem;
  margin-top: 1.25rem;
  padding: 2rem;
  border-radius: 2rem;
  background:
    linear-gradient(160deg, rgba(10, 23, 44, 0.94), rgba(13, 31, 56, 0.74)),
    linear-gradient(135deg, rgba(37, 131, 255, 0.1), rgba(18, 194, 233, 0.08));
  border: 1px solid rgba(124, 179, 255, 0.18);
  box-shadow: var(--shadow);
}

.eyebrow,
.feature-kicker,
.insight-label {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.hero-copy h1,
.cta-banner h2,
.feature-strip h2 {
  margin: 0;
  font-family: "Gill Sans", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 12ch;
}

.lede {
  max-width: 56ch;
  margin: 1.25rem 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

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

.stats li {
  padding: 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.stats strong,
.value-card span {
  display: block;
  font-family: "Gill Sans", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
  font-size: 1.45rem;
}

.stats span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.4;
}

.hero-card {
  display: flex;
  align-items: center;
}

.dashboard-card {
  width: 100%;
  padding: 1.2rem;
  border-radius: 1.8rem;
  background:
    linear-gradient(180deg, rgba(4, 11, 23, 0.98), rgba(7, 17, 34, 0.98));
  color: white;
  box-shadow: 0 28px 60px rgba(20, 19, 31, 0.35);
  border: 1px solid rgba(124, 179, 255, 0.12);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #5ff7bb;
  box-shadow: 0 0 0 0.3rem rgba(95, 247, 187, 0.15);
}

.conversation-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.conversation {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(124, 179, 255, 0.08);
}

.conversation.active {
  background: linear-gradient(135deg, rgba(37, 131, 255, 0.18), rgba(18, 194, 233, 0.1));
  border-color: rgba(124, 179, 255, 0.18);
}

.conversation h3,
.value-card h3 {
  margin: 0;
  font-size: 1rem;
}

.conversation p,
.value-card p,
.insight-copy {
  margin: 0.32rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.conversation span {
  color: rgba(255, 255, 255, 0.48);
  white-space: nowrap;
  font-size: 0.86rem;
}

.insight-panel {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(37, 131, 255, 0.14), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(124, 179, 255, 0.12);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-strip article,
.value-card,
.cta-banner {
  background: var(--surface);
  border: 1px solid rgba(124, 179, 255, 0.16);
  box-shadow: var(--shadow);
}

.feature-strip article {
  padding: 1.4rem;
  border-radius: 1.5rem;
}

.feature-strip h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

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

.value-card {
  padding: 1.5rem;
  border-radius: 1.6rem;
}

.value-card p {
  color: var(--muted);
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin: 1rem 0 2rem;
  padding: 1.6rem;
  border-radius: 1.8rem;
  background:
    linear-gradient(135deg, rgba(12, 30, 56, 0.96), rgba(11, 23, 45, 0.86)),
    linear-gradient(135deg, rgba(37, 131, 255, 0.08), rgba(18, 194, 233, 0.08));
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  max-width: 18ch;
}

@media (max-width: 920px) {
  .hero-grid,
  .feature-strip,
  .value-grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .topbar,
  .cta-banner {
    border-radius: 1.5rem;
  }

  .topbar,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-actions {
    width: 100%;
  }

  .hero-grid {
    padding: 1.4rem;
  }

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 1180px);
    padding: 0.5rem;
  }

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

  .button,
  .link-pill {
    width: 100%;
  }
}
