    :root {
      --bg-color: #f5f7fb;
      --card-bg: #ffffff;
      --card-border: rgba(0, 0, 0, 0.05);
      --text-primary: #121020;
      --text-secondary: #5e5c70;
      --brand-blue: #2686bf;
      --brand-blue-rgb: 38, 134, 191;
      --brand-green: #4da308;
      --brand-green-rgb: 77, 163, 8;
      --brand-dark-green: #144a26;
      --brand-dark-green-rgb: 20, 74, 38;
      --font-title: 'Outfit', sans-serif;
      --font-body: 'Inter', sans-serif;
    }



    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-color);
      color: var(--text-primary);
      font-family: var(--font-body);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow-x: hidden;
      position: relative;
    }

    /* RTL support for Arabic */
    body[dir="rtl"] {
      font-family: 'Inter', 'Arabic UI Text', sans-serif;
    }

    /* Animated Background Blobs */
    .bg-glows {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1;
      overflow: hidden;
      pointer-events: none;
    }

    .glow-blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(140px);
      opacity: 0.12;
      mix-blend-mode: multiply;
      animation: floatBubble 15s infinite alternate ease-in-out;
    }

    .blob-1 {
      background: radial-gradient(circle, var(--brand-green) 0%, transparent 70%);
      width: 400px;
      height: 400px;
      top: -100px;
      left: -100px;
    }

    .blob-2 {
      background: radial-gradient(circle, var(--brand-blue) 0%, transparent 70%);
      width: 500px;
      height: 500px;
      bottom: -150px;
      right: -100px;
      animation-delay: -5s;
    }

    .blob-3 {
      background: radial-gradient(circle, var(--brand-dark-green) 0%, transparent 70%);
      width: 350px;
      height: 350px;
      top: 40%;
      left: 50%;
      transform: translate(-50%, -50%);
      animation-duration: 20s;
      animation-delay: -10s;
    }

    @keyframes floatBubble {
      0% {
        transform: translate(0, 0) scale(1);
      }

      50% {
        transform: translate(40px, -30px) scale(1.1);
      }

      100% {
        transform: translate(-20px, 50px) scale(0.95);
      }
    }

    /* Language Switcher */
    .lang-switcher {
      position: absolute;
      top: 20px;
      right: 20px;
      z-index: 100;
      display: flex;
      gap: 8px;
      background: var(--card-bg);
      padding: 6px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(22, 20, 39, 0.08);
      border: 1px solid var(--card-border);
    }

    .lang-btn {
      padding: 8px 16px;
      border: none;
      background: transparent;
      color: var(--text-secondary);
      font-size: 13px;
      font-weight: 500;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s ease;
      font-family: var(--font-body);
    }

    .lang-btn:hover {
      background: rgba(var(--brand-blue-rgb), 0.08);
      color: var(--brand-blue);
    }

    .lang-btn.active {
      background: linear-gradient(135deg, var(--brand-blue), #18608c);
      color: #ffffff;
      box-shadow: 0 2px 8px rgba(var(--brand-blue-rgb), 0.25);
    }

    /* Container Card */
    .card-container {
      position: relative;
      z-index: 10;
      width: 100%;
      max-width: 480px;
      margin: 24px;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 32px;
      padding: 48px 32px;
      text-align: center;
      box-shadow: 0 24px 60px rgba(22, 20, 39, 0.06),
        0 4px 16px rgba(22, 20, 39, 0.02);
      overflow: hidden;
    }

    /* Top brand gradient bar */
    .card-container::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 6px;
      background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
      border-radius: 32px 32px 0 0;
    }

    /* Logo / Header */
    .brand-header {
      margin-bottom: 36px;
      display: inline-flex;
      flex-direction: column;
      align-items: center;
    }

    .brand-logo {
      width: 140px;
      height: 140px;
      object-fit: contain;
      transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .brand-logo:hover {
      transform: scale(1.08) rotate(3deg);
    }

    /* Typography */
    h1 {
      font-family: var(--font-title);
      font-size: 24px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 12px;
      color: var(--brand-dark-green);
    }

    .description {
      font-size: 15px;
      color: var(--text-secondary);
      line-height: 1.6;
      margin-bottom: 36px;
    }

    /* Stores Buttons */
    .store-buttons {
      display: flex;
      flex-direction: column;
      gap: 16px;
      width: 100%;
      margin-bottom: 32px;
    }

    .store-btn {
      display: flex;
      align-items: center;
      border-radius: 16px;
      padding: 14px 20px;
      color: #ffffff;
      text-decoration: none;
      text-align: left;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      border: none;
      justify-content: center;
      text-align: center;
    }

    body[dir="rtl"] .store-btn {
      text-align: center;
    }

    #ios-link {
      background: linear-gradient(135deg, var(--brand-blue), #18608c);
      box-shadow: 0 4px 15px rgba(var(--brand-blue-rgb), 0.2);
    }

    #android-link {
      background: linear-gradient(135deg, var(--brand-blue), #18608c);
      box-shadow: 0 4px 15px rgba(var(--brand-blue-rgb), 0.2);
    }

    .store-btn:hover {
      transform: translateY(-3px);
    }

    #ios-link:hover {
      box-shadow: 0 8px 24px rgba(var(--brand-blue-rgb), 0.35);
    }

    #android-link:hover {
      box-shadow: 0 8px 24px rgba(var(--brand-blue-rgb), 0.35);
    }

    .store-btn:active {
      transform: translateY(-1px);
    }

    .store-img {
      width: 28px;
      height: 28px;
      margin-right: 16px;
      object-fit: contain;
    }

    body[dir="rtl"] .store-img {
      margin-right: 0;
      margin-left: 16px;
    }

    .btn-info {
      display: flex;
      flex-direction: column;
      align-items: center;
      /* Ajouté pour centrer les textes */
      text-align: center;
    }

    .btn-subtitle {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: rgba(255, 255, 255, 0.65);
      font-weight: 500;
      margin-bottom: 2px;
    }

    .btn-title {
      font-size: 16px;
      font-weight: 600;
      font-family: var(--font-title);
    }

    /* Redirect Overlay & Loading */
    .redirect-status {
      background: rgba(var(--brand-blue-rgb), 0.05);
      border: 1px dashed rgba(var(--brand-blue-rgb), 0.25);
      border-radius: 16px;
      padding: 16px;
      margin-bottom: 32px;
      display: none;
    }

    .redirect-title {
      font-weight: 600;
      font-size: 14px;
      color: var(--brand-blue);
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .redirect-desc {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.4;
    }

    /* Elegant SVG Spinner */
    .spinner-container {
      display: none;
      justify-content: center;
      margin-bottom: 24px;
    }

    .spinner {
      width: 36px;
      height: 36px;
      animation: rotateSpinner 1s linear infinite;
    }

    .spinner circle {
      fill: none;
      stroke: var(--brand-blue);
      stroke-width: 4;
      stroke-dasharray: 80;
      stroke-dashoffset: 20;
    }

    @keyframes rotateSpinner {
      100% {
        transform: rotate(360deg);
      }
    }

    /* Desktop Scan Feature */
    .desktop-qr-section {
      margin-top: 24px;
      padding-top: 24px;
      border-top: 1px solid rgba(0, 0, 0, 0.06);
      display: none;
    }

    .qr-container {
      background: rgba(var(--brand-green-rgb), 0.04);
      padding: 12px;
      border-radius: 16px;
      display: inline-block;
      border: 1px solid rgba(var(--brand-green-rgb), 0.12);
      margin-bottom: 12px;
    }

    .qr-code {
      width: 120px;
      height: 120px;
      display: block;
    }

    .qr-text {
      font-size: 12px;
      color: var(--text-secondary);
      line-height: 1.4;
    }

    /* Footer */
    .footer-text {
      font-size: 11px;
      color: rgba(0, 0, 0, 0.35);
      margin-top: 8px;
    }

    /* Mobile First Responsive Adjustments */
    @media(min-width: 768px) {
      .desktop-qr-section {
        display: block;
      }
    }

    @media(max-width: 480px) {
      .lang-switcher {
        top: 12px;
        right: 12px;
        padding: 4px;
      }

      .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
      }
    }