
:root {
  --purple: #704df5;
  --purple-dark: #4521c8;
  --purple-light: #f3efff;
  --ink: #11162b;
  --muted: #65708a;
  --border: #e9eaf3;
  --white: #fff;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

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

button, input, textarea {
  font: inherit;
}

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

.purple {
  color: var(--purple);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 11px;
}

/* Navigation */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #efedf8;
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: linear-gradient(135deg, #896aff, #4824d2);
  border-radius: 11px;
  box-shadow: 0 5px 18px #704df52c;
}

.nav-links, .nav-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a, .signin {
  color: #535d75;
  font-size: 13px;
  font-weight: 600;
}

.nav-links a:hover, .signin:hover {
  color: var(--purple);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--purple);
  font-size: 24px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #8261ff, #6340eb);
  box-shadow: 0 8px 22px #704df52b;
}

.btn-secondary {
  color: var(--purple);
  background: white;
  border-color: #e5deff;
}

.btn-small {
  padding: 11px 16px;
  font-size: 12px;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #fff 5%, #fbfaff 50%, #f0edff);
  border-bottom: 1px solid #f1edff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .4;
  background-image:
    linear-gradient(#7654f60a 1px, transparent 1px),
    linear-gradient(90deg, #7654f60a 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 42px;
  padding-block: 75px 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 5px;
  margin-bottom: 24px;
  border: 1px solid #e8e1ff;
  border-radius: 30px;
  background: #ffffffc9;
  color: #59637d;
  font-size: 11px;
}

.eyebrow strong {
  padding: 7px 11px;
  color: white;
  background: var(--purple);
  border-radius: 25px;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(39px, 4.2vw, 60px);
  line-height: 1.07;
  letter-spacing: -2.5px;
}

.hero h1 span {
  color: var(--purple-dark);
}

.hero-description {
  max-width: 560px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

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

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 25px;
  color: #56617a;
  font-size: 11px;
  font-weight: 600;
}

.trust-items span::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-right: 6px;
  border-radius: 50%;
  color: var(--purple);
  background: #eee8ff;
}

/* Dashboard mockup */

.dashboard {
  min-width: 0;
  padding: 11px;
  border: 1px solid #e4ddff;
  border-radius: 21px;
  background: #ffffffbd;
  box-shadow: 0 25px 65px #5c42c52b;
}

.window-dots {
  display: flex;
  gap: 6px;
  padding: 7px 9px 12px;
}

.window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff777c;
}

.window-dots i:nth-child(2) {
  background: #ffbd4c;
}

.window-dots i:nth-child(3) {
  background: #3bd48b;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  min-height: 335px;
  overflow: hidden;
  border-radius: 13px;
  background: white;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px 10px;
  background: #f8f6ff;
}

.sidebar-brand {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
}

.sidebar-item {
  padding: 10px 7px;
  border-radius: 7px;
  color: #626c83;
  font-size: 9px;
}

.sidebar-item.active {
  color: white;
  background: var(--purple);
}

.dashboard-main {
  min-width: 0;
  padding: 20px 15px;
}

.dashboard-main h2 {
  margin-bottom: 5px;
  font-size: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-block: 17px 12px;
}

.stat {
  min-width: 0;
  padding: 11px 8px;
  border-radius: 9px;
}

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

.stat small {
  color: var(--muted);
  font-size: 8px;
}

.stat strong {
  margin-top: 6px;
  font-size: 17px;
}

.stat-purple {
  background: #f1edff;
}

.stat-green {
  background: #edfbf4;
}

.stat-pink {
  background: #fff0f4;
}

.dashboard-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.panel {
  min-width: 0;
  padding: 13px;
  border: 1px solid #eceef5;
  border-radius: 10px;
  background: white;
}

.panel h3 {
  margin-bottom: 14px;
  font-size: 11px;
}

.bars {
  height: 105px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 6px;
  padding: 0 4px;
  border-bottom: 1px solid #eeeaf8;
  background: repeating-linear-gradient(
    to bottom, transparent 0 25px, #f0eef8 26px 27px
  );
}

.bars span {
  width: 12%;
  max-width: 17px;
  height: var(--bar);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(#a992ff, #704df5);
}

.chart-labels {
  display: flex;
  justify-content: space-around;
  gap: 4px;
  margin-top: 8px;
  color: #8992a7;
  font-size: 9px;
}

.checkin, .activity-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 0;
  border-bottom: 1px solid #f0f1f7;
  font-size: 9px;
}

.checkin b, .activity-row b {
  margin-left: auto;
  color: #17ae72;
  font-size: 8px;
}

.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: var(--purple);
  background: #eee9ff;
  font-size: 8px;
  font-weight: 800;
}

.preview-note {
  display: block;
  margin-top: 8px;
  text-align: right;
  color: #9299a9;
  font-size: 9px;
}

/* Section headings and feature cards */

.section {
  padding: 75px 0;
}

.section-heading {
  max-width: 750px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -1.3px;
}

.section-heading p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

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

.card {
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: white;
  box-shadow: 0 7px 25px #221b4d05;
  transition: transform .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px #513ab218;
}

.card.highlight {
  background: linear-gradient(145deg, #f3efff, #fff);
  border-color: #e5dcff;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 15px;
  border-radius: 12px;
  color: var(--purple);
  background: #f0ebff;
  font-size: 22px;
  font-weight: 700;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Analytics preview */

.analytics {
  margin-top: 40px;
  padding: 15px;
  border: 1px solid #e8e0ff;
  border-radius: 19px;
  background: linear-gradient(135deg, #f3efff, white);
  box-shadow: 0 15px 45px #573bbc13;
}

.analytics-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.analytics-stat {
  padding: 14px;
  border: 1px solid #f0eef8;
  border-radius: 10px;
  background: white;
}

.analytics-stat span, .analytics-stat strong {
  display: block;
}

.analytics-stat span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
}

.analytics-stat strong {
  font-size: 14px;
}

.analytics-panels {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12px;
}

.line-chart {
  display: block;
  width: 100%;
  height: 140px;
  background: repeating-linear-gradient(
    to bottom, transparent 0 33px, #f0eef8 34px 35px
  );
}

/* Steps */

.soft-background {
  background: #faf9ff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 17%;
  right: 17%;
  border-top: 1px dashed #c9bbff;
}

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

.step-number {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  margin: 0 auto 15px;
  border: 5px solid #f0ebff;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #8d71ff, #5d3be8);
  font-size: 18px;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.step p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Use cases */

.use-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.use-card {
  padding: 20px;
}

.use-card .card-icon {
  width: 38px;
  height: 38px;
  font-size: 19px;
}

/* FAQ and contact */

.contact-section {
  background: linear-gradient(180deg, white, #fbfaff);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: start;
  gap: 40px;
}

.contact-grid h2 {
  margin-bottom: 20px;
  font-size: 30px;
  letter-spacing: -1px;
}

.faqs {
  display: grid;
  gap: 9px;
}

.faqs details {
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
}

.faqs summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
}

.faqs summary::-webkit-details-marker {
  display: none;
}

.faqs summary::after {
  content: "+";
  color: var(--purple);
  font-size: 18px;
}

.faqs details[open] summary::after {
  content: "−";
}

.faqs details p {
  padding-bottom: 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.contact-card {
  padding: 27px;
  border: 1px solid #e7e0ff;
  border-radius: 18px;
  background: linear-gradient(145deg, #f5f1ff, white);
  box-shadow: 0 15px 40px #5039ae12;
}

.contact-card h2 {
  margin-bottom: 10px;
}

.contact-card > p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 13px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #505b74;
  font-size: 11px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e4e6ef;
  border-radius: 8px;
  outline: none;
  background: white;
  font-size: 12px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #9d8aff;
  box-shadow: 0 0 0 3px #7654f61c;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
  border: none;
}

.form-note {
  color: #81899c;
  font-size: 10px;
  line-height: 1.6;
}

/* Footer */

.footer {
  padding-top: 40px;
  border-top: 1px solid #efedf8;
  background: #faf9ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 32px;
}

.footer-description {
  max-width: 270px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-links h4 {
  margin-bottom: 3px;
  font-size: 12px;
}

.footer-links a {
  color: var(--muted);
  font-size: 11px;
}

.footer-links a:hover {
  color: var(--purple);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 0 20px;
  border-top: 1px solid #eae8f3;
  color: #858da0;
  font-size: 10px;
}

/* Responsive design */

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-copy {
    max-width: 760px;
    margin: auto;
    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-buttons, .trust-items {
    justify-content: center;
  }

  .dashboard {
    width: 100%;
    max-width: 780px;
    margin: auto;
  }

  .use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 30px);
  }

  .header {
    height: 66px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-icon {
    width: 33px;
    height: 33px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    position: relative;
    gap: 12px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    left: -15px;
    right: -15px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 20px #2010440d;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 5px;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-actions .signin {
    font-size: 11px;
  }

  .btn-small {
    padding: 10px;
  }

  .hero-grid {
    padding-block: 45px 42px;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 47px);
    letter-spacing: -1.7px;
  }

  .hero-description {
    font-size: 13px;
  }

  .eyebrow {
    gap: 6px;
    font-size: 9px;
  }

  .hero-buttons .btn {
    flex: 1;
    min-width: 0;
    padding: 13px 10px;
    font-size: 11px;
  }

  .trust-items {
    gap: 10px;
    font-size: 9px;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .dashboard-main {
    padding: 15px 10px;
  }

  .dashboard-panels {
    grid-template-columns: 1fr;
  }

  .recent-panel {
    display: none;
  }

  .section {
    padding: 55px 0;
  }

  .section-heading {
    margin-bottom: 27px;
  }

  .section-heading h2 {
    font-size: 28px;
    letter-spacing: -.8px;
  }

  .section-heading p {
    font-size: 12px;
  }

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

  .card {
    padding: 19px;
  }

  .analytics {
    padding: 9px;
    margin-top: 25px;
  }

  .analytics-stats {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .analytics-panels {
    grid-template-columns: 1fr;
  }

  .analytics-panels > .panel:nth-child(2) {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .steps::before {
    display: none;
  }

  .use-grid {
    gap: 10px;
  }

  .use-card {
    padding: 14px;
  }

  .use-card h3 {
    font-size: 12px;
  }

  .use-card p {
    font-size: 10px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-card {
    padding: 20px 16px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 18px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition: none !important;
  }
}
