:root {
  /* Colors */
  --color-bg: #fcfdfe;
  --color-surface: #ffffff;
  --color-muted-surface: #f4f7fa;
  --color-primary: #473bf0;
  --color-text: #161c2d;
  --color-text-muted: rgba(22, 28, 45, 0.7);
  --color-border: #e7e9ed;
  --color-dark: #161c2d;

  /* Typography */
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Rubik", "Inter", system-ui, sans-serif;
  --fs-xxl: 48px;
  --fs-xl: 36px;
  --fs-lg: 21px;
  --fs-md: 19px;
  --fs-sm: 17px;
  --fs-xs: 15px;
  --lh-tight: 1.2;
  --lh-normal: 1.6;

  /* Layout */
  --container-max: 1200px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --shadow-card: 0px 42px 44px -10px rgba(1, 23, 48, 0.12);
  --shadow-soft: 0px 23px 54px 0px rgba(29, 23, 122, 0.24);
  --section-pad: 120px;
  --gap-lg: 40px;
  --gap-md: 24px;
  --gap-sm: 16px;

  /* Buttons */
  --btn-height: 56px;
  --btn-padding-x: 26px;
  --btn-radius: 8px;

  /* Page */
  --page-pad: 48px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--lh-normal);
}

html {
  scroll-behavior: smooth;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-bg);
  padding: 24px 0 12px;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.1px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: var(--color-text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: -0.1px;
  color: var(--color-text);
  margin: 0 auto;
}

.main-nav a {
  padding: 6px 0;
  color: inherit;
  opacity: 0.9;
}

.main-nav a:hover {
  opacity: 1;
}

.header-cta {
  margin-left: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-height);
  padding: 0 var(--btn-padding-x);
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease;
  text-align: center;
  border: 1px solid transparent;
}

.btn__icon {
  display: inline-flex;
  margin-left: 10px;
  align-items: center;
}

.btn__icon svg {
  width: 14px;
  height: 14px;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(71, 59, 240, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(71, 59, 240, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-1px);
}

section {
  padding: var(--section-pad) 0;
}

.hero {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 0;
}

.hero__content {
  max-width: 720px;
}

.hero h1 {
  font-size: var(--fs-xxl);
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 0 0 18px;
}

.hero p {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  margin: 0 auto 28px;
}

.hero__actions {
  display: flex;
  gap: var(--gap-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__visual {
  margin: 64px auto 0;
  width: min(840px, 100%);
  border-radius: var(--radius-md);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.features {
    padding-top: 0;
}

.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap-lg);
  align-items: start;
}

.feature__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: var(--fs-lg);
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.feature p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.how-it-works {
  background: var(--color-muted-surface);
}

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

.section-heading p {
  margin: 8px 0 0;
}

.section-heading .eyebrow {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -1.2px;
  color: var(--color-text);
}

.section-heading .subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: var(--gap-lg);
  align-items: center;
}

.hiw__visual {
  display: flex;
  justify-content: center;
}

.hiw__visual img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-md);
  display: block;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps--numbered {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.steps--numbered li {
  counter-increment: step;
  position: relative;
  padding: 4px 0 4px 56px;
}

.steps--numbered li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(71, 59, 240, 0.1);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.4px;
}

.steps h4,
.steps--numbered h4 {
  margin: 0 0 10px;
  font-size: var(--fs-lg);
}

.steps p,
.steps--numbered p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.pricing {
  background: var(--color-dark);
  color: #fff;
}

.section-heading--light .eyebrow {
  color: #fff;
}

.section-heading--light .subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap-lg);
}

.card {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 20px 26px;
  display: grid;
  gap: 12px;
  grid-template-rows: auto auto 1fr auto;
  text-align: center;
}

.card__tag {
  align-self: start;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 14px;
  background: rgba(71, 59, 240, 0.1);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 1.6px;
  font-size: 13px;
  text-transform: uppercase;
  margin: 0;
  margin-inline: auto;
}

.card h3 {
  margin: 0;
  font-size: 40px;
  letter-spacing: -1.2px;
  font-weight: 700;
  line-height: 1;
}

.card__price-note {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.card__desc {
  margin: 20px 0 8px;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.card .btn {
  width: 100%;
}

.card__price-block {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.card__cta {
  align-self: end;
}

.faq {
  padding-top: 110px;
}

.faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px 80px;
  text-align: left;
}

.faq__item {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
}

.faq__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.faq__question-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq__question {
  margin: 0;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -0.2px;
}

.faq__answer {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-xs);
  line-height: 1.7;
}

.cta {
  background: var(--color-bg);
  padding-bottom: 80px;
}

.cta__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
  flex-wrap: wrap;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: 32px;
  letter-spacing: -1px;
}

.cta p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  max-width: 520px;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 0 64px;
  background: var(--color-bg);
}

.footer__grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer__brandline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footnote {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
  line-height: 1.7;
}

.footer__legal {
  font-size: var(--fs-xs);
}

@media (max-width: 900px) {
  :root {
    --section-pad: 80px;
    --page-pad: 24px;
  }

  .features .container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .feature__icon {
    margin-inline: auto;
  }

  .site-header .container {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    margin-left: 0;
  }

  .hero__visual {
    height: auto;
  }

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

  .how-it-works__grid {
    grid-template-columns: 1fr;
  }

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

  .site-header {
    position: static;
  }
}

@media (max-width: 600px) {
  :root {
    --fs-xxl: 34px;
    --fs-xl: 28px;
    --fs-lg: 19px;
    --fs-md: 17px;
    --fs-sm: 16px;
    --section-pad: 64px;
    --page-pad: 16px;
  }

  .hero__visual {
    height: auto;
  }

  .hero__actions > .btn {
      width: 230px;
  }

  .brand__mark {
    width: 32px;
    height: auto;
  }

  .brand__name {
    font-size: var(--fs-sm);
  }

  .header-cta {
    height: auto;
    padding: 10px 12px;
    font-size: var(--fs-xs);
  }

  .cta h2 {
      line-height: 1.1;
  }
}
