@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Manrope:wght@400;600;700;800&display=swap");

/* ===== Tokens ===== */

:root {
  --font-ar: "Cairo", system-ui, sans-serif;
  --font-en: "Manrope", system-ui, sans-serif;
  --font-sans: var(--font-ar);

  --primary: #0ea47a;
  --primary-deep: #0b8a66;
  --primary-bright: #14c28f;

  --base-ink: #0e1116;
  --base-paper: #fafaf7;

  --ink: var(--base-ink);
  --ink-muted: #6b7280;

  --paper: var(--base-paper);
  --paper-warm: #f2efe8;
  --surface: #edeae3;
  --line: #e0dcd3;

  --inverse-paper: var(--base-ink);
  --inverse-surface: #161b22;
  --inverse-line: #2a3038;
  --inverse-ink: var(--base-paper);
  --inverse-ink-muted: #9aa3ae;

  --white: #ffffff;
  --black: #000000;

  --star: #f5b301;

  --chrome-close: #ff5f57;
  --chrome-min: #febc2e;
  --chrome-max: #28c840;

  --wa: #25d366;
  --wa-deep: #128c7e;

  --fs-xs: 0.75rem;    /* 12px — micro labels, the hero role */
  --fs-sm: 0.875rem;   /* 14px — fine print, meta, badges */
  --fs-md: 1rem;       /* 16px — body default, card text, nav */
  --fs-lg: 1.125rem;   /* 18px — emphasized body, card titles */
  --fs-xl: 1.3rem;     /* ~21px — sub-headings, card names */
  --fs-logo: clamp(1.55rem, 2.1vw, 2rem);      /* the wordmark */
  --fs-lead: clamp(1.05rem, 1.9vw, 1.25rem);   /* intro paragraphs */
  --fs-title: clamp(2rem, 4.4vw, 3.5rem);      /* section headings */
  --fs-xxl: clamp(1.75rem, 2.9vw, 2.5rem);     /* card prices, small display numbers */
  --fs-stat: clamp(2.75rem, 8vw, 5rem);        /* the price */
  --fs-hero: clamp(2.5rem, 7vw, 6rem);         /* hero headline */

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: clamp(1rem, 2.5vw, 1.5rem);
  --space-lg: clamp(1.25rem, 3.5vw, 2rem);
  --space-xl: clamp(1.5rem, 5vw, 2.75rem);
  --space-2xl: clamp(2rem, 7vw, 4rem);

  --site-width: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(64px, 10vh, 120px);
  --header-clear: 100px;

  --border: 1px solid var(--line);
  --border-strong: 2px solid var(--ink);
  --radius-xs: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --float-clear: 96px;
  --float-clear-lg: 130px;

  --lh-tight: 1.15;
  --lh-base: 1.7;
  --lh-relaxed: 1.9;

  --shadow-sm: 0 4px 12px -4px rgb(14 17 22 / 0.08);
  --shadow-md: 0 24px 48px -24px rgb(14 17 22 / 0.15);
  --shadow-lg: 0 30px 60px -30px rgb(14 17 22 / 0.18);

  --dur: 0.22s;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html[lang="en"] {
  --font-sans: var(--font-en);
  --lh-base: 1.55;
}

/* ===== Base ===== */

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

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--primary-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--space-sm);
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: top var(--dur) var(--ease);

  &:focus {
    top: var(--space-sm);
  }
}

/* ===== Layout primitives ===== */

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: var(--section-pad);
  padding-inline: var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.theme-dark {
  --paper: var(--inverse-paper);
  --paper-warm: var(--inverse-surface);
  --surface: var(--inverse-surface);
  --line: var(--inverse-line);
  --ink: var(--inverse-ink);
  --ink-muted: var(--inverse-ink-muted);
  --primary: var(--primary-bright);
  --border: 1px solid var(--inverse-line);
  --border-strong: 2px solid var(--inverse-ink);

  background: var(--paper);
  color: var(--ink);
}

.theme-warm {
  background: var(--paper-warm);
}

.site-width {
  width: 100%;
  max-width: var(--site-width);
  min-width: 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.section-head--center {
  align-items: center;
  text-align: center;
}

.section-head__eyebrow {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

.section-head__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.section-head__title {
  --period: var(--primary);

  font-size: var(--fs-title);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  text-wrap: balance;

  &:has(.accent) {
    --period: currentColor;
  }
}

.section-head__period {
  color: var(--period);
}

.section-head__lede {
  max-width: 62ch;
  font-size: var(--fs-lead);
  color: var(--ink-muted);
}

.accent {
  color: var(--primary);
}

.section-heading {
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-lead {
  max-width: 62ch;
  font-size: var(--fs-lead);
  color: var(--ink-muted);
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1em 1.7em;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: var(--lh-tight);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);

  &:hover {
    transform: translateY(-1px);
    background: var(--primary-deep);
    color: var(--white);
  }
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--wa {
  background: var(--wa);
  color: var(--white);

  &:hover {
    transform: none;
    background: var(--wa);
    color: var(--white);
  }
}

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

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

.btn--block {
  width: 100%;
}

.btn__icon {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
}

/* ===== Header ===== */

.site-header {
  --ink: var(--inverse-ink);
  --paper: var(--inverse-paper);
  --header-current: var(--primary-bright);

  position: fixed;
  inset-inline: 0;
  inset-block-start: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding-block: var(--space-md);
  padding-inline: var(--gutter);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-header--scrolled {
  --ink: var(--base-ink);
  --paper: var(--base-paper);
  --header-current: var(--primary-deep);

  background: rgb(250 250 247 / 0.9);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.site-header__inner {
  width: 100%;
  max-width: var(--site-width);
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.site-header__logo {
  font-size: var(--fs-logo);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.site-header__logo-dot {
  color: var(--primary-bright);
}

.site-header__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-md);

  @media (max-width: 1100px) {
    display: none;
  }
}

.site-nav {
  @media (max-width: 1100px) {
    display: none;
  }
}

.site-nav__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.site-nav__link {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--dur) var(--ease);

  &:hover {
    color: var(--header-current);
  }
}

.site-nav__link--current {
  font-weight: 800;
  color: var(--header-current);
}

.lang-link {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-xs);
  transition: color var(--dur) var(--ease);

  &:hover {
    color: var(--header-current);
  }
}

.menu-toggle {
  --bar-rotate: 0deg;
  --bar-shift: 0px;
  --bar-mid-opacity: 1;

  display: none;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2xs);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;

  @media (max-width: 1100px) {
    display: flex;
  }
}

.menu-toggle--open {
  --bar-rotate: 45deg;
  --bar-shift: 6px;
  --bar-mid-opacity: 0;
}

.menu-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  border-radius: var(--radius-xs);
  background: var(--ink);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.menu-toggle__bar--top {
  transform: translateY(var(--bar-shift)) rotate(var(--bar-rotate));
}

.menu-toggle__bar--mid {
  opacity: var(--bar-mid-opacity);
}

.menu-toggle__bar--bottom {
  transform: translateY(calc(var(--bar-shift) * -1)) rotate(calc(var(--bar-rotate) * -1));
}

/* ===== Mobile menu ===== */

.mobile-menu {
  width: 100%;
  max-width: var(--site-width);
  min-width: 0;

  --ink: var(--inverse-ink);
  --paper: var(--inverse-paper);
  --line: var(--inverse-line);
  --primary: var(--primary-bright);

  display: none;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border: 1px solid var(--inverse-line);
  border-radius: var(--radius-lg);
  background: var(--inverse-surface);
  color: var(--inverse-ink);
  box-shadow: var(--shadow-lg);
}

.mobile-menu--open {
  display: flex;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  list-style: none;
}

.mobile-menu__link {
  display: block;
  padding-block: var(--space-xs);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--inverse-ink);
  text-decoration: none;
  transition: color var(--dur) var(--ease);

  &:hover {
    color: var(--primary-bright);
  }
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding-block-start: var(--space-md);
  border-block-start: 1px solid var(--inverse-line);
}

/* ===== Hero ===== */

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(640px, 92vh, 900px);
  padding-block: calc(var(--header-clear) + var(--space-xl)) 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, var(--black) 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, var(--black) 30%, transparent 80%);
}

.hero__glow {
  position: absolute;
  inset-block-start: -20%;
  inset-inline-end: -8%;
  width: 70%;
  height: 130%;
  background: radial-gradient(
    ellipse at center,
    rgb(14 164 122 / 0.11) 0%,
    rgb(14 164 122 / 0.05) 30%,
    transparent 60%
  );
  filter: blur(40px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: var(--space-2xl);

  @media (max-width: 900px) {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.hero__media-wrapper {
  position: relative;
  justify-self: center;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 460px;

  @media (max-width: 900px) {
    max-width: 300px;
  }
}

.hero__img {
  width: 100%;
  height: auto;
}

.hero__caption {
  position: absolute;
  z-index: 1;
  inset-block-end: var(--space-2xl);
  inset-inline-start: calc(var(--space-xs) * -1);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: 0.9em 1.5em;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--base-ink);
  line-height: var(--lh-tight);
}

.hero__name {
  font-size: var(--fs-xl);
  font-weight: 800;
}

.hero__role {
  font-size: var(--fs-xs);
  font-weight: 600;
  opacity: 0.8;
}

.hero__content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
  align-self: center;
  padding-block: var(--space-2xl);

  @media (max-width: 900px) {
    padding-block: 0;
  }
}

.hero__title {
  max-width: 15ch;
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  text-wrap: balance;
}



.hero__lead {
  max-width: 50ch;
  margin-block-start: var(--space-md);
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--ink-muted);
}

.hero__lead-strong {
  color: var(--white);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ===== Tech stack ===== */

.stack {
  position: relative;
  overflow: hidden;
  padding-block: 0;
}

.stack__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, var(--black) 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, var(--black) 30%, transparent 80%);
}

.stack__list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  place-items: center;
  gap: var(--space-xl);
  width: 100%;
  padding-block: var(--space-lg);
  border-block-start: var(--border);
  list-style: none;

  @media (max-width: 900px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stack__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.stack__logo {
  width: 44px;
  height: 44px;
}

/* ===== Industry chooser ===== */

.chooser__inner {
  --panel-rental: block;
  --panel-clinic: none;
  --panel-restaurant: none;
  --panel-salon: none;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);

  &:has(.chooser-tabs__radio--clinic:checked) {
    --panel-rental: none;
    --panel-clinic: block;
  }

  &:has(.chooser-tabs__radio--restaurant:checked) {
    --panel-rental: none;
    --panel-restaurant: block;
  }

  &:has(.chooser-tabs__radio--salon:checked) {
    --panel-rental: none;
    --panel-salon: block;
  }
}

.chooser-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
}

.chooser-tabs__tab {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  padding: 0.6em 1.4em;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);

  &:hover {
    border-color: var(--primary);
    color: var(--ink);
  }

  &:has(.chooser-tabs__radio:checked) {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
  }

  &:has(.chooser-tabs__radio:focus-visible) {
    outline: 2px solid var(--primary-bright);
    outline-offset: 3px;
  }
}

.chooser__panels {
  width: 100%;
}

.chooser__panel--rental {
  display: var(--panel-rental);
}

.chooser__panel--clinic {
  display: var(--panel-clinic);
}

.chooser__panel--restaurant {
  display: var(--panel-restaurant);
}

.chooser__panel--salon {
  display: var(--panel-salon);
}

.chooser__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.browser {
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.browser__bar {
  direction: ltr;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-md);
  padding-block: var(--space-sm);
  padding-inline: var(--space-md);
  background: var(--surface);
}

.browser__dots {
  flex: none;
  display: flex;
  flex-direction: row;
  gap: var(--space-xs);
}

.browser__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser__dot--close {
  background: var(--chrome-close);
}

.browser__dot--min {
  background: var(--chrome-min);
}

.browser__dot--max {
  background: var(--chrome-max);
}

.browser__url {
  flex: 1;
  min-width: 0;
  padding: 0.55em 1.2em;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-muted);
  text-align: start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser__img {
  width: 100%;
  height: auto;
}

/* ===== Video ===== */

.video__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}

.video__poster {
  position: relative;
  width: min(880px, 100%);
  aspect-ratio: 16 / 9;
  border: var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  overflow: hidden;
}

.video__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, var(--black) 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, var(--black) 30%, transparent 80%);
}

.video__glow {
  position: absolute;
  inset-block-start: -30%;
  inset-inline-start: 20%;
  width: 60%;
  height: 160%;
  background: radial-gradient(
    ellipse at center,
    rgb(14 164 122 / 0.11) 0%,
    rgb(14 164 122 / 0.05) 30%,
    transparent 60%
  );
  filter: blur(40px);
}

.video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-lg);
}

.video__play-icon {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.video__chip {
  position: absolute;
  z-index: 1;
  inset-block-end: var(--space-md);
  inset-inline-start: var(--space-md);
  padding: 0.35em 0.9em;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 700;
}

/* ===== Pricing ===== */

.pricing {
  position: relative;
  overflow: hidden;
}

.pricing__glow {
  position: absolute;
  inset-block-start: -30%;
  inset-inline-start: 15%;
  width: 70%;
  height: 130%;
  background: radial-gradient(
    ellipse at center,
    rgb(14 164 122 / 0.11) 0%,
    rgb(14 164 122 / 0.05) 30%,
    transparent 60%
  );
  filter: blur(40px);
}

.pricing__inner {
  --amount-monthly: inline-flex;
  --amount-yearly: none;

  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);

  &:has(.billing__checkbox:checked) {
    --amount-monthly: none;
    --amount-yearly: inline-flex;
  }
}

.billing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.billing__switch {
  --m-color: var(--ink);
  --y-color: var(--ink-muted);
  --track-bg: var(--surface);
  --knob-inset: 3px;

  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-lg);
  font-weight: 700;
  cursor: pointer;

  &:has(.billing__checkbox:checked) {
    --m-color: var(--ink-muted);
    --y-color: var(--ink);
    --track-bg: var(--primary);
    --knob-inset: 29px;
  }

  &:has(.billing__checkbox:focus-visible) {
    outline: 2px solid var(--primary-bright);
    outline-offset: 3px;
    border-radius: var(--radius-xs);
  }
}

.billing__label {
  color: var(--m-color);
  transition: color var(--dur) var(--ease);
}

.billing__label--yearly {
  color: var(--y-color);
}

.billing__track {
  position: relative;
  width: 56px;
  height: 30px;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: var(--track-bg);
  transition: background var(--dur) var(--ease);
}

.billing__knob {
  position: absolute;
  inset-block-start: 2px;
  inset-inline-start: var(--knob-inset);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: inset-inline-start var(--dur) var(--ease);
}

.billing__hint {
  display: inline-flex;
  flex-direction: row;
  align-items: flex-end;
  gap: var(--space-2xs);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary);
}

.billing__hint-arrow {
  width: 34px;
  height: 34px;
}

[dir="rtl"] .billing__hint-arrow {
  transform: scaleX(-1);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-lg);
  width: 100%;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
  border: var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);

  &:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
  }
}

.price-card--featured {
  border: 2px solid var(--primary);
}

.price-card__badge {
  position: absolute;
  inset-block-start: calc(var(--space-md) * -1);
  inset-inline: 0;
  margin-inline: auto;
  width: fit-content;
  padding: 0.35em 1em;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--base-ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: var(--lh-tight);
}

.price-card__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.price-card__name {
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.price-card__desc {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

.price-card__price {
  font-size: var(--fs-xxl);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.price-card__price--custom {
  font-size: var(--fs-xl);
}

.price-card__amount--monthly {
  display: var(--amount-monthly);
  flex-direction: row;
  align-items: baseline;
  gap: var(--space-xs);
}

.price-card__amount--yearly {
  display: var(--amount-yearly);
  flex-direction: row;
  align-items: baseline;
  gap: var(--space-xs);
}

.price-card__figure {
  font-weight: 800;
}

.price-card__per {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: var(--space-2xs);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink-muted);
}

.price-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-block-start: var(--space-lg);
  border-block-start: var(--border);
  list-style: none;
}

.price-card__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-sm);
  font-weight: 600;
}

.price-card__check {
  flex: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-block-start: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.price-card__check-icon {
  width: 11px;
  height: 11px;
  stroke: var(--inverse-paper);
  stroke-width: 3;
  fill: none;
}

.price-card__check--carried {
  background: transparent;
}

.price-card__check-icon--line {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
}

.price-card__actions {
  margin-block-start: auto;
  display: flex;
  flex-direction: column;
  padding-block-start: var(--space-sm);
}

/* ===== Testimonials ===== */

.quotes__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.quotes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-lg);
  list-style: none;
}

.quote-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
  border: var(--border);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.quote-card__stars {
  width: 108px;
  height: 22px;
  fill: var(--star);
}

.quote-card__text {
  font-size: var(--fs-lg);
  font-weight: 600;
}

.quote-card__meta {
  margin-block-start: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-sm);
}

.quote-card__avatar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--base-ink);
  font-weight: 800;
}

.quote-card__who {
  display: flex;
  flex-direction: column;
}

.quote-card__name {
  font-size: var(--fs-md);
  font-weight: 800;
}

.quote-card__biz {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

/* ===== Steps ===== */

.steps__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: var(--space-xl);
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xl);
  border: var(--border);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.step__number {
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--primary-deep);
}

.step__name {
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.01em;
}

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

/* ===== Questions ===== */

.faq {
  border-block-start: var(--border);
}

.faq__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}

.faq__list {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  --faq-bar: 1;

  padding-inline: var(--space-lg);
  border: var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}

.faq-item[open] {
  --faq-bar: 0;
}

.faq-item__question {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-md);
  font-size: var(--fs-lg);
  font-weight: 700;
  list-style: none;
  cursor: pointer;

  &::marker {
    content: "";
  }

  &::-webkit-details-marker {
    display: none;
  }
}

.faq-item__icon {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;

  &::before,
  &::after {
    content: "";
    position: absolute;
    border-radius: var(--radius-xs);
    background: var(--primary-deep);
  }

  &::before {
    inset-inline: 0;
    inset-block-start: calc(50% - 1px);
    height: 2px;
  }

  &::after {
    inset-block: 0;
    inset-inline-start: calc(50% - 1px);
    width: 2px;
    transform: scaleY(var(--faq-bar));
  }
}

.faq-item__answer {
  max-width: 60ch;
  padding-block-end: var(--space-md);
  color: var(--ink-muted);
}

/* ===== Footer ===== */

.site-footer {
  --paper: var(--inverse-paper);
  --surface: var(--inverse-surface);
  --line: var(--inverse-line);
  --ink: var(--inverse-ink);
  --ink-muted: var(--inverse-ink-muted);
  --primary: var(--primary-bright);
  --border: 1px solid var(--inverse-line);

  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-pad);
  padding-block: var(--section-pad) var(--float-clear);
  padding-inline: var(--gutter);
  background: var(--paper);
  color: var(--ink);

  @media (min-width: 601px) {
    padding-block-end: var(--space-2xl);
  }
}

.site-footer__glow {
  position: absolute;
  inset-block-start: -30%;
  inset-inline-start: 15%;
  width: 70%;
  height: 130%;
  background: radial-gradient(
    ellipse at center,
    rgb(14 164 122 / 0.11) 0%,
    rgb(14 164 122 / 0.05) 30%,
    transparent 60%
  );
  filter: blur(40px);
}

.site-footer__cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.site-footer__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}








.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  list-style: none;
}

.site-footer__list--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.site-footer__link {
  color: var(--inverse-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: color var(--dur) var(--ease);

  &:hover {
    color: var(--primary-bright);
  }
}

.site-footer__legal {
  width: 100%;
  max-width: var(--site-width);
  min-width: 0;
  position: relative;
  z-index: 1;
  padding-block-start: var(--space-lg);
  border-block-start: var(--border);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--inverse-ink);

  @media (min-width: 601px) {
    padding-inline-start: var(--float-clear-lg);
  }
}

/* ===== Modal ===== */

.modal {
  width: min(620px, calc(100vw - var(--gutter) * 2));
  padding: var(--space-xl);
  border: var(--border);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);

  &::backdrop {
    background: rgb(14 17 22 / 0.55);
  }
}

.modal__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
  padding-block-end: var(--space-lg);
}

.modal__title {
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.modal__lede {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}

.modal__close {
  position: absolute;
  z-index: 1;
  inset-block-start: var(--space-md);
  inset-inline-end: var(--space-md);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--dur) var(--ease);

  &:hover {
    background: var(--line);
  }
}

.modal__close-icon {
  position: relative;
  width: 14px;
  height: 14px;

  &::before,
  &::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-start: calc(50% - 1px);
    height: 2px;
    border-radius: var(--radius-xs);
    background: currentColor;
  }

  &::before {
    transform: rotate(45deg);
  }

  &::after {
    transform: rotate(-45deg);
  }
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.modal__preview {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
  border: var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.modal__preview-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-muted);
}

.modal__bubble {
  align-self: stretch;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  border-end-end-radius: var(--radius-xs);
  background: var(--wa);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: pre-line;
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.field__label {
  font-size: var(--fs-sm);
  font-weight: 700;
}

.field__hint {
  font-weight: 600;
  color: var(--ink-muted);
}

.field__input {
  width: 100%;
  padding: 0.8em 1em;
  border: var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  transition: border-color var(--dur) var(--ease);

  &:focus-visible {
    border-color: var(--primary);
  }
}

.field__input--area {
  resize: vertical;
}

/* ===== Floating WhatsApp ===== */

.wa-float {
  position: fixed;
  z-index: 60;
  inset-block-end: var(--space-md);
  inset-inline-start: var(--space-md);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-lg);

  @media (min-width: 601px) {
    inset-block-end: var(--space-xl);
    inset-inline-start: var(--space-xl);
    width: 76px;
    height: 76px;
  }
}

.wa-float__icon {
  width: 30px;
  height: 30px;
  fill: currentColor;

  @media (min-width: 601px) {
    width: 38px;
    height: 38px;
  }
}
