/* =========================================================
   RAWABAT ClientFlow — style.css
   Reviewed Conversion Version
========================================================= */

:root {
  --color-bg: #050508;
  --color-card: #0a0a10;
  --color-surface: #111118;
  --color-border: rgba(212, 175, 55, 0.12);
  --color-border-strong: rgba(212, 175, 55, 0.3);
  --color-text: #f4f1ea;
  --color-muted: #9b98a5;
  --color-muted-2: #7f7b89;
  --color-gold: #d4af37;
  --color-gold-dark: #b9852d;
  --color-teal: #00d4aa;
  --color-teal-dark: #00a884;
  --color-danger: #ff9b9b;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #128c7e;

  --gradient-gold: linear-gradient(135deg, #d4af37, #fff1bd, #d4af37);
  --gradient-teal: linear-gradient(135deg, #00d4aa, #8dffe8);
  --gradient-btn-gold: linear-gradient(135deg, #d4af37, #b9852d);
  --gradient-btn-teal: linear-gradient(135deg, #00d4aa, #00a884);
  --gradient-card: linear-gradient(145deg, rgba(10, 10, 16, 0.94), rgba(17, 17, 24, 0.9));

  --shadow-card: 0 24px 80px rgba(0, 0, 0, 0.25);
  --shadow-gold: 0 18px 50px rgba(212, 175, 55, 0.25);
  --shadow-teal: 0 18px 50px rgba(0, 212, 170, 0.22);
  --shadow-whatsapp: 0 15px 45px rgba(37, 211, 102, 0.35);

  --radius-pill: 999px;
  --container: 1280px;
  --section-padding: 96px;
  --section-padding-tablet: 76px;
  --section-padding-mobile: 64px;
  --sticky-height: 86px;

  --font-main: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-latin: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  overflow-x: hidden;
  padding-bottom: var(--sticky-height);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid rgba(0, 212, 170, 0.85);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.main-content {
  padding-top: 118px;
}

.section {
  padding-block: var(--section-padding);
}

.section--hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  padding-top: 18px;
}

.section--muted,
.section--lead-form {
  background: rgba(0, 0, 0, 0.2);
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
}

.site-bg__gradients {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 10%, rgba(0, 212, 170, 0.1), transparent 34%),
    radial-gradient(circle at 70% 20%, rgba(212, 175, 55, 0.1), transparent 33%),
    radial-gradient(circle at 50% 90%, rgba(123, 104, 238, 0.08), transparent 38%);
}

.site-bg__grid {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 56px 56px;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-block: 20px;
  transition: 0.3s ease;
}

.site-nav.is-scrolled {
  padding-block: 12px;
  background: rgba(10, 10, 16, 0.84);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav__inner,
.nav__links,
.nav__actions {
  display: flex;
  align-items: center;
}

.nav__inner {
  justify-content: space-between;
  gap: 18px;
}

.nav__links,
.nav__actions {
  gap: 18px;
}

.nav__links {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav__links a {
  transition: color 0.25s ease;
}

.nav__links a:hover {
  color: var(--color-gold);
}

.hero__grid,
.split-grid,
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero__grid {
  min-height: 78vh;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__actions,
.form-actions,
.lead-backup-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.stats-grid {
  display: grid;
  gap: 14px;
}

.stats-grid--hero {
  grid-template-columns: repeat(4, 1fr);
  max-width: 680px;
}

.stats-grid--dashboard {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.cards-grid {
  display: grid;
  gap: 20px;
  margin-top: 56px;
}

.cards-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roi-equation {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.25fr;
  gap: 16px;
  align-items: center;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.lead-grid {
  align-items: start;
  grid-template-columns: 0.9fr 1.1fr;
}

.lead-panel {
  position: sticky;
  top: 110px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-block: 48px;
  background: rgba(0, 0, 0, 0.14);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer__links {
  display: flex;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-teal), var(--color-gold));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__name,
.footer__brand {
  font-family: var(--font-latin);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand__subtitle,
.footer__subtitle,
.footer__copyright {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.footer__brand {
  margin-bottom: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  border: 0;
  min-height: 46px;
  padding: 11px 20px;
  font-weight: 900;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn--large {
  min-height: 58px;
  padding: 15px 28px;
  border-radius: 18px;
  font-size: 1.05rem;
}

.btn--full {
  width: 100%;
}

.btn--gold {
  background: var(--gradient-btn-gold);
  color: var(--color-bg);
  box-shadow: var(--shadow-gold);
}

.btn--teal {
  position: relative;
  background: var(--gradient-btn-teal);
  color: var(--color-bg);
  box-shadow: var(--shadow-teal);
  animation: pulseGlow 2.4s infinite;
}

.btn--outline {
  border: 1px solid rgba(212, 175, 55, 0.32);
  color: var(--color-text);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold:hover {
  box-shadow: 0 24px 70px rgba(212, 175, 55, 0.38);
}

.btn--teal:hover {
  box-shadow: 0 24px 70px rgba(0, 212, 170, 0.34);
}

.btn--outline:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.65);
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(0, 212, 170, 0.25);
  }
  50% {
    box-shadow: 0 0 24px rgba(0, 212, 170, 0.55);
  }
  100% {
    box-shadow: 0 0 0 rgba(0, 212, 170, 0.25);
  }
}

.urgency-bar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #ff4d4d, #ffb36b);
  color: #050508;
  text-align: center;
  font-weight: 900;
  font-size: 0.9rem;
  padding: 7px 12px;
  letter-spacing: 0.2px;
}

.urgency-bar + .site-nav {
  top: 32px;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(212, 175, 55, 0.07);
  color: #e9c75d;
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.tag--teal {
  border-color: rgba(0, 212, 170, 0.2);
  background: rgba(0, 212, 170, 0.07);
  color: var(--color-teal);
}

.hero__title {
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.hero__description {
  max-width: 680px;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.85;
  margin-bottom: 34px;
}

.hero__note {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 800;
  margin: 24px 0 30px;
}

.orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  pointer-events: none;
}

.orb--teal {
  top: 80px;
  right: 32px;
  background: rgba(0, 212, 170, 0.2);
}

.orb--gold {
  bottom: 48px;
  left: 48px;
  width: 380px;
  height: 380px;
  background: rgba(212, 175, 55, 0.15);
}

.phone-frame {
  position: relative;
  max-width: 390px;
  margin-inline: auto;
  border-radius: 42px;
  padding: 16px;
  background: linear-gradient(145deg, #15151d, #060608);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.03), 0 30px 100px rgba(0, 0, 0, 0.55);
}

.phone-screen {
  background: #0b141a;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #111b21;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-header strong,
.phone-header span {
  display: block;
}

.phone-header span {
  color: var(--color-teal);
  font-size: 0.75rem;
}

.phone-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-gold));
  color: #000;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.chat-window {
  min-height: 520px;
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 40%);
}

.msg {
  max-width: 82%;
  border-radius: 18px;
  padding: 12px 14px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.msg--in {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  border-top-right-radius: 5px;
}

.msg--out {
  margin-right: auto;
  background: rgba(0, 212, 170, 0.18);
  color: #eafff9;
  border-top-left-radius: 5px;
  border: 1px solid rgba(0, 212, 170, 0.18);
}

.order-card {
  margin-top: 8px;
  border-radius: 18px;
  padding: 16px;
  background: var(--gradient-card);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.order-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.order-card__top strong {
  color: var(--color-teal);
}

.order-card p {
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.stat-card {
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  background: var(--gradient-card);
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: var(--shadow-card);
}

.stat-card strong {
  display: block;
  font-family: var(--font-latin);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--color-gold);
}

.stat-card span {
  color: var(--color-muted);
  font-size: 0.75rem;
}

.section-head {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.split-grid h2,
.lead-panel h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 20px 0;
}

.section-head p,
.split-grid > div > p,
.lead-panel > p {
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.feature-card,
.dashboard-card,
.pricing-card,
.lead-panel,
.lead-form-card,
.roi-box {
  background: var(--gradient-card);
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: var(--shadow-card);
}

.feature-card {
  border-radius: 26px;
  padding: 28px;
  transition: 0.35s ease;
}

.feature-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-4px);
}

.feature-card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--color-muted);
  line-height: 1.8;
}

.roi-box {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 48px);
  margin-top: 56px;
  text-align: center;
}

.roi-box__orb {
  position: absolute;
  top: -96px;
  right: -96px;
  width: 320px;
  height: 320px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 50%;
  filter: blur(55px);
}

.roi-box__intro {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
  position: relative;
}

.roi-item,
.roi-result {
  border-radius: 24px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.3);
}

.roi-result {
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
}

.roi-item strong,
.roi-result strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-family: var(--font-latin);
  font-weight: 900;
  color: var(--color-teal);
}

.roi-result strong {
  color: var(--color-gold);
}

.roi-item span,
.roi-result span {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.roi-operator {
  color: var(--color-muted);
  font-size: 2rem;
}

.roi-note {
  margin-top: 32px;
  border-radius: 20px;
  padding: 18px;
  background: rgba(0, 212, 170, 0.05);
  border: 1px solid rgba(0, 212, 170, 0.15);
  color: #d8d4df;
}

.roi-note strong {
  color: var(--color-teal);
  font-size: 1.2rem;
}

.check-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.check-item {
  display: flex;
  gap: 16px;
  border-radius: 18px;
  padding: 20px;
  background: var(--gradient-card);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.check-item > span {
  color: var(--color-teal);
  font-size: 1.4rem;
  font-weight: 900;
  flex-shrink: 0;
}

.check-item h3 {
  margin-bottom: 4px;
}

.check-item p {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.dashboard-card {
  border-radius: 36px;
  padding: clamp(24px, 4vw, 32px);
}

.dashboard-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.dashboard-card__head span:not(.tag) {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.orders-list {
  display: grid;
  gap: 14px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.order-row div span {
  display: block;
  color: var(--color-muted);
  font-size: 0.86rem;
  margin-top: 4px;
}

.status--confirmed {
  color: var(--color-teal);
}

.status--pending {
  color: var(--color-gold);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pricing-card {
  position: relative;
  border-radius: 30px;
  padding: 32px;
  transition: 0.3s ease;
}

.pricing-card--featured {
  border: 2px solid var(--color-teal);
  transform: scale(1.04);
  box-shadow: 0 0 44px rgba(0, 212, 170, 0.35);
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--color-teal);
}

.pricing-card--featured:hover {
  transform: translateY(-8px) scale(1.05);
}

.pricing-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: var(--color-teal);
  color: #000;
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 900;
}

.pricing-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.pricing-card > p {
  color: var(--color-muted);
  margin-bottom: 24px;
}

.price {
  margin-bottom: 18px;
}

.price strong {
  font-family: var(--font-latin);
  font-size: clamp(2.8rem, 5vw, 3.4rem);
  color: var(--color-gold);
}

.price--teal strong {
  color: var(--color-teal);
}

.price span {
  color: var(--color-muted);
}

.setup-note {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.setup-note strong {
  color: #ff6b6b;
  animation: softBlink 1.8s infinite;
}

@keyframes softBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.62;
  }
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  color: #d8d4df;
}

.lead-panel,
.lead-form-card {
  border-radius: 34px;
  padding: clamp(24px, 4vw, 36px);
}

.mini-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.mini-proof div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 14px;
  text-align: center;
}

.mini-proof strong {
  display: block;
  color: var(--color-teal);
  font-size: 1.25rem;
  font-family: var(--font-latin);
}

.mini-proof span {
  color: var(--color-muted);
  font-size: 0.75rem;
}

.lead-score-card {
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
}

.lead-score-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.lead-score-card__head span {
  color: #d8d4df;
  font-weight: 900;
  font-size: 0.9rem;
}

.lead-score-card__head strong {
  color: var(--color-teal);
}

.lead-meter {
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.lead-meter__fill {
  height: 100%;
  width: 35%;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-gold), var(--color-teal));
  transition: width 0.35s ease;
}

.lead-score-card p {
  color: var(--color-muted);
  font-size: 0.78rem;
  margin-top: 12px;
}

.lead-label {
  display: block;
  color: #b9b5c3;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.lead-input,
.lead-select,
.lead-textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  color: var(--color-text);
  padding: 15px 16px;
  outline: none;
  transition: 0.25s ease;
}

.lead-textarea {
  resize: vertical;
  min-height: 128px;
}

.lead-select option {
  background: var(--color-card);
  color: var(--color-text);
}

.lead-input:focus,
.lead-select:focus,
.lead-textarea:focus {
  border-color: rgba(0, 212, 170, 0.65);
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.08);
}

.lead-help {
  color: var(--color-muted-2);
  font-size: 0.75rem;
  margin-top: 7px;
}

.lead-error {
  display: none;
  color: var(--color-danger);
  font-size: 0.75rem;
  margin-top: 7px;
}

.form-field.is-invalid .lead-input,
.form-field.is-invalid .lead-select,
.form-field.is-invalid .lead-textarea {
  border-color: rgba(255, 155, 155, 0.75);
}

.form-field.is-invalid .lead-error {
  display: block;
}

.lead-success {
  display: none;
  border: 1px solid rgba(0, 212, 170, 0.25);
  background: rgba(0, 212, 170, 0.08);
  color: #dffdf6;
  border-radius: 22px;
  padding: 16px;
  margin-top: 18px;
  text-align: right;
}

.lead-success.is-visible {
  display: block;
}

.lead-backup-actions {
  margin-top: 28px;
  justify-content: center;
}

.footer__links a {
  color: var(--color-muted);
  transition: color 0.25s ease;
}

.footer__links a:hover {
  color: var(--color-teal);
}

.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 100px;
  z-index: 60;
  width: 62px;
  height: 62px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
  box-shadow: var(--shadow-whatsapp);
  transition: 0.25s ease;
  animation: whatsappBounce 2.4s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.07);
}

@keyframes whatsappBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 70;
  border-top: 2px solid var(--color-teal);
  background: rgba(5, 5, 8, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 -10px 40px rgba(0, 212, 170, 0.2);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}

.sticky-inner {
  max-width: 880px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
}

.sticky-copy {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.5;
}

.text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-teal {
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  :root {
    --section-padding: var(--section-padding-tablet);
  }

  .nav__links {
    display: none;
  }

  .hero__grid,
  .split-grid,
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero__content {
    text-align: center;
  }

  .tag-group,
  .hero__actions {
    justify-content: center;
  }

  .stats-grid--hero {
    margin-inline: auto;
  }

  .cards-grid--three,
  .pricing-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roi-equation {
    grid-template-columns: 1fr;
  }

  .roi-operator {
    display: none;
  }

  .lead-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-mobile);
    --sticky-height: 118px;
  }

  body {
    padding-bottom: var(--sticky-height);
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .main-content {
    padding-top: 128px;
  }

  .site-nav {
    padding-block: 14px;
  }

  .nav__actions {
    display: none;
  }

  .brand__name {
    font-size: 1.08rem;
  }

  .brand__subtitle {
    font-size: 0.68rem;
  }

  .brand__logo-wrap {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .hero__title {
    font-size: clamp(2.1rem, 12vw, 3.25rem);
  }

  .hero__description,
  .section-head p,
  .split-grid > div > p,
  .lead-panel > p {
    font-size: 1rem;
  }

  .hero__actions,
  .form-actions,
  .lead-backup-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .btn,
  .btn--large {
    width: 100%;
  }

  .stats-grid--hero,
  .stats-grid--dashboard,
  .cards-grid--three,
  .pricing-grid,
  .media-grid,
  .lead-form,
  .mini-proof {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    max-width: 360px;
    padding: 12px;
  }

  .chat-window {
    min-height: 480px;
  }

  .msg {
    max-width: 90%;
    font-size: 0.82rem;
  }

  .feature-card,
  .pricing-card,
  .lead-panel,
  .lead-form-card,
  .dashboard-card,
  .roi-box {
    padding: 22px;
    border-radius: 24px;
  }

  .pricing-card--featured,
  .pricing-card--featured:hover,
  .pricing-card:hover {
    transform: none;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    left: 16px;
    bottom: calc(var(--sticky-height) + 14px);
  }

  .sticky-inner {
    grid-template-columns: 1fr;
  }

  .sticky-copy {
    text-align: center;
  }

  .urgency-bar {
    font-size: 0.78rem;
    padding: 7px 10px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .section-head h2,
  .split-grid h2,
  .lead-panel h2 {
    font-size: 1.85rem;
  }

  .phone-frame {
    max-width: 330px;
  }

  .chat-window {
    min-height: 450px;
  }

  .stat-card {
    padding: 14px;
  }

  .sticky-copy {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn--teal,
  .whatsapp-float,
  .setup-note strong {
    animation: none !important;
  }
}

/* =========================================================
   FAQ + Testimonials Sections
========================================================= */
.faq-grid,
.testimonials-grid {
  display: grid;
  gap: 18px;
  margin-top: 56px;
}

.faq-grid {
  max-width: 960px;
  margin-inline: auto;
}

.faq-item,
.testimonial-card {
  background: var(--gradient-card, linear-gradient(145deg, rgba(10, 10, 16, 0.94), rgba(17, 17, 24, 0.9)));
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: var(--shadow-card, 0 24px 80px rgba(0, 0, 0, 0.25));
}

.faq-item {
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  transition: 0.3s ease;
}

.faq-item:hover,
.testimonial-card:hover {
  border-color: rgba(0, 212, 170, 0.35);
  transform: translateY(-3px);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-size: 1.05rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-bg, #050508);
  background: var(--gradient-btn-teal, linear-gradient(135deg, #00d4aa, #00a884));
  font-family: var(--font-latin, system-ui);
  font-weight: 900;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  color: var(--color-muted, #9b98a5);
  line-height: 1.85;
  padding: 0 24px 24px;
  max-width: 820px;
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  border-radius: 26px;
  padding: 26px;
  transition: 0.3s ease;
}

.testimonial-card__top {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.testimonial-card__top strong {
  font-size: 1.08rem;
}

.testimonial-card__top span {
  color: var(--color-muted, #9b98a5);
  font-size: 0.84rem;
}

.testimonial-card__metric {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.22);
  color: var(--color-teal, #00d4aa);
  font-family: var(--font-latin, system-ui), var(--font-main, sans-serif);
  font-weight: 900;
  font-size: 0.86rem;
}

.testimonial-card p {
  color: #d8d4df;
  line-height: 1.85;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    padding: 20px;
    font-size: 0.98rem;
  }

  .faq-item p,
  .testimonial-card {
    padding: 0 20px 20px;
  }

  .testimonial-card {
    padding: 22px;
  }
}

/* =========================================================
   About / Trust Section
========================================================= */
.section--about {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 20px 0;
}

.about-copy p {
  color: var(--muted, #9b98a5);
  font-size: 1.04rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-card {
  display: grid;
  gap: 16px;
  border-radius: 34px;
  padding: clamp(24px, 4vw, 34px);
  background: linear-gradient(145deg, rgba(10,10,16,.94), rgba(17,17,24,.9));
  border: 1px solid rgba(212,175,55,.12);
  box-shadow: var(--shadow-card, 0 24px 80px rgba(0,0,0,.25));
}

.about-card__item {
  border-radius: 22px;
  padding: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.about-card__item strong {
  display: block;
  color: var(--teal, #00d4aa);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.about-card__item span {
  display: block;
  color: var(--muted, #9b98a5);
  line-height: 1.75;
  font-size: .92rem;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-card {
    padding: 22px;
    border-radius: 24px;
  }

  .about-copy p {
    font-size: 1rem;
  }
}

/* =========================================================
   NEW SEO + SMART FORM + MARKET PAGES
========================================================= */

.seo-content {
  position: relative;
}

.seo-content .section-head {
  max-width: 980px;
}

.seo-content p + p {
  margin-top: 18px;
}

.proof-mockup {
  height: 100%;
}

.smart-form-shell {
  position: relative;
  overflow: hidden;
}

.smart-progress {
  margin-bottom: 28px;
}

.smart-progress__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.smart-progress__top span {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.smart-progress__top strong {
  color: var(--color-teal);
  font-family: var(--font-latin);
}

.smart-progress__track {
  width: 100%;
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.smart-progress__bar {
  width: 25%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    135deg,
    var(--color-gold),
    var(--color-teal)
  );
  transition: width .35s ease;
}

.smart-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.smart-step-pill {
  border-radius: 18px;
  padding: 12px;
  text-align: center;
  font-size: .82rem;
  font-weight: 800;
  color: var(--color-muted);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: .25s ease;
}

.smart-step-pill.is-active {
  color: #000;
  background: linear-gradient(
    135deg,
    var(--color-teal),
    #8dffe8
  );
  border-color: transparent;
}

.smart-step {
  display: none;
}

.smart-step.is-active {
  display: block;
}

.smart-step h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.smart-step > p {
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.smart-actions {
  margin-top: 28px;
}

.media-card {
  border-radius: 32px;
  overflow: hidden;
}

.section--markets .feature-card {
  text-align: center;
}

.section--markets .feature-card .btn {
  margin-top: 8px;
}

.section--faq {
  position: relative;
}

.section--reviews {
  position: relative;
}

.footer__links {
  flex-wrap: wrap;
  justify-content: center;
}

.footer__copyright {
  text-align: center;
}

@media (max-width: 1024px) {

  .smart-steps {
    grid-template-columns: repeat(2,1fr);
  }

}

@media (max-width: 768px) {

  .smart-steps {
    grid-template-columns: 1fr;
  }

  .smart-step-pill {
    padding: 14px;
  }

  .smart-progress {
    margin-bottom: 22px;
  }

  .smart-step h3 {
    font-size: 1.25rem;
  }

}

@media (max-width: 480px) {

  .smart-progress__top {
    flex-direction: column;
    align-items: flex-start;
  }

}

/* Saudi page layout fixes */
body {
  overflow-x: hidden;
}

.main-content {
  padding-top: 128px;
}

.site-nav {
  top: 38px;
  z-index: 80;
}

.urgency-bar {
  z-index: 100;
}

.nav__inner {
  min-height: 58px;
}

.hero {
  padding-top: 40px;
}

.section {
  scroll-margin-top: 140px;
}

.sticky-cta {
  z-index: 90;
}

@media (max-width: 768px) {
  .main-content {
    padding-top: 118px;
  }

  .site-nav {
    top: 38px;
  }

  .hero {
    padding-top: 28px;
  }

  .nav__links {
    display: none !important;
  }

  .sticky-cta {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}
