* {
  box-sizing: border-box;
}

:root {
  --primary: #635bff;
  --primary-dark: #4f46d8;
  --text: #101114;
  --muted: #69707d;
  --border: #e7e8ec;
  --bg: #ffffff;
  --soft: #f6f7fb;
  --dark: #11131a;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231, 232, 236, .8);
}

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

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.logo span,
.mini-brand span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
  color: #555b66;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover,
.login:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.login {
  font-size: 14px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
}

.btn-small {
  padding: 11px 17px;
  color: white;
  background: var(--text);
}

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

.btn-primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 12px 25px rgba(99, 91, 255, .22);
}

.btn-outline {
  border: 1px solid #dfe1e7;
  background: white;
}

.btn-light {
  background: white;
  color: #11131a;
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 24px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 95px 0 80px;
  background:
    radial-gradient(circle at 78% 25%, rgba(99,91,255,.11), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fafaff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  background: #26c281;
  border-radius: 50%;
}

.hero h1 {
  margin: 22px 0;
  font-size: clamp(50px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -4px;
}

.hero h1 strong {
  color: var(--primary);
}

.hero-content > p {
  max-width: 570px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin: 32px 0;
}

.trust {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 31px;
  height: 31px;
  margin-left: -7px;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: #dfe3f4;
  font-size: 10px;
  font-weight: 800;
}

.avatars span:first-child {
  margin-left: 0;
}

.trust strong,
.trust small {
  display: block;
}

.trust strong {
  font-size: 12px;
}

.trust small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.dashboard {
  position: relative;
  padding: 12px;
  border: 1px solid #e1e3ea;
  border-radius: 22px;
  background: white;
  box-shadow: 0 30px 80px rgba(35, 30, 80, .14);
  transform: rotate(1deg);
}

.dash-top {
  height: 50px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-brand {
  font-size: 12px;
  font-weight: 800;
}

.profile {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9d8ff, #7d78ff);
}

.dash-body {
  padding: 20px;
  border-radius: 15px;
  background: #f8f9fc;
}

.dash-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-title small {
  color: #858b96;
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 800;
}

.dash-title h3 {
  margin: 6px 0 20px;
  font-size: 18px;
}

.dash-title button {
  border: 1px solid #e2e4e9;
  border-radius: 7px;
  background: white;
  padding: 8px 10px;
  font-size: 9px;
}

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

.stat {
  padding: 15px;
  border: 1px solid #e8e9ee;
  border-radius: 10px;
  background: white;
}

.stat span,
.stat strong,
.stat em {
  display: block;
}

.stat span {
  color: #858b96;
  font-size: 9px;
}

.stat strong {
  margin: 7px 0;
  font-size: 19px;
}

.stat em {
  color: #20a875;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.chart-card {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid #e8e9ee;
  border-radius: 10px;
  background: white;
}

.chart-head {
  display: flex;
  justify-content: space-between;
}

.chart-head span,
.chart-head strong {
  display: block;
}

.chart-head span {
  color: #858b96;
  font-size: 9px;
}

.chart-head strong {
  margin-top: 5px;
  font-size: 20px;
}

.chart-label {
  align-self: center;
  padding: 5px 8px;
  border-radius: 5px;
  color: #1d9b6c !important;
  background: #e9faf3;
  font-size: 8px !important;
  font-weight: 700;
}

.chart {
  position: relative;
  height: 145px;
  margin-top: 15px;
  overflow: hidden;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 35px, #f0f1f5 36px);
}

.chart-path {
  position: absolute;
  left: 0;
  right: 0;
  top: 25px;
  height: 90px;
  border-bottom: 3px solid var(--primary);
  border-radius: 50% 50% 20% 40%;
  transform: skewY(-8deg) rotate(-2deg);
}

.point {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--primary);
}

.p1 { left: 15%; top: 79px; }
.p2 { left: 38%; top: 54px; }
.p3 { left: 64%; top: 74px; }
.p4 { left: 87%; top: 28px; }

.months {
  display: flex;
  justify-content: space-between;
  color: #9ba0a9;
  font-size: 8px;
}

.logo-strip {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.logo-strip span {
  display: block;
  margin-bottom: 22px;
  color: #a1a5ae;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-align: center;
}

.logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #8a8f99;
  font-size: 20px;
  opacity: .75;
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 55px;
}

.section-heading h2,
.split h2,
.cta h2 {
  margin: 15px 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -2.5px;
}

.section-heading h2 strong,
.split h2 strong,
.cta h2 strong {
  color: var(--primary);
}

.section-heading p,
.split > div > p,
.cta p {
  color: var(--muted);
  line-height: 1.7;
}

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

.feature-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
  transition: .25s ease;
}

.feature-card:hover,
.feature-card.featured {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(20, 25, 45, .08);
}

.feature-card.featured {
  border-color: #d8d5ff;
  background: linear-gradient(180deg, #fafaff, white);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 12px;
  color: var(--primary);
  background: #efeeff;
  font-size: 21px;
}

.feature-card h3 {
  font-size: 20px;
}

.feature-card p {
  min-height: 75px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.feature-card a {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

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

.eyebrow.light {
  color: #9f9aff;
}

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

.split > div > p {
  max-width: 500px;
  color: #a5a8b2;
}

.steps {
  display: grid;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid #292c35;
}

.step:first-child {
  border-top: 1px solid #292c35;
}

.step > span {
  color: #777b87;
  font-size: 12px;
  font-weight: 800;
}

.step h3 {
  margin: 0 0 7px;
}

.step p {
  margin: 0;
  color: #9296a1;
  font-size: 14px;
}

.pricing {
  background: #fafbfc;
}

.price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 35px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
}

.price-card > div:first-child > span {
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.price-card h3 {
  margin: 8px 0;
  font-size: 25px;
}

.price-card p {
  margin: 0;
  color: var(--muted);
}

.price {
  font-size: 40px;
  font-weight: 800;
}

.price small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.cta {
  padding: 40px 0 100px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 65px;
  border-radius: 25px;
  color: white;
  background:
    radial-gradient(circle at 85% 30%, rgba(128, 120, 255, .35), transparent 30%),
    var(--dark);
}

.cta p {
  color: #a8abb5;
}

footer {
  border-top: 1px solid var(--border);
}

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

.footer p,
.footer a {
  color: #8b909a;
  font-size: 12px;
}

.footer div {
  display: flex;
  gap: 20px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 700px;
    width: 100%;
    margin: auto;
  }

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

  .split {
    gap: 50px;
  }
}

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

  .nav {
    height: 65px;
  }

  .login,
  .nav-actions > .btn-small {
    display: none;
  }

  .hero {
    padding: 65px 0;
  }

  .hero h1 {
    font-size: 50px;
    letter-spacing: -2.5px;
  }

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

  .hero-buttons .btn {
    width: 100%;
  }

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

  .dashboard {
    transform: none;
  }

  .logos {
    flex-wrap: wrap;
    gap: 20px;
  }

  .section,
  .dark-section {
    padding: 75px 0;
  }

  .price-card,
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .footer {
    padding: 25px 0;
    flex-direction: column;
  }
}


@media (max-width: 900px) {
  .nav-links.mobile-open {
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.98);
    box-shadow: 0 15px 30px rgba(0,0,0,.06);
  }

  .nav-links.mobile-open a {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f2;
  }
}
