/* ==========================================================================
   Esaad & Al Buhaira Insurance - Modern Corporate Design System
   ========================================================================== */

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

:root {
  --esaad-green: #008248;
  --esaad-green-dark: #02412b;
  --esaad-green-deep: #012217;
  --esaad-green-light: #00a65c;
  --esaad-lime: #a3d224;
  --esaad-lime-dark: #8cb81a;
  --esaad-lime-soft: #f4fae8;
  --esaad-gold: #d4af37;
  --esaad-gold-light: #fef9c3;
  
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-green: rgba(0, 130, 72, 0.2);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 16px 36px -8px rgba(0, 70, 35, 0.12), 0 0 0 1px rgba(0, 130, 72, 0.12);
  --shadow-glow: 0 0 25px rgba(163, 210, 36, 0.35);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Top Announcement Strip */
.top-bar {
  background: linear-gradient(90deg, #011a12 0%, #033c29 50%, #011a12 100%);
  color: #ffffff;
  font-size: 0.82rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(163, 210, 36, 0.25);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.top-bar-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-bar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--esaad-lime);
  box-shadow: 0 0 8px var(--esaad-lime);
}
.top-bar-contact {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar-phone {
  color: var(--esaad-lime);
  font-weight: 800;
  direction: ltr;
}

/* Main Navbar */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  display: flex;
  align-items: center;
}
.brand-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent !important;
  filter: drop-shadow(0 2px 6px rgba(0, 130, 72, 0.15));
  transition: transform 0.2s ease;
}
.brand-logo-img:hover {
  transform: scale(1.04);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--esaad-green);
  line-height: 1.2;
}
.brand-tag {
  background: var(--esaad-lime-soft);
  color: var(--esaad-green-dark);
  border: 1px solid rgba(163, 210, 36, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
}
.brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 800;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #02412b 0%, #008248 50%, #009e57 100%);
  color: #ffffff;
  padding: 12px 24px;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0, 130, 72, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 130, 72, 0.35);
  opacity: 0.95;
}
.btn-lime {
  background: linear-gradient(135deg, #a3d224 0%, #8db61e 100%);
  color: #022318;
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(163, 210, 36, 0.35);
}
.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(163, 210, 36, 0.45);
}
.btn-outline {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--text-secondary);
  padding: 12px 24px;
  font-size: 0.95rem;
}
.btn-outline:hover {
  border-color: var(--esaad-green);
  color: var(--esaad-green);
  background: var(--bg-page);
}
.btn-lang {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, #eefbf4 0%, #f8fafc 100%);
  padding: 48px 0 60px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-content {
  flex: 1.15;
  max-width: 620px;
}
.hero-card-col {
  flex: 0.85;
  max-width: 440px;
}
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid rgba(0, 130, 72, 0.3);
  color: var(--esaad-green);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero-title .highlight {
  color: var(--esaad-green);
  display: inline-block;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Core 3 Offer Points */
.hero-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.perk-box {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 14px 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.perk-box:hover {
  border-color: var(--esaad-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.perk-icon {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.perk-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}
.perk-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.check-icon {
  color: var(--esaad-green);
  font-weight: 900;
}

/* 3D Card Showcase */
.card-flipper-box {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 28px;
  padding: 20px 20px 16px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.card-toggle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-page);
  padding: 4px;
  border-radius: 30px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}
.toggle-tab {
  flex: 1;
  padding: 8px 12px;
  border-radius: 24px;
  font-size: 0.78rem;
  font-weight: 800;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.toggle-tab.active {
  background: var(--esaad-green);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 130, 72, 0.25);
}
.card-3d-stage {
  perspective: 1200px;
  width: 100%;
}
.card-3d-object {
  position: relative;
  width: 100%;
  aspect-ratio: 1.48 / 1;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
  border-radius: 20px;
}
.card-3d-stage.is-flipped .card-3d-object {
  transform: rotateY(180deg);
}
.card-side {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.2);
}
.card-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.card-side-back {
  transform: rotateY(180deg);
}
.card-caption {
  margin-top: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Sections Global */
.section {
  padding: 64px 0;
}
.section-light {
  background-color: #ffffff;
}
.section-alt {
  background-color: var(--bg-page);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}
.section-badge {
  display: inline-block;
  background: var(--esaad-lime-soft);
  color: var(--esaad-green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  border: 1px solid rgba(163, 210, 36, 0.4);
}
.section-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.section-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Single Featured Card Box */
.single-card-showcase {
  background: #ffffff;
  border: 2px solid var(--esaad-green);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}
.showcase-media {
  flex: 0.9;
}
.showcase-content {
  flex: 1.1;
  text-align: right;
}
.showcase-tag {
  display: inline-block;
  background: var(--esaad-lime-soft);
  color: var(--esaad-green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.showcase-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
}
.showcase-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}
.showcase-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.showcase-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.feature-bullet {
  color: var(--esaad-green);
  font-weight: 900;
  font-size: 1rem;
}

/* Insurance Coverage Cards */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.coverage-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
  position: relative;
}
.coverage-card:hover {
  border-color: var(--esaad-green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.coverage-card.featured {
  border: 2px solid var(--esaad-green);
  box-shadow: var(--shadow-card);
}
.coverage-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.coverage-tag.primary {
  background: #eefbf4;
  color: var(--esaad-green);
  border: 1px solid rgba(0, 130, 72, 0.2);
}
.coverage-tag.secondary {
  background: var(--bg-page);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}
.coverage-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
}
.coverage-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}
.coverage-list {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.coverage-list li {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Steps (5 Steps) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.step-item {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 20px;
  padding: 24px 16px;
  box-shadow: var(--shadow-sm);
  text-align: right;
  transition: all 0.2s ease;
}
.step-item:hover {
  border-color: var(--esaad-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #02412b, #008248);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step-item:last-child .step-num {
  background: linear-gradient(135deg, var(--esaad-lime), var(--esaad-lime-dark));
  color: #022318;
}
.step-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 6px;
}
.step-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Documents (6 Docs) */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.doc-box {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}
.doc-box:hover {
  border-color: var(--esaad-green);
  box-shadow: var(--shadow-md);
}
.doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eefbf4;
  color: var(--esaad-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.doc-info {
  flex: 1;
}
.doc-title {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 2px;
}
.doc-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Final CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #011a12 0%, #033c29 50%, #007a3d 100%);
  color: #ffffff;
  padding: 56px 0;
  text-align: center;
  border-top: 1px solid rgba(163, 210, 36, 0.3);
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.cta-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 14px;
}
.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: #021a12;
  color: #ffffff;
  padding: 44px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 20px;
}
.footer-copy {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    flex-direction: column;
    text-align: center;
    gap: 36px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .hero-perks {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .single-card-showcase {
    flex-direction: column;
    text-align: center;
  }
  .showcase-content {
    text-align: center;
  }
  .showcase-features li {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-perks {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .docs-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .footer-row {
    flex-direction: column;
    text-align: center;
  }
  .footer-copy {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ==========================================================================
   Wizard & Multi-Step Registration Styles (For personal_info, address, review)
   ========================================================================== */

.esaad-step-header {
  background: linear-gradient(135deg, #011a12 0%, #033c29 50%, #007a3d 100%) !important;
  border-bottom: 2px solid var(--esaad-lime) !important;
  color: #ffffff;
  padding: 24px 20px;
}
.esaad-step-header-inner {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wizard-stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px auto 0;
  max-width: 540px;
}
.step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  transition: all 0.2s ease;
}
.step-circle.active {
  background: var(--esaad-green);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(163, 210, 36, 0.35);
}
.step-circle.completed {
  background: var(--esaad-green);
  color: #ffffff;
}
.step-circle.pending {
  background: #e2e8f0;
  color: #64748b;
}
.step-line {
  flex: 1;
  height: 3px;
  margin: 0 8px 18px;
  background: #e2e8f0;
  border-radius: 4px;
}
.step-line.completed {
  background: var(--esaad-green);
}


/* ==========================================================================
   Bilingual (LTR) & Full Mobile Responsiveness System
   ========================================================================== */

[dir="ltr"] {
  text-align: left;
}

[dir="ltr"] .brand-text,
[dir="ltr"] .wizard-brand-text,
[dir="ltr"] .hero-content,
[dir="ltr"] .showcase-content,
[dir="ltr"] .partner-notice-card,
[dir="ltr"] .form-group,
[dir="ltr"] .details-box,
[dir="ltr"] .summary-section,
[dir="ltr"] .payment-methods-box,
[dir="ltr"] .apple-pay-note,
[dir="ltr"] .card-info-col {
  text-align: left;
}

[dir="ltr"] .btn span:last-child {
  transform: scaleX(-1);
  display: inline-block;
}

[dir="ltr"] .dropdown-arrow {
  left: auto !important;
  right: 16px !important;
}

[dir="ltr"] .dropdown-item {
  text-align: left !important;
}

[dir="ltr"] .summary-row-value {
  text-align: right !important;
}

[dir="ltr"] .stepper-wrap {
  flex-direction: row;
}

/* Mobile Hero Reordering: Card at the Top on Mobile */
@media (max-width: 768px) {
  .site-header .nav-inner {
    padding: 10px 0;
    gap: 8px;
  }
  .brand-logo-img {
    height: 52px;
  }
  .brand-name {
    font-size: 1.25rem;
  }
  .brand-sub {
    font-size: 0.62rem;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .btn-primary {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
  .btn-lang {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  
  .top-bar-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 6px 0;
  }
  .top-bar-contact {
    display: none; /* Keep top bar clean on small phones */
  }

  /* Hero Mobile Layout: Heading -> 3D Card -> Big CTA -> Perks -> Details */
  .hero-section {
    padding: 24px 0 36px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .hero-content {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  .partner-badge {
    margin-bottom: 12px;
    font-size: 0.78rem;
    padding: 6px 14px;
  }
  .hero-title {
    font-size: 1.7rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  
  /* The Card Showcase placed right at the top under title on mobile */
  .hero-card-col {
    order: 2;
    width: 100%;
    max-width: 360px;
    margin: 4px auto 8px;
  }
  .card-flipper-box {
    padding: 14px;
    border-radius: 20px;
  }
  .toggle-tab {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  /* Primary Action Buttons directly following card on mobile */
  .hero-actions {
    order: 3;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 8px auto 14px;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
  }
  .hero-trust {
    order: 4;
    font-size: 0.78rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
  }
  .hero-desc {
    order: 5;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  .hero-perks {
    order: 6;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 360px;
  }
  .perk-box {
    padding: 14px;
  }

  /* Wizard mobile adjustments */
  .wizard-header {
    padding: 12px 14px !important;
  }
  .wizard-header-logo {
    height: 52px !important;
  }
  .wizard-brand-name {
    font-size: 1.25rem !important;
  }
  .wizard-container {
    margin: 18px auto 36px !important;
    padding: 0 12px !important;
  }
  .wizard-main-title {
    font-size: 1.6rem !important;
  }
  .stepper-wrap {
    margin-bottom: 22px !important;
  }
  .stepper-node {
    width: auto !important;
    flex: 1 !important;
  }
  .step-badge {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.9rem !important;
  }
  .step-label {
    font-size: 0.65rem !important;
    margin-top: 6px !important;
  }
  .step-bar {
    margin-top: 18px !important;
    margin-left: 2px !important;
    margin-right: 2px !important;
  }
  .form-card {
    padding: 22px 16px !important;
    border-radius: 20px !important;
  }
  .form-actions {
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 24px !important;
  }
  .btn-submit,
  .btn-back {
    width: 100% !important;
    min-width: 100% !important;
  }
  .card-preview-box {
    flex-direction: column !important;
    text-align: center !important;
    padding: 16px !important;
  }
  .card-info-col {
    text-align: center !important;
    align-items: center !important;
  }
  .card-thumb-img {
    width: 130px !important;
  }
}
