/**
 * CartFlow Landing — Premium Brand & Visual Refinement V2
 * Brand language from official logo (navy + teal). Story unchanged; presentation only.
 */

:root {
  --cfvi-font: "Tajawal", Arial, sans-serif;

  /* Brand system */
  --cf-navy: #082048;
  --cf-navy-deep: #001838;
  --cf-teal: #18b0a8;
  --cf-teal-deep: #0e8e88;
  --cf-mint: #e8f8f7;
  --cf-soft-gray: #eef1f6;
  --cf-white: #ffffff;
  --cf-dark-surface: #082048;

  --cfvi-primary: var(--cf-teal);
  --cfvi-primary-deep: var(--cf-teal-deep);
  --cfvi-primary-soft: rgba(24, 176, 168, 0.1);
  --cfvi-secondary: var(--cf-navy);
  --cfvi-secondary-deep: var(--cf-navy-deep);
  --cfvi-bg: #f5f7fb;
  --cfvi-surface: var(--cf-white);
  --cfvi-ink: var(--cf-navy);
  --cfvi-ink-soft: #445066;
  --cfvi-ink-whisper: #8b95a8;
  --cfvi-border: rgba(8, 32, 72, 0.08);
  --cfvi-border-strong: rgba(8, 32, 72, 0.14);
  --cfvi-success: #059669;
  --cfvi-info-soft: rgba(24, 176, 168, 0.12);
  --cfvi-info-ink: var(--cf-teal-deep);
  --cfvi-hero-bg: linear-gradient(152deg, #0b3062 0%, #082048 46%, #001830 100%);
  --cfvi-chrome-bg: linear-gradient(165deg, #0b3062 0%, #082048 52%, #001838 100%);
  --cfvi-card-radius: 14px;
  --cfvi-card-shadow: 0 1px 2px rgba(8, 32, 72, 0.04), 0 8px 24px rgba(8, 32, 72, 0.05);
  --cfvi-card-shadow-lift: 0 16px 40px rgba(8, 32, 72, 0.14), 0 4px 12px rgba(8, 32, 72, 0.06);
  --cfvi-hero-shadow: 0 20px 48px rgba(8, 32, 72, 0.28);
  --cfvi-space-xs: 6px;
  --cfvi-space-sm: 12px;
  --cfvi-space-md: 18px;
  --cfvi-space-lg: 24px;
  --cfvi-space-xl: 32px;
  --cfvi-space-2xl: 48px;
  --cfvi-space-3xl: 64px;
  --lp-max: 1120px;
  --lp-pad: clamp(1.1rem, 4vw, 2.75rem);
  --lp-lead-max: 36rem;
}

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

html {
  scroll-behavior: smooth;
}

body.cf-lp {
  margin: 0;
  font-family: var(--cfvi-font);
  color: var(--cfvi-ink);
  background: var(--cfvi-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.cf-lp a {
  color: inherit;
  text-decoration: none;
}

body.cf-lp img {
  max-width: 100%;
  height: auto;
  display: block;
}

.cf-shell {
  width: 100%;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding-inline: var(--lp-pad);
}

/* ——— Buttons (Dashboard pill language) ——— */
.cf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.cf-btn--primary {
  background: var(--cfvi-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(24, 176, 168, 0.32);
}

.cf-btn--primary:hover,
.cf-btn--primary:focus-visible {
  background: var(--cfvi-primary);
  transform: translateY(-1px);
}

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

.cf-btn--ghost:hover {
  color: var(--cfvi-primary-deep);
}

.cf-btn--light {
  background: #fff;
  color: var(--cfvi-ink);
  border-color: rgba(255, 255, 255, 0.35);
}

.cf-btn--on-dark {
  background: #fff;
  color: var(--cfvi-ink);
}

.cf-btn--on-dark-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.cf-btn--on-dark-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ——— Nav ——— */
.cf-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 246, 250, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cfvi-border);
}

.cf-nav__in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding-inline: var(--lp-pad);
}

.cf-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cfvi-secondary);
}

.cf-brand-wordmark {
  color: var(--cfvi-secondary);
}

.cf-brand-wordmark__flow {
  color: var(--cfvi-primary);
}

.cf-nav__logo {
  display: block;
  height: 36px;
  width: auto;
}

.cf-nav__logo--mark {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

@media (min-width: 720px) {
  .cf-nav__logo--mark {
    height: 40px;
    width: auto;
    max-height: 40px;
  }
}

.cf-nav__links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.cf-nav__links a {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cfvi-ink-soft);
}

.cf-nav__links a:hover {
  background: rgba(13, 148, 136, 0.08);
  color: var(--cfvi-primary-deep);
}

.cf-nav__spacer {
  flex: 1;
}

.cf-nav__acts {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-nav__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cfvi-border);
  border-radius: 12px;
  background: #fff;
  color: var(--cfvi-ink);
  cursor: pointer;
}

.cf-nav__drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--lp-pad) 20px;
  border-top: 1px solid var(--cfvi-border);
  background: #fff;
}

.cf-nav__drawer.is-open,
.cf-nav__drawer:not([hidden]) {
  display: flex;
}

.cf-nav__drawer[hidden] {
  display: none !important;
}

.cf-nav__drawer a {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--cfvi-ink-soft);
}

.cf-nav__drawer a:hover {
  background: var(--cfvi-primary-soft);
  color: var(--cfvi-primary-deep);
}

@media (min-width: 900px) {
  .cf-nav__links {
    display: flex;
  }
  .cf-nav__menu {
    display: none;
  }
}

/* ——— Type ——— */
.cf-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cfvi-primary);
}

.cf-kicker--on-dark {
  color: rgba(167, 243, 208, 0.95);
}

.cf-h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
}

.cf-h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--cfvi-ink);
}

.cf-lead {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--cfvi-ink-soft);
  max-width: 38rem;
}

.cf-lead--on-dark {
  color: rgba(255, 255, 255, 0.88);
}

.cf-muted {
  margin: 0;
  font-size: 14px;
  color: var(--cfvi-ink-whisper);
}

.cf-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* ——— Sections ——— */
.cf-sec {
  padding: clamp(2.25rem, 5.5vw, 4.25rem) 0;
}

.cf-sec--tight {
  padding: clamp(1.75rem, 4vw, 3rem) 0;
}

.cf-sec--dark {
  background: var(--cfvi-hero-bg);
  color: #fff;
}

.cf-sec--surface {
  background: #fff;
  border-block: 1px solid var(--cfvi-border);
}

.cf-sec--mint {
  background: linear-gradient(180deg, rgba(24, 176, 168, 0.06) 0%, var(--cfvi-bg) 100%);
}

.cf-sec--navy-soft {
  background: linear-gradient(180deg, #eef2f8 0%, #f4f7fa 100%);
}

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

.cf-stack--lg {
  gap: var(--cfvi-space-xl);
}

/* ——— HERO (strongest section) ——— */
.cf-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(3rem, 7vw, 5rem);
  background: var(--cfvi-hero-bg);
  color: #fff;
}

.cf-hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(24, 176, 168, 0.42) 0%, transparent 44%),
    radial-gradient(ellipse at 8% 90%, rgba(56, 189, 248, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 48% 118%, rgba(24, 176, 168, 0.22) 0%, transparent 52%);
}

.cf-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  align-items: center;
}

@media (min-width: 980px) {
  .cf-hero__grid {
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.55fr);
    gap: 2rem;
  }
}

.cf-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 36rem;
}

.cf-hero__brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cf-hero__brand-lockup img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

.cf-hero__brand {
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
}

.cf-hero__brand span {
  color: #5eead4;
}

.cf-hero .cf-h1 {
  font-size: clamp(1.65rem, 3.8vw, 2.55rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.cf-hero__cta-primary {
  min-height: 48px;
  padding-inline: 28px;
  font-size: 15px;
  box-shadow: 0 12px 32px rgba(24, 176, 168, 0.35);
}

.cf-hero__stage {
  position: relative;
  min-height: 360px;
  perspective: 1800px;
}

@media (min-width: 980px) {
  .cf-hero__stage {
    min-height: 460px;
  }
}

.cf-hero__glow {
  position: absolute;
  inset: 8% 0 0;
  border-radius: 40%;
  background: radial-gradient(circle, rgba(24, 176, 168, 0.38) 0%, transparent 65%);
  filter: blur(28px);
  pointer-events: none;
}

/* Laptop / browser composition */
.cf-device-desk {
  position: relative;
  z-index: 2;
  transform: rotateX(10deg) rotateY(-8deg) rotateZ(1.5deg) scale(1.04);
  transform-style: preserve-3d;
  filter: drop-shadow(0 48px 72px rgba(0, 0, 0, 0.42));
}

.cf-browser {
  background: #0b1220;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--cfvi-card-shadow-lift);
}

.cf-browser__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #1a2438 0%, #121a2b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cf-browser__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.cf-browser__dot:nth-child(1) {
  background: #ff5f57;
}
.cf-browser__dot:nth-child(2) {
  background: #febc2e;
}
.cf-browser__dot:nth-child(3) {
  background: #28c840;
}

.cf-browser__url {
  margin-inline-start: 8px;
  flex: 1;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.cf-browser__viewport {
  position: relative;
  background: var(--cfvi-bg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.cf-browser__viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
}

.cf-browser--hero .cf-browser__viewport {
  aspect-ratio: 16 / 10.2;
}

.cf-browser--wide .cf-browser__viewport {
  aspect-ratio: 16 / 9.5;
}

.cf-browser--flat {
  transform: none;
  filter: none;
  box-shadow: var(--cfvi-card-shadow-lift);
}

/* Floating dashboard cards */
.cf-float-card {
  position: absolute;
  z-index: 3;
  width: min(240px, 58vw);
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  color: var(--cfvi-ink);
  backdrop-filter: blur(10px);
  animation: cf-float 7s ease-in-out infinite;
}

.cf-float-card--a {
  top: 8%;
  inset-inline-start: -4%;
  animation-delay: 0s;
}

.cf-float-card--b {
  bottom: 6%;
  inset-inline-end: -2%;
  width: min(220px, 52vw);
  animation-delay: 1.2s;
}

.cf-float-card__label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--cfvi-ink-whisper);
}

.cf-float-card__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.cf-float-card__body {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--cfvi-ink-soft);
}

.cf-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--cfvi-info-soft);
  color: var(--cfvi-info-ink);
}

.cf-chip--ok {
  background: rgba(16, 185, 129, 0.16);
  color: #047857;
}

.cf-chip--soft {
  background: rgba(11, 18, 32, 0.06);
  color: var(--cfvi-ink-soft);
}

@keyframes cf-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 720px) {
  .cf-device-desk {
    transform: rotateX(4deg) rotateY(0) rotateZ(0);
  }
  .cf-float-card--a {
    top: auto;
    bottom: -12%;
    inset-inline-start: 4%;
  }
  .cf-float-card--b {
    display: none;
  }
  .cf-hero__stage {
    margin-bottom: 2.5rem;
  }
}

/* Phone accent in hero (mobile home) */
.cf-phone {
  position: absolute;
  z-index: 4;
  width: min(148px, 28vw);
  bottom: -8%;
  inset-inline-start: -2%;
  border-radius: 22px;
  padding: 8px;
  background: #0b1220;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  transform: rotate(-8deg);
  animation: cf-float 8s ease-in-out infinite 0.6s;
}

.cf-phone__screen {
  border-radius: 14px;
  overflow: hidden;
  background: var(--cfvi-bg);
  aspect-ratio: 9 / 16;
}

.cf-phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 900px) {
  .cf-phone {
    display: none;
  }
}

/* ——— Product stage sections ——— */
.cf-stage-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 40rem;
}

.cf-stage-head--center {
  text-align: center;
  margin-inline: auto;
  align-items: center;
}

.cf-stage-head--center .cf-lead {
  text-align: center;
}

.cf-product-stage {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(45, 212, 191, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(15, 118, 110, 0.08) 0%, transparent 45%),
    #eef2f7;
  border: 1px solid var(--cfvi-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.cf-product-stage--dark {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(24, 176, 168, 0.28) 0%, transparent 45%),
    linear-gradient(165deg, #0a2d5c 0%, #082048 50%, #001830 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.cf-product-stage--dark .cf-browser {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Split evidence */
.cf-split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 900px) {
  .cf-split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  }
  .cf-split--flip {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  }
  .cf-split--flip .cf-split__copy {
    order: 2;
  }
  .cf-split--flip .cf-split__visual {
    order: 1;
  }
}

.cf-split__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Widget phone composition */
.cf-storefront {
  position: relative;
  display: flex;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem) 0 1.5rem;
}

.cf-storefront__phone {
  position: relative;
  width: min(300px, 78vw);
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, #1a2438 0%, #0b1220 100%);
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 64px rgba(11, 18, 32, 0.28);
}

.cf-storefront__notch {
  width: 96px;
  height: 10px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.cf-storefront__screen {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #f8fafc;
  min-height: 520px;
  padding: 18px 14px 24px;
}

.cf-store-ui__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cf-store-ui__logo {
  font-size: 13px;
  font-weight: 800;
  color: var(--cfvi-ink);
}

.cf-store-ui__cart {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--cfvi-primary-soft);
  color: var(--cfvi-primary-deep);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.cf-store-ui__product {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--cfvi-border);
  box-shadow: var(--cfvi-card-shadow);
  padding: 14px;
  margin-bottom: 14px;
}

.cf-store-ui__swatch {
  height: 140px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, #ccfbf1 0%, #99f6e4 40%, #5eead4 100%);
  margin-bottom: 12px;
}

.cf-store-ui__name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
}

.cf-store-ui__meta {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--cfvi-ink-whisper);
}

.cf-store-ui__price {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--cfvi-primary-deep);
}

.cf-widget-card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 118, 110, 0.18);
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.16);
  padding: 14px;
}

.cf-widget-card__title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--cfvi-ink);
}

.cf-widget-card__hint {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--cfvi-ink-soft);
  line-height: 1.45;
}

.cf-widget-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--cfvi-border);
  background: var(--cfvi-bg);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--cfvi-ink);
  text-align: start;
  cursor: default;
}

.cf-widget-choice--active {
  border-color: rgba(13, 148, 136, 0.45);
  background: rgba(13, 148, 136, 0.08);
  color: var(--cfvi-primary-deep);
}

.cf-storefront__glow {
  position: absolute;
  inset: auto -20% -10% -20%;
  height: 40%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Hero pillars */
.cf-hero__pillars {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.cf-hero__pillars li {
  position: relative;
  padding: 10px 14px;
  padding-inline-start: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.45;
}

.cf-hero__pillars li::before {
  content: "";
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.2);
}

/* Capability cards */
.cf-cap-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cf-cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cf-cap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cf-cap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 20px;
  border-radius: var(--cfvi-card-radius);
  background: #fff;
  border: 1px solid var(--cfvi-border);
  box-shadow: var(--cfvi-card-shadow);
  min-height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cf-cap:hover {
  box-shadow: 0 12px 32px rgba(11, 18, 32, 0.1);
  transform: translateY(-2px);
}

.cf-cap__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--cfvi-primary-soft);
  color: var(--cfvi-primary-deep);
}

.cf-cap:nth-child(even) .cf-cap__icon {
  background: var(--cfvi-secondary);
  color: #5eead4;
}

.cf-cap:nth-child(odd) .cf-cap__icon {
  background: var(--cfvi-primary-soft);
  color: var(--cfvi-primary-deep);
}

.cf-cap__icon svg {
  width: 22px;
  height: 22px;
}

.cf-cap__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--cfvi-ink);
  line-height: 1.35;
}

.cf-cap__body {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--cfvi-ink-soft);
  line-height: 1.6;
}

/* Alive journey flow */
.cf-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

@media (min-width: 960px) {
  .cf-flow {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
  }
}

.cf-flow__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 14px;
  border-radius: var(--cfvi-card-radius);
  background: #fff;
  border: 1px solid var(--cfvi-border);
  box-shadow: var(--cfvi-card-shadow);
  position: relative;
}

.cf-flow__icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(165deg, rgba(13, 148, 136, 0.12), rgba(15, 118, 110, 0.06));
  color: var(--cfvi-primary-deep);
  border: 1px solid rgba(13, 148, 136, 0.18);
}

.cf-flow__icon svg {
  width: 24px;
  height: 24px;
}

.cf-flow__n {
  position: absolute;
  inset-inline-end: -4px;
  top: -4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--cfvi-primary-deep);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}

.cf-flow__title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--cfvi-ink);
}

.cf-flow__body {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--cfvi-ink-soft);
  line-height: 1.55;
  max-width: 18ch;
}

.cf-flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  flex: 0 0 auto;
}

.cf-flow__arrow::before {
  content: "";
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.15), rgba(13, 148, 136, 0.55));
  border-radius: 2px;
}

@media (min-width: 960px) {
  .cf-flow__arrow {
    width: 28px;
    height: auto;
    align-self: center;
  }

  .cf-flow__arrow::before {
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.15), rgba(13, 148, 136, 0.55));
  }

  .cf-flow__arrow::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-inline-start: 7px solid rgba(13, 148, 136, 0.55);
    margin-inline-start: -1px;
  }
}

/* Why cards */
.cf-why-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .cf-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .cf-why-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.cf-why {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  border-radius: var(--cfvi-card-radius);
  background: #fff;
  border: 1px solid var(--cfvi-border);
  box-shadow: var(--cfvi-card-shadow);
  min-height: 100%;
}

.cf-why__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--cfvi-primary-soft);
  color: var(--cfvi-primary-deep);
}

.cf-why__icon svg {
  width: 20px;
  height: 20px;
}

.cf-why h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.cf-why p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--cfvi-ink-soft);
  line-height: 1.55;
}

/* Dashboard composition extras */
.cf-dash-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 20px;
}

.cf-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--cfvi-border);
  box-shadow: var(--cfvi-card-shadow);
  font-size: 12px;
  font-weight: 700;
  color: var(--cfvi-primary-deep);
}

.cf-product-stage--compose {
  position: relative;
}

.cf-compose-card {
  display: none;
  position: absolute;
  z-index: 3;
  width: min(220px, 42%);
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--cfvi-border);
  box-shadow: var(--cfvi-card-shadow-lift);
  backdrop-filter: blur(8px);
}

@media (min-width: 900px) {
  .cf-compose-card {
    display: block;
  }
}

.cf-compose-card--1 {
  inset-inline-start: 4%;
  top: 14%;
}

.cf-compose-card--2 {
  inset-inline-end: 4%;
  bottom: 16%;
}

.cf-compose-card__k {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cfvi-ink-whisper);
  letter-spacing: 0.02em;
}

.cf-compose-card__t {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--cfvi-ink);
  line-height: 1.35;
}

/* Knowledge visual flow */
.cf-kl-flow {
  display: grid;
  gap: 12px;
}

@media (min-width: 860px) {
  .cf-kl-flow {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
  }
}

.cf-kl-node {
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.cf-kl-node__n {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.cf-kl-node h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}

.cf-kl-node p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  opacity: 0.9;
}

.cf-kl-join {
  display: none;
}

@media (min-width: 860px) {
  .cf-kl-join {
    display: block;
    width: 24px;
    align-self: center;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(94, 234, 212, 0.7));
    border-radius: 2px;
  }
}

/* Trust principles */
.cf-trust-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .cf-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .cf-trust-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.cf-trust {
  padding: 20px 18px;
  border-radius: var(--cfvi-card-radius);
  background: #fff;
  border: 1px solid var(--cfvi-border);
  box-shadow: var(--cfvi-card-shadow);
  border-inline-start: 3px solid var(--cfvi-primary);
}

.cf-trust h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
}

.cf-trust p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--cfvi-ink-soft);
  line-height: 1.55;
}

/* Integrations */
.cf-integ {
  display: grid;
  gap: 12px;
}

@media (min-width: 800px) {
  .cf-integ {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cf-integ__card {
  padding: 22px 20px;
  border-radius: var(--cfvi-card-radius);
  background: #fff;
  border: 1px solid var(--cfvi-border);
  box-shadow: var(--cfvi-card-shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-integ__card--live {
  border-color: rgba(13, 148, 136, 0.28);
  box-shadow: 0 8px 28px rgba(15, 118, 110, 0.12);
}

.cf-integ__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--cfvi-ink);
}

.cf-integ__badge {
  align-self: flex-start;
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.cf-integ__badge--plan {
  background: rgba(11, 18, 32, 0.06);
  color: var(--cfvi-ink-soft);
}

.cf-integ__card p {
  margin: 0;
  font-size: 13px;
  color: var(--cfvi-ink-soft);
  line-height: 1.55;
}

/* Knowledge band — mirrors dashboard knowledge surface */
.cf-knowledge {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(24, 176, 168, 0.32) 0%, transparent 45%),
    radial-gradient(ellipse at 100% 100%, rgba(56, 189, 248, 0.14) 0%, transparent 42%),
    linear-gradient(145deg, #0a2d5c 0%, #082048 48%, #001830 100%);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(24, 176, 168, 0.22),
    0 18px 48px rgba(8, 32, 72, 0.32);
}

.cf-knowledge__grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 860px) {
  .cf-knowledge__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }
}

.cf-knowledge__panel {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.cf-knowledge__panel h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}

.cf-knowledge__panel p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  opacity: 0.9;
}

.cf-knowledge .cf-h2 {
  color: #fff;
}

/* Trust / integrations compact */
.cf-cards {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .cf-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cf-card {
  padding: 18px 20px;
  border-radius: var(--cfvi-card-radius);
  background: #fff;
  border: 1px solid var(--cfvi-border);
  box-shadow: var(--cfvi-card-shadow);
}

.cf-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}

.cf-card p {
  margin: 0;
  font-size: 13px;
  color: var(--cfvi-ink-soft);
  line-height: 1.55;
}

.cf-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.cf-list li {
  position: relative;
  padding: 14px 16px 14px 16px;
  padding-inline-start: 44px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--cfvi-border);
  box-shadow: var(--cfvi-card-shadow);
  font-size: 14px;
  font-weight: 600;
  color: var(--cfvi-ink);
}

.cf-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--cfvi-primary);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

.cf-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--cfvi-border);
  box-shadow: var(--cfvi-card-shadow);
}

.cf-row__plat {
  font-weight: 800;
  color: var(--cfvi-ink);
}

.cf-row__status {
  font-size: 13px;
  font-weight: 600;
  color: var(--cfvi-ink-soft);
}

/* FAQ */
.cf-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-faq details {
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--cfvi-border);
  box-shadow: var(--cfvi-card-shadow);
  padding: 4px 18px;
}

.cf-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.4;
  color: var(--cfvi-ink);
}

.cf-faq summary::-webkit-details-marker {
  display: none;
}

.cf-faq details[open] summary {
  color: var(--cfvi-primary-deep);
  border-bottom: 1px solid var(--cfvi-border);
}

.cf-faq p {
  margin: 0;
  padding: 14px 0 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cfvi-ink-soft);
  line-height: 1.7;
}

/* Final CTA */
.cf-final {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 28px;
  background: var(--cfvi-hero-bg);
  color: #fff;
  box-shadow: var(--cfvi-hero-shadow);
}

.cf-final .cf-h2 {
  color: #fff;
}

.cf-final .cf-lead {
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

/* Footer */
.cf-foot {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--cfvi-border);
  background: #fff;
}

.cf-foot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.cf-foot__brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cfvi-primary-deep);
}

.cf-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cf-foot__links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cfvi-ink-soft);
}

.cf-foot__links a:hover {
  background: var(--cfvi-primary-soft);
  color: var(--cfvi-primary-deep);
}

.cf-foot__note {
  margin: 0;
  font-size: 12px;
  color: var(--cfvi-ink-whisper);
}

.cf-foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.cf-ph-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #fff7ed;
  color: #b45309;
  border: 1px solid #fed7aa;
}

/* Reveal / scroll motion */
.cf-reveal {
  animation: cf-rise 0.75s ease-out both;
}

.cf-reveal-delay {
  animation-delay: 0.12s;
}

@keyframes cf-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cf-glass {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(8, 32, 72, 0.14);
}

.cf-product-stage--centerpiece {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(24, 176, 168, 0.22) 0%, transparent 50%),
    linear-gradient(160deg, #0a2d5c 0%, #082048 55%, #001830 100%);
  box-shadow: var(--cfvi-hero-shadow);
}

.cf-product-stage--centerpiece .cf-browser {
  transform: rotateX(4deg) scale(1.02);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

.cf-foot__brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cf-foot__brand-lockup img {
  height: 28px;
  width: auto;
}

@media (prefers-reduced-motion: reduce) {
  .cf-float-card,
  .cf-phone,
  .cf-reveal,
  .cf-reveal-delay {
    animation: none !important;
  }
}

/* ========== Premium Refinement V2 overrides ========== */

body.cf-lp {
  line-height: 1.6;
  background: var(--cfvi-bg);
}

.cf-btn {
  min-height: 42px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.cf-btn:hover,
.cf-btn:focus-visible {
  transform: none;
}

.cf-btn--primary {
  box-shadow: 0 6px 18px rgba(24, 176, 168, 0.22);
}

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

.cf-sec {
  padding: clamp(1.85rem, 4.2vw, 3.25rem) 0;
}

.cf-sec--tight {
  padding: clamp(1.5rem, 3.5vw, 2.5rem) 0;
}

.cf-sec--mint {
  background: var(--cf-mint);
}

.cf-sec--navy-soft {
  background: var(--cf-soft-gray);
}

.cf-sec--surface {
  background: var(--cf-white);
  border-block: 1px solid var(--cfvi-border);
}

.cf-h1 {
  letter-spacing: -0.035em;
  font-weight: 800;
}

.cf-h2 {
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.28;
  margin: 0 0 0.35em;
}

.cf-lead {
  max-width: var(--lp-lead-max);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.65;
  color: var(--cfvi-ink-soft);
}

.cf-lead--on-dark {
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
}

.cf-kicker {
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.cf-stage-head {
  gap: 8px;
  margin-bottom: 4px;
}

.cf-stage-head--center .cf-lead {
  margin-inline: auto;
}

/* Hero: one focal path */
.cf-hero {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2.25rem, 5vw, 3.5rem);
}

.cf-hero__atmosphere {
  background:
    radial-gradient(ellipse at 78% 10%, rgba(24, 176, 168, 0.28) 0%, transparent 42%),
    radial-gradient(ellipse at 10% 90%, rgba(8, 32, 72, 0.35) 0%, transparent 48%);
}

.cf-brand-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background:
    radial-gradient(circle at 88% 22%, transparent 0 58px, rgba(255, 255, 255, 0.35) 59px 61px, transparent 62px),
    radial-gradient(circle at 92% 28%, transparent 0 28px, rgba(24, 176, 168, 0.55) 29px 31px, transparent 32px),
    linear-gradient(120deg, transparent 46%, rgba(255, 255, 255, 0.04) 46.5%, transparent 47%);
  pointer-events: none;
}

.cf-hero__grid {
  gap: clamp(1.25rem, 3vw, 2rem);
}

@media (min-width: 980px) {
  .cf-hero__grid {
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.4fr);
    align-items: center;
  }
}

.cf-hero__copy {
  gap: 14px;
  max-width: 32rem;
}

.cf-hero .cf-h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.25;
  max-width: 16ch;
  margin: 0;
}

.cf-hero__cta-primary {
  min-height: 46px;
  background: var(--cf-teal);
  color: #fff;
  box-shadow: 0 10px 28px rgba(24, 176, 168, 0.28);
}

.cf-hero__cta-primary:hover {
  background: var(--cf-teal-deep);
}

.cf-hero__stage {
  min-height: 280px;
  perspective: 1400px;
}

@media (min-width: 980px) {
  .cf-hero__stage {
    min-height: 400px;
  }
}

.cf-hero__glow {
  background: radial-gradient(circle, rgba(24, 176, 168, 0.22) 0%, transparent 68%);
  filter: blur(24px);
  opacity: 0.9;
}

.cf-device-desk {
  transform: rotateX(5deg) rotateY(-4deg) rotateZ(0.5deg);
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.32));
}

@media (max-width: 720px) {
  .cf-device-desk {
    transform: none;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
  }
}

.cf-float-card {
  animation: none;
  width: min(220px, 54vw);
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.cf-float-card--static {
  animation: none !important;
}

.cf-float-card--a {
  top: auto;
  bottom: 10%;
  inset-inline-start: -2%;
}

.cf-float-card--b,
.cf-phone {
  display: none !important;
}

.cf-cap {
  padding: 16px 16px;
  border-radius: var(--cfvi-card-radius);
  box-shadow: var(--cfvi-card-shadow);
  border-color: var(--cfvi-border);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 0;
}

.cf-cap:hover {
  transform: none;
  border-color: var(--cfvi-border-strong);
  box-shadow: var(--cfvi-card-shadow-lift);
}

.cf-cap__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.cf-cap__icon svg {
  width: 20px;
  height: 20px;
}

.cf-ico--light {
  background: var(--cf-mint) !important;
  color: var(--cf-teal-deep) !important;
}

.cf-ico--brand {
  background: var(--cf-navy) !important;
  color: #7ee7e0 !important;
}

.cf-cap:nth-child(even) .cf-cap__icon,
.cf-cap:nth-child(odd) .cf-cap__icon {
  /* overridden by explicit cf-ico--* */
}

.cf-cap__title {
  font-size: 15px;
}

.cf-cap__body {
  font-size: 12.5px;
  line-height: 1.55;
}

.cf-flow__step {
  padding: 16px 12px;
  box-shadow: var(--cfvi-card-shadow);
}

.cf-flow__icon {
  width: 48px;
  height: 48px;
}

.cf-why,
.cf-trust,
.cf-integ__card,
.cf-card {
  padding: 16px 16px;
  border-radius: var(--cfvi-card-radius);
  box-shadow: var(--cfvi-card-shadow);
}

.cf-why:hover,
.cf-trust:hover,
.cf-integ__card:hover {
  border-color: var(--cfvi-border-strong);
}

.cf-product-stage--centerpiece {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 22px;
}

.cf-product-stage--centerpiece .cf-browser {
  transform: none;
  box-shadow: var(--cfvi-card-shadow-lift);
}

.cf-compose-card {
  box-shadow: 0 10px 28px rgba(8, 32, 72, 0.16);
}

.cf-faq details {
  box-shadow: var(--cfvi-card-shadow);
  border-radius: 12px;
}

.cf-final {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 22px;
  box-shadow: var(--cfvi-hero-shadow);
}

.cf-stack--lg {
  gap: var(--cfvi-space-lg);
}

.cf-reveal {
  animation: none;
}

@media (min-width: 980px) {
  .cf-hero__copy {
    animation: cf-rise 0.55s ease-out both;
  }
}

@media (max-width: 720px) {
  .cf-hero .cf-h1 {
    max-width: none;
  }

  .cf-float-card--a {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 12px;
    box-shadow: var(--cfvi-card-shadow);
  }

  .cf-hero__stage {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .cf-cap-grid {
    gap: 10px;
  }
}

/* ========== Brand Identity & Premium UX Polish ========== */

:root {
  --cf-ds-radius: 14px;
  --cf-ds-pad: 14px 16px;
  --cf-ds-border: 1px solid rgba(8, 32, 72, 0.08);
  --cf-ds-shadow: 0 1px 2px rgba(8, 32, 72, 0.04), 0 6px 18px rgba(8, 32, 72, 0.05);
  --cf-ds-shadow-hover: 0 2px 4px rgba(8, 32, 72, 0.05), 0 12px 28px rgba(8, 32, 72, 0.08);
}

/* Unified card system */
.cf-ds-card,
.cf-cap,
.cf-why,
.cf-trust,
.cf-flow__step,
.cf-integ__card,
.cf-card,
.cf-insight,
.cf-compose-card,
.cf-faq details {
  border-radius: var(--cf-ds-radius);
  border: var(--cf-ds-border);
  box-shadow: var(--cf-ds-shadow);
  background: var(--cf-white);
}

.cf-cap,
.cf-why,
.cf-trust,
.cf-flow__step,
.cf-integ__card,
.cf-card {
  padding: var(--cf-ds-pad);
}

.cf-cap:hover,
.cf-why:hover,
.cf-trust:hover,
.cf-integ__card:hover,
.cf-flow__step:hover {
  transform: none;
  box-shadow: var(--cf-ds-shadow-hover);
  border-color: rgba(8, 32, 72, 0.12);
}

/* Density −20–25% */
.cf-sec {
  padding: clamp(1.45rem, 3.4vw, 2.55rem) 0;
}

.cf-sec--tight {
  padding: clamp(1.2rem, 2.8vw, 2rem) 0;
}

.cf-stack--lg {
  gap: 18px;
}

.cf-hero {
  padding: clamp(1.4rem, 3.2vw, 2.25rem) 0 clamp(1.75rem, 4vw, 2.75rem);
}

.cf-nav__in {
  min-height: 56px;
}

/* Brand illustration (logo geometry, not logo paste) */
.cf-brand-illo {
  position: absolute;
  inset-inline-end: -6%;
  top: -8%;
  width: min(58vw, 560px);
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 900px) {
  .cf-brand-illo {
    width: min(90vw, 420px);
    opacity: 0.45;
    inset-inline-end: -18%;
    top: auto;
    bottom: -12%;
  }
}

.cf-hero__atmosphere {
  overflow: hidden;
}

.cf-hero__grid {
  position: relative;
  z-index: 1;
}

/* Clean product stage — no browser chrome */
.cf-product {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(8, 32, 72, 0.06),
    0 24px 56px rgba(0, 0, 0, 0.28);
  transform: none;
}

.cf-product__shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top right;
}

.cf-product--wide .cf-product__shot {
  aspect-ratio: 16 / 9.4;
}

.cf-hero__stage {
  position: relative;
  min-height: 0;
  perspective: none;
}

.cf-hero__glow,
.cf-device-desk,
.cf-float-card,
.cf-phone {
  display: none !important;
}

.cf-insight {
  position: absolute;
  z-index: 2;
  inset-inline-start: 4%;
  bottom: 8%;
  width: min(230px, 52%);
  padding: 12px 14px;
  color: var(--cfvi-ink);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.cf-insight__label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cfvi-ink-whisper);
}

.cf-insight__title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.cf-insight__body {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--cfvi-ink-soft);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .cf-insight {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 12px;
    box-shadow: var(--cf-ds-shadow);
  }
}

/* Dashboard showcase stage */
.cf-product-stage--lite {
  position: relative;
  padding: clamp(0.75rem, 2vw, 1.15rem);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(24, 176, 168, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--cf-soft-gray) 0%, #fff 100%);
  border: 1px solid var(--cfvi-border);
  box-shadow: none;
}

.cf-product-stage--lite .cf-product {
  box-shadow: var(--cf-ds-shadow-hover);
  border-color: var(--cfvi-border);
}

.cf-product-stage--centerpiece {
  /* superseded by lite stage */
  padding: clamp(0.75rem, 2vw, 1.15rem);
}

.cf-compose-card {
  background: rgba(255, 255, 255, 0.96);
}

/* Process flow — shorter */
.cf-flow__step {
  min-height: 0;
  gap: 6px;
  padding: 12px 10px;
}

.cf-flow__icon {
  width: 40px;
  height: 40px;
}

.cf-flow__icon svg {
  width: 18px;
  height: 18px;
}

.cf-flow__n {
  width: 18px;
  height: 18px;
  font-size: 10px;
}

.cf-flow__title {
  font-size: 13px;
}

.cf-flow__body {
  font-size: 11.5px;
  max-width: 16ch;
  line-height: 1.45;
}

.cf-flow__arrow {
  height: 18px;
}

@media (min-width: 960px) {
  .cf-flow__arrow {
    width: 18px;
  }
}

.cf-cap__title {
  font-size: 14px;
}

.cf-cap__body {
  font-size: 12px;
}

.cf-why h3,
.cf-trust h3 {
  font-size: 13px;
}

.cf-why p,
.cf-trust p {
  font-size: 12px;
}

.cf-final {
  padding: clamp(1.4rem, 3.2vw, 2rem);
  border-radius: 20px;
}

.cf-knowledge {
  padding: clamp(1.15rem, 2.8vw, 1.75rem);
  border-radius: 20px;
}

.cf-kl-node {
  padding: 14px 14px;
}

.cf-dash-highlights {
  margin-bottom: 14px;
}

/* ========== Landing V4 — Hero First (hero only) ========== */
.cf-hero.cf-hero--v4 {
  isolation: isolate;
  padding: clamp(2.75rem, 7vw, 5.25rem) 0 clamp(3.25rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 70% 55% at 78% -8%, rgba(24, 176, 168, 0.34) 0%, transparent 58%),
    radial-gradient(ellipse 45% 40% at 8% 100%, rgba(56, 189, 248, 0.1) 0%, transparent 55%),
    linear-gradient(168deg, #0c3368 0%, #082048 44%, #03101f 100%);
}

.cf-hero--v4 .cf-hero__atmosphere {
  overflow: hidden;
  background: none;
}

.cf-hero--v4 .cf-hero__beam {
  position: absolute;
  inset-inline-end: -12%;
  top: -30%;
  width: min(72vw, 720px);
  height: min(72vw, 720px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 176, 168, 0.38) 0%, rgba(24, 176, 168, 0.08) 38%, transparent 68%);
  filter: blur(8px);
  opacity: 0.95;
}

.cf-hero--v4 .cf-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 28%),
    radial-gradient(ellipse 90% 50% at 50% 110%, rgba(0, 0, 0, 0.35) 0%, transparent 60%);
  pointer-events: none;
}

.cf-hero--v4 .cf-brand-illo {
  opacity: 0.28;
  filter: blur(0.2px);
  mix-blend-mode: screen;
  inset-inline-end: -10%;
  top: -4%;
  width: min(52vw, 480px);
}

.cf-hero--v4 .cf-hero__grid {
  gap: clamp(2rem, 5vw, 3.25rem);
  align-items: center;
}

@media (min-width: 980px) {
  .cf-hero--v4 .cf-hero__grid {
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.45fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.cf-hero--v4 .cf-hero__copy {
  gap: 18px;
  max-width: 34rem;
}

.cf-hero--v4 .cf-kicker--on-dark {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #5eead4;
  opacity: 0.95;
}

.cf-hero--v4 .cf-h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  max-width: 15ch;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.cf-hero--v4 .cf-lead--on-dark {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.7;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.cf-hero--v4 .cf-hero__cta-row {
  margin-top: 10px;
  gap: 12px;
  align-items: center;
}

.cf-hero--v4 .cf-hero__cta-primary {
  min-height: 52px;
  padding-inline: 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  background: var(--cf-teal);
  color: #fff;
  border-color: transparent;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 14px 36px rgba(24, 176, 168, 0.38);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cf-hero--v4 .cf-hero__cta-primary:hover {
  background: var(--cf-teal-deep);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 18px 42px rgba(24, 176, 168, 0.45);
}

.cf-hero--v4 .cf-hero__cta-secondary {
  min-height: 52px;
  padding-inline: 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.cf-hero--v4 .cf-hero__cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.cf-hero--v4 .cf-hero__stage {
  position: relative;
  min-height: 0;
  perspective: none;
  padding-bottom: 1.25rem;
}

.cf-hero--v4 .cf-hero__glow {
  display: block !important;
  position: absolute;
  inset: 18% 6% -8%;
  border-radius: 40%;
  background: radial-gradient(circle, rgba(24, 176, 168, 0.42) 0%, rgba(24, 176, 168, 0.08) 45%, transparent 70%);
  filter: blur(28px);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.cf-hero--v4 .cf-hero__frame {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  transform: none;
  transform-style: flat;
}

.cf-hero--v4 .cf-hero__frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: linear-gradient(180deg, rgba(10, 22, 42, 0.92) 0%, rgba(8, 18, 34, 0.88) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cf-hero--v4 .cf-hero__frame-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.cf-hero--v4 .cf-hero__frame-dot:nth-child(1) { background: #ff5f57; }
.cf-hero--v4 .cf-hero__frame-dot:nth-child(2) { background: #febc2e; }
.cf-hero--v4 .cf-hero__frame-dot:nth-child(3) { background: #28c840; }

.cf-hero--v4 .cf-hero__frame-url {
  margin-inline-start: 8px;
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.01em;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.cf-hero--v4 .cf-product {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.32),
    0 6px 16px rgba(0, 0, 0, 0.18);
  transform: none;
  background: transparent;
}

.cf-hero--v4 .cf-product__shot {
  aspect-ratio: 16 / 10.1;
  object-fit: cover;
  object-position: top right;
  display: block;
  background: transparent;
}

.cf-hero--v4 .cf-insight {
  position: absolute;
  z-index: 3;
  inset-inline-start: 3%;
  bottom: 0;
  width: min(248px, 54%);
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--cfvi-ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.cf-hero--v4 .cf-insight__label {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.cf-hero--v4 .cf-insight__title {
  font-size: 14px;
}

@media (max-width: 979px) {
  .cf-hero--v4 .cf-hero__frame {
    transform: none;
  }

  .cf-hero--v4 .cf-h1 {
    max-width: 18ch;
  }
}

@media (max-width: 720px) {
  .cf-hero.cf-hero--v4 {
    padding: 2rem 0 2.5rem;
  }

  .cf-hero--v4 .cf-brand-illo {
    opacity: 0.16;
    width: min(88vw, 360px);
    bottom: -8%;
    top: auto;
  }

  .cf-hero--v4 .cf-h1 {
    max-width: none;
    font-size: clamp(1.7rem, 7.2vw, 2.15rem);
  }

  .cf-hero--v4 .cf-lead--on-dark {
    max-width: none;
  }

  .cf-hero--v4 .cf-hero__cta-row {
    width: 100%;
  }

  .cf-hero--v4 .cf-hero__cta-primary,
  .cf-hero--v4 .cf-hero__cta-secondary {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 48px;
  }

  .cf-hero--v4 .cf-hero__stage {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }

  .cf-hero--v4 .cf-insight {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  }

  .cf-hero--v4 .cf-hero__glow {
    inset: 28% 4% 18%;
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cf-hero--v4 .cf-hero__cta-primary {
    transition: none;
  }

  .cf-hero--v4 .cf-hero__cta-primary:hover {
    transform: none;
  }
}

/* ========== Landing Final Polish V1 ========== */
.cf-nav__brand {
  gap: 10px;
  align-items: center;
}

.cf-nav__logo--mark {
  height: 34px;
  width: 34px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
}

.cf-brand-wordmark {
  line-height: 1;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: baseline;
}

.cf-hero--v4 .cf-hero__frame-url {
  display: none;
}

.cf-hero--v4 .cf-hero__frame-brand {
  margin-inline-start: 8px;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.01em;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.cf-hero--v4 .cf-hero__frame-brand img {
  width: 14px;
  height: 14px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.cf-foot__brand-lockup {
  gap: 10px;
  align-items: center;
}

.cf-foot__brand-lockup img {
  height: 28px;
  width: 28px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
}

.cf-store-ui__mark {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter: none;
}

/* ========== Landing Final Corrections V1 ========== */
.cf-hero--v4 .cf-hero__frame-bar,
.cf-hero--v4 .cf-hero__frame-brand,
.cf-hero--v4 .cf-hero__frame-dot {
  display: none !important;
}

@media (min-width: 720px) {
  .cf-nav__logo--mark {
    height: 36px;
    width: 36px;
  }
}

/* Phone illustration — brand colors + headset */
.cf-storefront__phone {
  background: linear-gradient(160deg, #0f2a52 0%, #082048 55%, #041428 100%);
  border-color: rgba(24, 176, 168, 0.28);
  box-shadow:
    0 0 0 1px rgba(8, 32, 72, 0.35),
    0 32px 64px rgba(8, 32, 72, 0.32);
}

.cf-storefront__notch {
  background: rgba(255, 255, 255, 0.12);
}

.cf-store-ui__logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cf-navy);
}

.cf-store-ui__mark {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
}

.cf-store-ui__cart {
  background: rgba(24, 176, 168, 0.12);
  color: var(--cf-teal-deep);
}

.cf-store-ui__swatch {
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 28%, rgba(24, 176, 168, 0.35) 0%, transparent 48%),
    linear-gradient(145deg, #dce8f5 0%, #b7cfe6 42%, #082048 100%);
}

.cf-store-ui__headset {
  width: 54px;
  height: 54px;
  color: rgba(255, 255, 255, 0.88);
  filter: drop-shadow(0 6px 12px rgba(8, 32, 72, 0.28));
}

.cf-store-ui__price {
  color: var(--cf-navy);
}

.cf-widget-card {
  border-color: rgba(8, 32, 72, 0.1);
  box-shadow: 0 16px 36px rgba(8, 32, 72, 0.12);
}

.cf-widget-choice--active {
  border-color: rgba(24, 176, 168, 0.45);
  background: rgba(24, 176, 168, 0.1);
  color: var(--cf-teal-deep);
}

.cf-storefront__glow {
  background: radial-gradient(circle, rgba(24, 176, 168, 0.22) 0%, transparent 70%);
}

/* ========== Landing Final Layout Corrections V1 ========== */
.cf-hero--v4 .cf-hero__stage,
.cf-hero__stage {
  perspective: none !important;
}

.cf-hero--v4 .cf-hero__frame,
.cf-hero--v4 .cf-product,
.cf-device-desk,
.cf-product-stage--centerpiece .cf-browser {
  transform: none !important;
  transform-style: flat !important;
}

.cf-brand-wordmark {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-flex;
  align-items: baseline;
}

.cf-nav__brand,
.cf-foot__brand-lockup {
  unicode-bidi: isolate;
}

/* Capabilities — responsive grid */
.cf-cap-grid {
  display: grid !important;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cf-cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cf-cap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* How it works — responsive grid (steps only; arrows hidden) */
.cf-flow {
  display: grid !important;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 14px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.cf-flow__arrow {
  display: none !important;
}

.cf-flow__step {
  width: 100%;
  min-width: 0;
}

@media (min-width: 640px) {
  .cf-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cf-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Why CartFlow — responsive grid */
.cf-why-grid {
  display: grid !important;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cf-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .cf-why-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ========== Final Landing Layout Polish ========== */
:root {
  --lp-max: 1280px;
  --lp-pad: clamp(0.85rem, 2.2vw, 1.5rem);
  --cf-feature-pad: 28px 22px 26px;
  --cf-feature-gap: 14px;
  --cf-feature-min-h: 236px;
  --cf-feature-icon: 58px;
  --cf-feature-icon-svg: 26px;
  --cf-feature-title: 15px;
  --cf-feature-body: 12.5px;
  --cf-feature-radius: 16px;
}

html,
body.cf-lp {
  overflow-x: clip;
  max-width: 100%;
}

body.cf-lp {
  width: 100%;
}

.cf-shell,
.cf-nav__in {
  width: 100%;
  max-width: var(--lp-max);
  margin-inline: auto;
  padding-inline: var(--lp-pad);
  box-sizing: border-box;
}

.cf-nav,
.cf-sec,
.cf-hero,
.cf-foot {
  width: 100%;
}

/* Shared feature-card language = كيف يعمل CartFlow */
.cf-flow__step,
.cf-cap,
.cf-why,
.cf-faq details {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  gap: var(--cf-feature-gap);
  padding: var(--cf-feature-pad);
  min-height: var(--cf-feature-min-h);
  border-radius: var(--cf-feature-radius);
  background: #fff;
  border: 1px solid var(--cfvi-border);
  box-shadow: var(--cfvi-card-shadow);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.cf-flow__icon,
.cf-cap__icon,
.cf-why__icon {
  width: var(--cf-feature-icon);
  height: var(--cf-feature-icon);
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(165deg, rgba(24, 176, 168, 0.14), rgba(8, 32, 72, 0.06));
  color: var(--cf-teal-deep);
  border: 1px solid rgba(24, 176, 168, 0.2);
}

.cf-flow__icon svg,
.cf-cap__icon svg,
.cf-why__icon svg {
  width: var(--cf-feature-icon-svg);
  height: var(--cf-feature-icon-svg);
}

.cf-cap:nth-child(even) .cf-cap__icon,
.cf-ico--brand {
  background: var(--cf-navy) !important;
  color: #7ee7e0 !important;
  border-color: rgba(255, 255, 255, 0.08);
}

.cf-cap:nth-child(odd) .cf-cap__icon,
.cf-ico--light {
  background: linear-gradient(165deg, rgba(24, 176, 168, 0.14), rgba(8, 32, 72, 0.06)) !important;
  color: var(--cf-teal-deep) !important;
}

.cf-flow__title,
.cf-cap__title,
.cf-why h3,
.cf-faq summary {
  margin: 0;
  font-size: var(--cf-feature-title);
  font-weight: 800;
  line-height: 1.35;
  color: var(--cfvi-ink);
  max-width: 18ch;
}

.cf-flow__body,
.cf-cap__body,
.cf-why p,
.cf-faq p {
  margin: 0;
  font-size: var(--cf-feature-body);
  font-weight: 500;
  line-height: 1.55;
  color: var(--cfvi-ink-soft);
  max-width: 20ch;
}

.cf-flow__n {
  width: 22px;
  height: 22px;
  font-size: 11px;
}

/* Grids — 2-up mobile, 2 tablet, 4 desktop where appropriate */
.cf-cap-grid,
.cf-flow,
.cf-why-grid,
.cf-faq {
  display: grid !important;
  gap: 16px;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cf-flow__arrow {
  display: none !important;
}

@media (min-width: 720px) {
  .cf-cap-grid,
  .cf-flow,
  .cf-why-grid,
  .cf-faq {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cf-cap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cf-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .cf-why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cf-faq {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .cf-cap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cf-why-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* FAQ card rhythm (same shell as feature cards) */
.cf-faq {
  flex-direction: unset;
}

.cf-faq details {
  padding: 22px 18px 20px;
  min-height: 180px;
}

.cf-faq summary {
  padding: 0;
  max-width: 22ch;
  cursor: pointer;
  list-style: none;
}

.cf-faq summary::-webkit-details-marker {
  display: none;
}

.cf-faq details[open] summary {
  color: var(--cfvi-primary-deep);
  border-bottom: 1px solid var(--cfvi-border);
  padding-bottom: 10px;
  margin-bottom: 4px;
}

.cf-faq p {
  padding: 0;
  max-width: 28ch;
}

@media (max-width: 380px) {
  .cf-cap-grid,
  .cf-flow,
  .cf-why-grid,
  .cf-faq {
    grid-template-columns: 1fr;
  }

  .cf-flow__step,
  .cf-cap,
  .cf-why,
  .cf-faq details {
    min-height: 0;
  }
}

/* ========== Landing Compactness Corrections V1 ========== */

/* 1) Mobile insight card — compact supporting card */
.cf-insight {
  padding: 8px 10px !important;
  width: min(210px, 48%) !important;
  bottom: 6% !important;
}

.cf-insight__label {
  margin: 0 0 2px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
}

.cf-insight__title {
  margin: 0 0 3px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

.cf-insight__body {
  margin: 0 0 6px !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

.cf-insight .cf-chip {
  min-height: 18px;
  padding: 1px 8px;
  font-size: 10px;
}

@media (max-width: 720px) {
  .cf-insight {
    width: 100% !important;
    margin-top: 8px !important;
    padding: 8px 10px !important;
    box-shadow: var(--cf-ds-shadow) !important;
  }
}

/* 2) Hero CTA — primary only (secondary removed in HTML) */
.cf-hero--v4 .cf-hero__cta-row {
  margin-top: 8px;
}

.cf-hero--v4 .cf-hero__cta-primary {
  color: #fff !important;
  background: var(--cf-teal) !important;
}

/* 3 + 6) Compact cards + shorter page */
:root {
  --cf-ds-pad: 10px 12px;
}

.cf-sec {
  padding: clamp(1.05rem, 2.6vw, 1.85rem) 0 !important;
}

.cf-sec--tight {
  padding: clamp(0.9rem, 2.2vw, 1.5rem) 0 !important;
}

.cf-stack--lg {
  gap: 12px !important;
}

.cf-hero.cf-hero--v4 {
  padding: clamp(1.75rem, 4.5vw, 3.25rem) 0 clamp(2rem, 5vw, 3.5rem) !important;
}

.cf-cap,
.cf-why,
.cf-trust,
.cf-flow__step,
.cf-integ__card,
.cf-card {
  padding: 10px 12px !important;
  gap: 6px !important;
  min-height: 0 !important;
}

.cf-cap__icon,
.cf-why__icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
}

.cf-cap__icon svg,
.cf-why__icon svg {
  width: 16px !important;
  height: 16px !important;
}

.cf-cap__title,
.cf-why h3,
.cf-trust h3,
.cf-flow__title {
  font-size: 13px !important;
  line-height: 1.3 !important;
}

.cf-cap__body,
.cf-why p,
.cf-trust p,
.cf-flow__body {
  font-size: 11.5px !important;
  line-height: 1.4 !important;
  max-width: none !important;
}

.cf-flow__step {
  padding: 10px 8px !important;
}

.cf-flow__icon {
  width: 36px !important;
  height: 36px !important;
}

.cf-flow__body {
  max-width: 15ch !important;
}

.cf-cap-grid,
.cf-why-grid,
.cf-trust-grid {
  gap: 8px !important;
}

.cf-faq details {
  padding: 2px 12px !important;
}

.cf-final {
  padding: clamp(1.15rem, 2.8vw, 1.65rem) !important;
}

/* 4) قرارات تشغيلية مستدامة — compact horizontal band */
.cf-feature-band.cf-why {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start;
  text-align: start !important;
  gap: 12px !important;
  width: 100%;
  min-height: 0 !important;
  padding: 12px 14px !important;
  margin-top: 2px;
}

.cf-feature-band__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cf-feature-band .cf-why__icon {
  flex: 0 0 auto;
  width: 34px !important;
  height: 34px !important;
}

.cf-feature-band h3 {
  margin: 0;
  font-size: 13px !important;
}

.cf-feature-band p {
  margin: 0;
  font-size: 11.5px !important;
  max-width: none !important;
  text-align: start;
}

/* 5) Final white CTA — readable contrast (override body.cf-lp a inherit) */
body.cf-lp .cf-final a.cf-btn.cf-btn--on-dark,
body.cf-lp a.cf-btn.cf-btn--on-dark:not(.cf-hero__cta-primary) {
  background: #ffffff !important;
  color: #082048 !important;
  border-color: transparent !important;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

body.cf-lp .cf-final a.cf-btn.cf-btn--on-dark:hover {
  background: #f4f7fa !important;
  color: #082048 !important;
}

@media (min-width: 1024px) {
  .cf-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .cf-why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .cf-cap,
  .cf-why,
  .cf-flow__step,
  .cf-faq details {
    padding: 10px 12px !important;
    gap: 6px !important;
  }
}

/* ========== Landing Layout Final Adjustments V1 ========== */
.cf-nav__brand {
  gap: 11px;
  align-items: center;
  min-height: 44px;
}

.cf-nav__logo--mark {
  height: 38px;
  width: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.cf-brand-wordmark {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

@media (min-width: 720px) {
  .cf-nav__logo--mark {
    height: 40px;
    width: 40px;
  }

  .cf-brand-wordmark {
    font-size: 1.34rem;
  }
}

/* Full-width bands below grids */
.cf-feature-band {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start;
  text-align: start !important;
  gap: 16px !important;
  width: 100%;
  min-height: 0 !important;
  padding: 18px 20px !important;
  margin-top: 4px;
}

.cf-feature-band__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cf-feature-band .cf-flow__title,
.cf-feature-band h3,
.cf-feature-band .cf-flow__body,
.cf-feature-band p {
  max-width: none;
  text-align: start;
}

.cf-feature-band .cf-flow__icon,
.cf-feature-band .cf-why__icon {
  flex: 0 0 auto;
}

@media (min-width: 1024px) {
  .cf-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .cf-why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  /* Compact desktop cards — smallest practical readable size */
  :root {
    --cf-feature-pad: 16px 14px 16px;
    --cf-feature-gap: 8px;
    --cf-feature-min-h: 0;
    --cf-feature-icon: 44px;
    --cf-feature-icon-svg: 20px;
    --cf-feature-title: 13.5px;
    --cf-feature-body: 12px;
  }

  .cf-flow__step,
  .cf-cap,
  .cf-why,
  .cf-faq details {
    min-height: 0;
    padding: 16px 14px;
    gap: 8px;
  }

  .cf-flow__body,
  .cf-cap__body,
  .cf-why p {
    max-width: 18ch;
  }

  .cf-faq details {
    min-height: 0;
    padding: 14px 14px 12px;
  }
}

/* ========== Landing Final Visual Polish V1 ========== */
:root {
  --cf-mint: #f4f7fa; /* retire washed mint — Dashboard page bg */
  --cf-soft-gray: #eef1f6;
  --cf-dash-card-radius: 16px;
  --cf-dash-card-pad: 12px 14px;
  --cf-dash-card-shadow: 0 4px 24px rgba(11, 18, 32, 0.07);
  --cf-dash-card-border: 1px solid rgba(11, 18, 32, 0.08);
}

/* Section backgrounds — navy/teal system, no pale green wash */
.cf-sec--mint,
.cf-sec--navy-soft {
  background: var(--cf-soft-gray) !important;
}

.cf-sec--surface {
  background: #ffffff !important;
}

body.cf-lp {
  background: #f4f7fa !important;
}

/* Light icon containers — teal soft, not mint fill */
.cf-ico--light {
  background: rgba(24, 176, 168, 0.1) !important;
  color: #0e8e88 !important;
}

.cf-ico--brand {
  background: #082048 !important;
  color: #7ee7e0 !important;
}

.cf-why__icon,
.cf-flow__icon,
.cf-cap__icon:not(.cf-ico--brand):not(.cf-ico--light) {
  background: rgba(24, 176, 168, 0.1) !important;
  color: #0e8e88 !important;
}

.cf-flow__n {
  background: #082048 !important;
  color: #fff !important;
}

.cf-kicker {
  color: #0e8e88 !important;
}

.cf-kicker--on-dark {
  color: rgba(126, 231, 224, 0.92) !important;
}

/* Dashboard-scale insight card (content cards, no sidebar chrome) */
.cf-insight,
.cf-hero--v4 .cf-insight {
  width: min(212px, 44%) !important;
  padding: var(--cf-dash-card-pad) !important;
  border-radius: var(--cf-dash-card-radius) !important;
  background: #ffffff !important;
  border: var(--cf-dash-card-border) !important;
  box-shadow: var(--cf-dash-card-shadow) !important;
  backdrop-filter: none !important;
  bottom: 8% !important;
}

.cf-insight__label,
.cf-hero--v4 .cf-insight__label {
  margin: 0 0 2px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  color: #8b95a8 !important;
  line-height: 1.2 !important;
}

.cf-insight__title,
.cf-hero--v4 .cf-insight__title {
  margin: 0 0 4px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: #082048 !important;
}

.cf-insight__body,
.cf-hero--v4 .cf-insight__body {
  margin: 0 0 8px !important;
  font-size: 11.5px !important;
  line-height: 1.4 !important;
  color: #3d4a63 !important;
}

.cf-insight .cf-chip {
  min-height: 20px !important;
  padding: 2px 8px !important;
  font-size: 10px !important;
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border-radius: 999px !important;
}

@media (max-width: 720px) {
  .cf-insight,
  .cf-hero--v4 .cf-insight {
    width: 100% !important;
    margin-top: 10px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    box-shadow: var(--cf-dash-card-shadow) !important;
  }
}

/* Cards / feature sections — Dashboard white surface language */
.cf-cap,
.cf-why,
.cf-trust,
.cf-flow__step,
.cf-integ__card,
.cf-card,
.cf-faq details,
.cf-feature-band {
  background: #ffffff !important;
  border: var(--cf-dash-card-border) !important;
  box-shadow: var(--cf-dash-card-shadow) !important;
}

.cf-product-stage--lite {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(24, 176, 168, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #eef1f6 0%, #ffffff 100%) !important;
}

/* ========== Landing Mobile Visual Correction V1 (mobile only) ========== */
@media (max-width: 720px) {
  /* Decision card = Dashboard main content panel width (not full mock / not over sidebar) */
  .cf-hero--v4 .cf-hero__stage {
    align-items: stretch;
  }

  .cf-insight,
  .cf-hero--v4 .cf-insight {
    position: relative !important;
    inset: auto !important;
    width: 78% !important;
    max-width: none !important;
    margin-top: 10px !important;
    margin-inline-start: auto !important; /* RTL: leave right sidebar column clear */
    margin-inline-end: 0 !important;
    align-self: flex-end !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    box-shadow: var(--cf-dash-card-shadow) !important;
  }

  .cf-insight__label,
  .cf-hero--v4 .cf-insight__label {
    font-size: 10px !important;
  }

  .cf-insight__title,
  .cf-hero--v4 .cf-insight__title {
    font-size: 12.5px !important;
  }

  .cf-insight__body,
  .cf-hero--v4 .cf-insight__body {
    font-size: 11px !important;
    margin-bottom: 8px !important;
  }

  /* Replace pale/mint greens with navy + teal platform surfaces (not plain white) */
  body.cf-lp {
    background: #e6eef8 !important;
  }

  .cf-sec--mint,
  .cf-sec--navy-soft {
    background:
      linear-gradient(
        165deg,
        rgba(8, 32, 72, 0.11) 0%,
        rgba(24, 176, 168, 0.14) 48%,
        #e6eef8 100%
      ) !important;
  }

  .cf-product-stage--lite {
    background:
      radial-gradient(ellipse at 14% 0%, rgba(24, 176, 168, 0.18) 0%, transparent 52%),
      linear-gradient(180deg, #d7e3f2 0%, #e6eef8 100%) !important;
  }

  .cf-store-ui__swatch {
    background:
      radial-gradient(circle at 30% 28%, rgba(24, 176, 168, 0.4) 0%, transparent 48%),
      linear-gradient(145deg, #0a2d5c 0%, #082048 46%, #18B0A8 100%) !important;
  }

  .cf-ico--light,
  .cf-why__icon,
  .cf-flow__icon,
  .cf-cap__icon:not(.cf-ico--brand):not(.cf-ico--light) {
    background: rgba(24, 176, 168, 0.14) !important;
    color: #0e8e88 !important;
  }
}
