:root {
  --bg-dark: #0E1015;
  --bg-dark-2: #13151B;
  --bg-light: #FFFFFF;
  --bg-light-2: #F5F6F8;
  --bg-light-3: #EDEEF1;

  --primary: #165DFE;
  --primary-hover: #0F4FE0;

  --text-light: #FFFFFF;
  --text-light-muted: #9CA3AF;
  --text-dark: #0E1015;
  --text-dark-2: #1F2430;
  --text-dark-muted: #6B7280;

  --success: #22C55E;
  --warning: #F59E0B;
  --error: #EF4444;

  --border-light: #E5E7EB;
  --border-dark: rgba(255, 255, 255, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container-pad-desk: 120px;
  --container-pad-mob: 20px;
  --container-max: 1440px;
}

/* ============ Reset ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

/* ============ Container ============ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad-desk);
  padding-right: var(--container-pad-desk);
}

/* ============ Shared bits ============ */
.eyebrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow--center {
  text-align: center;
}

.section-title {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title--dark {
  color: var(--text-dark);
}

.section-title--light {
  color: var(--text-light);
}

.section-title--center {
  text-align: center;
  margin-top: 20px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: background .2s ease, transform .15s ease, color .2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--text-light);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
  padding: 14px 20px;
}

/* ============ Image placeholders ============ */
.image-placeholder {
  background: repeating-linear-gradient(45deg,
      #EEF0F4,
      #EEF0F4 10px,
      #F5F6F8 10px,
      #F5F6F8 20px);
  /* border: 1.5px dashed #C6CAD2; */
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  overflow: hidden;
  min-height: 200px;
  object-fit: cover;

  img {
    width: 100%;
    height: 100%;
  }
}

.image-placeholder--dashboard {
  /* aspect-ratio: 1240 / 600; */
  max-width: 1200px;
  margin: 60px auto 0;
  min-height: 320px;
  border-radius: 12px 12px 0 0;
}

.image-placeholder--chart {
  min-height: 380px;
  aspect-ratio: 1 / 1;
  max-height: 420px;
}

.success__right {
  background: #f4f4f4;
  padding: 20px 0 0 20px;
}

.image-placeholder--cta {
  min-height: 320px;
  border-radius: 20px 0 0 20px;

  img {
    height: 100%;
  }
}

/* ============ NAV / HERO ============ */
.hero {
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 600px at 100% 0%, rgba(123, 97, 255, 0.06), transparent 60%),
    radial-gradient(ellipse 800px 500px at 0% 100%, rgba(123, 97, 255, 0.04), transparent 60%);
  pointer-events: none;
}

.hero>* {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-dark);
  gap: 32px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.nav__logo--dark {
  color: var(--text-dark);
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}

.nav__link:hover {
  color: #fff;
}

.chev {
  font-size: 10px;
  opacity: .7;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__login {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__burger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.hero__inner {
  padding-top: 90px;
  padding-bottom: 0;
  text-align: center;
}

.hero__title {
  font-size: 72px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 900px;
  margin: 0 auto;
}

.hero__subtitle {
  margin-top: 24px;
  color: var(--text-light-muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero__actions {
  margin-top: 36px;
  display: inline-flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ BENEFIT ============ */
.benefit {
  background: var(--bg-light);
  padding: 120px 0;
}

.benefit__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 60px;
}

.benefit__desc {
  color: var(--text-dark-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin-top: 36px;
}

.benefit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-card__media {
  aspect-ratio: 1 / 0.85;
  background: var(--bg-light-2);
  border: none;
  border-radius: var(--radius-md);
  min-height: 260px;
}

.benefit-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.benefit-card__desc {
  color: var(--text-dark-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ============ HOW IT WORKS ============ */
.how {
  background: var(--bg-dark);
  color: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.how::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 100% 0%, rgba(123, 97, 255, 0.05), transparent 60%);
  pointer-events: none;
}

.how>* {
  position: relative;
  z-index: 1;
}

.how__head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.how__desc {
  color: var(--text-light-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 20px;
}

.how__steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step__badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-bottom: -22px;
  margin-left: 8px;
  z-index: 2;
  position: relative;
}

.step__card {
  background-color: #f4f4f4 !important;
  padding: 24px 0 0 24px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  justify-content: flex-end;
  background: #fff;
  border: none;
  border-radius: var(--radius-md);
  min-height: 260px;
  color: #6B7280;
}

.step__card img {
  height: 100%;
  width: 100%;
  border-radius: 12px 0 0 0;
}

.step__text {
  margin-top: 28px;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

.how__actions {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ SUCCESS STORIES ============ */
.success {
  background: var(--bg-light);
  padding: 120px 0;
}

.success .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 100px;
  align-items: center;
}

.success__left .section-title {
  margin-bottom: 44px;
}

.tabs {
  display: inline-flex;
  background: var(--bg-light-2);
  padding: 6px;
  border-radius: var(--radius-pill);
  margin-bottom: 36px;
}

.tab {
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark-muted);
  border-radius: var(--radius-pill);
  transition: background .2s, color .2s;
}

.tab.is-active {
  background: var(--primary);
  color: #fff;
}

.success__subtitle {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

.success__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.success__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--text-dark-muted);
  font-size: 15px;
  line-height: 1.6;
}

.check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check--muted {
  background: #D1D5DB;
}

.tab-panel.is-hidden {
  display: none;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  background: var(--bg-dark);
  color: #fff;
  padding: 120px 0 80px;
  text-align: center;
}

.testimonials__desc {
  color: var(--text-light-muted);
  font-size: 16px;
  margin: 20px auto 60px;
  line-height: 1.7;
}

.testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.testi-card {
  background: #1A1D24;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testi-card__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.65;
  flex: 1;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  min-height: unset;
  padding: 0;
  font-size: 10px;
}

.testi-card__name {
  font-weight: 700;
  font-size: 14px;
}

.testi-card__role {
  color: var(--text-light-muted);
  font-size: 12px;
  margin-top: 2px;
}

.testimonials__controls {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .15s;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.slider-btn--primary {
  background: var(--primary);
}

.slider-btn--primary:hover {
  background: var(--primary-hover);
}

/* ============ PRICING ============ */
.pricing {
  background: var(--bg-light);
  padding: 100px 0 120px;
}

.pricing__desc {
  text-align: center;
  color: var(--text-dark-muted);
  font-size: 16px;
  margin-top: 16px;
  margin-bottom: 36px;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  position: relative;
}

.toggle__label {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark-muted);
  transition: color .2s;
}

.toggle__label.is-active {
  color: var(--text-dark);
}

.toggle__switch {
  width: 52px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--bg-light-3);
  position: relative;
  transition: background .2s;
  padding: 0;
}

.toggle__switch[aria-checked="true"] {
  background: var(--primary);
}

.toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: left .2s;
}

.toggle__switch[aria-checked="true"] .toggle__knob {
  left: 27px;
}

.toggle__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(123, 97, 255, 0.12);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--bg-light-2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.price-card--featured {
  background: var(--bg-dark);
  color: #fff;
}

.price-card--featured .price-card__name,
.price-card--featured .price-card__price .amount {
  color: #fff;
}

.price-card--featured .price-card__tagline,
.price-card--featured .price-card__note,
.price-card--featured .price-card__list li,
.price-card--featured .price-card__price .per {
  color: rgba(255, 255, 255, 0.7);
}

.price-card__badge {
  position: absolute;
  top: 36px;
  right: 32px;
  background: var(--primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

.price-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  background: rgba(123, 97, 255, 0.12);
  margin-bottom: 6px;
}

.price-card--featured .price-card__icon {
  background: rgba(123, 97, 255, 0.25);
}

.price-card__name {
  font-size: 22px;
  font-weight: 700;
}

.price-card__tagline {
  color: var(--text-dark-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 4px 0;
}

.price-card__price .amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-card__price .per {
  font-size: 14px;
  color: var(--text-dark-muted);
}

.price-card__note {
  color: var(--text-dark-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.price-card__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
  flex: 1;
}

.price-card__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dark);
}

.price-card--featured .price-card__list li {
  color: rgba(255, 255, 255, 0.9);
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dot--muted {
  background: #D1D5DB;
}

.price-card--featured .dot--muted {
  background: rgba(255, 255, 255, 0.2);
}

/* ============ CALL TO ACTION ============ */
.cta {
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
  padding-right: 0;
}

.cta__desc {
  color: var(--text-light-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 24px 0 36px;
}

.cta__image {
  /* min-height: 440px; */
  border-radius: 20px 0 0 20px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 100px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__tag {
  color: var(--text-dark-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 20px;
}

.footer__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__col a {
  color: var(--text-dark-muted);
  font-size: 14px;
  transition: color .2s;
}

.footer__col a:hover {
  color: var(--primary);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__legal a {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 14px;
}

.footer__legal .divider {
  color: var(--border-light);
}

.footer__copy {
  color: var(--text-dark-muted);
  font-size: 14px;
}

/* ============================================================
   TABLET (< 1200px) — scale padding down
   ============================================================ */
@media (max-width: 1200px) {
  :root {
    --container-pad-desk: 48px;
  }

  .hero__title {
    font-size: 56px;
  }

  .section-title {
    font-size: 40px;
  }
}

/* ============================================================
   MEDIUM (< 900px) — collapse to single column
   ============================================================ */
@media (max-width: 900px) {

  .benefit__head,
  .benefit__grid,
  .how__steps,
  .testimonials__track,
  .pricing__grid,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .success .container,
  .cta__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta__inner {
    padding-right: var(--container-pad-desk);
  }

  .cta__image {
    border-radius: var(--radius-md);
  }

  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   MOBILE (≤ 768px) — full mobile layout matching 375 designs
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --container-pad-desk: var(--container-pad-mob);
  }

  .container {
    padding-left: var(--container-pad-mob);
    padding-right: var(--container-pad-mob);
  }

  /* NAV */
  .nav {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .nav__menu,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: inline-flex;
  }

  /* HERO */
  .hero__inner {
    padding-top: 48px;
    text-align: left;
  }

  .hero__title {
    font-size: 36px;
    line-height: 1.15;
    margin-left: 0;
    margin-right: 0;
  }

  .hero__subtitle {
    font-size: 15px;
  }

  .hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: 32px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions .btn--ghost {
    background: transparent;
  }

  .image-placeholder--dashboard {
    margin-top: 48px;
    min-height: 220px;
    aspect-ratio: 375 / 240;
  }

  /* Sections padding */
  .benefit,
  .how,
  .success,
  .testimonials,
  .pricing,
  .footer {
    padding: 72px 0;
  }

  .footer {
    padding-bottom: 24px;
  }

  .section-title {
    font-size: 28px;
  }

  .eyebrow {
    font-size: 13px;
    margin-bottom: 12px;
  }

  /* BENEFIT */
  .benefit__head {
    gap: 16px;
    margin-bottom: 40px;
  }

  .benefit__desc {
    margin-top: 16px;
    font-size: 15px;
  }

  .benefit__grid {
    gap: 40px;
  }

  .benefit-card__media {
    min-height: 300px;
    aspect-ratio: 335 / 320;
  }

  /* HOW */
  .how__head {
    text-align: left;
  }

  .how__desc {
    font-size: 15px;
    margin-top: 16px;
  }

  .how__steps {
    margin-top: 40px;
    gap: 40px;
  }

  .step__card {
    min-height: 280px;
  }

  .how__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: 40px;
  }

  .how__actions .btn {
    width: 100%;
  }

  /* SUCCESS */
  .success .container {
    gap: 40px;
  }

  .success__left .section-title {
    margin-bottom: 28px;
  }

  .tabs {
    margin-bottom: 28px;
    width: 100%;
  }

  .tab {
    flex: 1;
  }

  .success__subtitle {
    font-size: 18px;
  }

  .image-placeholder--chart {
    min-height: 320px;
  }

  /* TESTIMONIALS */
  .testimonials {
    text-align: left;
    padding-bottom: 72px;
  }

  .testimonials .eyebrow--center,
  .testimonials .section-title--center {
    text-align: left;
  }

  .testimonials__desc {
    margin: 16px 0 40px;
    text-align: left;
  }

  .testimonials__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin: 0 calc(-1 * var(--container-pad-mob));
    padding: 0 var(--container-pad-mob);
    scrollbar-width: none;
  }

  .testimonials__track::-webkit-scrollbar {
    display: none;
  }

  .testi-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .testimonials__controls {
    justify-content: flex-start;
    margin-top: 24px;
  }

  /* PRICING */
  .pricing {
    padding-top: 0;
    padding-bottom: 72px;
  }

  .pricing__desc {
    font-size: 15px;
  }

  .toggle {
    margin-bottom: 40px;
    flex-wrap: wrap;
  }

  .pricing__grid {
    gap: 20px;
  }

  /* CTA */
  .cta__inner {
    padding-top: 72px;
    padding-bottom: 0;
    gap: 32px;
  }

  .cta__desc {
    font-size: 15px;
  }

  .cta__text .btn {
    width: 100%;
  }

  .cta__image {
    min-height: 320px;
    margin: 0 calc(-1 * var(--container-pad-mob)) 0 0;
    border-radius: 16px 0 0 16px;
  }

  /* FOOTER */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
    padding-bottom: 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__legal .divider {
    display: none;
  }
}

/* ============ Very small phones ============ */
@media (max-width: 380px) {
  .hero__title {
    font-size: 32px;
  }

  .section-title {
    font-size: 26px;
  }
}

/* ============================================================
   DEMO PAGE (demo.html)
   ============================================================ */
.page-dark {
  background: var(--bg-dark);
}

.hero--short {
  padding-bottom: 0;
}

.hero--short .nav {
  border-bottom: none;
}

.demo-section {
  background: var(--bg-dark);
  color: #fff;
  padding: 40px 0 120px;
  position: relative;
  overflow: hidden;
}

.demo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 0% 0%, rgba(123, 97, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 100%, rgba(123, 97, 255, 0.05), transparent 60%);
  pointer-events: none;
}

.demo-section>* {
  position: relative;
  z-index: 1;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* -------- Left intro -------- */
.demo-intro .section-title {
  margin-bottom: 20px;
}

.demo-intro__desc {
  color: var(--text-light-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.demo-perks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.demo-perks li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.demo-perks strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.demo-perks p {
  color: var(--text-light-muted);
  font-size: 14px;
  line-height: 1.6;
}

.demo-quote {
  background: #1A1D24;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 480px;
}

.demo-quote>p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.demo-quote__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* -------- Right form card -------- */
.demo-card {
  min-width: 350px;
  background: #fff;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 24px 60px rgba(10, 12, 20, 0.45);
  position: relative;
}

.demo-card__head {
  margin-bottom: 28px;
}

.demo-card__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.demo-card__sub {
  color: var(--text-dark-muted);
  font-size: 15px;
  margin-top: 6px;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark-2);
}

.field__label i {
  color: var(--primary);
  font-style: normal;
  margin-left: 2px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-dark);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9CA3AF;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(123, 97, 255, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.10);
}

.field__error {
  color: var(--error);
  font-size: 12px;
  font-weight: 500;
  min-height: 14px;
}

.select {
  position: relative;
}

.select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.select__chev {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-dark-muted);
  font-size: 12px;
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dark-muted);
  line-height: 1.5;
  cursor: pointer;
}

.field-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  margin-top: 1px;
  flex-shrink: 0;
}

.field-check a {
  color: var(--primary);
  font-weight: 600;
}

.field-check a:hover {
  text-decoration: underline;
}

.demo-form__foot {
  text-align: center;
  font-size: 13px;
  color: var(--text-dark-muted);
}

.demo-form__foot a {
  color: var(--primary);
  font-weight: 600;
}

/* -------- Success state -------- */
.demo-success {
  text-align: center;
  padding: 12px 0;
}

.demo-success.is-hidden {
  display: none;
}

.demo-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
  font-size: 32px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.demo-success__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.demo-success__text {
  color: var(--text-dark-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.demo-success .btn--ghost {
  color: var(--text-dark);
  background: var(--bg-light-2);
}

.demo-success .btn--ghost:hover {
  background: var(--bg-light-3);
}

.demo-form.is-hidden {
  display: none;
}

/* Mobile demo page */
@media (max-width: 900px) {
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .demo-section {
    padding: 24px 0 72px;
  }

  .demo-card {
    padding: 28px 20px;
  }

  .demo-card__title {
    font-size: 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .demo-intro__desc {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .demo-perks {
    gap: 20px;
    margin-bottom: 32px;
  }

  .hero--short .nav__cta .btn {
    display: none;
  }
}

/* ============================================================
   SIDEBAR (mobile menu)
   ============================================================ */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 20, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 99;
}

.sidebar-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 340px);
  background: var(--bg-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.2, .8, .2, 1);
  z-index: 100;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sidebar.is-open {
  transform: translateX(0);
}

.sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--border-dark);
}

.sidebar__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
  transition: background .2s, color .2s;
}

.sidebar__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sidebar__menu {
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  gap: 2px;
  flex: 1;
}

.sidebar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 600;
  transition: background .2s, color .2s;
  text-align: left;
}

.sidebar__item:hover,
.sidebar__item:focus-visible {
  background: rgba(123, 97, 255, 0.1);
  color: #fff;
}

.sidebar__item.is-active {
  background: rgba(123, 97, 255, 0.18);
  color: #fff;
}

.sidebar__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.sidebar__label {
  flex: 1;
}

.sidebar__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: transform .25s ease;
}

.sidebar__group {
  display: flex;
  flex-direction: column;
}

.sidebar__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}

.sidebar__sub>* {
  min-height: 0;
  overflow: hidden;
}

.sidebar__group.is-open .sidebar__sub {
  grid-template-rows: 1fr;
}

.sidebar__group.is-open .sidebar__chev {
  transform: rotate(180deg);
}

.sidebar__sub a {
  display: block;
  padding: 10px 16px 10px 58px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  transition: background .2s, color .2s;
}

.sidebar__sub a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.sidebar__foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 28px;
  border-top: 1px solid var(--border-dark);
}

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Lock page scroll when sidebar is open */
body.sidebar-open {
  overflow: hidden;
}

/* Hide sidebar on desktop */
@media (min-width: 769px) {

  .sidebar,
  .sidebar-overlay {
    display: none;
  }
}