@font-face {
  font-family: "Alyamama Regular";
  src: url("./assets/fonts/alfont_com_Alyamama-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-navy: #0b1f3a;
  --color-navy-soft: #14345c;
  --color-white: #ffffff;
  --color-orange: #f97316;
  --color-text: #142033;
  --color-muted: #667085;
  --color-border: #d8e0ea;
  --shadow-soft: 0 18px 50px rgba(11, 31, 58, 0.14);
  --radius-lg: 18px;
  --radius-xl: 28px;
  --section-pad: clamp(4.5rem, 8vw, 8rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea {
  font-family: "Alyamama Regular", "Segoe UI", Tahoma, Arial, sans-serif;
}

html[lang="ar"] body * {
  font-family: "Alyamama Regular", "Segoe UI", Tahoma, Arial, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.8);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

main section,
footer {
  scroll-margin-top: 88px;
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 224, 234, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

body.header-hidden:not(.nav-open) .site-header {
  transform: translateY(-105%);
}

body.header-visible .site-header {
  transform: translateY(0);
}

.site-nav {
  width: min(1240px, calc(100% - 2rem));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  color: var(--color-navy);
  font-weight: 850;
  letter-spacing: 0.08em;
}

.brand-mark-with-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 2.25rem;
  height: 2.25rem;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-header,
.site-header .site-nav {
  overflow: visible;
}

.site-header .brand-mark-with-logo {
  position: relative;
  width: 8.4rem;
  min-height: 64px;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.site-header .brand-mark-with-logo span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header .brand-mark-with-logo::before {
  content: "";
  position: absolute;
  width: 8.4rem;
  height: 7.5rem;
  border: 1px solid rgba(216, 224, 234, 0.95);
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 20%, rgba(249, 115, 22, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.14);
  backdrop-filter: blur(14px);
  z-index: 1;
}

.site-header .brand-logo {
  width: 6.75rem;
  height: 6.75rem;
  margin-block: -2.25rem;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.nav-links a:not(.button):hover,
.nav-links a:not(.button):focus-visible {
  color: var(--color-navy);
}

.language-toggle {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #f7f9fc;
}

.language-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 0.32rem 0.55rem;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
}

.language-toggle button.is-active {
  background: var(--color-navy);
  color: var(--color-white);
}

.checkout-cart-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.checkout-cart-shell[hidden] {
  display: none;
}

.checkout-cart-button {
  position: relative;
  min-height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.52rem 0.78rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.08);
}

.checkout-cart-button:hover,
.checkout-cart-button:focus-visible,
body.checkout-cart-open .checkout-cart-button {
  border-color: rgba(249, 115, 22, 0.44);
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.14);
}

.checkout-cart-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-grid;
  place-items: center;
}

.checkout-cart-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.checkout-cart-label {
  line-height: 1;
}

.checkout-cart-badge {
  min-width: 1.15rem;
  height: 1.15rem;
  display: inline-grid;
  place-items: center;
  padding-inline: 0.25rem;
  border-radius: 999px;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.checkout-cart-popover {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  z-index: 35;
  width: min(420px, calc(100vw - 2rem));
}

.checkout-cart-popover[hidden] {
  display: none;
}

.checkout-cart-card {
  padding: 1rem;
  border: 1px solid rgba(216, 224, 234, 0.95);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 0%, rgba(249, 115, 22, 0.11), transparent 34%),
    var(--color-white);
  box-shadow: 0 22px 60px rgba(11, 31, 58, 0.2);
}

.checkout-cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-cart-header .eyebrow {
  margin: 0 0 0.25rem;
}

.checkout-cart-header h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: 1.18rem;
  line-height: 1.12;
}

.checkout-cart-close {
  flex: 0 0 auto;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
  font-size: 0;
}

.checkout-cart-close::before {
  content: "x";
  font-size: 1.1rem;
  line-height: 1;
}

.checkout-cart-summary {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.9rem;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #f7f9fc;
}

.checkout-cart-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.9rem;
  padding-bottom: 0.48rem;
  border-bottom: 1px solid rgba(216, 224, 234, 0.82);
}

.checkout-cart-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.checkout-cart-row-label,
.checkout-cart-empty {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.checkout-cart-empty {
  margin: 0;
}

.checkout-cart-row-value {
  color: var(--color-navy);
  font-size: 0.92rem;
  font-weight: 900;
  text-align: right;
}

.checkout-cart-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.nav-menu-button {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-navy);
  place-items: center;
  padding: 0.65rem;
  cursor: pointer;
}

.nav-menu-button span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.12rem auto;
  border-radius: 99px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.76rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  cursor: pointer;
}

.button-primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.24);
}

.button-secondary {
  border-color: var(--color-border);
  background: var(--color-white);
  color: var(--color-navy);
}

.hero-section {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  padding: 5.5rem 0 4rem;
  background:
    radial-gradient(circle at 18% 82%, rgba(249, 115, 22, 0.26), transparent 34%),
    linear-gradient(135deg, #0b1f3a 0%, #14345c 52%, #09172a 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 12, 23, 0.36), rgba(5, 12, 23, 0.54)),
    radial-gradient(circle at 22% 78%, rgba(5, 12, 23, 0.68), transparent 45%);
  pointer-events: none;
  transition: opacity 180ms ease;
}

.hero-section[data-hero-media-overlay="false"]::before {
  opacity: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 9.5rem);
  margin: 0;
  padding-inline: clamp(1rem, 4vw, 4rem);
  align-items: end;
  justify-items: start;
}

.hero-section[data-hero-text-position="top-left"] .hero-grid,
.hero-section[data-hero-text-position="top-center"] .hero-grid,
.hero-section[data-hero-text-position="top-right"] .hero-grid {
  align-items: start;
}

.hero-section[data-hero-text-position="bottom-left"] .hero-grid,
.hero-section[data-hero-text-position="bottom-center"] .hero-grid,
.hero-section[data-hero-text-position="bottom-right"] .hero-grid {
  align-items: end;
}

.hero-section[data-hero-text-position$="-left"] .hero-grid {
  justify-items: start;
}

.hero-section[data-hero-text-position$="-center"] .hero-grid {
  justify-items: center;
}

.hero-section[data-hero-text-position$="-right"] .hero-grid {
  justify-items: end;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  background: rgba(5, 12, 23, 0.62);
  box-shadow: 0 28px 80px rgba(5, 12, 23, 0.34);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.9);
}

.hero-section[data-hero-text-card="false"] .hero-copy {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-section[data-hero-text-card="false"] .hero-copy h1,
.hero-section[data-hero-text-card="false"] .hero-copy .hero-lede,
.hero-section[data-hero-text-card="false"] .hero-copy .eyebrow {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.hero-section[data-hero-text-position$="-left"] .hero-copy {
  text-align: left;
}

.hero-section[data-hero-text-position$="-center"] .hero-copy {
  text-align: center;
}

.hero-section[data-hero-text-position$="-right"] .hero-copy {
  text-align: right;
}

.hero-section[data-hero-text-position$="-left"] .hero-actions {
  justify-content: flex-start;
}

.hero-section[data-hero-text-position$="-center"] .hero-actions {
  justify-content: center;
}

.hero-section[data-hero-text-position$="-right"] .hero-actions {
  justify-content: flex-end;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--color-orange);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-navy);
  line-height: 1.04;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 6rem);
}

.hero-copy h1 {
  color: var(--color-white);
  max-width: 100%;
  font-size: clamp(2.35rem, 4.2vw, 3.9rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
  font-size: clamp(1.8rem, 3.5vw, 3.1rem);
}

.hero-lede {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.feature-visual {
  min-height: 420px;
  border: 1px solid rgba(216, 224, 234, 0.95);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 22% 18%, rgba(249, 115, 22, 0.16), transparent 24%),
    radial-gradient(circle at 76% 72%, rgba(20, 52, 92, 0.14), transparent 28%),
    linear-gradient(145deg, #ffffff, #eef4fb);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  min-height: 100%;
  overflow: hidden;
  background: transparent;
}

.hero-cms-media {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
}

.hero-cms-video {
  background: var(--color-navy);
}

.section-heading {
  max-width: 760px;
  padding-bottom: 2.2rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.features-section,
.pricing-section,
.articles-section,
.trust-section,
.faq-section,
.about-section,
.contact-section {
  padding: var(--section-pad) 0;
}

.conversion-strip {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  background: #f8fbff;
}

.conversion-strip-soft {
  background: var(--color-white);
}

.conversion-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
}

.conversion-card h2 {
  max-width: 12ch;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.conversion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.feature-panel {
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--color-border);
}

.features-section > .feature-panel > .section-shell.feature-grid {
  width: 100%;
  max-width: none;
  padding-inline: clamp(1rem, 4vw, 4rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.3fr) minmax(0, 0.7fr);
  grid-template-areas: "copy visual";
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.feature-panel-alt .feature-grid {
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
  grid-template-areas: "visual copy";
}

.feature-copy {
  grid-area: copy;
  max-width: 520px;
}

.feature-copy p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.feature-copy ul,
.plan-card ul {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.feature-copy li,
.plan-card li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--color-text);
}

.feature-copy li::before,
.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 99px;
  background: var(--color-orange);
}

.feature-visual {
  position: relative;
  grid-area: visual;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(460px, 64vh, 760px);
  padding: 1.5rem;
}

.feature-visual.has-cms-feature-media {
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.feature-cms-media {
  display: block;
  width: 100%;
  max-width: none;
  height: min(68vh, 720px);
  max-height: none;
  border-radius: var(--radius-lg);
  object-fit: contain;
  background: #f8fbff;
}

.feature-panel[data-feature-media-display="contained"] .feature-cms-media,
.feature-visual.has-cms-feature-media .feature-cms-media {
  width: 100%;
  max-width: none;
  height: min(68vh, 720px);
  max-height: none;
  object-fit: contain;
}

.feature-cms-video {
  background: var(--color-navy);
}

.feature-generated-placeholder {
  width: min(420px, 100%);
  aspect-ratio: 1.15;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(20, 52, 92, 0.28);
  border-radius: var(--radius-xl);
  background: #f8fbff;
  color: var(--color-navy-soft);
  font-weight: 850;
}

.feature-panel[data-feature-media-display="expanded"] .feature-visual.has-cms-feature-media {
  padding: 0;
  align-items: stretch;
  justify-items: stretch;
}

.feature-panel[data-feature-media-display="expanded"] .feature-cms-media {
  width: 100%;
  height: min(72vh, 780px);
  min-height: 520px;
  max-height: none;
  border-radius: inherit;
  object-fit: cover;
}

.feature-media-expand {
  position: absolute;
  right: clamp(0.75rem, 2vw, 1.25rem);
  bottom: clamp(0.75rem, 2vw, 1.25rem);
  z-index: 2;
  min-height: 2.5rem;
  max-width: min(13rem, calc(100% - 1.5rem));
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.88);
  color: var(--color-white);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.22);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.1;
  backdrop-filter: blur(12px);
}

.feature-media-expand:hover {
  background: rgba(11, 31, 58, 0.96);
}

.feature-media-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 2rem);
}

.feature-media-modal[hidden] {
  display: none;
}

.feature-media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 25, 0.86);
}

.feature-media-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1400px);
  max-height: min(92vh, 900px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(8, 21, 39, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.feature-media-modal-close {
  justify-self: end;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0.75rem 0.75rem 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.feature-media-modal-content {
  width: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
}

.feature-media-modal-content img,
.feature-media-modal-content video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: min(82vh, 820px);
  max-height: calc(92vh - 6rem);
  object-fit: contain;
  border-radius: 12px;
  background: #f8fbff;
}

body.feature-media-modal-open {
  overflow: hidden;
}

.map-mock,
.flow-mock,
.guide-mock {
  width: min(420px, 100%);
  aspect-ratio: 1.15;
  position: relative;
  border-radius: var(--radius-xl);
  background: #f8fbff;
  border: 1px solid var(--color-border);
}

.node {
  position: absolute;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 22px;
  background: var(--color-navy);
  box-shadow: var(--shadow-soft);
}

.node-a { left: 12%; top: 18%; }
.node-b { right: 14%; top: 28%; background: var(--color-orange); }
.node-c { left: 38%; bottom: 14%; background: var(--color-navy-soft); }

.route {
  position: absolute;
  height: 3px;
  background: rgba(20, 52, 92, 0.25);
  transform-origin: left;
}

.route-a {
  left: 30%;
  top: 35%;
  width: 38%;
  transform: rotate(13deg);
}

.route-b {
  left: 40%;
  top: 57%;
  width: 30%;
  transform: rotate(-34deg);
}

.flow-mock,
.guide-mock {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.flow-mock {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flow-mock span,
.guide-step {
  display: grid;
  place-items: center;
  min-height: 5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 800;
}

.guide-mock {
  aspect-ratio: auto;
}

.guide-step {
  justify-content: start;
  padding: 0 1rem;
  min-height: 4.2rem;
}

.guide-step.is-done {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.08);
}

.guide-step.is-current {
  border-color: rgba(20, 52, 92, 0.35);
  box-shadow: inset 4px 0 0 var(--color-orange);
}

.pricing-section {
  background:
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.billing-selector {
  width: fit-content;
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem;
  margin: 0 auto 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
}

.billing-selector button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 999px;
  min-width: 4rem;
  padding: 0.7rem 1rem;
  background: transparent;
  color: var(--color-muted);
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.billing-selector button:hover,
.billing-selector button:focus-visible {
  color: var(--color-navy);
  transform: translateY(-1px);
}

.billing-selector button.is-active {
  background: var(--color-navy);
  color: var(--color-white);
}

.billing-period-label {
  font-weight: 850;
}

.pricing-action-message {
  min-height: 1.4rem;
  margin: 0 0 1.2rem;
  color: var(--color-navy-soft);
  font-weight: 750;
  text-align: center;
}

.pricing-action-message:empty {
  visibility: hidden;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  align-items: stretch;
  gap: 1.1rem;
}

.plan-card,
.article-card,
.contact-form {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
}

.plan-card {
  display: grid;
  grid-template-rows: auto auto auto auto auto auto 1fr auto;
  align-content: start;
  gap: 0.9rem;
  position: relative;
  min-height: 100%;
  padding: 1.45rem;
  overflow: hidden;
}

.plan-card.is-featured,
.pricing-card.is-highlighted {
  border-color: rgba(249, 115, 22, 0.6);
  background:
    linear-gradient(180deg, rgba(249, 115, 22, 0.06), rgba(255, 255, 255, 0) 42%),
    var(--color-white);
  box-shadow: 0 22px 48px rgba(249, 115, 22, 0.18);
}

.plan-card[data-plan-type="custom"] {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.plan-card[data-plan-type="trial"] .discount-tag {
  background: rgba(20, 52, 92, 0.1);
  color: var(--color-navy);
}

.plan-card.is-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--color-orange);
}

.pricing-card-top-row {
  min-height: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.recommended-badge,
.pricing-badge {
  width: fit-content;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 850;
}

.plan-card h3 {
  font-size: 1.35rem;
}

.plan-card p {
  margin: 0;
  color: var(--color-muted);
}

.pricing-price-block {
  display: grid;
  gap: 0.35rem;
  min-height: 6.6rem;
  padding-block: 0.45rem 0.55rem;
  align-content: center;
}

.pricing-original-monthly-price {
  min-height: 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-muted);
  font-size: 1.95rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
}

.pricing-original-monthly-price.is-visible {
  opacity: 1;
  visibility: visible;
}

.pricing-original-amount {
  text-decoration: line-through;
  text-decoration-thickness: 2.5px;
  text-decoration-color: rgba(249, 115, 22, 0.9);
}

.pricing-original-period {
  color: var(--color-muted);
  font-size: 1.05rem;
  font-weight: 800;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding-top: 0;
}

.price-line strong {
  color: var(--color-navy);
  font-size: clamp(2.35rem, 3.6vw, 3.15rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.price-line span {
  color: var(--color-navy);
  font-size: 0.98rem;
  font-weight: 750;
}

.period-total,
.pricing-period-total {
  color: var(--color-muted);
  font-weight: 720;
}

.discount-amount {
  color: var(--color-navy-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.discount-tag,
.pricing-discount-tag {
  width: fit-content;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: #9a3c02;
  font-size: 0.84rem;
  font-weight: 800;
}

.pricing-discount-tag {
  padding: 0.38rem 0.62rem;
  font-size: 0.76rem;
  line-height: 1;
}

.included-resources,
.pricing-resources {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
  border: 1px solid rgba(216, 224, 234, 0.9);
  border-radius: 16px;
  background: #f8fbff;
}

.included-resources strong {
  color: var(--color-navy);
  font-size: 0.85rem;
}

.included-resources > div,
.pricing-resources > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.included-resources > div > span {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-navy-soft);
  font-size: 0.84rem;
  font-weight: 750;
}

.pricing-resource {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.2rem;
  padding: 0.38rem 0.58rem;
  border: 1px solid rgba(216, 224, 234, 0.85);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-navy-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.pricing-resource-icon {
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: rgba(20, 52, 92, 0.08);
  color: var(--color-navy);
  flex: 0 0 auto;
}

.pricing-resource-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.pricing-card[data-price-state="custom"] .price-line strong,
.pricing-card[data-price-state="free"] .price-line strong {
  font-size: clamp(2.1rem, 3.1vw, 2.7rem);
  letter-spacing: -0.035em;
}

.plan-feature-list {
  align-self: start;
}

.plan-card .button {
  align-self: end;
  margin-top: 0.2rem;
}

.pricing-cta {
  justify-self: stretch;
}

.cart-mark {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
  border-radius: 7px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.78rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.article-card {
  padding: 1.25rem;
}

.article-visual {
  min-height: 11rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(216, 224, 234, 0.9);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.08), rgba(249, 115, 22, 0.1)),
    #f8fbff;
  color: var(--color-navy);
  font-weight: 850;
  text-align: center;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
}

.article-meta span,
.article-card > span {
  color: var(--color-orange);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-card h3 {
  margin-top: 0.7rem;
  font-size: 1.35rem;
  line-height: 1.18;
}

.article-card p {
  color: var(--color-muted);
}

.article-card time,
.article-card a {
  display: block;
  margin-top: 0.8rem;
}

.article-card a {
  color: var(--color-navy);
  font-weight: 800;
}

.articles-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

.trust-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
}

.trust-icon {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--color-orange);
  font-weight: 850;
}

.trust-card h3 {
  font-size: 1.25rem;
  line-height: 1.16;
}

.trust-card p,
.faq-copy {
  margin: 0;
  color: var(--color-muted);
}

.faq-section {
  background: #f8fbff;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  padding: 1rem 1.1rem;
  background: transparent;
  color: var(--color-navy);
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  width: 1.8rem;
  height: 1.8rem;
  display: inline-grid;
  place-items: center;
  border-radius: 99px;
  background: #f1f5f9;
  color: var(--color-navy);
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
  background: var(--color-orange);
  color: var(--color-white);
}

.faq-answer {
  padding: 0 1.1rem 1rem;
  color: var(--color-muted);
}

.faq-answer p {
  margin: 0;
}

.about-section {
  background: var(--color-navy);
  color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-section h2,
.about-section p:not(.eyebrow) {
  color: var(--color-white);
}

.about-section p:not(.eyebrow) {
  margin: 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-copy {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.preference-panel {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #f8fbff;
}

.preference-panel h3 {
  font-size: 1.15rem;
}

.preference-panel p {
  margin: 0;
  color: var(--color-muted);
}

.preference-controls {
  display: grid;
  gap: 0.45rem;
}

.preference-controls label {
  color: var(--color-navy);
  font-weight: 750;
}

.preference-controls select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  background: var(--color-white);
  color: var(--color-text);
}

.preference-currency {
  font-weight: 800;
  color: var(--color-navy-soft) !important;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.social-links a {
  padding: 0.58rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-navy);
  font-weight: 750;
}

.contact-form {
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form .form-row:has(textarea),
.contact-form .consent-row,
.contact-form .form-message,
.contact-form .button {
  grid-column: 1 / -1;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  color: var(--color-navy);
  font-weight: 750;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 0.82rem 0.9rem;
  color: var(--color-text);
  background: var(--color-white);
}

.form-row textarea {
  resize: vertical;
}

.consent-row label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--color-text);
  font-weight: 650;
}

.consent-row input {
  width: auto;
  margin-top: 0.25rem;
}

.field-error {
  min-height: 1.1rem;
  color: #b42318;
  font-size: 0.86rem;
  font-weight: 700;
}

.required-note {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.form-row input[aria-invalid="true"],
.form-row select[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.08);
}

.form-message {
  min-height: 1.4rem;
  margin: 0;
  color: var(--color-muted);
}

.form-message.is-error {
  color: #b42318;
}

.form-message.is-success {
  color: #067647;
}

.site-footer {
  background: #07172b;
  color: rgba(255, 255, 255, 0.74);
  padding: 4rem 0 1.2rem;
}

.site-footer .brand-mark,
.site-footer h2 {
  color: var(--color-white);
}

.site-footer .brand-logo {
  width: 2.25rem;
  height: 2.25rem;
  margin-block: 0;
  filter: none;
}

.site-footer .brand-mark-with-logo span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  white-space: normal;
}

.site-footer .brand-mark-with-logo::before {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-grid h2 {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}

.footer-grid a,
.footer-grid span,
.footer-link-button {
  display: block;
  margin-top: 0.45rem;
}

.footer-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
}

.footer-link-button:hover,
.footer-link-button:focus-visible {
  color: var(--color-white);
}

.footer-bottom {
  width: min(1180px, calc(100% - 2rem));
  margin: 2.5rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

body.checkout-selection-open {
  overflow: hidden;
}

.checkout-selection-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.checkout-selection-panel[hidden] {
  display: none;
}

.checkout-selection-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.44);
  backdrop-filter: blur(8px);
}

.checkout-selection-card {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 1.35rem;
  border: 1px solid rgba(216, 224, 234, 0.95);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 10% 0%, rgba(249, 115, 22, 0.1), transparent 34%),
    var(--color-white);
  box-shadow: 0 24px 70px rgba(11, 31, 58, 0.24);
}

.checkout-selection-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy);
  cursor: pointer;
  font-size: 0;
}

.checkout-selection-close::before {
  content: "x";
  font-size: 1.25rem;
  line-height: 1;
}

.checkout-selection-header {
  padding-right: 3rem;
}

.checkout-selection-header .eyebrow {
  margin: 0 0 0.4rem;
}

.checkout-selection-header h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  line-height: 1.05;
}

.checkout-selection-header p:not(.eyebrow) {
  margin: 0.7rem 0 0;
  color: var(--color-muted);
}

.checkout-selection-summary {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.15rem;
  padding: 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #f7f9fc;
}

.checkout-selection-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(216, 224, 234, 0.82);
}

.checkout-selection-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.checkout-selection-label {
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.checkout-selection-value {
  color: var(--color-navy);
  font-size: 0.98rem;
  font-weight: 900;
  text-align: right;
}

.checkout-selection-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

html[dir="rtl"] .checkout-selection-card {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .checkout-cart-popover {
  right: auto;
  left: 0;
}

html[dir="rtl"] .checkout-cart-card {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .checkout-cart-row-value {
  text-align: left;
}

html[dir="rtl"] .checkout-selection-close {
  right: auto;
  left: 1rem;
}

html[dir="rtl"] .checkout-selection-header {
  padding-right: 0;
  padding-left: 3rem;
}

html[dir="rtl"] .checkout-selection-value {
  text-align: left;
}

.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner h2 {
  font-size: 1.15rem;
}

.consent-banner p {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.consent-close {
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
  font-size: 0;
}

.consent-close::before {
  content: "×";
  font-size: 1.2rem;
  line-height: 1;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .site-nav,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .hero-grid,
html[dir="rtl"] .feature-grid,
html[dir="rtl"] .about-grid,
html[dir="rtl"] .contact-grid,
html[dir="rtl"] .pricing-grid,
html[dir="rtl"] .article-grid,
html[dir="rtl"] .trust-grid,
html[dir="rtl"] .faq-grid,
html[dir="rtl"] .conversion-card,
html[dir="rtl"] .footer-grid,
html[dir="rtl"] .footer-bottom,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .social-links,
html[dir="rtl"] .conversion-actions,
html[dir="rtl"] .consent-banner {
  direction: ltr;
}

html[dir="rtl"] .nav-links a:not(.button),
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .feature-copy,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .plan-card,
html[dir="rtl"] .article-card,
html[dir="rtl"] .trust-card,
html[dir="rtl"] .faq-grid > *,
html[dir="rtl"] .conversion-card > *,
html[dir="rtl"] .about-grid > *,
html[dir="rtl"] .contact-grid > *,
html[dir="rtl"] .preference-panel,
html[dir="rtl"] .contact-form,
html[dir="rtl"] .footer-grid > *,
html[dir="rtl"] .footer-bottom > *,
html[dir="rtl"] .consent-banner > * {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .hero-actions,
html[dir="rtl"] .social-links {
  justify-content: flex-end;
}

html[dir="rtl"] .hero-section[data-hero-text-position$="-left"] .hero-copy {
  text-align: left;
}

html[dir="rtl"] .hero-section[data-hero-text-position$="-center"] .hero-copy {
  text-align: center;
}

html[dir="rtl"] .hero-section[data-hero-text-position$="-right"] .hero-copy {
  text-align: right;
}

html[dir="rtl"] .hero-section[data-hero-text-position$="-left"] .hero-actions {
  justify-content: flex-start;
}

html[dir="rtl"] .hero-section[data-hero-text-position$="-center"] .hero-actions {
  justify-content: center;
}

html[dir="rtl"] .hero-section[data-hero-text-position$="-right"] .hero-actions {
  justify-content: flex-end;
}

html[dir="rtl"] .feature-copy li,
html[dir="rtl"] .plan-card li {
  padding-left: 0;
  padding-right: 1.45rem;
}

html[dir="rtl"] .feature-copy li::before,
html[dir="rtl"] .plan-card li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .guide-step {
  justify-content: end;
}

html[dir="rtl"] .guide-step.is-current {
  box-shadow: inset -4px 0 0 var(--color-orange);
}

html[dir="rtl"] .feature-media-expand {
  right: auto;
  left: clamp(0.75rem, 2vw, 1.25rem);
}

html[dir="rtl"] .cart-mark {
  margin-left: 0;
  margin-right: 0.35rem;
}

html[dir="rtl"] .form-row input,
html[dir="rtl"] .form-row select,
html[dir="rtl"] .form-row textarea {
  text-align: right;
}

html[dir="rtl"] .faq-question {
  text-align: right;
}

@media (max-width: 980px) {
  .nav-menu-button {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 64px 1rem auto;
    display: none;
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.is-open {
    display: grid;
  }

  .language-toggle,
  .nav-links .button,
  .checkout-cart-shell,
  .checkout-cart-button {
    width: 100%;
  }

  .checkout-cart-shell {
    display: block;
  }

  .checkout-cart-shell[hidden] {
    display: none;
  }

  .checkout-cart-button {
    justify-content: center;
  }

  .checkout-cart-popover {
    position: static;
    width: 100%;
    margin-top: 0.65rem;
  }

  .checkout-cart-card {
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 34px rgba(11, 31, 58, 0.14);
  }

  .checkout-cart-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.18rem;
  }

  .checkout-cart-row-value {
    text-align: inherit;
  }

  html[dir="rtl"] .checkout-cart-popover {
    left: auto;
  }

  .hero-grid,
  .feature-grid,
  .about-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .features-section > .feature-panel > .section-shell.feature-grid,
  .feature-panel-alt .feature-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
    padding-inline: 1rem;
  }

  .hero-section {
    min-height: 100vh;
    padding-top: 5rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 12vw, 4.5rem);
  }

  .feature-panel {
    min-height: auto;
  }

  .feature-copy {
    max-width: none;
  }

  .feature-visual {
    min-height: 320px;
  }

  .feature-panel[data-feature-media-display="expanded"] .feature-cms-media,
  .feature-visual.has-cms-feature-media .feature-cms-media {
    height: auto;
    min-height: 280px;
    max-height: 70vh;
  }

  .feature-panel[data-feature-media-display="expanded"] .feature-cms-media {
    min-height: 280px;
  }

  .hero-cms-media {
    min-height: 100vh;
  }

  .pricing-grid,
  .article-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .conversion-card,
  .consent-banner {
    grid-template-columns: 1fr;
  }

  .conversion-card {
    align-items: start;
  }

  .conversion-actions,
  .consent-actions {
    justify-content: stretch;
  }

  .conversion-actions .button,
  .consent-actions .button {
    flex: 1;
  }

}

@media (max-width: 640px) {
  html {
    font-size: 90%;
  }

  .section-shell,
  .site-nav,
  .footer-bottom {
    width: min(100% - 1rem, 1180px);
  }

  .hero-section {
    min-height: calc(100svh - 64px);
    display: grid;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 42%, rgba(249, 115, 22, 0.16), transparent 34%),
      linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f6f9fd 100%);
  }

  .hero-section::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(5, 12, 23, 0.18)),
      radial-gradient(circle at 50% 55%, rgba(11, 31, 58, 0.18), transparent 58%);
  }

  .hero-grid {
    min-height: calc(100svh - 64px);
    padding-inline: 0.85rem;
    padding-block: clamp(18rem, 45svh, 26rem) 1.25rem;
    align-items: end !important;
    justify-items: center !important;
  }

  .hero-copy {
    width: min(100%, 92vw);
    margin-inline: auto;
    padding: 1rem;
    border-radius: 22px;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(1.7rem, 7.2vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  html[lang="ar"] .hero-copy h1 {
    font-size: clamp(1.65rem, 7vw, 2.45rem);
    line-height: 1.16;
  }

  .hero-lede {
    margin-top: 0.75rem;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .hero-copy .eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  h1 {
    font-size: clamp(2.43rem, 10.8vw, 4.05rem);
  }

  h2 {
    font-size: clamp(1.8rem, 3.6vw, 3.33rem);
  }

  h3 {
    font-size: clamp(1.62rem, 3.15vw, 2.79rem);
  }

  .hero-actions,
  .billing-selector {
    width: 100%;
  }

  .hero-actions {
    gap: 0.6rem;
    justify-content: center !important;
    margin-top: 1rem;
  }

  .button,
  .hero-actions .button {
    width: 100%;
  }

  .brand-mark-with-logo {
    gap: 0.45rem;
  }

  .brand-logo {
    width: 2rem;
    height: 2rem;
  }

  .site-header .brand-logo {
    width: 5.5rem;
    height: 5.5rem;
    margin-block: -1.8rem;
  }

  .site-header .brand-mark-with-logo {
    width: 6.8rem;
  }

  .site-header .brand-mark-with-logo::before {
    width: 6.8rem;
    height: 6rem;
    border-radius: 20px;
  }

  .site-footer .brand-logo {
    width: 2rem;
    height: 2rem;
  }

  .hero-actions .button {
    min-height: 2.55rem;
    padding-block: 0.68rem;
  }

  .checkout-selection-panel {
    align-items: end;
    padding: 0;
  }

  .checkout-selection-card {
    width: 100%;
    max-height: min(86dvh, 760px);
    padding: 1.2rem 1rem calc(1rem + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
  }

  .checkout-selection-header {
    padding-right: 2.8rem;
  }

  .checkout-selection-header h2 {
    font-size: 1.55rem;
  }

  .checkout-selection-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .checkout-selection-value {
    text-align: inherit;
  }

  .checkout-selection-actions {
    grid-template-columns: 1fr;
  }

  html[dir="rtl"] .checkout-selection-header {
    padding-right: 0;
    padding-left: 2.8rem;
  }

  .hero-visual {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: -2;
    height: min(58svh, 520px);
    min-height: 360px;
    background:
      radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.82) 44%, rgba(255, 255, 255, 0) 76%),
      linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.9));
  }

  .hero-cms-media {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: contain;
    object-position: top center;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  /* Mobile pricing reset: desktop-style stacked cards */
  .pricing-section {
    height: auto;
    min-height: auto;
    max-height: none;
    padding: clamp(3rem, 10vw, 4.5rem) 0;
    overflow: visible;
  }

  .pricing-section .section-shell {
    width: min(100% - 1rem, 1180px);
    height: auto;
    max-height: none;
    display: block;
    overflow: visible;
    position: relative;
  }

  .pricing-section .section-heading {
    width: 100%;
    max-width: 760px;
    margin-inline: 0;
    padding-bottom: 1.4rem;
  }

  .pricing-section .section-heading .eyebrow {
    margin-bottom: 0.65rem;
    font-size: 0.76rem;
  }

  .pricing-section .section-heading h2 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
    line-height: 1.08;
  }

  .pricing-section .section-heading p:not(.eyebrow) {
    display: block;
    font-size: 0.98rem;
  }

  .billing-selector {
    position: static;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 1.2rem;
    padding: 0.35rem;
  }

  .billing-selector button {
    min-height: 2.55rem;
    padding: 0.65rem 0.7rem;
    font-size: 0.9rem;
    font-weight: 850;
  }

  .pricing-action-message {
    display: block;
    min-height: 1.2rem;
    margin: 0 0 1rem;
    padding-inline: 0;
    font-size: 0.88rem;
    text-align: center;
  }

  .pricing-action-message:empty {
    visibility: hidden;
  }

  .pricing-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(min(86vw, 360px), 86vw);
    grid-template-columns: none;
    align-items: stretch;
    height: auto;
    min-height: 0;
    gap: 1rem;
    padding: 0 0.25rem 0.85rem;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0.25rem;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .pricing-grid::-webkit-scrollbar {
    height: 0.42rem;
  }

  .pricing-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(11, 31, 58, 0.22);
  }

  .plan-card,
  .pricing-card {
    height: auto;
    min-height: 100%;
    max-height: none;
    padding: 1.45rem;
    gap: 0.9rem;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    display: grid;
    grid-template-rows: auto auto auto auto auto auto 1fr auto;
    align-content: start;
  }

  .pricing-card > *,
  .plan-card > * {
    width: auto;
    min-width: 0;
  }

  .pricing-card-top-row {
    min-height: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    flex-wrap: wrap;
    overflow: visible;
  }

  .recommended-badge,
  .pricing-badge {
    width: fit-content;
    max-width: 100%;
    min-height: auto;
    padding: 0.42rem 0.65rem;
    font-size: 0.78rem;
    line-height: 1;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .discount-tag,
  .pricing-discount-tag {
    width: fit-content;
    max-width: 100%;
    min-height: auto;
    padding: 0.38rem 0.62rem;
    font-size: 0.76rem;
    line-height: 1;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .plan-card h3 {
    font-size: 1.35rem;
    line-height: 1.12;
    letter-spacing: normal;
  }

  .plan-card p {
    font-size: 1rem;
    line-height: 1.45;
  }

  .plan-card > div:nth-of-type(2) p,
  .pricing-card > div:nth-of-type(2) p {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
  }

  .pricing-price-block {
    min-height: 6.6rem;
    gap: 0.35rem;
    padding-block: 0.45rem 0.55rem;
    align-content: center;
  }

  .pricing-original-monthly-price {
    min-height: 2.2rem;
    gap: 0.45rem;
    font-size: 1.95rem;
    white-space: nowrap;
  }

  .pricing-original-period {
    font-size: 1.05rem;
  }

  .price-line {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: wrap;
  }

  .price-line strong {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
    line-height: 0.98;
    white-space: normal;
  }

  .price-line span {
    font-size: 0.98rem;
    white-space: normal;
  }

  .period-total,
  .pricing-period-total {
    font-size: 0.95rem;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .included-resources,
  .pricing-resources {
    display: grid;
    gap: 0.65rem;
    padding: 0.85rem;
    border-radius: 16px;
  }

  .included-resources strong {
    font-size: 0.85rem;
  }

  .included-resources > div,
  .pricing-resources > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    width: auto;
  }

  .pricing-resource {
    width: auto;
    min-width: 0;
    min-height: 2.2rem;
    padding: 0.38rem 0.58rem;
    gap: 0.5rem;
    font-size: 0.86rem;
    font-weight: 800;
    white-space: normal;
  }

  .pricing-resource span:last-child {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .pricing-resource-icon {
    width: 1.45rem;
    height: 1.45rem;
  }

  .pricing-resource-icon svg {
    width: 1rem;
    height: 1rem;
  }

  .plan-feature-list {
    margin: 1.2rem 0 0;
    gap: 0.65rem;
    overflow: visible;
    align-self: start;
  }

  .plan-card li {
    padding-left: 1.45rem;
    font-size: 1rem;
    line-height: 1.45;
    display: block;
    overflow: visible;
    white-space: normal;
    text-overflow: unset;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }

  .plan-card li::before {
    width: 0.55rem;
    height: 0.55rem;
    top: 0.55em;
  }

  html[dir="rtl"] .plan-card li {
    padding-left: 0;
    padding-right: 1.45rem;
  }

  .pricing-cta {
    width: 100%;
    min-height: 2.8rem;
    padding: 0.76rem 1rem;
    font-size: 1rem;
    font-weight: 750;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .pricing-scroll-dots,
  .pricing-scroll-dot,
  .pricing-scroll-hint {
    display: none !important;
  }

  .pricing-section .section-shell::before,
  .pricing-section .section-shell::after {
    display: none !important;
    content: none !important;
  }

  .flow-mock {
    grid-template-columns: 1fr;
  }

  .feature-panel[data-feature-media-display="expanded"] .feature-cms-media {
    min-height: 240px;
  }

}

@media (max-width: 390px) {
  .hero-visual {
    height: min(54svh, 460px);
    min-height: 320px;
  }

  .hero-grid {
    padding-block: clamp(16rem, 43svh, 23rem) 1rem;
  }

  .hero-copy {
    width: min(100%, 94vw);
    padding: 0.9rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  html[lang="ar"] .hero-copy h1 {
    font-size: clamp(1.5rem, 6.8vw, 2.05rem);
  }

  .hero-lede {
    font-size: 0.88rem;
  }

  .pricing-grid {
    grid-auto-columns: minmax(min(88vw, 330px), 88vw);
  }

  .plan-card,
  .pricing-card {
    padding: 1.2rem;
  }

  .price-line strong {
    font-size: clamp(2.1rem, 11vw, 2.8rem);
  }
}

@media (min-width: 641px) {
  .pricing-scroll-dots {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 981px) {
  .hero-section {
    min-height: 100vh;
    padding-block: 6rem 4rem;
  }

  .feature-panel {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
