/* ===========================
   موظف SEO — Shared Styles
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:         #07091c;
  --bg-card:    #0d1028;
  --bg-raised:  #131830;
  --bg-section: #0a0d22;
  --gold:       #d4aa4e;
  --gold-light: #e8c96a;
  --gold-dim:   #9a7830;
  --gold-glow:  rgba(212,170,78,0.18);
  --text:       #f0eee6;
  --text-muted: #8a8890;
  --text-dim:   #4a4860;
  --border:     rgba(212,170,78,0.18);
  --border-soft:rgba(255,255,255,0.07);
  --red:        #e05858;
  --radius:     16px;
  --radius-sm:  10px;
}

html {
  direction: rtl;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 4rem);    font-weight: 700; line-height: 1.2; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; }
p  { line-height: 1.75; }

.gold  { color: var(--gold); }
.muted { color: var(--text-muted); }

/* ── Container ── */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* ── Section spacing ── */
section { padding-block: clamp(64px, 9vw, 130px); }

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(to left, transparent, var(--gold-dim), transparent);
  opacity: 0.22;
}

/* ── CTA Button ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #07091c;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  padding: 18px 48px;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(212,170,78,0.25);
  text-align: center;
  line-height: 1;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 48px rgba(212,170,78,0.4), 0 0 0 6px rgba(212,170,78,0.1);
}
.btn-gold:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 36px;
  border: 1.5px solid var(--gold-dim);
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-ghost:hover {
  background: rgba(212,170,78,0.08);
  border-color: var(--gold);
}

/* ── Nav ── */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(7,9,28,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
}
.navbar-logo span { color: var(--text); font-weight: 400; }

/* ── Hero ── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 55% 10%, rgba(212,170,78,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 15% 90%, rgba(80,100,200,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,170,78,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,170,78,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 30%, black, transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212,170,78,0.08);
  border: 1px solid rgba(212,170,78,0.22);
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 60px;
  margin-bottom: 30px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(1.5); }
}
.hero h1 {
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 44px;
  font-weight: 400;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.hero-trust {
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(212,170,78,0.15);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Pain Section ── */
.pain {
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}
.pain::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 40%, rgba(212,170,78,0.05), transparent 70%);
  pointer-events: none;
}
.pain-headline {
  text-align: center;
  margin-bottom: 14px;
}
.pain-headline h2 {
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -1px;
}
.pain-sub {
  text-align: center;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 64px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.pain-card {
  background: var(--bg-card);
  border: 1px solid rgba(224,88,88,0.12);
  border-radius: var(--radius);
  padding: 36px 30px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.pain-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 3px;
  background: linear-gradient(to left, rgba(224,88,88,0.6), transparent);
  border-radius: 0 var(--radius) 0 0;
}
.pain-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224,88,88,0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.pain-number {
  position: absolute;
  top: -20px;
  right: 24px;
  font-size: 5.5rem;
  font-weight: 700;
  color: rgba(224,88,88,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}
.pain-label {
  display: inline-block;
  background: rgba(224,88,88,0.08);
  border: 1px solid rgba(224,88,88,0.15);
  color: rgba(224,138,138,0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 60px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.pain-card p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.55;
  color: #e8e4da;
}

/* ── How it works ── */
.how {
  background: var(--bg-raised);
  position: relative;
}
.section-label {
  text-align: center;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  text-align: center;
  margin-bottom: 14px;
}
.section-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 60px;
  max-width: 580px;
  margin-inline: auto;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 52px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--gold-dim), transparent);
  opacity: 0.2;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px 32px;
  text-align: center;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.35), 0 0 0 1px rgba(212,170,78,0.15);
  border-color: rgba(212,170,78,0.3);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(212,170,78,0.1);
  border: 1.5px solid rgba(212,170,78,0.3);
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.step-card h3 {
  margin-bottom: 10px;
  color: #fff;
}
.step-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ── Benefits ── */
.benefits { background: var(--bg); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 60px;
}
.benefit-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.benefit-item:hover {
  border-color: rgba(212,170,78,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
.benefit-marker {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(212,170,78,0.1);
  border: 1px solid rgba(212,170,78,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-marker svg {
  width: 18px; height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-item h3 {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
}
.benefit-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Pricing ── */
.pricing { background: var(--bg-raised); }
.pricing-card {
  max-width: 620px;
  margin-inline: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 68px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,170,78,0.06);
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 220px;
  background: radial-gradient(ellipse, rgba(212,170,78,0.1), transparent 70%);
  pointer-events: none;
}
.pricing-badge {
  display: inline-block;
  background: rgba(212,170,78,0.1);
  border: 1px solid rgba(212,170,78,0.25);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 18px;
  border-radius: 60px;
  margin-bottom: 26px;
  letter-spacing: 0.5px;
}
.pricing-amount {
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}
.pricing-amount span {
  font-size: 0.38em;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0;
}
.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.pricing-compare {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224,88,88,0.07);
  border: 1px solid rgba(224,88,88,0.18);
  border-radius: 60px;
  padding: 9px 22px;
  font-size: 0.9rem;
  color: #d08888;
  margin-bottom: 38px;
  font-weight: 500;
}
.pricing-compare .strike {
  text-decoration: line-through;
  opacity: 0.65;
}
.pricing-features {
  list-style: none;
  text-align: right;
  margin-bottom: 38px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}
.pricing-features li::before {
  content: '';
  min-width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(212,170,78,0.12);
  border: 1px solid rgba(212,170,78,0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%23d4aa4e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* ── Final CTA ── */
.final-cta {
  background: var(--bg-section);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(212,170,78,0.07), transparent 70%);
  pointer-events: none;
}
.final-cta h2 {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 14px;
}
.final-cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.urgency-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 36px;
}
.urgency-dash { opacity: 0.35; }

/* ── Footer ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  padding: 28px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
footer .gold { font-weight: 600; }

/* ── Payment Page ── */
.page-wrapper {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}
.payment-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
  padding-block: 60px;
}
.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: sticky;
  top: 100px;
}
.order-summary h2 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 600;
}
.order-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.93rem;
}
.order-line:last-child { border-bottom: none; }
.order-line .label { color: var(--text-muted); }
.order-line .value { font-weight: 600; color: #fff; }
.order-total {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.order-total .label { font-size: 1rem; font-weight: 600; }
.order-total .amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -1px;
}
.order-total .currency {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
}
.guarantee {
  margin-top: 20px;
  background: rgba(212,170,78,0.05);
  border: 1px solid rgba(212,170,78,0.12);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
}
.guarantee-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guarantee-icon svg {
  width: 16px; height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.secure-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 500;
}
.secure-badge svg {
  width: 13px; height: 13px;
  stroke: var(--text-dim);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.payment-form-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.payment-form-area h2 {
  font-size: 1.45rem;
  margin-bottom: 4px;
  font-weight: 700;
}
.payment-form-area .sub {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 20px;
}
.moyasar-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
}

.payment-methods-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.method-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-raised);
  border: 1px solid var(--border-soft);
  border-radius: 60px;
  padding: 5px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Moyasar overrides */
.mysr-form { direction: ltr; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
  margin-bottom: 32px;
}
.back-link:hover { color: var(--gold); }
.back-link::before { content: '→'; }

/* Loading spinner */
.payment-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px;
  text-align: center;
}
.spinner {
  width: 36px; height: 36px;
  border: 2.5px solid rgba(212,170,78,0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Onboarding Page ── */
.onboarding-wrapper {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.onboarding-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 30%, rgba(212,170,78,0.06), transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(80,100,200,0.04), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.onboarding-card {
  position: relative;
  z-index: 2;
  width: min(600px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(32px, 5vw, 56px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.onboarding-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 32px;
}
.onboarding-logo span { color: var(--text); font-weight: 400; }

.progress-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.dot-step {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-soft);
  transition: all 0.3s;
}
.dot-step.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}
.dot-step.done { background: var(--gold-dim); }

.onboarding-step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.onboarding-step-label::before {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.onboarding-card h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 8px;
  line-height: 1.25;
  font-weight: 700;
}
.onboarding-card .welcome-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.form-group { margin-bottom: 26px; }
.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}
.form-group label .hint {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 3px;
}
.form-input {
  width: 100%;
  background: var(--bg-raised);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  direction: rtl;
}
.form-input::placeholder { color: var(--text-dim); }
.form-input:focus {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(212,170,78,0.1);
}
.form-input.error {
  border-color: rgba(224,88,88,0.5);
  box-shadow: 0 0 0 3px rgba(224,88,88,0.08);
}

.char-count {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: left;
  margin-top: 5px;
}

.toggle-group {
  display: flex;
  gap: 10px;
}
.toggle-btn {
  flex: 1;
  padding: 14px;
  background: var(--bg-raised);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.toggle-btn:hover {
  border-color: var(--gold-dim);
  color: var(--text);
}
.toggle-btn.active {
  background: rgba(212,170,78,0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.conditional-msg {
  background: rgba(212,170,78,0.05);
  border: 1px solid rgba(212,170,78,0.18);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  margin-top: 14px;
  animation: slideDown 0.3s ease;
  display: none;
}
.conditional-msg.visible { display: block; }
@keyframes slideDown {
  from { opacity:0; transform:translateY(-8px); }
  to   { opacity:1; transform:translateY(0); }
}
.msg-no {
  border-color: rgba(100,140,255,0.18);
  background: rgba(100,140,255,0.04);
}

.error-msg {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}
.error-msg.visible { display: block; }

.submit-area { margin-top: 8px; }
.btn-gold-full {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 18px;
}
.submit-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 12px;
}

/* Form transition */
.form-section { transition: opacity 0.3s, transform 0.3s; }
.form-section.exiting {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* Success screen */
.success-screen {
  display: none;
  text-align: center;
  padding: 16px 0;
  animation: fadeIn 0.5s ease;
}
.success-screen.visible { display: block; }
@keyframes fadeIn {
  from { opacity:0; transform:scale(0.97); }
  to   { opacity:1; transform:scale(1); }
}

.success-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(212,170,78,0.1);
  border: 2px solid rgba(212,170,78,0.3);
  margin-bottom: 22px;
  animation: pop 0.5s 0.1s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.success-icon-wrap svg {
  width: 32px; height: 32px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.success-tagline {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.success-screen h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 10px;
  font-weight: 700;
}
.success-screen p {
  color: var(--text-muted);
  font-size: 0.97rem;
  max-width: 380px;
  margin-inline: auto;
}
.success-steps {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.success-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-raised);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  animation: slideIn 0.4s ease both;
  text-align: right;
}
.success-step:nth-child(1) { animation-delay: 0.35s; }
.success-step:nth-child(2) { animation-delay: 0.55s; }
.success-step:nth-child(3) { animation-delay: 0.75s; }
@keyframes slideIn {
  from { opacity:0; transform:translateX(16px); }
  to   { opacity:1; transform:translateX(0); }
}
.success-step-num {
  min-width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(212,170,78,0.1);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.32s; }
.fade-in-delay-4 { transition-delay: 0.44s; }
.fade-in-delay-5 { transition-delay: 0.56s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .payment-layout {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
    order: -1;
  }
  .steps::before { display: none; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .btn-gold { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .pain-grid     { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps         { grid-template-columns: 1fr; }
}
