:root {
  --purple: #3f217c;
  --purple-deep: #2a1458;
  --purple-soft: #6b4db0;
  --yellow: #ffd400;
  --yellow-deep: #f0c000;
  --ink: #1a1430;
  --muted: #5c5670;
  --line: #e8e4f0;
  --surface: #ffffff;
  --surface-soft: #f6f4fa;
  --success: #1f9d63;
  --danger: #d64545;
  --shadow: 0 20px 50px rgba(42, 20, 88, 0.12);
  --shadow-soft: 0 10px 30px rgba(42, 20, 88, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --font: "Manrope", "Avenir Next", sans-serif;
  --script: "Caveat", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 212, 0, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(63, 33, 124, 0.08), transparent 50%),
    linear-gradient(180deg, #fff 0%, #faf8ff 35%, #fff 70%);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: radial-gradient(500px 200px at 50% 0%, rgba(255, 212, 0, 0.08), transparent 60%);
  z-index: -1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(42, 20, 88, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--purple);
  letter-spacing: -0.02em;
}

.logo.light {
  color: #fff;
}

.logo-img {
  display: block;
  width: auto;
  height: 36px;
  max-width: min(180px, 42vw);
  object-fit: contain;
}

.logo.light .logo-img {
  height: 40px;
}

.logo.light {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  padding: 0.45rem 0.7rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.logo-mark.sm {
  width: 26px;
  height: 26px;
  font-size: 0.85rem;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-item:focus-within > .nav-link {
  background: rgba(63, 33, 124, 0.06);
  color: var(--purple);
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 180px;
  padding: 0.55rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  display: grid;
  gap: 0.15rem;
}

.dropdown a {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
}

.dropdown a:hover {
  background: var(--surface-soft);
  color: var(--purple);
}

.nav-item.open .dropdown,
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item.open .nav-link svg,
.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

.nav-link svg {
  transition: transform 0.2s ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.text-link {
  font-weight: 700;
  color: var(--ink);
  padding: 0.4rem 0.55rem;
}

.text-link:hover {
  color: var(--purple);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 12px;
  font-weight: 800;
  padding: 0.7rem 1.15rem;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(255, 212, 0, 0.35);
}

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

.btn-secondary {
  background: #fff;
  color: var(--purple);
  border: 1.5px solid rgba(63, 33, 124, 0.25);
}

.btn-secondary:hover {
  border-color: var(--purple);
  background: rgba(63, 33, 124, 0.04);
}

.btn-dark {
  background: var(--purple-deep);
  color: #fff;
}

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

.btn-outline-dark {
  border: 1.5px solid rgba(26, 20, 48, 0.35);
  color: var(--ink);
  background: transparent;
}

.btn-outline-dark:hover {
  background: rgba(26, 20, 48, 0.05);
}

.btn-lg {
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
  border-radius: 14px;
}

.play-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(63, 33, 124, 0.1);
  color: var(--purple);
  display: grid;
  place-items: center;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  background: var(--surface-soft);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-only {
  display: none;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 11.5ch;
  animation: copy-in 0.7s ease both;
}

.hero-copy .hero-lead,
.hero-copy .hero-actions,
.hero-copy .trust-row {
  animation: copy-in 0.7s ease both;
}

.hero-copy .hero-lead {
  animation-delay: 80ms;
}

.hero-copy .hero-actions {
  animation-delay: 140ms;
}

.hero-copy .trust-row {
  animation-delay: 200ms;
}

@keyframes copy-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.script-word {
  position: relative;
  display: inline-block;
  font-family: var(--script);
  font-size: 1.18em;
  color: var(--purple);
  font-weight: 700;
  line-height: 1;
  padding: 0 0.1em;
}

.script-word::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.08em;
  height: 0.28em;
  background: linear-gradient(90deg, transparent, rgba(63, 33, 124, 0.28), transparent);
  border-radius: 40% 60% 50% 50%;
  z-index: -1;
  transform: rotate(-2deg);
}

.hero-lead {
  margin: 1.25rem 0 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.6rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(63, 33, 124, 0.08);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  color: var(--purple);
}

/* Dashboard mock */
.hero-visual {
  perspective: 1400px;
}

.dash-shell {
  display: grid;
  grid-template-columns: 130px 1fr 110px;
  background: #fff;
  border: 1px solid rgba(63, 33, 124, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 420px;
  transform: rotateY(-8deg) rotateX(4deg) translateX(8px);
  animation: float-in 0.9s ease both, dash-float 6s ease-in-out 1s infinite;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: rotateY(-8deg) rotateX(4deg) translateY(24px);
  }
  to {
    opacity: 1;
    transform: rotateY(-8deg) rotateX(4deg) translateX(8px);
  }
}

@keyframes dash-float {
  0%,
  100% {
    transform: rotateY(-8deg) rotateX(4deg) translateX(8px) translateY(0);
  }
  50% {
    transform: rotateY(-8deg) rotateX(4deg) translateX(8px) translateY(-8px);
  }
}

.dash-sidebar {
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: #fff;
  padding: 1rem 0.75rem;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 1.2rem;
}

.dash-brand img {
  height: 22px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  padding: 0.2rem 0.35rem;
}

.dash-nav {
  display: grid;
  gap: 0.25rem;
}

.dash-nav span {
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  font-size: 0.72rem;
  opacity: 0.78;
}

.dash-nav .active {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
  font-weight: 700;
}

.dash-main {
  padding: 0.9rem 1rem 1rem;
  background:
    linear-gradient(180deg, #fbfaff 0%, #fff 40%);
}

.dash-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.dash-search {
  flex: 1;
  background: var(--surface-soft);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  color: #9a94ab;
  font-size: 0.75rem;
}

.dash-user {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
}

.dash-greeting {
  margin: 0 0 0.75rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.dash-metrics article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.6rem;
}

.dash-metrics small {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
}

.dash-metrics strong {
  display: block;
  font-size: 0.85rem;
  margin: 0.15rem 0;
}

.dash-metrics em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
}

.dash-metrics .up {
  color: var(--success);
}

.dash-metrics .down {
  color: var(--danger);
}

.dash-panels {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.55rem;
}

.dash-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem;
}

.dash-panel.wide {
  grid-column: 1 / -1;
}

.panel-title {
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.task-list {
  display: grid;
  gap: 0.4rem;
  font-size: 0.68rem;
  color: var(--muted);
}

.task-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.task-list i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--purple-soft);
}

.task-list i.done {
  background: var(--yellow);
  border-color: var(--yellow);
}

.chart-panel {
  display: grid;
  justify-items: center;
}

.donut {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: conic-gradient(var(--purple) 0 68%, var(--yellow) 68% 85%, #ebe7f5 85% 100%);
  display: grid;
  place-items: center;
  position: relative;
}

.donut::before {
  content: "";
  position: absolute;
  inset: 14px;
  background: #fff;
  border-radius: 50%;
}

.donut span {
  position: relative;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--purple);
}

.bars {
  display: flex;
  align-items: end;
  gap: 0.45rem;
  height: 70px;
}

.bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--yellow), var(--purple-soft));
  animation: bar-grow 1.1s ease both;
}

@keyframes bar-grow {
  from {
    height: 0;
  }
}

.dash-ai {
  background: var(--surface-soft);
  padding: 0.9rem 0.7rem;
  border-left: 1px solid var(--line);
}

.ai-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 0.55rem;
}

.dash-ai p {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.4;
}

.dash-ai button {
  width: 100%;
  background: var(--purple);
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Features */
.features {
  padding: 4.5rem 0 3rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section-heading h2,
.how-copy h2,
.cta-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-heading .hero-lead {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-col {
  padding: 0.5rem 0.25rem 0.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.feature-icon.yellow {
  background: rgba(255, 212, 0, 0.28);
  color: #b89200;
}

.feature-icon.purple {
  background: rgba(63, 33, 124, 0.12);
  color: var(--purple);
}

.feature-col h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.check-list li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.check-list.yellow li::before {
  background: rgba(255, 212, 0, 0.35);
  color: #9a7a00;
}

.check-list.purple li::before {
  background: rgba(63, 33, 124, 0.12);
  color: var(--purple);
}

.text-cta {
  font-weight: 800;
  color: var(--purple);
  display: inline-flex;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}

.text-cta:hover {
  gap: 0.55rem;
}

/* Values */
.values {
  padding: 2rem 0 1rem;
}

.value-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  text-align: center;
}

.value-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(63, 33, 124, 0.08);
  color: var(--purple);
  font-size: 1.2rem;
}

.value-row h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.value-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Stats */
.stats {
  margin-top: 2.5rem;
  padding: 2rem 0;
  background: linear-gradient(180deg, #f3f0f8, #efeaf8);
  border-block: 1px solid rgba(63, 33, 124, 0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--purple);
  letter-spacing: -0.03em;
  margin-bottom: 0.2rem;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

/* How it works */
.how {
  padding: 5rem 0 3rem;
}

.how-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 2rem;
  align-items: start;
}

.how-copy p:last-child {
  color: var(--muted);
  max-width: 34ch;
  margin: 1rem 0 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 8%;
  right: 8%;
  border-top: 2px dashed rgba(63, 33, 124, 0.2);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 0.85rem 1.1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.step-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.mini-ui {
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 0.7rem;
  min-height: 110px;
}

.mini-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mini-field {
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  border: 1px solid var(--line);
}

.mini-field.faint {
  color: var(--muted);
  font-weight: 500;
}

.avatar-stack {
  display: flex;
  margin-top: 0.5rem;
}

.avatar-stack span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  border: 2px solid #fff;
  margin-left: -8px;
}

.avatar-stack span:first-child {
  margin-left: 0;
  background: var(--yellow);
  color: var(--ink);
}

.avatar-stack span:nth-child(2) {
  background: var(--purple-soft);
}

.mini-ui strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.mini-actions {
  display: flex;
  gap: 0.35rem;
}

.mini-approve,
.mini-reject {
  flex: 1;
  border-radius: 8px;
  padding: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
}

.mini-approve {
  background: var(--yellow);
  color: var(--ink);
}

.mini-reject {
  background: #fff;
  border: 1px solid rgba(214, 69, 69, 0.35);
  color: var(--danger);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(31, 157, 99, 0.12);
  color: var(--success);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}

.status-pill::before {
  content: "✓";
}

.mini-ui small {
  color: var(--muted);
  font-size: 0.72rem;
}

/* CTA */
.cta-band {
  padding: 2rem 0 4rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.4rem 2.5rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.35), transparent 30%),
    linear-gradient(135deg, #ffe14a 0%, var(--yellow) 45%, #ffc700 100%);
  box-shadow: 0 18px 40px rgba(240, 192, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(63, 33, 124, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.55;
  pointer-events: none;
}

.cta-copy,
.cta-actions {
  position: relative;
}

.cta-copy p {
  margin: 0.55rem 0 0;
  color: rgba(26, 20, 48, 0.75);
  font-weight: 600;
  max-width: 42ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  background:
    radial-gradient(600px 300px at 90% 20%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(160deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: rgba(255, 255, 255, 0.86);
  padding: 4rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 40%, #000 80%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer-brand p {
  margin: 1rem 0 1.25rem;
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.72);
}

.socials {
  display: flex;
  gap: 0.55rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.footer-cols h4 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.95rem;
}

.footer-cols a {
  display: block;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.92rem;
}

.footer-cols a:hover {
  color: #fff;
}

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom p {
  margin: 0;
}

.legal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal a:hover {
  color: #fff;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid,
  .how-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .dash-shell {
    transform: none;
    animation: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .value-row,
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.5rem;
  }

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

  .steps::before {
    display: none;
  }

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

@media (max-width: 840px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 76px 1rem auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0.25rem 0 0.25rem 0.75rem;
    display: none;
  }

  .nav-item.open .dropdown {
    display: grid;
  }

  .dash-shell {
    grid-template-columns: 90px 1fr;
  }

  .dash-ai {
    display: none;
  }

  .dash-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .value-row,
  .stats-grid,
  .steps,
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .value-row article:last-child,
  .stats-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .hero {
    padding-top: 2rem;
  }

  .cta-panel {
    padding: 1.6rem;
  }

  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .feature-grid,
  .footer-cols,
  .steps {
    grid-template-columns: 1fr;
  }

  .dash-shell {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    display: none;
  }
}
