/* ==========================================================================
   ABDELLI PAY — Official FinTech & Digital Services Website
   Bilingual Architecture: Français (LTR) & العربية (RTL)
   ========================================================================== */

:root {
  --navy-deep: #021422;
  --navy-dark: #031c30;
  --navy-card: #042940;
  --cyan: #00e1e8;
  --cyan-active: #00a4b8;
  --cyan-dark: #00778c;
  --ink: #0b2543;
  --muted: #648296;
  --line: #e2ecf2;
  --surface: #f4f8fb;
  --white: #ffffff;
  --font-ar: "Cairo", Tahoma, Arial, sans-serif;
  --font-fr: "Plus Jakarta Sans", "Cairo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="fr"] body { font-family: var(--font-fr); }

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 800; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }

::selection { background: var(--cyan); color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* Global Shell & Spacing */
.section-shell,
.section-container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}
.section-space {
  padding-block: 32px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--cyan);
  color: var(--navy-deep);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--cyan);
  border-radius: 10px;
  padding: 8px 20px;
  background: var(--cyan);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 225, 232, 0.25);
  transition: all .2s ease;
}
.button svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex-shrink: 0;
}
.button:hover {
  background: #50f2f7;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 225, 232, 0.35);
}
.button-small {
  min-height: 38px;
  padding: 6px 16px;
  font-size: 12px;
  border-radius: 8px;
}
.button-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 225, 232, 0.35);
  color: #ffffff;
  box-shadow: none;
}
.button-ghost:hover {
  background: rgba(0, 225, 232, 0.18);
  color: var(--cyan);
  border-color: var(--cyan);
}
.button-outline {
  background: transparent;
  color: var(--cyan-dark);
  border-color: #b7e4ec;
  box-shadow: none;
}
.button-outline:hover {
  background: #e8f9fd;
  border-color: var(--cyan-dark);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan-dark);
}
.text-link:hover { text-decoration: underline; }

/* Section Headings */
.section-heading {
  margin-bottom: 20px;
}
.section-heading.centered { text-align: center; }
.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--cyan-dark);
  margin-bottom: 5px;
  text-transform: uppercase;
}
.section-heading h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}
.section-heading p:not(.eyebrow) {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.65;
}
.centered p:not(.eyebrow) { margin-inline: auto; }

/* ==========================================================================
   PUBLIC WEBSITE HEADER (Full-Width, True Website Nav)
   ========================================================================== */
/* ==========================================================================
   PUBLIC WEBSITE HEADER (Full-Width, Modern Balanced Navigation)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 20, 34, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 225, 232, 0.12);
  color: #ffffff;
  height: 72px;
  min-height: 72px;
  display: flex;
  align-items: center;
}
.header-inner {
  width: min(1380px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.5vw, 24px);
  height: 100%;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  color: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(0, 225, 232, 0.45));
}
.brand-info strong {
  display: block;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.15;
}
.brand-info strong span { color: var(--cyan); }
.brand-info small {
  display: block;
  font-size: 10px;
  color: #8daec0;
  line-height: 1.2;
}

/* Desktop Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 18px);
  height: 100%;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #c4dbe8;
  padding: 8px 12px;
  border-radius: 8px;
  position: relative;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap; /* CRITICAL: Never break across lines */
  line-height: 1;
  text-decoration: none;
}
.nav-link svg {
  display: none;
}
.nav-link:hover {
  color: var(--cyan);
  background: rgba(0, 225, 232, 0.08);
}
.nav-link.active {
  color: var(--cyan);
  font-weight: 700;
  background: rgba(0, 225, 232, 0.1);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background: var(--cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 225, 232, 0.6);
}

.mobile-nav-top { display: none; }
.mobile-drawer-auth { display: none; }
.sidebar-mobile-header { display: none; }
.mobile-nav-auth { display: none; }

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c4dbe8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  flex-shrink: 0;
}
.header-icon-btn:hover {
  background: rgba(0, 225, 232, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: scale(1.05);
}
.header-icon-btn svg {
  width: 16px;
  height: 16px;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 225, 232, 0.08);
  border: 1px solid rgba(0, 225, 232, 0.28);
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: all .2s ease;
  text-decoration: none;
}
.lang-switch-btn:hover {
  background: rgba(0, 225, 232, 0.2);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 225, 232, 0.25);
  transform: translateY(-1px);
}
.lang-globe-icon {
  width: 14px;
  height: 14px;
}

.login-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #c0d8e6;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.login-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.button-header-cta {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  min-height: 38px;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(0, 225, 232, 0.25);
  transition: all .2s ease;
}
.button-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0, 225, 232, 0.45);
}

/* User Header Profile (Logged in) */
.user-header-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 225, 232, 0.25);
  color: #ffffff;
  transition: all .2s ease;
  text-decoration: none;
}
html[dir="rtl"] .user-profile-pill {
  padding: 4px 5px 4px 14px;
}
.user-profile-pill:hover {
  background: rgba(0, 225, 232, 0.12);
  border-color: var(--cyan);
}
.user-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #00e5ff);
  color: #010d17;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-avatar-circle svg {
  width: 15px;
  height: 15px;
}
.user-profile-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.user-profile-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-profile-sub {
  font-size: 10px;
  color: var(--cyan);
}
.header-logout-form {
  margin: 0;
}
.logout-mini-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 82, 82, 0.08);
  border: 1px solid rgba(255, 82, 82, 0.25);
  color: #ff5252;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}
.logout-mini-btn:hover {
  background: rgba(255, 82, 82, 0.22);
  transform: scale(1.05);
}
.logout-mini-btn svg {
  width: 14px;
  height: 14px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  width: 38px;
  height: 38px;
  place-items: center;
}

/* ==========================================================================
   HERO SECTION (Public Landing Page Hero)
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #021422 0%, #03253b 60%, #021422 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 225, 232, 0.12), transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}
html[dir="rtl"] .hero-section::before {
  right: auto;
  left: -100px;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 28px;
  align-items: center;
  min-height: 430px;
  padding-block: 32px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(0, 225, 232, 0.1);
  border: 1px solid rgba(0, 225, 232, 0.3);
  border-radius: 20px;
  color: #b2ebf2;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.hero-heading {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.hero-heading em {
  font-style: normal;
  color: var(--cyan);
}
.hero-lead {
  font-size: 14.5px;
  line-height: 1.75;
  color: #b3cddc;
  margin-bottom: 20px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.hero-btn-primary {
  min-width: 150px;
}
.hero-btn-primary .arrow-icon {
  font-size: 16px;
  font-family: Arial, sans-serif;
}

/* Official Bank Payment Badges */
.hero-payments-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.payments-title {
  font-size: 11px;
  color: #92b4c7;
  font-weight: 600;
}
.payment-badges-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(2, 22, 38, 0.7);
  border: 1px solid rgba(0, 225, 232, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 12px;
}
.payment-badge {
  display: flex;
  align-items: center;
  gap: 7px;
}
.badge-icon-card {
  width: 24px;
  height: 17px;
  border-radius: 3px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.badge-title { font-size: 12px; font-weight: 800; }
.badge-edahabia .badge-title { color: #fcd34d; }
.badge-sub {
  font-size: 7px;
  letter-spacing: 0.5px;
  color: #acc5d1;
  font-family: Arial, sans-serif;
}
.badge-cib .badge-title {
  color: #6ee7b7;
  font-family: Arial, sans-serif;
  font-weight: 900;
}
.payment-badge-divider {
  width: 1px;
  height: 18px;
  background: rgba(53, 96, 113, 0.6);
}
.badge-satim {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  padding-inline: 2px;
}
.satim-seal {
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--cyan);
  border: 1px solid rgba(0, 225, 232, 0.5);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.3;
  background: rgba(0, 225, 232, 0.1);
}
.satim-sub {
  font-size: 7px;
  color: #8daabb;
  margin-top: 2px;
}
.launch-notice-row {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8faec0;
  font-size: 11px;
  margin-top: 14px;
}
.launch-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* Hero Right Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.visual-img-wrap {
  width: 100%;
  max-width: 490px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 225, 232, 0.25);
  background: rgba(2, 22, 38, 0.6);
}
.visual-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==========================================================================
   INSTITUTIONAL TRUST STRIP (Below Hero on Index)
   ========================================================================== */
.hero-trust-strip {
  background: #ffffff;
  border-bottom: 1px solid #dbe7ef;
  padding-block: 16px;
  box-shadow: 0 4px 16px rgba(2, 20, 34, 0.03);
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: center;
}
.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f8fbfd;
  border: 1px solid #e3eef5;
}
.trust-strip-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 168, 204, 0.12);
  color: var(--cyan-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.trust-strip-icon svg {
  width: 19px;
  height: 19px;
}
.trust-strip-text strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}
.trust-strip-text span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* ==========================================================================
   SERVICES SECTION (Pro FinTech Structured Cards — Tight 12px Spacing)
   ========================================================================== */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.service-card {
  background: var(--white);
  border: 1px solid #d5e4ee;
  border-radius: 14px;
  padding: 18px 18px 15px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: start;
  box-shadow: 0 3px 12px rgba(2, 32, 51, 0.035);
  transition: all .22s ease;
  position: relative;
  text-decoration: none;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 140, 170, 0.11);
  border-color: #53cde0;
}
.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.service-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.11), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
.service-icon-box svg {
  width: 23px;
  height: 23px;
}
.service-card-providers {
  font-size: 10.5px;
  color: var(--cyan-dark);
  background: #f0f9fc;
  border: 1px solid #d5eff6;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-align: end;
}
.service-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}
.service-card-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 12px;
}
.service-card-req {
  background: #f8fbfd;
  border: 1px solid #e5eff5;
  border-radius: 9px;
  padding: 8px 11px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.service-req-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #648296;
}
.service-req-val {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
}
.service-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #edf3f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.service-card-badge-mode {
  font-size: 10.5px;
  font-weight: 800;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  padding: 2px 8px;
  border-radius: 6px;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan-dark);
  transition: transform .2s;
}
.service-card:hover .service-card-link {
  color: var(--cyan-active);
  transform: translateX(-3px);
}
html[dir="ltr"] .service-card:hover .service-card-link {
  transform: translateX(3px);
}

/* ==========================================================================
   WHY CHOOSE US SECTION (Avantages)
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid #dbe7ef;
  border-radius: 14px;
  padding: 18px 15px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(2, 32, 51, 0.03);
  transition: all .2s ease;
}
.benefit-card:hover {
  transform: translateY(-3px);
  border-color: #72d9e6;
  box-shadow: 0 8px 20px rgba(0, 140, 170, 0.08);
}
.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 225, 232, 0.1);
  color: var(--cyan-dark);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
}
.benefit-icon svg { width: 21px; height: 21px; }
.benefit-card h3 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.benefit-card p { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* ==========================================================================
   HOW IT WORKS (Steps)
   ========================================================================== */
.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
}
.step-box {
  background: var(--white);
  border: 1px solid #dbe7ef;
  border-radius: 14px;
  padding: 18px 16px;
  text-align: start;
  box-shadow: 0 3px 12px rgba(2, 32, 51, 0.025);
  transition: all .2s ease;
  display: flex;
  flex-direction: column;
}
.step-box:hover {
  transform: translateY(-3px);
  border-color: #72d9e6;
  box-shadow: 0 8px 20px rgba(0, 140, 170, 0.08);
}
.step-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e6f9fc;
  color: var(--cyan-dark);
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 14px;
}
.step-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #47677b;
  background: #f1f6f9;
  border: 1px solid #dde8ef;
  padding: 3px 9px;
  border-radius: 20px;
}
.step-box h3 { font-size: 14.5px; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
.step-box p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   DAILY ALLY TRUST BANNER (Votre allié au quotidien)
   ========================================================================== */
.ally-banner {
  background: linear-gradient(115deg, #021a2c, #043652 55%, #021a2c);
  border: 1px solid rgba(0, 225, 232, 0.25);
  box-shadow: 0 12px 30px rgba(2, 26, 44, 0.2);
  border-radius: 20px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 32px;
  color: #ffffff;
}
.ally-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.ally-brand-svg {
  width: 40px;
  height: 40px;
  color: var(--cyan);
}
.ally-brand-row strong {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  display: block;
}
.ally-brand-row strong span { color: var(--cyan); }
.ally-brand-row h3 {
  font-size: 18px;
  font-weight: 700;
  color: #c9e4f2;
}
.ally-lead {
  font-size: 13px;
  color: #9cb8c9;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 22px;
}
.ally-pillars-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pillar-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.pillar-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(0, 225, 232, 0.12);
  border: 1px solid rgba(0, 225, 232, 0.25);
  color: var(--cyan);
  display: grid;
  place-items: center;
}
.pillar-ico svg { width: 22px; height: 22px; }
.pillar-box span {
  font-size: 11px;
  font-weight: 700;
  color: #d1e8f5;
}
.ally-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 200px;
  overflow: hidden;
  border-radius: 14px;
}
.ally-visual img {
  height: 100%;
  width: auto;
  object-fit: cover;
  border-radius: 14px;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}
.faq-sidebar-info h2 { font-size: 24px; margin-bottom: 8px; }
.faq-sidebar-info p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-accordion-group details {
  background: var(--white);
  border: 1px solid #dbe7ef;
  border-radius: 12px;
  padding: 13px 18px;
  transition: border-color .2s;
}
.faq-accordion-group summary {
  font-size: 13.5px;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}
.faq-accordion-group summary::-webkit-details-marker { display: none; }
.faq-accordion-group summary:after {
  content: "+";
  font-size: 18px;
  color: var(--cyan-dark);
  font-family: Arial, sans-serif;
}
.faq-accordion-group details[open] summary:after { content: "−"; }
.faq-accordion-group details[open] { border-color: #8adbe8; }
.faq-accordion-group details p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  padding-top: 8px;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(115deg, #021a2c, #032b42 60%, #021a2c);
  border: 1px solid rgba(0, 225, 232, 0.25);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #ffffff;
  margin-bottom: 36px;
}
.cta-text h2 { font-size: 21px; color: #ffffff; margin-bottom: 4px; }
.cta-text p { font-size: 13px; color: #a4c5d6; }
.cta-btn { flex-shrink: 0; min-height: 44px; padding-inline: 22px; }

/* ==========================================================================
   DETAIL & AUTH & ACCOUNT PAGES
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--cyan-dark); }
.breadcrumb a:hover { text-decoration: underline; }
.detail-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: start;
}
.detail-title { font-size: 34px; margin-bottom: 14px; }
.detail-intro { font-size: 15px; line-height: 1.9; color: var(--muted); }
.notice {
  background: #e9f8fc;
  border: 1px solid #c9ecf4;
  border-inline-start: 4px solid var(--cyan-active);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 12px;
  color: #2b5d73;
  margin-block: 22px;
}
.detail-panel {
  padding: 26px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--line);
}
.detail-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  margin-bottom: 14px;
}
.detail-icon-wrap svg { width: 26px; height: 26px; }
.detail-panel h2 { font-size: 20px; margin-bottom: 12px; }
.detail-panel dl { margin-block: 18px; }
.detail-panel dt { font-size: 11px; color: var(--muted); }
.detail-panel dd { font-size: 13px; margin: 4px 0 16px; font-weight: 600; }
.detail-panel .button { width: 100%; }

/* Auth Layout */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 48px;
  min-height: 580px;
}
.auth-intro h1 { font-size: 38px; line-height: 1.4; margin-bottom: 14px; }
.auth-intro p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.auth-points { list-style: none; padding: 0; margin-top: 22px; }
.auth-points li {
  font-size: 13px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-points li:before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  background: #d8f7fc;
  color: var(--cyan-dark);
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: 12px;
}
.auth-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(2, 32, 51, 0.06);
  padding: 32px;
  max-width: 440px;
}
.auth-card h2 { font-size: 22px; margin-bottom: 6px; }
.auth-card > p { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.form-field input {
  display: block;
  width: 100%;
  min-height: 48px;
  font-size: 14px;
  padding: 8px 14px;
  border: 1px solid #c9dbe4;
  border-radius: 8px;
  background: #fafcfe;
}
.form-field input:focus { border-color: var(--cyan-active); }
.form-field small { font-size: 10px; color: var(--muted); margin-top: 4px; display: block; }
.password-wrap { position: relative; }
.password-wrap input { padding-inline-end: 64px; }
.password-wrap button {
  position: absolute;
  inset-inline-end: 4px;
  top: 3px;
  min-height: 42px;
  min-width: 56px;
  background: transparent;
  border: 0;
  color: var(--cyan-dark);
  font-size: 11px;
  font-weight: 700;
}
.auth-card .button { width: 100%; margin-top: 8px; }
.form-privacy { font-size: 11px; color: var(--muted); margin-top: 14px; }
.form-privacy a, .form-footer a { color: var(--cyan-dark); text-decoration: underline; }
.form-footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.form-error {
  background: #fff1f0;
  border: 1px solid #ffd4d1;
  border-radius: 8px;
  color: #a82d22;
  font-size: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

/* Account Dashboard View */
.account-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.account-top h1 { font-size: 32px; }
.empty-state {
  border: 1px dashed #bcdde8;
  border-radius: 16px;
  background: var(--white);
  padding: 40px 20px;
  text-align: center;
  margin-block: 28px;
}
.empty-state svg { width: 42px; height: 42px; color: var(--cyan-dark); }
.empty-state h2 { font-size: 22px; margin: 10px 0 6px; }
.empty-state p { font-size: 12px; color: var(--muted); }

/* ==========================================================================
   PUBLIC WEBSITE FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: #ffffff;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr 1.1fr;
  gap: 32px;
  padding-bottom: 36px;
}
.footer-brand .brand strong { font-size: 18px; }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.footer-brand p { font-size: 11px; color: #87a9bd; margin-top: 12px; line-height: 1.6; }
.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-main h3 {
  font-size: 12px;
  font-weight: 800;
  color: #d1e5f0;
  margin-bottom: 8px;
}
.footer-main nav a {
  font-size: 11px;
  color: #87a9bd;
  transition: color .2s;
}
.footer-main nav a:hover { color: var(--cyan); }
.footer-cta h3 { font-size: 13px; color: #d1e5f0; margin-bottom: 6px; }
.footer-cta p { font-size: 11px; color: #87a9bd; margin-bottom: 12px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #799cb0;
}
.footer-lang-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-lang-status a { color: #87a9bd; }
.footer-lang-status a.active { color: var(--cyan); font-weight: 700; }

/* ==========================================================================
   AUTHENTICATION PAGES (Register & Login)
   Zero collision, generous breathing room, refined elevation
   ========================================================================== */
.auth-page-main {
  min-height: calc(100vh - 72px - 260px);
  background: linear-gradient(180deg, #edf5fa 0%, #f7fafc 50%, #ffffff 100%);
  display: flex;
  align-items: center;
  padding-block: 54px 72px;
}
.auth-shell {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.auth-intro {
  padding-inline-end: 16px;
}
.auth-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(0, 168, 204, 0.1);
  border: 1px solid rgba(0, 168, 204, 0.25);
  border-radius: 20px;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}
.auth-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-dark);
}
.auth-heading {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.auth-heading span {
  color: var(--cyan-dark);
}
.auth-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 520px;
}
.auth-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.auth-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e1f7fb;
  color: var(--cyan-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.auth-feature-icon svg {
  width: 15px;
  height: 15px;
}
.auth-feature-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.auth-feature-text span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 2px;
}

/* Auth Card */
.auth-card-wrap {
  width: 100%;
}
.auth-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(2, 20, 34, 0.08);
  box-shadow: 0 16px 40px rgba(2, 20, 34, 0.06), 0 2px 8px rgba(2, 20, 34, 0.04);
  padding: 36px 32px;
}
.auth-card-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.auth-card-header p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

/* Errors Box */
.form-errors-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-error-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
}
.error-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #ef4444;
}

/* Form Fields */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-field input {
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  padding: 0 14px;
  font-size: 14px;
  color: var(--ink);
  background: #ffffff;
  transition: all .2s ease;
  width: 100%;
}
.form-field input:focus {
  border-color: var(--cyan-active);
  box-shadow: 0 0 0 3px rgba(0, 225, 232, 0.18);
  outline: none;
}
.form-help-text {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}

/* Password Toggle */
.password-wrap {
  position: relative;
  width: 100%;
}
.password-wrap input {
  padding-inline-end: 72px;
}
.btn-password-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: 12px;
  background: transparent;
  border: none;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
}
.btn-password-toggle:hover {
  background: #e8f7fa;
}

/* Checkbox Row (Keep Me Logged In) */
.form-checkbox-row {
  margin-block: 4px 8px;
}
.checkbox-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #3e5a6d;
  user-select: none;
}
.checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan-dark);
  cursor: pointer;
}

/* Submit CTA */
.auth-submit-btn {
  width: 100%;
  height: 48px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  background: var(--cyan);
  color: var(--navy-deep);
  box-shadow: 0 4px 14px rgba(0, 225, 232, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  margin-top: 4px;
}
.auth-submit-btn:hover {
  background: #50f2f7;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 225, 232, 0.38);
}
.submit-arrow {
  font-size: 16px;
  line-height: 1;
}

.form-privacy {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
  margin-top: 10px;
}
.form-privacy a {
  color: var(--cyan-dark);
  text-decoration: underline;
  font-weight: 600;
}

/* Switch link */
.auth-card-footer {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.auth-switch-link {
  color: var(--cyan-dark);
  font-weight: 700;
}
.auth-switch-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   PORTAL LAYOUT (Reference Mockup Design)
   Docked Sidebar, Flight Hero, 10 Squircle Services, Ally Banner & Features
   ========================================================================== */
.portal-layout {
  display: flex;
  min-height: calc(100vh - 72px);
  background: #f4f7f9;
}

/* Sidebar Docked */
.app-sidebar {
  width: 236px;
  flex-shrink: 0;
  background: #021422;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
  gap: 16px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #94b5cb;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}

.sidebar-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sidebar-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-item.active {
  background: #00a8cc;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 168, 204, 0.35);
}

/* Bottom Glowing Card in Sidebar */
.sidebar-bottom-card {
  margin-top: auto;
  padding: 18px 12px;
  border-radius: 16px;
  background: rgba(0, 168, 204, 0.06);
  border: 1.5px solid #00c6d4;
  box-shadow: 0 0 24px rgba(0, 225, 232, 0.15);
  text-align: center;
  flex-shrink: 0;
}

.sidebar-brand-mark {
  width: 34px;
  height: 34px;
  margin-inline: auto;
  color: var(--cyan);
  margin-bottom: 8px;
}

.sidebar-card-brand {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.sidebar-card-brand span {
  color: var(--cyan);
}

.sidebar-card-tagline {
  font-size: 12px;
  color: #9bbcd0;
  line-height: 1.4;
  margin-top: 6px;
}

.sidebar-card-tagline span {
  color: var(--cyan);
  font-weight: 700;
}

/* Main Content Area */
.app-main-content {
  flex: 1;
  min-width: 0;
  padding: 24px 32px 56px;
}

/* Header User Profile Widget (Matching Mockup) */
.header-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c4dbe8;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: all .2s;
}

.header-icon-btn:hover {
  background: rgba(0, 225, 232, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
}

.header-icon-btn svg {
  width: 17px;
  height: 17px;
}

.user-header-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 6px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  transition: background .2s;
}

html[dir="rtl"] .user-profile-pill {
  padding: 4px 6px 4px 12px;
}

.user-profile-pill:hover {
  background: rgba(255, 255, 255, 0.15);
}

.user-avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
}

.user-avatar-circle svg {
  width: 16px;
  height: 16px;
}

.user-profile-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-profile-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.user-profile-sub {
  font-size: 10px;
  color: #8daec0;
}

.logout-mini-btn {
  background: transparent;
  border: none;
  color: #8daec0;
  cursor: pointer;
  padding: 6px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  transition: all .2s;
}

.logout-mini-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}

.logout-mini-btn svg {
  width: 18px;
  height: 18px;
}

/* Hero Flight Showcase Card (Mockup Match) */
.hero-mockup-card {
  background: linear-gradient(135deg, #021422 0%, #03273e 50%, #021625 100%);
  border-radius: 20px;
  padding: 26px 30px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.85fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
  box-shadow: 0 12px 36px rgba(2, 20, 34, 0.18);
  position: relative;
  overflow: hidden;
}

.hero-mockup-left {
  position: relative;
  z-index: 2;
}

.badge-nouveau {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  background: rgba(0, 225, 232, 0.15);
  border: 1px solid rgba(0, 225, 232, 0.4);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-mockup-title {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero-mockup-desc {
  font-size: 13px;
  color: #a4c4d7;
  line-height: 1.7;
  margin-bottom: 18px;
}

.hero-mockup-btn {
  background: var(--cyan);
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 4px 14px rgba(0, 225, 232, 0.25);
}

.hero-mockup-btn:hover {
  background: #50f2f7;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 225, 232, 0.35);
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.dot-pill.active {
  width: 22px;
  height: 6px;
  border-radius: 3px;
  background: var(--cyan);
}

.dot-circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

/* Center Visual */
.hero-mockup-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 14px;
}

.hero-mockup-visual img {
  max-height: 220px;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Right Destination Stack */
.hero-destinations-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.flight-destination-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(2, 20, 34, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all .2s ease;
}

.flight-destination-item:hover {
  border-color: var(--cyan);
  background: rgba(0, 168, 204, 0.15);
  transform: translateY(-2px);
}

.flight-dest-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 225, 232, 0.15);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.flight-dest-icon svg {
  width: 17px;
  height: 17px;
}

.flight-dest-details {
  display: flex;
  flex-direction: column;
}

.dest-cities {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.dest-price {
  display: block;
  font-size: 11px;
  color: #9bbcd0;
}

.dest-price em {
  font-style: normal;
  color: var(--cyan);
  font-weight: 800;
}

/* Mockup Services Section (10 Squircles) */
.services-mockup-section {
  margin-bottom: 36px;
}

.mockup-section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.mockup-section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.title-underline-cyan {
  width: 44px;
  height: 3.5px;
  background: var(--cyan-dark);
  border-radius: 2px;
  display: inline-block;
}

.mockup-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mockup-service-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(2, 20, 34, 0.08);
  box-shadow: 0 3px 12px rgba(2, 20, 34, 0.03);
  padding: 16px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: all .22s ease;
}

.mockup-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 168, 204, 0.45);
  box-shadow: 0 8px 20px rgba(0, 168, 204, 0.11);
}

.service-squircle-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffffff;
  margin-bottom: 9px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
  transition: transform .2s ease;
}

.mockup-service-card:hover .service-squircle-box {
  transform: scale(1.05);
}

.service-squircle-box svg {
  width: 24px;
  height: 24px;
}

.service-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.service-providers-tag {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

/* Ally Mockup Banner Matching Mockup */
.ally-mockup-banner {
  background: linear-gradient(135deg, #021422 0%, #03273e 60%, #021422 100%);
  border-radius: 20px;
  padding: 24px 32px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(2, 20, 34, 0.12);
}

.ally-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ally-mark-svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
}

.ally-brand-text {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.ally-brand-text span {
  color: var(--cyan);
}

.ally-banner-heading {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.ally-banner-sub {
  font-size: 12px;
  color: #9bbcd0;
  line-height: 1.6;
}

.ally-phone-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ally-phone-visual img {
  max-height: 150px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 0 18px rgba(0, 225, 232, 0.35));
}

.ally-pills-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ally-feature-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pill-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 225, 232, 0.3);
  color: var(--cyan);
  display: grid;
  place-items: center;
  transition: all .2s;
}

.ally-feature-pill:hover .pill-icon-circle {
  border-color: var(--cyan);
  background: rgba(0, 225, 232, 0.15);
  transform: translateY(-2px);
}

.pill-icon-circle svg {
  width: 18px;
  height: 18px;
}

.ally-feature-pill span {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

/* Pourquoi choisir Section */
.why-mockup-section {
  margin-bottom: 40px;
}

.why-mockup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-feature-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(2, 20, 34, 0.08);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(2, 20, 34, 0.03);
  transition: all .2s;
}

.why-feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 168, 204, 0.3);
  box-shadow: 0 6px 16px rgba(2, 20, 34, 0.06);
}

.why-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e0f7fa;
  color: var(--cyan-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.why-feature-icon svg {
  width: 18px;
  height: 18px;
}

.why-feature-info strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.why-feature-info p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* Portal Clean Footer */
.portal-mini-footer {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(2, 20, 34, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.portal-footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}

.portal-footer-links a:hover {
  color: var(--cyan-dark);
}

/* ==========================================================================
   INTERACTIVE RECHARGE API DEMO & RECEIPT STYLES
   ========================================================================== */
.recharge-demo-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(2, 20, 34, 0.08);
  box-shadow: 0 8px 30px rgba(2, 20, 34, 0.06);
  padding: 28px 24px;
  margin-block: 20px;
}

.demo-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.demo-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.operator-btn-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.operator-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: 14px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
}

.operator-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.operator-btn.active.op-djezzy {
  background: #fff1f2;
  border-color: #e11d48;
  color: #be123c;
}

.operator-btn.active.op-mobilis {
  background: #f0fdf4;
  border-color: #16a34a;
  color: #15803d;
}

.operator-btn.active.op-ooredoo {
  background: #fef2f2;
  border-color: #dc2626;
  color: #b91c1c;
}

.operator-logo-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  color: #ffffff;
}

.op-djezzy .operator-logo-circle { background: #e11d48; }
.op-mobilis .operator-logo-circle { background: #16a34a; }
.op-ooredoo .operator-logo-circle { background: #dc2626; }

.operator-btn strong {
  font-size: 13px;
  font-weight: 800;
}

.operator-btn small {
  font-size: 11px;
  color: var(--muted);
}

.phone-input-group {
  margin-bottom: 20px;
}

.phone-input-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.phone-input-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.phone-field-prefix {
  position: absolute;
  left: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  pointer-events: none;
}

html[dir="rtl"] .phone-field-prefix {
  left: auto;
  right: 14px;
}

.phone-field-input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  padding-inline-start: 60px;
  padding-inline-end: 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
  transition: border-color .2s;
}

.phone-field-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 225, 232, 0.15);
}

.amount-chips-group {
  margin-bottom: 20px;
}

.amount-chips-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.amount-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.amount-chip {
  padding: 8px 16px;
  border-radius: 20px;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

.amount-chip:hover {
  background: #e2e8f0;
}

.amount-chip.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #ffffff;
}

.payment-method-row {
  margin-bottom: 22px;
}

.payment-method-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.payment-cards-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card-select-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  text-align: start;
}

.card-select-btn.active {
  border-color: var(--cyan);
  background: #f0fdfa;
}

.card-select-btn strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.card-select-btn small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.recharge-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.summary-line.total-line {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.total-line strong {
  color: var(--cyan-dark);
  font-size: 18px;
}

.btn-trigger-demo {
  width: 100%;
  height: 52px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  background: var(--cyan);
  color: var(--navy-deep);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 225, 232, 0.3);
  transition: all .2s;
  font-family: inherit;
}

.btn-trigger-demo:hover {
  background: #50f2f7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 225, 232, 0.4);
}

/* Live Simulation Console */
.api-pipeline-console {
  display: none;
  background: #021422;
  border-radius: 18px;
  padding: 24px;
  color: #ffffff;
  margin-top: 24px;
}

.pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pipeline-header h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pipeline-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.pipeline-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  opacity: 0.35;
  transition: all .4s ease;
}

.pipeline-step-item.active {
  opacity: 1;
}

.pipeline-step-item.done .step-status-icon {
  background: #22c55e;
  border-color: #22c55e;
  color: #ffffff;
}

.pipeline-step-item.active:not(.done) .step-status-icon {
  border-color: var(--cyan);
  background: rgba(0, 225, 232, 0.15);
  color: var(--cyan);
  animation: pulse 1.2s infinite;
}

.step-status-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.step-info-col strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.step-info-col small {
  display: block;
  font-size: 11px;
  color: #94b5cb;
  font-family: monospace;
  margin-top: 2px;
}

/* Digital Transaction Receipt */
.receipt-card {
  display: none;
  background: #ffffff;
  color: var(--ink);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 24px 20px;
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  animation: slideUp .4s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.receipt-top-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px dashed #e2e8f0;
  margin-bottom: 16px;
}

.receipt-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 14px;
}

.receipt-status-pill.refunded {
  background: #fee2e2;
  color: #b91c1c;
}

.receipt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.receipt-data-item {
  display: flex;
  flex-direction: column;
}

.receipt-data-item span {
  font-size: 11px;
  color: var(--muted);
}

.receipt-data-item strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.receipt-btns-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.receipt-btn-secondary {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: background .2s;
}

.receipt-btn-secondary:hover {
  background: #e2e8f0;
}

.receipt-btn-refund-test {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: background .2s;
}

.receipt-btn-refund-test:hover {
  background: #ffe4e6;
}

/* ==========================================================================
   RESPONSIVENESS (Mobile-First Polish for Tablet & Mobile)
   ========================================================================== */

/* Base Overlay for Mobile Drawers */
.sidebar-overlay {
  display: none;
}

@media (max-width: 1024px) {
  .site-header { min-height: 68px; }
  .header-actions .login-link,
  .header-actions .button-header-cta { display: none; }
  .menu-toggle { display: grid; }

  /* Off-Canvas Mobile Drawer for Public Site Navigation */
  .main-nav {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    inset-inline-start: 0 !important;
    width: 290px !important;
    max-width: 84vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #021422 !important;
    z-index: 1050 !important;
    padding: 20px 16px 28px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
    border-inline-end: 1px solid rgba(0, 225, 232, 0.25) !important;
    border-inline-start: none !important;
    visibility: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  html[dir="rtl"] .main-nav {
    transform: translateX(100%);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
    border-inline-start: 1px solid rgba(0, 225, 232, 0.25) !important;
    border-inline-end: none !important;
  }
  .main-nav.is-open,
  html[dir="rtl"] .main-nav.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
  }
  .nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 11px 14px !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    color: #c4dbe8 !important;
    text-decoration: none !important;
    transition: all .2s ease !important;
  }
  .nav-link svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    color: var(--cyan) !important;
    flex-shrink: 0 !important;
  }
  .nav-link:hover, .nav-link.active {
    background: rgba(0, 225, 232, 0.12) !important;
    color: var(--cyan) !important;
  }
  .nav-link.active::after { display: none !important; }

  .mobile-nav-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 14px !important;
    margin-bottom: 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  .mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mobile-nav-brand strong {
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.5px;
  }
  .mobile-nav-brand span { color: var(--cyan); }
  .mobile-nav-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all .2s;
  }
  .mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--cyan);
  }
  .mobile-nav-close svg { width: 16px; height: 16px; }

  .mobile-drawer-auth {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  .mobile-auth-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all .2s;
  }
  .mobile-auth-login:hover {
    border-color: var(--cyan);
    color: var(--cyan);
  }
  .mobile-auth-cta {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    min-height: 44px;
  }

  /* Off-Canvas Mobile Drawer for Portal Sidebar */
  .portal-layout {
    display: block;
    width: 100%;
    min-width: 0;
    position: relative;
  }
  .app-sidebar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    inset-inline-start: 0 !important;
    width: 280px !important;
    max-width: 82vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 1050 !important;
    background: #021422 !important;
    padding: 20px 16px 28px !important;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
    border-inline-end: 1px solid rgba(0, 225, 232, 0.25) !important;
    border-inline-start: none !important;
    border-bottom: none !important;
    visibility: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
  html[dir="rtl"] .app-sidebar {
    transform: translateX(100%);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
    border-inline-start: 1px solid rgba(0, 225, 232, 0.25) !important;
    border-inline-end: none !important;
  }
  .app-sidebar.is-open,
  html[dir="rtl"] .app-sidebar.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
  }
  .sidebar-mobile-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .sidebar-mobile-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--cyan) !important;
    margin: 0 !important;
    letter-spacing: 0.3px !important;
  }
  .sidebar-close-btn,
  .mobile-nav-close {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all .2s !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
  }
  .sidebar-close-btn:hover,
  .mobile-nav-close:hover {
    background: rgba(0, 225, 232, 0.2) !important;
    border-color: var(--cyan) !important;
    color: var(--cyan) !important;
  }
  .sidebar-close-btn svg,
  .mobile-nav-close svg {
    width: 18px !important;
    height: 18px !important;
  }
  .sidebar-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100%;
  }
  .sidebar-item {
    padding: 11px 14px;
    font-size: 13.5px;
  }
  .sidebar-bottom-card {
    display: block !important;
    margin-top: auto;
    padding: 14px 10px;
  }
  .sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 20, 34, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  body.sidebar-open .sidebar-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  body.sidebar-open {
    overflow: hidden !important;
  }

  .app-main-content {
    width: 100%;
    padding: 20px 16px 48px;
    box-sizing: border-box;
  }

  /* Portal Mockup Sections */
  .hero-mockup-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .hero-mockup-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-mockup-visual {
    order: -1;
  }
  .hero-destinations-stack {
    max-width: 440px;
    margin-inline: auto;
    width: 100%;
  }
  .mockup-services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .ally-mockup-banner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .ally-brand-row {
    justify-content: center;
  }
  .ally-pills-row {
    justify-content: center;
  }
  .why-mockup-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Homepage & General Sections */
  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 36px;
    gap: 24px;
  }
  .hero-visual { order: -1; }
  .visual-img-wrap { max-width: 400px; margin-inline: auto; }

  .services-cards-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .ally-banner { grid-template-columns: 1fr; }
  .ally-visual { display: none; }
  .faq-layout { grid-template-columns: 1fr; }
  
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .auth-intro {
    text-align: center;
    padding-inline-end: 0;
  }
  .auth-lead {
    margin-inline: auto;
  }
  .auth-features-list {
    max-width: 460px;
    margin-inline: auto;
    text-align: start;
  }
  .auth-card-wrap {
    max-width: 480px;
    margin-inline: auto;
  }
  .services-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (max-width: 650px) {
  /* Layout Bounds */
  .section-shell,
  .section-container {
    width: calc(100% - 24px);
  }
  .section-space {
    padding-block: 24px;
  }

  /* Compact Header without Horizontal Overflow */
  .site-header { min-height: 60px; }
  .header-inner {
    width: calc(100% - 20px);
    padding-inline: 0;
    gap: 6px;
  }
  .brand {
    gap: 6px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .brand-info strong {
    font-size: 16px;
    letter-spacing: 0.2px;
  }
  .brand-info small {
    display: none;
  }
  .header-actions {
    gap: 5px;
  }
  .header-icon-btn {
    width: 32px;
    height: 32px;
  }
  .header-icon-btn svg {
    width: 15px;
    height: 15px;
  }
  .lang-switch-btn {
    padding: 4px 8px;
    font-size: 11px;
    gap: 4px;
    border-radius: 8px;
  }
  .lang-label {
    display: none;
  }
  .lang-badge {
    padding: 1.5px 5px;
    font-size: 9.5px;
  }
  .user-header-profile {
    gap: 4px;
  }
  .user-profile-pill {
    padding: 3px 8px 3px 4px;
    gap: 5px;
    max-width: 120px;
  }
  html[dir="rtl"] .user-profile-pill {
    padding: 3px 4px 3px 8px;
  }
  .user-avatar-circle {
    width: 24px;
    height: 24px;
  }
  .user-avatar-circle svg {
    width: 13px;
    height: 13px;
  }
  .user-profile-name {
    font-size: 11px;
    max-width: 65px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .user-profile-sub {
    display: none;
  }
  .logout-mini-btn {
    padding: 4px;
  }
  .logout-mini-btn svg {
    width: 16px;
    height: 16px;
  }
  .menu-toggle {
    width: 36px;
    height: 36px;
  }
  .menu-toggle svg {
    width: 20px;
    height: 20px;
  }

  /* Portal Dashboard Mobile Polish */
  .app-main-content {
    padding: 14px 8px 36px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .hero-mockup-card {
    padding: 16px 12px;
    border-radius: 14px;
    gap: 14px;
    margin-bottom: 20px;
  }
  .badge-nouveau {
    font-size: 10px;
    padding: 2px 10px;
    margin-bottom: 8px;
  }
  .hero-mockup-title {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 8px;
  }
  .hero-mockup-desc {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
  }
  .hero-mockup-btn {
    width: 100%;
    justify-content: center;
    padding: 9px 14px;
    font-size: 12.5px;
  }
  .hero-mockup-visual img {
    max-height: 160px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  .hero-destinations-stack {
    width: 100%;
    max-width: 100%;
    gap: 8px;
  }
  .flight-destination-item {
    padding: 8px 10px;
    border-radius: 10px;
    gap: 10px;
  }
  .flight-dest-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }
  .flight-dest-icon svg {
    width: 14px;
    height: 14px;
  }
  .dest-cities {
    font-size: 12px;
  }
  .dest-price {
    font-size: 10px;
  }
  .mockup-section-header {
    margin-bottom: 12px;
    gap: 8px;
  }
  .mockup-section-title {
    font-size: 16px;
  }
  .title-underline-cyan {
    width: 32px;
    height: 3px;
  }
  .mockup-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .mockup-services-grid > .mockup-service-card:last-child:nth-child(odd) {
    grid-column: span 2 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    padding: 12px 16px !important;
    text-align: start !important;
  }
  .mockup-services-grid > .mockup-service-card:last-child:nth-child(odd) .service-squircle-box {
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }
  .mockup-service-card {
    padding: 12px 6px;
    border-radius: 12px;
  }
  .service-squircle-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 6px;
  }
  .service-squircle-box svg {
    width: 20px;
    height: 20px;
  }
  .service-name {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 2px;
  }
  .service-providers-tag {
    font-size: 9.5px;
    line-height: 1.25;
  }
  .ally-mockup-banner {
    padding: 18px 14px;
    border-radius: 14px;
    gap: 14px;
    margin-bottom: 20px;
  }
  .ally-brand-row strong {
    font-size: 15px;
  }
  .ally-lead-text {
    font-size: 12px;
  }
  .ally-pills-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .ally-pill {
    padding: 7px 8px;
    font-size: 10.5px;
  }
  .why-mockup-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .why-mockup-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  /* Service Pages & Recharge Mobile Demo Form */
  .service-detail-header {
    padding: 20px 14px;
  }
  .detail-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .detail-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
  .detail-icon-wrap svg {
    width: 24px;
    height: 24px;
  }
  .detail-title {
    font-size: 20px;
  }
  .detail-desc {
    font-size: 12.5px;
    line-height: 1.6;
  }
  .recharge-demo-card {
    padding: 16px 12px;
    border-radius: 14px;
  }
  .recharge-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .recharge-card-header h2 {
    font-size: 16px;
  }
  .demo-live-badge {
    font-size: 10px;
    padding: 2px 8px;
  }
  .operator-btn-group {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 14px;
  }
  .operator-btn {
    padding: 8px 3px;
    min-height: 72px;
    gap: 3px;
    border-radius: 10px;
  }
  .operator-logo-circle {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  .operator-btn strong {
    font-size: 11.5px;
  }
  .operator-btn small {
    font-size: 9px;
    white-space: nowrap;
  }
  .phone-input-group {
    margin-bottom: 14px;
  }
  .phone-input-group label {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .phone-input-field-wrap {
    height: 46px;
  }
  .phone-field-prefix {
    font-size: 13px;
    left: 10px;
  }
  html[dir="rtl"] .phone-field-prefix {
    left: auto;
    right: 10px;
  }
  .phone-field-input {
    height: 46px;
    font-size: 16px;
    padding-inline-start: 48px;
    padding-inline-end: 10px;
  }
  .amount-chips-group {
    margin-bottom: 14px;
  }
  .amount-chips-group label {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .amount-chips-row {
    gap: 6px;
    margin-bottom: 6px;
  }
  .amount-chip {
    padding: 6px 10px;
    font-size: 11.5px;
    border-radius: 12px;
  }
  .payment-method-row {
    margin-bottom: 16px;
  }
  .payment-method-row label {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .payment-cards-selector {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .card-select-btn {
    padding: 10px 12px;
    border-radius: 10px;
  }
  .card-select-btn strong {
    font-size: 12.5px;
  }
  .card-select-btn small {
    font-size: 10.5px;
  }
  .recharge-summary-box {
    padding: 12px 10px;
    border-radius: 10px;
    margin-bottom: 16px;
  }
  .summary-line {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .summary-line.total-line {
    font-size: 13.5px;
    margin-top: 8px;
    padding-top: 8px;
  }
  .total-line strong {
    font-size: 16px;
  }
  .btn-trigger-demo {
    height: 46px;
    font-size: 13px;
    padding: 0 10px;
    border-radius: 10px;
    line-height: 1.25;
  }
  .api-pipeline-console {
    padding: 14px 10px;
    border-radius: 12px;
    margin-top: 16px;
  }
  .pipeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
  .pipeline-header h3 {
    font-size: 12px;
  }
  #pipelineStatusBadge {
    font-size: 9.5px;
    padding: 2px 8px;
  }
  .pipeline-steps-list {
    gap: 10px;
    margin-bottom: 14px;
  }
  .pipeline-step-item {
    gap: 10px;
  }
  .step-status-icon {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }
  .step-info-col strong {
    font-size: 11.5px;
  }
  .step-info-col small {
    font-size: 9.5px;
    word-break: break-all;
    line-height: 1.35;
  }
  .receipt-card {
    padding: 14px 10px;
    border-radius: 12px;
    margin-top: 16px;
  }
  .receipt-top-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-bottom: 10px;
    margin-bottom: 12px;
  }
  .receipt-status-pill {
    font-size: 10px;
    padding: 3px 8px;
  }
  .receipt-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }
  .receipt-data-item span {
    font-size: 10px;
  }
  .receipt-data-item strong {
    font-size: 12px;
    word-break: break-all;
  }
  .receipt-btns-row {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .receipt-btn-secondary,
  .receipt-btn-refund-test {
    width: 100%;
    min-height: 42px;
    padding: 9px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .service-sidebar-card {
    padding: 16px 12px;
    border-radius: 14px;
  }

  /* Public Homepage Polish */
  .hero-heading { font-size: 26px; line-height: 1.3; }
  .hero-lead { font-size: 12.5px; line-height: 1.6; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-payments-block { flex-direction: column; align-items: center; }

  .services-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .services-cards-grid > .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 14px;
    text-align: start;
  }
  .services-cards-grid > .service-card:last-child:nth-child(odd) .service-icon-box {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .services-cards-grid > .service-card:last-child:nth-child(odd) .service-card-title {
    font-size: 13.5px;
    margin-bottom: 2px;
  }
  .services-cards-grid > .service-card:last-child:nth-child(odd) .service-card-link {
    margin-inline-start: auto;
  }
  .service-card { padding: 13px 10px 10px; }
  .service-icon-box { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 7px; }
  .service-icon-box svg { width: 20px; height: 20px; }
  .service-card-title { font-size: 13px; }
  .service-card-desc { display: none; }
  .service-card-providers { font-size: 9.5px; margin-bottom: 5px; padding: 1.5px 8px; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .benefit-card { padding: 14px 10px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .step-box { padding: 14px 10px; }
  .ally-banner { padding: 20px 14px; }
  .ally-pillars-row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 22px 16px;
  }
  .cta-btn { width: 100%; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-cta { grid-column: 1 / -1; text-align: center; }

  .auth-page-main {
    padding-block: 24px 40px;
  }
  .auth-heading {
    font-size: 22px;
  }
  .auth-lead {
    font-size: 12.5px;
  }
  .auth-card {
    padding: 20px 14px;
    border-radius: 14px;
  }
  .services-modern-grid {
    grid-template-columns: 1fr;
  }
}

/* Extra-Narrow Phones (< 380px, e.g. iPhone SE, small Androids) */
@media (max-width: 380px) {
  .brand-info strong {
    font-size: 14px;
  }
  .header-icon-btn {
    display: none;
  }
  .user-profile-meta {
    display: none;
  }
  .user-profile-pill {
    padding: 3px;
    border-radius: 50%;
  }
  .mockup-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .mockup-services-grid > .mockup-service-card:last-child:nth-child(odd),
  .services-cards-grid > .service-card:last-child:nth-child(odd) {
    grid-column: span 2 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    text-align: start !important;
  }
  .mockup-services-grid > .mockup-service-card:last-child:nth-child(odd) .service-squircle-box,
  .services-cards-grid > .service-card:last-child:nth-child(odd) .service-icon-box {
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }
  .mockup-service-card {
    padding: 10px 4px;
  }
  .service-squircle-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .service-squircle-box svg {
    width: 18px;
    height: 18px;
  }
  .service-name {
    font-size: 11px;
  }
  .operator-btn {
    padding: 6px 2px;
  }
  .operator-btn strong {
    font-size: 10.5px;
  }
  .operator-btn small {
    font-size: 8.5px;
  }
  .operator-logo-circle {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
  .amount-chip {
    padding: 5px 8px;
    font-size: 10.5px;
  }
}

/* Height-Responsive & Short Viewport Optimizations */
@media (max-height: 720px) {
  .site-header { min-height: 56px; }
  .section-space { padding-block: 32px; }
  .hero-layout { padding-block: 20px; gap: 16px; }
  .hero-mockup-card { padding: 18px 20px; margin-bottom: 20px; gap: 14px; }
  .hero-mockup-visual img { max-height: 140px; }
  .app-sidebar {
    gap: 8px;
    padding: 12px 10px;
    top: 56px;
    height: calc(100vh - 56px);
  }
  .sidebar-nav { gap: 3px; }
  .sidebar-item { padding: 7px 12px; font-size: 12.5px; }
  .sidebar-bottom-card { padding: 10px 8px; }
  .sidebar-brand-mark { width: 24px; height: 24px; margin-bottom: 4px; }
  .sidebar-card-tagline { font-size: 10.5px; margin-top: 3px; }
}

@media (max-height: 600px) {
  .site-header { min-height: 50px; }
  .hero-mockup-visual img { max-height: 100px; }
  .visual-img-wrap { max-width: 240px; }
  .hero-heading { font-size: 22px; }
  .hero-lead { font-size: 12px; }
}

/* ==========================================================================
   CUSTOMER SUPPORT & TICKETING SYSTEM (support.php, account.php, index.php)
   Official Dispatch to support@abdellipay.dz
   ========================================================================== */
.support-hero-banner {
  background: linear-gradient(135deg, #021422 0%, #03273e 55%, #021625 100%);
  border-radius: 20px;
  padding: 28px 32px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  border: 1px solid rgba(0, 225, 232, 0.2);
  box-shadow: 0 10px 30px rgba(2, 20, 34, 0.15);
  position: relative;
  overflow: hidden;
}

.support-hero-info {
  flex: 1;
  min-width: 0;
}

.support-badge-official {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(0, 225, 232, 0.12);
  border: 1px solid rgba(0, 225, 232, 0.35);
  color: #cbf6f8;
  font-size: 12px;
  margin-bottom: 12px;
}

.support-badge-official strong {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.3px;
}

.support-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 1.5s infinite;
}

.support-hero-title {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.25;
}

.support-hero-desc {
  font-size: 13.5px;
  color: #9bbcd0;
  line-height: 1.6;
  max-width: 640px;
}

.support-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.support-stat-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(2, 20, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.support-stat-pill svg {
  width: 22px;
  height: 22px;
  color: var(--cyan);
  flex-shrink: 0;
}

.support-stat-pill strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
}

.support-stat-pill small {
  display: block;
  font-size: 10.5px;
  color: #8daec0;
}

/* Grid Layout */
.support-grid-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

/* Left Aside Card */
.support-aside-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.support-contact-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(2, 20, 34, 0.08);
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(2, 20, 34, 0.04);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e0f7fa;
  color: var(--cyan-dark);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.support-contact-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.support-contact-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.support-email-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #021422;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid rgba(0, 225, 232, 0.3);
  transition: all .2s;
}

.support-email-pill svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
}

.support-email-pill strong {
  color: var(--cyan);
  font-family: monospace;
  font-size: 13px;
}

.support-email-pill:hover {
  border-color: var(--cyan);
  box-shadow: 0 4px 14px rgba(0, 225, 232, 0.25);
  transform: translateY(-2px);
}

.contact-card-divider {
  height: 1px;
  background: #e2e8f0;
  margin-block: 18px;
}

.support-tips-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
}

.tip-check {
  color: #10b981;
  font-weight: bold;
}

/* Support Form Card */
.support-form-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(2, 20, 34, 0.08);
  padding: 28px 26px;
  box-shadow: 0 6px 20px rgba(2, 20, 34, 0.04);
}

.support-form-header {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.support-form-header h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.support-form-header p {
  font-size: 12.5px;
  color: var(--muted);
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-field .req {
  color: #ef4444;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: var(--ink);
  font-size: 13.5px;
  font-family: inherit;
  padding: 10px 14px;
  transition: all .2s;
  box-sizing: border-box;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 225, 232, 0.15);
}

.field-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.support-submit-btn {
  width: 100%;
  height: 48px;
  font-size: 14px;
  font-weight: 800;
  background: var(--cyan);
  color: var(--navy-deep);
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 225, 232, 0.3);
  transition: all .2s;
}

.support-submit-btn svg {
  width: 17px !important;
  height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  flex-shrink: 0 !important;
  display: block;
}

.support-submit-btn:hover {
  background: #50f2f7;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 225, 232, 0.4);
}

/* Success Card */
.support-success-card {
  background: #ffffff;
  border-radius: 18px;
  border: 2px solid #a7f3d0;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.1);
  animation: slideUp .35s ease;
}

.success-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.success-icon-badge svg {
  width: 28px;
  height: 28px;
}

.success-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.success-subtitle {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.ticket-ref-highlight {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #021422;
  border: 1px solid rgba(0, 225, 232, 0.4);
  padding: 12px 28px;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.ticket-ref-highlight .ref-label {
  font-size: 11px;
  color: #94b5cb;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ticket-ref-highlight .ref-code {
  font-size: 20px;
  font-weight: 900;
  color: var(--cyan);
  font-family: monospace;
  letter-spacing: 1px;
}

.success-actions-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Topbar in Portal */
.support-portal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.support-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.support-breadcrumbs a {
  color: var(--cyan-dark);
  font-weight: 600;
}

/* Dedicated Support Widget in Dashboard (account.php) */
.portal-support-widget {
  background: linear-gradient(135deg, #021422 0%, #03273e 60%, #021422 100%);
  border-radius: 16px;
  padding: 18px 24px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  border: 1px solid rgba(0, 225, 232, 0.25);
  box-shadow: 0 8px 24px rgba(2, 20, 34, 0.12);
}

.portal-support-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.support-widget-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 225, 232, 0.15);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.support-widget-icon svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: block;
}

.support-widget-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.support-widget-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 3px;
  line-height: 1.3;
}

.support-widget-desc {
  font-size: 12px;
  color: #9bbcd0;
  line-height: 1.45;
  margin: 0;
}

.portal-support-right {
  flex-shrink: 0;
}

.support-portal-btn {
  background: var(--cyan);
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 13px;
  border-radius: 10px;
  padding: 9px 18px;
  min-height: 40px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 225, 232, 0.25);
  transition: all .2s;
}

.support-portal-btn svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0 !important;
  display: block;
}

.support-portal-btn:hover {
  background: #50f2f7;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 225, 232, 0.35);
}

/* Customer Support Section on Homepage (index.php) */
.home-support-banner {
  background: linear-gradient(135deg, #021422 0%, #03273e 50%, #021422 100%);
  border-radius: 18px;
  padding: 26px 32px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(0, 225, 232, 0.25);
  box-shadow: 0 12px 32px rgba(2, 20, 34, 0.18);
}

.home-support-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(0, 225, 232, 0.12);
  border: 1px solid rgba(0, 225, 232, 0.35);
  color: #cbf6f8;
  font-size: 11.5px;
  margin-bottom: 10px;
}

.home-support-badge strong {
  color: var(--cyan);
  font-weight: 800;
}

.home-support-heading {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 8px;
}

.home-support-heading span {
  color: var(--cyan);
}

.home-support-desc {
  font-size: 14px;
  color: #a4c4d7;
  line-height: 1.7;
  margin-bottom: 22px;
}

.home-support-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.home-support-btn {
  background: var(--cyan);
  color: var(--navy-deep);
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 225, 232, 0.3);
}

.home-support-btn svg {
  width: 17px !important;
  height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  flex-shrink: 0 !important;
  display: block;
}

.home-support-btn:hover {
  background: #50f2f7;
  transform: translateY(-2px);
}

.home-support-mail-btn {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.home-support-mail-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.home-support-card-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-support-feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  backdrop-filter: blur(8px);
}

.support-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 225, 232, 0.15);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.support-feature-icon svg {
  width: 18px;
  height: 18px;
}

.home-support-feature strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.home-support-feature p {
  font-size: 11.5px;
  color: #94b5cb;
  line-height: 1.5;
  margin: 0;
}

/* Support Responsive Rules */
@media (max-width: 900px) {
  .support-hero-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 18px;
    gap: 16px;
  }
  .support-hero-stats {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .support-stat-pill {
    flex: 1;
    min-width: 160px;
  }
  .support-grid-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .portal-support-widget {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px;
    gap: 16px;
  }
  .portal-support-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .support-portal-btn {
    width: 100%;
    justify-content: center;
  }
  .home-support-banner {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 20px;
  }
  .form-grid-two {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   PUBLIC SERVICE PRESENTATION & HOW-IT-WORKS GUIDE (service.php for Guests)
   ========================================================================== */
.public-service-guide-card {
  background: #ffffff;
  border: 1px solid #d5e4ee;
  border-radius: 18px;
  padding: 26px 26px 24px;
  margin-block: 22px 28px;
  box-shadow: 0 8px 28px rgba(2, 32, 51, 0.045);
}
.public-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.public-guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 20px;
  background: #eef9fc;
  border: 1px solid #cbeaf3;
  color: var(--cyan-dark);
  font-size: 11.5px;
  font-weight: 800;
}
.public-guide-mode-pill {
  font-size: 11px;
  font-weight: 800;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  padding: 4px 10px;
  border-radius: 20px;
}
.public-guide-title {
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 8px;
}
.public-guide-subtitle {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.public-guide-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.public-guide-step {
  background: #f8fbfd;
  border: 1px solid #e2eef5;
  border-radius: 13px;
  padding: 15px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: border-color .2s ease;
}
.public-guide-step:hover {
  border-color: #72d9e6;
}
.public-step-num {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #e1f6fb;
  color: var(--cyan-dark);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.public-step-body strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}
.public-step-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.public-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px;
  background: #f3f8fb;
  border: 1px solid #dfecf3;
  border-radius: 13px;
}
.public-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
}
.public-spec-item span {
  font-size: 10.5px;
  font-weight: 700;
  color: #607d90;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.public-spec-item strong {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
}
.public-auth-gate {
  background: linear-gradient(120deg, #021828 0%, #05334e 100%);
  border: 1px solid rgba(0, 225, 232, 0.3);
  border-radius: 14px;
  padding: 20px 22px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.public-auth-gate-info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.public-auth-lock-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 225, 232, 0.14);
  border: 1px solid rgba(0, 225, 232, 0.3);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.public-auth-lock-icon svg {
  width: 20px;
  height: 20px;
}
.public-auth-gate-info strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}
.public-auth-gate-info p {
  font-size: 12.5px;
  color: #a9c7d9;
  line-height: 1.55;
  margin: 0;
}
.public-auth-gate-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.public-gate-btn-primary {
  background: var(--cyan);
  color: var(--navy-deep);
  font-weight: 800;
}
.public-gate-btn-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.public-gate-btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

@media (max-width: 1024px) {
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   PRO FINTECH HOMEPAGE UPGRADES (Live Transaction Card, Ecosystem & Comparison)
   ========================================================================== */
.hero-fintech-card {
  width: 100%;
  max-width: 500px;
  background: linear-gradient(155deg, rgba(4, 34, 54, 0.92) 0%, rgba(2, 20, 34, 0.96) 100%);
  border: 1px solid rgba(0, 225, 232, 0.32);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: #ffffff;
}
.fintech-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.fintech-topbar-left {
  display: flex;
  align-items: center;
  gap: 9px;
}
.fintech-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  flex-shrink: 0;
}
.fintech-topbar-left strong {
  font-size: 13px;
  font-weight: 800;
  color: #f1f8fc;
}
.fintech-security-pill {
  font-family: Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: var(--cyan);
  background: rgba(0, 225, 232, 0.12);
  border: 1px solid rgba(0, 225, 232, 0.35);
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.fintech-stages-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fintech-stage-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  padding: 12px 14px;
  transition: border-color .2s ease, background .2s ease;
}
.fintech-stage-item:hover {
  border-color: rgba(0, 225, 232, 0.4);
  background: rgba(255, 255, 255, 0.07);
}
.fintech-stage-num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(0, 225, 232, 0.16);
  border: 1px solid rgba(0, 225, 232, 0.35);
  color: var(--cyan);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.fintech-stage-content {
  flex: 1;
  min-width: 0;
}
.fintech-stage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}
.fintech-stage-row span {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}
.fintech-tag-cyan,
.fintech-tag-green,
.fintech-tag-gold {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  white-space: nowrap;
}
.fintech-tag-cyan {
  background: rgba(0, 225, 232, 0.15);
  color: #67e8f9;
}
.fintech-tag-green {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}
.fintech-tag-gold {
  background: rgba(245, 158, 11, 0.2);
  color: #fde047;
}
.fintech-stage-content p {
  font-size: 11.5px;
  color: #9ec0d4;
  line-height: 1.45;
  margin: 0;
}
.fintech-card-bottom {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.fintech-bottom-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.fintech-bottom-meta span {
  font-size: 10px;
  color: #8ab0c6;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.fintech-bottom-meta strong {
  font-size: 12px;
  color: #e2f2fa;
  font-weight: 700;
}
.fintech-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  background: rgba(0, 225, 232, 0.12);
  border: 1px solid rgba(0, 225, 232, 0.3);
  padding: 6px 12px;
  border-radius: 8px;
  transition: all .2s ease;
}
.fintech-explore-link:hover {
  background: var(--cyan);
  color: var(--navy-deep);
}

/* Algerian National Ecosystem Bar */
.ecosystem-strip-section {
  padding-top: 18px;
}
.ecosystem-strip-box {
  background: linear-gradient(180deg, #ffffff 0%, #f5fafe 100%);
  border: 1px solid #d5e5f0;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(2, 32, 51, 0.03);
}
.ecosystem-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.ecosystem-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--cyan-dark);
  background: #e6f8fc;
  border: 1px solid #c5ebf4;
  padding: 3px 10px;
  border-radius: 20px;
}
.ecosystem-strip-header p {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}
.ecosystem-sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ecosystem-sector-pill {
  background: #ffffff;
  border: 1px solid #dce9f2;
  border-radius: 11px;
  padding: 10px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sector-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #648296;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.ecosystem-sector-pill strong {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
}

/* Service Card Meta & Spec Enhancements */
.service-card-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.service-card-category-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #5b7a8f;
}
.service-req-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.service-req-row-sub {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #dce8f0;
}
.service-req-val-green {
  font-size: 11px;
  font-weight: 800;
  color: #15803d;
}

/* Side-by-Side Model Comparison (Direct SATIM vs Classic Prepaid Wallet) */
.model-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.comparison-card {
  border-radius: 16px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.comparison-card-classic {
  background: #f8fafc;
  border: 1px solid #dce5ee;
}
.comparison-card-abdelli {
  background: linear-gradient(145deg, #021a2c 0%, #05334e 100%);
  border: 1px solid rgba(0, 225, 232, 0.35);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(2, 26, 44, 0.14);
}
.comparison-card-header h3 {
  font-size: 17px;
  font-weight: 800;
  margin-top: 8px;
  line-height: 1.35;
}
.comparison-card-abdelli .comparison-card-header h3 {
  color: #ffffff;
}
.comparison-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
}
.comparison-badge-muted {
  background: #e2e8f0;
  color: #475569;
}
.comparison-badge-pro {
  background: rgba(0, 225, 232, 0.16);
  border: 1px solid rgba(0, 225, 232, 0.35);
  color: var(--cyan);
}
.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.55;
}
.comparison-card-classic .comparison-list li {
  color: #475569;
}
.comparison-card-abdelli .comparison-list li {
  color: #d1e8f5;
}
.comp-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}
.comp-icon-no {
  background: #fee2e2;
  color: #dc2626;
}
.comp-icon-yes {
  background: rgba(34, 197, 94, 0.22);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #4ade80;
}

@media (max-width: 1024px) {
  .ecosystem-sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .trust-strip-grid,
  .ecosystem-sectors-grid,
  .model-comparison-grid,
  .public-guide-steps,
  .public-specs-grid {
    grid-template-columns: 1fr;
  }
  .public-service-guide-card {
    padding: 18px 16px;
  }
  .public-auth-gate-actions .button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}