:root {
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #101828;
  --muted: #667085;
  --border: #e4e7ec;
  --primary: #635bff;
  --primary-dark: #5148e5;
  --dark: #101828;
  --radius: 18px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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


/* =========================
   NAVBAR
========================= */

.navbar {
  height: 76px;
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(228, 231, 236, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(15px);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  border-radius: 9px;
  font-size: 15px;
}

.nav-links {
  display: flex;
  gap: 34px;
  color: #475467;
  font-size: 14px;
  font-weight: 500;
}

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

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

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

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

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

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

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

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

.btn-secondary {
  background: white;
  border: 1px solid var(--border);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 25px;
  cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
  padding: 105px 0 90px;
  overflow: hidden;
}

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

.eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: #efedff;
  border-radius: 50px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
}

h1 {
  max-width: 620px;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -4px;
  margin-bottom: 25px;
}

h1 span,
h2 span {
  color: var(--primary);
}

.hero-text {
  max-width: 570px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 20px;
  color: #98a2b3;
  font-size: 12px;
}

.hero-note span {
  margin: 0 7px;
}


/* =========================
   DASHBOARD
========================= */

.dashboard-wrapper {
  perspective: 1000px;
}

.dashboard {
  background: white;
  border: 1px solid #dfe3eb;
  border-radius: 16px;
  box-shadow:
    0 35px 80px rgba(16, 24, 40, 0.13),
    0 5px 15px rgba(16, 24, 40, 0.05);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
}

.dashboard-top {
  height: 48px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 15px;
}

.window-controls {
  display: flex;
  gap: 5px;
}

.window-controls span {
  width: 8px;
  height: 8px;
  background: #d0d5dd;
  border-radius: 50%;
}

.dashboard-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: #98a2b3;
}

.avatar {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: #ede9fe;
  color: #5b21b6;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
}

.dashboard-body {
  display: flex;
  min-height: 400px;
}

.sidebar {
  width: 135px;
  border-right: 1px solid var(--border);
  padding: 22px 10px;
}

.side-item {
  padding: 9px 10px;
  border-radius: 7px;
  margin-bottom: 5px;
  font-size: 10px;
  color: #667085;
}

.side-item.active {
  background: #efedff;
  color: var(--primary);
  font-weight: 700;
}

.dashboard-main {
  flex: 1;
  padding: 25px;
  background: #fcfcfd;
}

.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dashboard-heading small {
  color: #98a2b3;
  font-size: 9px;
}

.dashboard-heading h3 {
  font-size: 19px;
  letter-spacing: -0.5px;
}

.mini-button {
  background: var(--primary);
  color: white;
  border: 0;
  padding: 8px 11px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
}

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

.stat-card,
.chart-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 14px;
}

.stat-card small {
  display: block;
  font-size: 8px;
  color: #98a2b3;
  margin-bottom: 5px;
}

.stat-card strong {
  font-size: 22px;
  display: block;
}

.stat-card em {
  color: #12b76a;
  font-size: 8px;
  font-style: normal;
}

.chart-card {
  margin-top: 12px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
}

.chart-header span {
  color: #98a2b3;
}

.chart {
  height: 145px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  padding-top: 25px;
  position: relative;
}

.bar {
  width: 25px;
  background: #c7c2ff;
  border-radius: 5px 5px 0 0;
  position: relative;
  z-index: 2;
}

.b1 { height: 45%; }
.b2 { height: 62%; }
.b3 { height: 50%; }
.b4 { height: 80%; }
.b5 { height: 65%; }
.b6 { height: 92%; }
.b7 { height: 75%; }

.chart-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 45%;
  border-top: 1px dashed #d0d5dd;
}


/* =========================
   TRUSTED
========================= */

.trusted {
  padding: 30px 0 75px;
}

.trusted p {
  text-align: center;
  color: #98a2b3;
  font-size: 12px;
  margin-bottom: 28px;
}

.logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  color: #98a2b3;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
}


/* =========================
   SECTIONS
========================= */

.section {
  padding: 110px 0;
  background: white;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: clamp(35px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -2.5px;
  margin-bottom: 20px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  max-width: 600px;
}

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

.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.08);
}

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

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 25px;
}

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


/* =========================
   PROCESS
========================= */

.process-section {
  background: var(--bg);
}

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

.step {
  position: relative;
}

.step-number {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 25px;
}

.step h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
}


/* =========================
   CTA
========================= */

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

.cta {
  background: var(--dark);
  color: white;
  border-radius: 24px;
  padding: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta .eyebrow {
  color: #a8a3ff;
}

.cta h2 {
  font-size: clamp(35px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -2px;
  max-width: 650px;
}

.cta p {
  color: #98a2b3;
  margin-top: 15px;
  max-width: 560px;
}

.btn-white {
  background: white;
  color: var(--dark);
  white-space: nowrap;
}


/* =========================
   FOOTER
========================= */

footer {
  background: white;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-inner > div > p {
  color: #98a2b3;
  font-size: 12px;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  gap: 25px;
  color: #667085;
  font-size: 13px;
}

.copyright {
  text-align: right;
  color: #98a2b3;
  font-size: 12px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.open {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0;
    left: 20px;
    right: 20px;
    top: 70px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 15px 40px rgba(16, 24, 40, 0.12);
  }

  .nav-links.open a {
    padding: 13px;
  }

  .hero {
    padding-top: 70px;
  }

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

  .dashboard {
    transform: none;
  }

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

  .logos {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .copyright {
    text-align: left;
  }
}


@media (max-width: 600px) {

  .container {
    width: min(100% - 28px, var(--container));
  }

  h1 {
    letter-spacing: -2.5px;
  }

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

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

  .dashboard-body {
    min-height: 300px;
  }

  .sidebar {
    display: none;
  }

  .dashboard-main {
    padding: 15px;
  }

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

  .chart-card {
    display: none;
  }

  .section {
    padding: 75px 0;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}