:root {
  --brand: #4c6fff;
  --brand-dark: #3b5bdb;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --border: #e6eaf2;
  --bg: #f6f8fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.noscroll {
  overflow: hidden;
}

/* ---------- Buttons ---------- */
.btn-solid,
.btn-ghost,
.btn-invert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-solid {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(76, 111, 255, 0.35);
}

.btn-solid:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  color: var(--text-2);
  border: 1px solid var(--border);
  background: #fff;
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-invert {
  background: #fff;
  color: var(--brand);
}

.btn-invert:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.btn-lg {
  padding: 13px 30px;
  font-size: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand img {
  height: 64px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 6px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.site-nav a:hover {
  background: var(--bg);
  color: var(--text);
}

.site-nav a.active {
  color: var(--brand);
  background: #eef2ff;
}

.site-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ---------- Hero ---------- */
.landing {
  overflow-x: hidden;
}

.hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 88px 24px 40px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(76, 111, 255, 0.09) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: #eef2ff;
  color: var(--brand);
  border: 1px solid #dbe3ff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 18px;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ---------- Process flow (horizontal step pattern) ---------- */
.process-flow {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.18);
  padding: 44px 32px 36px;
  max-width: 960px;
  margin: 0 auto;
}

.process-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  gap: 8px;
}

/* connector line behind the nodes */
.process-track::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 60px;
  right: 60px;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    #c7d2fe 0 10px,
    transparent 10px 18px
  );
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  padding: 0 6px;
}

.process-node {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.12);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step:hover .process-node {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.2);
}

.process-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(76, 111, 255, 0.4);
}

.process-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--text);
}

.process-step p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-3);
  margin: 0;
}

/* ---------- Features ---------- */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.features-head {
  text-align: center;
  margin-bottom: 48px;
}

.features-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.features-head p {
  color: var(--text-2);
  font-size: 1.05rem;
  margin: 0;
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #dbe3ff;
  box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.16);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* ---------- Demo band ---------- */
.demo-band {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 56px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.12);
}

.demo-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.demo-band p {
  color: var(--text-2);
  font-size: 1.05rem;
  margin: 0 auto 28px;
  max-width: 560px;
}

/* ---------- CTA band ---------- */
.cta-band {
  max-width: 1200px;
  margin: 0 auto 90px;
  padding: 64px 24px;
  text-align: center;
  background: linear-gradient(135deg, #4c6fff 0%, #3b5bdb 60%, #312e81 100%);
  border-radius: 22px;
  color: #fff;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin: 0 0 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-nav {
    display: none;
  }

  /* process flow stacks vertically with a left rail */
  .process-flow {
    padding: 28px 20px;
  }

  .process-track {
    flex-direction: column;
    gap: 26px;
  }

  .process-track::before {
    top: 32px;
    bottom: 32px;
    left: 31px;
    right: auto;
    width: 3px;
    height: auto;
    background: repeating-linear-gradient(
      180deg,
      #c7d2fe 0 10px,
      transparent 10px 18px
    );
  }

  .process-step {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 0;
  }

  .process-node {
    margin: 0;
    flex-shrink: 0;
  }
}

@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .site-brand img {
    height: 32px;
  }

  .btn-ghost.btn-lg,
  .btn-solid.btn-lg {
    width: 100%;
  }

  .cta-band {
    margin: 0 16px 60px;
  }

  .demo-band {
    margin: 0 16px 28px;
  }
}
