:root {
  --bg: #081120;
  --bg-soft: #0d1728;
  --surface: #111d31;
  --surface-light: #f5f7ff;
  --text: #f8faff;
  --text-dark: #101828;
  --muted: #a8b3c7;
  --muted-dark: #667085;
  --primary: #5d63ff;
  --primary-2: #7d5cff;
  --blue: #2f6bea;
  --line: rgba(255,255,255,.11);
  --shadow: 0 24px 70px rgba(0,0,0,.28);
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8,17,32,.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-name {
  font-size: 1.25rem;
  letter-spacing: -.04em;
}

.brand-name span {
  color: #9ba4ff;
  font-weight: 500;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(4, 6px);
  grid-auto-rows: 6px;
  gap: 3px;
  width: 34px;
  align-items: end;
}

.brand-mark i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4b73ff, #8c5cff);
  box-shadow: 0 0 12px rgba(93,99,255,.35);
}

.brand-mark i:nth-child(1),
.brand-mark i:nth-child(5) {
  opacity: 0;
}

.brand-mark i:nth-child(10),
.brand-mark i:nth-child(11) {
  transform: translateX(4px);
}

.brand-mark.small {
  transform: scale(.78);
  transform-origin: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #c8d0df;
  font-size: .92rem;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding: 10px 16px;
  border-radius: 999px;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background:
    radial-gradient(circle at 76% 28%, rgba(93,99,255,.18), transparent 30%),
    radial-gradient(circle at 20% 60%, rgba(47,107,234,.14), transparent 28%),
    linear-gradient(135deg, #07101e 0%, #0b1424 50%, #11162d 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 90%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: .4;
}

.hero-glow-one {
  width: 320px;
  height: 320px;
  background: #504cff;
  right: 12%;
  top: 20%;
}

.hero-glow-two {
  width: 220px;
  height: 220px;
  background: #2563eb;
  left: -5%;
  bottom: 10%;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: #9da9ff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  margin-bottom: 20px;
}

.hero h1,
.section-heading h2,
.workflow-copy h2,
.cta-box h2 {
  letter-spacing: -.055em;
  line-height: 1.04;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  font-weight: 800;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: .2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--blue));
  box-shadow: 0 14px 34px rgba(61,92,255,.28);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  color: #dbe2ef;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-tags span {
  font-size: .82rem;
  color: #b8c2d3;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  padding: 8px 11px;
  border-radius: 999px;
}

.hero-panel {
  position: relative;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(145deg, rgba(17,29,49,.95), rgba(8,17,32,.92));
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 35%);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .88rem;
  font-weight: 700;
}

.status {
  font-size: .72rem;
  color: #c9ceff;
  background: rgba(93,99,255,.16);
  border: 1px solid rgba(130,135,255,.22);
  padding: 6px 9px;
  border-radius: 999px;
}

.panel-content {
  padding: 24px;
}

.metric-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 18px;
  padding: 20px;
}

.metric-card.featured {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 85% 20%, rgba(93,99,255,.28), transparent 38%),
    rgba(255,255,255,.035);
}

.metric-label {
  color: #9ca9bd;
  font-size: .78rem;
}

.metric-card strong {
  display: block;
  font-size: 2.4rem;
  margin: 3px 0;
}

.metric-card small {
  color: #bbc4d3;
  max-width: 310px;
}

.panel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.panel-row .metric-card strong {
  font-size: 1.3rem;
}

.ai-card {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  padding: 18px;
  border-radius: 18px;
  color: #111827;
  background: linear-gradient(135deg, #f8f9ff, #e9ecff);
}

.ai-card p {
  color: #5e6676;
  font-size: .86rem;
  margin-top: 3px;
}

.ai-icon {
  color: var(--primary);
  font-size: 1.35rem;
}

.section {
  padding: 110px 0;
  background: #f8f9fd;
  color: var(--text-dark);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 50px;
}

.section-heading .eyebrow,
.workflow-copy .eyebrow {
  color: #5d63ff;
}

.section-heading h2,
.workflow-copy h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
}

.section-heading p,
.workflow-copy > p {
  color: var(--muted-dark);
  margin-top: 18px;
  font-size: 1.02rem;
}

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

.feature-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid #e7eaf1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(16,24,40,.05);
}

.feature-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4f67ff, #7a5cff);
}

.feature-card h3 {
  margin-top: 48px;
  font-size: 1.32rem;
  letter-spacing: -.025em;
}

.feature-card p {
  color: var(--muted-dark);
  margin-top: 10px;
}

.workflow {
  background: #eef1fb;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.quote {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem !important;
  font-style: italic;
  color: #3f4757 !important;
  margin-top: 28px !important;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  background: rgba(255,255,255,.75);
  border: 1px solid #dde2ef;
  border-radius: 18px;
  padding: 22px;
}

.step > span {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1424;
  color: #aab1ff;
  font-weight: 800;
}

.step strong {
  font-size: 1.08rem;
}

.step p {
  color: var(--muted-dark);
  margin-top: 3px;
}

.cta-section {
  padding: 90px 0;
  background: var(--bg);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 52px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 30%, rgba(105,87,255,.28), transparent 26%),
    linear-gradient(135deg, #101b30, #111326);
}

.cta-box h2 {
  max-width: 730px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.cta-box p {
  color: var(--muted);
  margin-top: 16px;
  max-width: 650px;
}

.btn-light {
  min-width: 170px;
  background: #fff;
  color: #111827;
  white-space: nowrap;
}

.footer {
  border-top: 1px solid var(--line);
  background: #060c16;
}

.footer-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  color: #7f8aa0;
  font-size: .84rem;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 80px 0;
  }

  .hero-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .feature-card {
    min-height: auto;
  }

  .feature-card h3 {
    margin-top: 30px;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    height: 66px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .hero-text {
    font-size: 1rem;
  }

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

  .btn {
    width: 100%;
  }

  .panel-row {
    grid-template-columns: 1fr;
  }

  .section,
  .cta-section {
    padding: 72px 0;
  }

  .cta-box {
    padding: 32px 24px;
  }

  .footer-inner {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}
