﻿    html {
      scroll-behavior: smooth;
      font-family: 'Almarai', sans-serif;
    }

    body {
      font-family: 'Almarai', sans-serif;
      background-color: #fff;
      color: #1d1d1b;
    }

    button,
    input,
    textarea,
    select {
      font-family: inherit;
    }

    /* ─── Notched Navbar Shell ─── */
    .nav-shell {
      position: relative;
      width: 100%;
      max-width: calc((1 - var(--nav-morph, 0)) * 1243px + var(--nav-morph, 0) * 100%);
      margin: 0 auto;
      height: 148px;
      filter: drop-shadow(0 0 calc(15px * (1 - var(--nav-morph, 0))) rgba(0, 0, 0, calc(0.1 * (1 - var(--nav-morph, 0)))));
    }

    /* ─── Main white bar (bottom portion) ─── */
    .nav-main {
      position: absolute;
      z-index: 4;
      left: 0;
      right: 0;
      bottom: 0;
      height: 97px;
      background: #fff;
      border-radius: calc(54px * (1 - var(--nav-morph, 0)));
      display: flex;
      align-items: center;
      padding: 0 calc(28px * (1 - var(--nav-morph, 0)) + clamp(24px, 4vw, 48px) * var(--nav-morph, 0));
      gap: 16px;
      box-shadow: 0 calc(2px * var(--nav-morph, 0)) calc(15px * var(--nav-morph, 0)) rgba(0, 0, 0, calc(0.1 * var(--nav-morph, 0)));
    }

    /* ─── Floating tabs (top portion) ─── */
    .nav-tab {
      position: absolute;
      top: 0;
      background: #fff;
      display: flex;
      align-items: center;
      z-index: 2;
      opacity: calc(1 - var(--nav-morph, 0));
      transform: translateY(calc(-18px * var(--nav-morph, 0))) scale(calc(1 - var(--nav-morph, 0) * 0.04));
    }

    /* Contact info tab (left side) */
    .nav-tab-contact {
      left: 68px;
      width: min(404px, 42%);
      height: 55px;        /* 2px extra to lap under the main bar — hides any seam */
      padding: 0 22px 0 18px;
      border-radius: 25px 25px 0 0;
      gap: 20px;
    }

    /* Concave inner corner — contact tab right side */
    .nav-tab-contact::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: -26px;
      width: 26px;
      height: 26px;
      background: radial-gradient(circle at 100% 0, transparent 26px, #fff 26px);
      pointer-events: none;
      z-index: 1;
    }

    /* Social icons + language tab (right side) */
    .nav-tab-social {
      right: 89px;
      width: auto;
      min-width: min(340px, 38%);
      max-width: 420px;
      height: 55px;        /* 2px extra to lap under the main bar — hides any seam */
      padding: 0 22px 0 18px;
      gap: 16px;
      justify-content: center;
      border-radius: 25px 25px 0 0;
    }

    .nav-tab-divider {
      width: 1px;
      height: 20px;
      background: #004AAD;
      opacity: 0.2;
      flex-shrink: 0;
    }

    .nav-social-icons {
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }

    .nav-social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      line-height: 0;
      overflow: hidden;
      transition: opacity 0.2s ease;
    }

    .nav-social-link:not(:last-child) {
      margin-inline-end: 19px;
    }

    .nav-social-link svg {
      display: block;
      flex-shrink: 0;
    }

    .nav-social-link:hover {
      opacity: 0.75;
    }

    /* Concave inner corner — social tab left side */
    .nav-tab-social::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: -26px;
      width: 26px;
      height: 26px;
      background: radial-gradient(circle at 0 0, transparent 26px, #fff 26px);
      pointer-events: none;
      z-index: 1;
    }

    /* ─── Outer concave curve fillers ─── */
    .nav-curve {
      position: absolute;
      top: 20px;
      width: 30px;
      height: 35px;
      z-index: 3;
      pointer-events: none;
      opacity: calc(1 - var(--nav-morph, 0));
      transform: translateY(calc(-14px * var(--nav-morph, 0)));
    }
    /*
     * Outer-left: left edge of contact tab (x=38 → x=68).
     * The shape fills the gap between the main bar's left border-radius
     * and the contact tab's left edge, with a concave left boundary.
     */
    .nav-curve-ol { left: 38px; }
    /*
     * Outer-right: right edge of social tab (right=89px → 89-30=59px).
     * The shape fills the gap between the social tab's right edge
     * and the main bar's right border-radius.
     */
    .nav-curve-or { right: 59px; }

    /* ─── Nav links — true center on desktop ─── */
    @media (min-width: 1024px) {
      .nav-main .nav-links {
        position: absolute;
        left: 42%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 5;
      }
    }

    .nav-links a {
      font-size: 16px;
      font-family: 'Almarai', sans-serif;
      font-weight: 400;
      color: #000;
      white-space: nowrap;
      transition: color 0.2s;
      text-decoration: none;
    }
    .nav-links a:hover { color: #004AAD; }

    /* ─── Nav buttons ─── */
    .nav-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 51px;
      border-radius: 35px;
      font-size: 16px;
      font-family: 'Almarai', sans-serif;
      font-weight: 400;
      white-space: nowrap;
      text-decoration: none;
      transition: opacity 0.2s, background 0.2s;
    }
    .nav-btn:hover { opacity: 0.92; }

    .nav-btn-outline {
      min-width: 120px;
      padding: 0 24px;
      border: 1px solid #004AAD;
      color: #000;
      background: #fff;
    }
    .nav-btn-outline:hover { background: rgba(0, 74, 173, 0.05); opacity: 1; }

    .nav-btn-fill {
      min-width: 175px;
      padding: 0 18px;
      background: #004AAD;
      color: #fff;
      border: 1px solid #004AAD;
    }

    /* ─── Contact info items ─── */
    .nav-contact-item {
      display: flex;
      align-items: center;
      gap: 6px;
      color: #004AAD;
      font-size: 15px;
      font-family: 'Almarai', sans-serif;
      text-decoration: none;
      white-space: nowrap;
    }

    /* ─── Mobile menu ─── */
    #mobile-menu.open {
      display: flex !important;
      flex-direction: column;
      position: absolute;
      top: calc(100% + 8px);
      left: 16px;
      right: 16px;
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
      padding: 20px;
      z-index: 60;
      gap: 14px;
    }

    @media (min-width: 1024px) {
      .nav-shell {
        height: calc(148px - 51px * var(--nav-morph, 0));
      }
    }

    /* ─── Responsive overrides ─── */
    @media (max-width: 1023px) {
      .nav-shell {
        height: auto;
        filter: none;
      }
      .nav-tab,
      .nav-curve {
        display: none;
      }
      .nav-main {
        position: relative;
        bottom: auto;
        border-radius: calc(20px * (1 - var(--nav-morph, 0)));
        box-shadow: 0 calc(2px * var(--nav-morph, 0)) calc(15px * var(--nav-morph, 0)) rgba(0, 0, 0, calc(0.1 * var(--nav-morph, 0)));
        padding: 0 calc(20px * (1 - var(--nav-morph, 0)) + 16px * var(--nav-morph, 0));
        height: 64px;
      }
    }

    /* ─── Site header wrapper (replaces Tailwind px/pt utilities) ─── */
    #site-header.landing-site-header {
      --nav-morph: 0;
      position: sticky;
      top: 0;
      z-index: 100;
      width: 100%;
      padding: calc(1rem * (1 - var(--nav-morph, 0))) calc(1rem * (1 - var(--nav-morph, 0))) 0;
    }

    @media (min-width: 1024px) {
      #site-header.landing-site-header {
        padding-top: calc(1.5rem * (1 - var(--nav-morph, 0)));
      }
    }

    #site-header.is-scrolled .nav-tab,
    #site-header.is-scrolled .nav-curve {
      pointer-events: none;
    }

    /* ─── Hero CTA button ─── */
    .hero-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 189px;
      height: 52px;
      padding: 0 24px;
      border-radius: 39px;
      background: #004AAD;
      color: #fff;
      font-family: 'Almarai', sans-serif;
      font-size: 16px;
      font-weight: 400;
      text-decoration: none;
      white-space: nowrap;
      transition: background 0.2s, opacity 0.2s;
    }
    .hero-cta:hover { background: #003d8f; opacity: 0.95; }

    .hero-video-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0;
      margin: 0;
      border: none;
      background: transparent;
      box-shadow: none;
      appearance: none;
      -webkit-appearance: none;
      cursor: pointer;
      color: inherit;
      line-height: normal;
    }

    .hero-video-btn:hover,
    .hero-video-btn:focus,
    .hero-video-btn:active {
      background: transparent;
      border: none;
      box-shadow: none;
      outline: none;
    }

    .hero-play-btn {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      background: #085DCE;
      border: 8px solid #CCEBFF;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: transform 0.2s;
    }
    .hero-play-btn:hover { transform: scale(1.05); }

    /* ─── Stats row column dividers ─── */
    @media (min-width: 1024px) {
      .stats-divider {
        border-inline-start: 1px solid #9E9E9E;
      }
    }

    /* ─── Bidirectional typography & layout ─── */
    /* Tailwind Play CDN does not reliably apply utilities from Vue SFC templates */
    html[dir="rtl"] .central-landing-page {
      direction: rtl;
      text-align: right;
    }

    html[dir="ltr"] .central-landing-page {
      direction: ltr;
      text-align: left;
    }

    .central-landing-page .text-center {
      text-align: center;
    }

    .central-landing-page .landing-text-col {
      text-align: inherit;
    }

    .central-landing-page .landing-hug-start {
      box-sizing: border-box;
      margin-inline-end: auto;
      margin-inline-start: 0;
      max-width: 100%;
    }

    .central-landing-page #hero .landing-hug-start {
      max-width: min(654px, 100%);
    }

    .central-landing-page #ux-experience .landing-hug-start {
      max-width: min(516px, 100%);
    }

    /* UX experience — layout (Tailwind flex/min-w utilities not applied from Vue) */
    #ux-experience .ux-experience-layout {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 2.5rem;
      width: 100%;
      max-width: 100%;
    }

    @media (min-width: 1024px) {
      #ux-experience .ux-experience-layout {
        flex-direction: row;
        gap: 1.5rem;
      }
    }

    .central-landing-page .ux-text-col {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      flex: 1 1 0%;
      min-width: 0;
      max-width: 100%;
      box-sizing: border-box;
      overflow-wrap: break-word;
      padding-inline: 1rem;
    }

    @media (min-width: 768px) {
      .central-landing-page .ux-text-col {
        padding-inline: 1.5rem;
      }
    }

    @media (min-width: 1024px) {
      .central-landing-page .ux-text-col {
        justify-content: space-between;
        gap: 0;
        padding-block: 1.25rem;
      }
    }

    .central-landing-page #ux-experience .ux-reveal-title {
      overflow-wrap: break-word;
      word-break: break-word;
    }

    .central-landing-page #ux-experience .ux-text-body {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      flex: 1 1 auto;
      min-width: 0;
      min-height: 0;
    }

    .central-landing-page .ux-image-col {
      display: flex;
      flex: 0 0 auto;
      min-width: 0;
      max-width: 100%;
      justify-content: center;
      align-items: flex-start;
    }

    @media (min-width: 1024px) {
      html[dir="rtl"] .central-landing-page .ux-image-col {
        max-width: 52%;
        justify-content: flex-start;
        align-self: stretch;
      }

      html[dir="ltr"] .central-landing-page .ux-image-col {
        max-width: 52%;
        justify-content: flex-end;
        align-self: stretch;
      }
    }

    .central-landing-page #ux-experience .ux-features-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.25rem 2rem;
      flex: 1 1 auto;
      min-width: 0;
    }

    @media (min-width: 640px) {
      .central-landing-page #ux-experience .ux-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .central-landing-page #ux-experience .ux-reveal-feature {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      min-width: 0;
    }

    .central-landing-page #ux-experience .ux-reveal-feature > div {
      flex: 1 1 0%;
      min-width: 0;
    }

    .central-landing-page .landing-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: flex-start;
      gap: 1.25rem;
    }

    /* Nav shell stays LTR — push CTAs to the physical right */
    .nav-shell .nav-cta-group {
      margin-left: auto;
    }

    .central-landing-page #hero .hero-media-col {
      display: flex;
      justify-content: center;
    }

    @media (min-width: 1024px) {
      .central-landing-page #hero .hero-media-col {
        justify-content: flex-end;
      }

      .central-landing-page .ux-text-col {
        padding-inline-end: 1.5rem;
        padding-inline-start: 3rem;
      }
    }

    @media (min-width: 1280px) {
      .central-landing-page .ux-text-col {
        padding-inline-end: 2.5rem;
        padding-inline-start: 5rem;
      }
    }

    /* ─── Brands infinite marquee ─── */
    .brands-marquee-wrap {
      position: relative;
    }

    .brands-marquee-viewport {
      overflow: hidden;
      -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 7%,
        #000 93%,
        transparent 100%
      );
      mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 7%,
        #000 93%,
        transparent 100%
      );
    }

    .brands-marquee-track {
      display: flex;
      flex-direction: row;
      width: max-content;
      will-change: transform;
      animation: brands-marquee 35s linear infinite;
    }

    .brands-marquee-track:hover {
      animation-play-state: paused;
    }

    .brands-marquee-set {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 62px;
      flex-shrink: 0;
      padding-inline-end: 62px;
    }

    @keyframes brands-marquee {
      0%   { transform: translate3d(0, 0, 0); }
      100% { transform: translate3d(-50%, 0, 0); }
    }

    /* ─── Features grid (inside dividers only — no outer border) ─── */
    .features-grid-wrap {
      overflow: visible;
    }

    .features-grid {
      display: grid;
      grid-template-columns: 1fr;
    }

    @media (min-width: 768px) {
      .features-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    .feature-card {
      position: relative;
      z-index: 1;
      background: #fff;
      padding: 2rem 1.25rem 2.5rem;
      text-align: center;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* فواصل أفقية داخلية بين الصفوف فقط (ليس أسفل الصف الأخير) */
    @media (min-width: 768px) {
      .feature-card:nth-child(-n+6) {
        border-bottom: 1px solid #000000;
      }
    }

    @media (max-width: 767px) {
      .feature-card:not(:last-child) {
        border-bottom: 1px solid #000;
      }
    }

    /* فواصل عمودية داخلية بين الأعمدة (ليس أقصى اليمين في RTL) */
    @media (min-width: 768px) {
      .feature-card:not(:nth-child(3n+1)) {
        border-inline-start: 1px solid #000000;
      }
    }

    .feature-card:hover {
      z-index: 20;
      transform: translateY(-12px) scale(1.02);
      border-bottom-color: transparent;
      border-inline-start-color: transparent;
      box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.18),
        0 12px 24px -8px rgba(0, 0, 0, 0.12);
    }

    .feature-reveal {
      opacity: 0;
      transform: translateY(50px);
      transition:
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .feature-reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .feature-card:hover.feature-reveal.is-visible {
      transform: translateY(-12px) scale(1.02);
    }

    /* ─── UX Experience section reveals ─── */
    .ux-ease {
      transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .ux-reveal-title,
    .ux-reveal-desc {
      opacity: 0;
      transform: translateY(12px);
      transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .ux-reveal-feature {
      opacity: 0;
      transform: scale(0.95);
      transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .ux-reveal-btn {
      opacity: 0;
      transform: translateY(16px);
      transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .ux-reveal-image {
      opacity: 0;
      transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    html[dir="rtl"] .ux-reveal-image {
      transform: translateX(-20px);
    }

    html[dir="ltr"] .ux-reveal-image {
      transform: translateX(20px);
    }

    .is-ux-visible.ux-reveal-title,
    .is-ux-visible.ux-reveal-desc {
      opacity: 1;
      transform: translateY(0);
    }

    .is-ux-visible.ux-reveal-feature {
      opacity: 1;
      transform: scale(1);
    }

    .is-ux-visible.ux-reveal-btn {
      opacity: 1;
      transform: translateY(0);
    }

    .is-ux-visible.ux-reveal-image {
      opacity: 1;
      transform: translateX(0);
    }

    /* ─── UX tablet image flush to screen edge ─── */
    @media (min-width: 1024px) {
      html[dir="rtl"] .ux-image-flush {
        margin-inline-start: -36px;
        margin-inline-end: 0;
        width: calc(min(699px, 52vw) + 36px);
      }

      html[dir="ltr"] .ux-image-flush {
        margin-inline-end: -36px;
        margin-inline-start: 0;
        width: calc(min(699px, 52vw) + 36px);
      }

      .ux-image-flush img {
        display: block;
        width: min(699px, 52vw);
        max-width: none;
        height: auto;
        object-fit: contain;
      }

      html[dir="rtl"] .ux-image-flush img {
        object-position: left center;
      }

      html[dir="ltr"] .ux-image-flush img {
        object-position: right center;
        margin-inline-start: auto;
      }
    }

    /* 8. screen-area — temporary static preview */
    #screenshots .screenshots-preview {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    #screenshots .screenshots-preview img {
      display: block;
      width: 100%;
      max-width: 960px;
      height: auto;
    }

    /* ─── Three Steps section ─── */
    #steps {
      overflow: visible;
      --steps-max-width: 1200px;
      --steps-path-ratio: 1050.49 / 281.49;
    }

    #steps .steps-layout {
      position: relative;
      width: 100%;
      max-width: var(--steps-max-width);
      margin-inline: auto;
    }

    /* Dotted connectors — same width as the grid so circles stay aligned */
    #steps .steps-path-layer {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: var(--steps-max-width);
      aspect-ratio: var(--steps-path-ratio);
      pointer-events: none;
      z-index: 0;
    }

    #steps .steps-arrow {
      position: absolute;
      height: auto;
      object-fit: contain;
      display: block;
    }

    #steps .steps-arrow-4 {
      left: 21.58%;
      top: 41%;
      width: 23.66%;
    }

    #steps .steps-arrow-1 {
      left: 50.84%;
      top: -55px;
      width: 27.1%;
    }

    #steps .steps-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      column-gap: clamp(1rem, 3.5vw, 3rem);
      align-items: start;
      width: 100%;
      margin-inline: auto;
    }

    #steps .step-column {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      min-width: 0;
    }

    #steps .step-icon-wrap {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      width: 100%;
      margin-bottom: 26px;
    }

    @media (min-width: 768px) {
      #steps .step-icon-wrap {
        /* Match path-layer height at current container width */
        min-height: clamp(200px, calc(100vw * 281.49 / 1050.49), 316px);
        margin-bottom: 32px;
      }
    }

    @media (min-width: 1180px) {
      #steps .step-icon-wrap {
        min-height: 160px;
      }
    }

    #steps .step-circle {
      width: clamp(110px, 15.7vw, 164px);
      height: clamp(110px, 15.7vw, 164px);
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    #steps .step-circle img {
      width: clamp(34px, 4.8vw, 50px);
      height: auto;
    }

    #steps .step-copy {
      padding-top: 25px ;
      width: 100%;
      text-align: center;
    }

    #steps .step-copy h3,
    #steps .step-copy p {
      text-align: center;
    }

    #steps .step-copy h3 {
      margin-bottom: 0.5rem;
    }

    @media (min-width: 768px) {
      #steps .step-copy h3 {
        margin-bottom: 0.75rem;
      }
    }

    @media (max-width: 767px) {
      #steps .steps-path-layer {
        display: none;
      }

      #steps .steps-grid {
        grid-template-columns: 1fr;
        row-gap: 2.5rem;
        max-width: 420px;
        margin-inline: auto;
      }

      #steps .step-icon-wrap {
        align-items: center;
        min-height: auto;
        margin-bottom: 1rem;
      }

      #steps .step-copy {
        padding-top: 0;
      }
    }

    @media (min-width: 768px) and (max-width: 1023px) {
      #steps .steps-grid {
        column-gap: clamp(0.75rem, 2vw, 1.5rem);
      }
    }

    /* ─── Steps section scroll reveal ─── */
    .steps-reveal-title {
      opacity: 0;
      transform: translateY(32px);
      transition:
        opacity 1.35s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .is-steps-visible.steps-reveal-title {
      opacity: 1;
      transform: translateY(0);
    }

    #steps .step-reveal .step-circle {
      opacity: 0;
      transform: scale(0.55);
      transition:
        opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    #steps .step-reveal .step-copy {
      opacity: 0;
      transform: translateY(28px);
      transition:
        opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    }

    #steps .step-reveal.is-step-visible .step-circle {
      opacity: 1;
      transform: scale(1);
    }

    #steps .step-reveal.is-step-visible .step-copy {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.3s;
    }

    #steps .steps-arrow-reveal {
      opacity: 0;
      clip-path: inset(0 100% 0 0);
      transition:
        opacity 1s ease,
        clip-path 2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    #steps .steps-arrow-reveal.is-arrow-visible {
      opacity: 1;
      clip-path: inset(0 0 0 0);
    }

    /* ─── Testimonials carousel ─── */
    #testimonials {
      background: #004aad;
      overflow: hidden;
    }

    #testimonials .testimonials-shell {
      position: relative;
      max-width: 900px;
      margin-inline: auto;
      padding-inline: clamp(3.5rem, 10vw, 6rem);
    }

    #testimonials .testimonials-swiper {
      width: 100%;
      overflow: hidden;
    }

    #testimonials .testimonials-swiper .swiper-slide {
      height: auto;
      flex-shrink: 0;
    }

    #testimonials .testimonial-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      color: #fff;
      padding-block: clamp(2.5rem, 6vw, 4rem);
    }

    #testimonials .testimonial-avatar {
      width: clamp(88px, 12vw, 112px);
      height: clamp(88px, 12vw, 112px);
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #fff;
      margin-bottom: 1.25rem;
    }

    #testimonials .testimonial-name {
      font-family: 'Almarai', sans-serif;
      font-weight: 700;
      font-size: clamp(1.25rem, 2.5vw, 1.75rem);
      line-height: 1.4;
      margin-bottom: 0.35rem;
      color: #fff;
    }

    #testimonials .testimonial-date {
      font-family: 'Almarai', sans-serif;
      font-weight: 300;
      font-size: clamp(0.875rem, 1.8vw, 1rem);
      line-height: 1.5;
      opacity: 0.92;
      margin-bottom: clamp(1.25rem, 3vw, 2rem);
    }

    #testimonials .testimonial-quote {
      font-family: 'Almarai', sans-serif;
      font-weight: 300;
      font-size: clamp(1rem, 2vw, 1.25rem);
      line-height: 1.75;
      max-width: 780px;
      margin-inline: auto;
      margin-bottom: clamp(1.25rem, 3vw, 2rem);
    }

    #testimonials .testimonial-stars {
      display: flex;
      justify-content: center;
      gap: 0;
    }

    #testimonials .testimonial-stars svg {
      width: clamp(1.75rem, 4vw, 2rem);
      height: auto;
    }

    #testimonials .testimonials-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      color: #fff;
      padding: 0.5rem;
      transition: opacity 0.2s ease;
      cursor: pointer;
      background: none;
      border: none;
    }

    #testimonials .testimonials-nav:hover {
      opacity: 0.75;
    }

    #testimonials .testimonials-nav svg {
      width: clamp(2.5rem, 6vw, 4.375rem);
      height: auto;
      display: block;
    }

    #testimonials .testimonials-prev {
      left: 0;
    }

    #testimonials .testimonials-next {
      right: 0;
    }

    @media (max-width: 639px) {
      #testimonials .testimonials-shell {
        padding-inline: 2.75rem;
      }

      #testimonials .testimonials-nav svg {
        width: 2rem;
      }
    }

    /* ─── Pricing section ─── */
    #pricing {
      background: #f6f6fa;
    }

    #pricing .pricing-toggle-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.25rem;
      width: fit-content;
      max-width: 100%;
      padding: 0.35rem;
      margin: 0 auto 2.5rem;
      background: #fff;
      border-radius: 999px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      flex-wrap: wrap;
    }

    #pricing .pricing-toggle-btn {
      border: none;
      background: transparent;
      color: #847f7f;
      font-family: 'Almarai', sans-serif;
      font-weight: 700;
      font-size: clamp(0.9rem, 2vw, 1.125rem);
      line-height: 1.4;
      padding: 0.75rem 1.5rem;
      border-radius: 999px;
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
      white-space: nowrap;
    }

    #pricing .pricing-toggle-btn.is-active {
      background: #1680fb;
      color: #fff;
      box-shadow: 0 4px 14px rgba(22, 128, 251, 0.35);
    }

    #pricing .pricing-empty {
      width: 100%;
      padding: 2rem 0;
    }

    #pricing .pricing-grid {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: center;
      gap: 2.5rem;
      max-width: 880px;
      margin-inline: auto;
    }

    @media (min-width: 768px) {
      #pricing .pricing-grid {
        flex-direction: row;
        align-items: stretch;
      }
    }

    #pricing .pricing-grid.pricing-grid--single {
      max-width: 440px;
    }

    #pricing .pricing-grid.pricing-grid--multi {
      max-width: 1200px;
      flex-wrap: wrap;
    }

    #pricing .pricing-card {
      flex: 1;
      display: flex;
      flex-direction: column;
      background: #fff;
      border-radius: 10px;
      padding: clamp(1.75rem, 4vw, 2rem);
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    }

    #pricing .pricing-card-title {
      font-family: 'Almarai', sans-serif;
      font-weight: 700;
      font-size: clamp(1.25rem, 2.5vw, 1.5rem);
      line-height: 1.4;
      text-align: center;
      color: #1d1d1b;
      margin-bottom: 0.5rem;
    }

    #pricing .pricing-card-price {
      font-family: 'Almarai', sans-serif;
      font-weight: 700;
      font-size: clamp(2rem, 5vw, 3rem);
      line-height: 1.2;
      text-align: center;
      color: #1d1d1b;
      margin-bottom: 1rem;
    }

    #pricing .pricing-card-price span {
      font-size: 0.58em;
      font-weight: 700;
    }

    #pricing .pricing-card-desc {
      font-family: 'Almarai', sans-serif;
      font-weight: 400;
      font-size: 0.875rem;
      line-height: 1.65;
      text-align: center;
      color: #847f7f;
      margin-bottom: 1.5rem;
    }

    #pricing .pricing-features {
      list-style: none;
      margin: 0 0 2rem;
      padding: 0;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    #pricing .pricing-feature {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      font-family: 'Almarai', sans-serif;
      font-size: 13px;
      line-height: 1.75;
      color: #1d1d1b;
      text-align: start;
    }

    #pricing .pricing-feature-icon {
      flex-shrink: 0;
      width: 16px;
      height: 16px;
      margin-top: 4px;
    }

    #pricing .pricing-feature-icon--warn {
      width: 16px;
      height: 16px;
      margin-top: 4px;
      flex-shrink: 0;
    }

    #pricing .pricing-cta {
      display: block;
      width: 100%;
      padding: 0.75rem 1rem;
      border-radius: 6px;
      background: #1680fb;
      color: #fff;
      font-family: 'Almarai', sans-serif;
      font-weight: 700;
      font-size: clamp(1.125rem, 2.5vw, 1.25rem);
      text-align: center;
      transition: opacity 0.2s ease;
    }

    #pricing .pricing-cta:hover {
      opacity: 0.9;
    }

    #pricing .pricing-note {
      font-family: 'Almarai', sans-serif;
      font-size: 0.875rem;
      line-height: 1.5;
      text-align: center;
      color: #847f7f;
      margin-top: 0.75rem;
    }

    /* ─── Blog / Latest Articles ─── */
    #blog {
      background: #fff;
    }

    #blog .blog-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      max-width: 72rem;
      margin-inline: auto;
    }

    @media (min-width: 768px) {
      #blog .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(1.5rem, 3vw, 2.5rem);
      }
    }

    #blog .blog-card {
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
      height: 100%;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    #blog .blog-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    }

    #blog .blog-card-image-wrap {
      aspect-ratio: 412 / 275;
      overflow: hidden;
      background: #f3f3f3;
    }

    #blog .blog-card-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    #blog .blog-card-body {
      padding: 1.25rem 1.5rem 1.5rem;
      text-align: start;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    #blog .blog-card-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      font-family: 'Almarai', sans-serif;
      font-size: 15px;
      line-height: 1.12;
      color: #1d1d1b;
      margin-bottom: 0.75rem;
    }

    #blog .blog-card-divider {
      height: 1px;
      background: #c3c3c3;
      margin-bottom: 1rem;
    }

    #blog .blog-card-title {
      font-family: 'Almarai', sans-serif;
      font-weight: 700;
      font-size: clamp(1.125rem, 2.2vw, 1.5rem);
      line-height: 1.12;
      color: #1d1d1b;
      margin-bottom: 0.75rem;
      transition: color 0.2s ease;
    }

    #blog .blog-card:hover .blog-card-title {
      color: #004aad;
    }

    #blog .blog-card-excerpt {
      font-family: 'Almarai', sans-serif;
      font-weight: 400;
      font-size: 1rem;
      line-height: 1.5;
      color: #1d1d1b;
      margin: 0;
    }

    /* ─── FAQ section ─── */
    #faq {
      position: relative;
      overflow: hidden;
      background: #fff;
    }

    #faq .faq-list {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      max-width: 1258px;
      margin-inline: auto;
    }

    #faq .faq-item {
      border-radius: 25px;
      overflow: hidden;
      background: #004aad;
    }

    #faq .faq-question {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: clamp(1.15rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
      background: #004aad;
      color: #fff;
      border: none;
      cursor: pointer;
      text-align: start;
      font-family: 'Almarai', sans-serif;
      font-weight: 700;
      font-size: clamp(1.125rem, 2.2vw, 1.5rem);
      line-height: 1.35;
      transition: background 0.2s ease;
    }

    #faq .faq-question-text {
      flex: 1;
      text-align: start;
    }

    #faq .faq-icon {
      width: 1.35rem;
      height: 1.35rem;
      flex-shrink: 0;
      transform: rotate(90deg);
      transition: transform 0.25s ease;
    }

    #faq .faq-item.open .faq-icon {
      transform: rotate(0deg);
    }

    #faq .faq-item.open .faq-question {
      border-radius: 25px 25px 0 0;
    }

    #faq .faq-item:not(.open) .faq-question {
      border-radius: 25px;
    }

    #faq .faq-answer {
      max-height: 0;
      overflow: hidden;
      background: #0056ca;
      color: #fff;
      transition: max-height 0.35s ease, padding 0.35s ease;
      padding: 0 clamp(1.25rem, 3vw, 2rem);
      font-family: 'Almarai', sans-serif;
      font-weight: 400;
      font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
      line-height: 1.65;
    }

    #faq .faq-item.open .faq-answer {
      max-height: 320px;
      padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 1.75rem);
      border-radius: 0 0 25px 25px;
    }

    #faq .faq-inner {
      position: relative;
      z-index: 1;
    }

    /* ─── Footer ─── */
    #footer {
      --footer-wave-top: 90px;
      position: relative;
      background: #fff;
      overflow: hidden;
    }

    /* Blue body starts at the wave — keeps the gap above it white */
    #footer::after {
      content: '';
      position: absolute;
      top: var(--footer-wave-top);
      left: 0;
      right: 0;
      bottom: 0;
      background: #f3f5ff;
      z-index: 0;
    }

    #footer .footer-bg-wave {
      position: absolute;
      top: var(--footer-wave-top);
      left: 0;
      width: 100%;
      height: auto;
      pointer-events: none;
      z-index: 1;
      display: block;
      mix-blend-mode: screen;
    }

    #footer .footer-inner {
      position: relative;
      z-index: 2;
      padding-top: calc(var(--footer-wave-top) + clamp(4rem, 8vw, 6rem));
    }

    #footer .footer-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    @media (min-width: 768px) {
      #footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (min-width: 1024px) {
      #footer .footer-grid {
        grid-template-columns: 1.35fr 0.85fr 0.85fr 1.15fr;
        gap: clamp(1.5rem, 3vw, 3rem);
      }
    }

    #footer .footer-logo {
      width: 164px;
      height: auto;
      margin-bottom: 1.25rem;
    }

    #footer .footer-about {
      font-family: 'Almarai', sans-serif;
      font-size: 1rem;
      line-height: 1.65;
      color: #1d1d1b;
      max-width: 28rem;
    }

    #footer .footer-links {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }

    #footer .footer-links a {
      font-family: 'Almarai', sans-serif;
      font-size: 1rem;
      line-height: 1.5;
      color: #1d1d1b;
      transition: color 0.2s ease;
    }

    #footer .footer-links a:hover {
      color: #004aad;
    }

    #footer .footer-contact li {
      font-family: 'Almarai', sans-serif;
      font-size: 1rem;
      line-height: 1.65;
      color: #1d1d1b;
    }

    #footer .footer-copy {
      margin-top: 3rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(0, 0, 0, 0.08);
      text-align: center;
      font-family: 'Almarai', sans-serif;
      font-size: 1rem;
      line-height: 1.6;
      color: #1d1d1b;
    }

    #footer .footer-copy-accent {
      color: #ff9900;
    }

    /* ─── Signup Page ─── */
    html:has(.signup-body) {
      height: 100%;
      overflow: hidden;
    }

    .signup-body {
      height: 100vh;
      height: 100dvh;
      min-height: 0;
      overflow: hidden;
      background: #fff;
    }

    .signup-page {
      display: grid;
      grid-template-columns: 1fr;
      height: 100%;
      min-height: 0;
      overflow: hidden;
    }

    @media (min-width: 1024px) {
      .signup-page {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
      }
    }

    /* Branding panel */
    .signup-brand {
      position: relative;
      overflow: hidden;
      background: linear-gradient(160deg, #0a1f4a 0%, #0d2d6b 35%, #004aad 100%);
      color: #fff;
      order: -1;
      min-height: 0;
      height: 100%;
    }

    @media (min-width: 1024px) {
      .signup-brand {
        order: 0;
      }
    }

    .signup-brand::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
      background-size: 24px 24px;
      pointer-events: none;
    }

    .signup-brand-inner {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 0;
      overflow: hidden;
      padding: clamp(1.25rem, 3vh, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
    }

    .signup-brand-curve {
      position: absolute;
      pointer-events: none;
      z-index: 1;
    }

    .signup-brand-curve-1 {
      width: 280px;
      height: 280px;
      top: 10%;
      left: -40px;
      opacity: 0.6;
    }

    .signup-brand-curve-2 {
      width: 360px;
      height: 360px;
      bottom: 5%;
      right: -60px;
      opacity: 0.4;
      transform: scaleX(-1);
    }

    .signup-logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: inherit;
      margin-bottom: clamp(0.75rem, 2vh, 1.75rem);
    }

    .signup-logo-icon {
      flex-shrink: 0;
    }

    .signup-logo-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .signup-logo-name {
      font-size: 1.25rem;
      font-weight: 800;
      line-height: 1.2;
    }

    .signup-logo-tagline {
      font-size: 0.8125rem;
      font-weight: 400;
      opacity: 0.75;
    }

    .signup-brand-title {
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      font-weight: 800;
      line-height: 1.35;
      margin-bottom: 0.625rem;
      max-width: 22rem;
    }

    .signup-brand-desc {
      font-size: clamp(0.875rem, 1.5vw, 1rem);
      line-height: 1.6;
      opacity: 0.85;
      max-width: 24rem;
      margin-bottom: clamp(0.75rem, 1.5vh, 1.25rem);
    }

    .signup-features {
      list-style: none;
      margin: 0 0 clamp(0.75rem, 1.5vh, 1.25rem);
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: clamp(0.375rem, 1vh, 0.75rem);
    }

    .signup-features li {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: clamp(0.875rem, 1.4vw, 1rem);
      line-height: 1.5;
    }

    .signup-feature-icon {
      flex-shrink: 0;
      display: flex;
    }

    .signup-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: auto;
      margin-bottom: clamp(0.5rem, 1vh, 1rem);
    }

    @media (max-width: 480px) {
      .signup-stats {
        grid-template-columns: 1fr;
      }
    }

    .signup-stat-card {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: clamp(10px, 1.5vh, 12px) clamp(8px, 1vw, 10px);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(4px);
    }

    .signup-stat-icon {
      flex-shrink: 0;
      display: flex;
    }

    .signup-stat-value {
      display: block;
      font-size: 1.125rem;
      font-weight: 800;
      line-height: 1.2;
    }

    .signup-stat-label {
      display: block;
      font-size: 0.75rem;
      opacity: 0.75;
      line-height: 1.3;
      margin-top: 2px;
    }

    .signup-proof {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 8px 16px 8px 12px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.1);
      align-self: flex-start;
    }

    .signup-proof-avatars {
      display: flex;
      flex-direction: row-reverse;
    }

    .signup-avatar {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: 2px solid rgba(10, 31, 74, 0.8);
      margin-right: -8px;
    }

    .signup-avatar-1 { background: #22c55e; }
    .signup-avatar-2 { background: #f59e0b; }
    .signup-avatar-3 { background: #1680fb; margin-right: 0; }

    .signup-proof-text {
      font-size: 0.8125rem;
      white-space: nowrap;
    }

    /* Form panel */
    .signup-form-panel {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      min-height: 0;
      overflow: hidden;
      padding: clamp(1rem, 2.5vh, 1.75rem) clamp(1.25rem, 3vw, 2rem);
      background: #fff;
    }

    .signup-form-wrap {
      width: 100%;
      max-width: 520px;
      max-height: 100%;
    }

    .signup-form-header {
      margin-bottom: clamp(0.75rem, 1.5vh, 1.25rem);
    }

    .signup-form-title {
      font-size: clamp(1.375rem, 2.5vw, 1.75rem);
      font-weight: 800;
      color: #1d1d1b;
      margin-bottom: 0.25rem;
    }

    .signup-form-subtitle {
      font-size: 0.875rem;
      color: #847f7f;
    }

    .signup-link {
      color: #004aad;
      text-decoration: none;
      font-weight: 700;
      transition: opacity 0.2s;
    }

    .signup-link:hover {
      opacity: 0.85;
      text-decoration: underline;
    }

    .signup-form {
      display: flex;
      flex-direction: column;
      gap: clamp(0.5rem, 1vh, 0.75rem);
    }

    .signup-field {
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 0;
    }

    .signup-label {
      font-size: 0.8125rem;
      font-weight: 700;
      color: #1d1d1b;
    }

    .signup-input {
      width: 100%;
      height: 42px;
      padding: 0 12px;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      font-size: 0.875rem;
      color: #1d1d1b;
      background: #fff;
      transition: border-color 0.2s, box-shadow 0.2s;
      outline: none;
    }

    .signup-input::placeholder {
      color: #a0aec0;
    }

    .signup-input:focus {
      border-color: #004aad;
      box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.12);
    }

    .signup-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    @media (max-width: 640px) {
      .signup-row {
        grid-template-columns: 1fr;
      }
    }

    .signup-input-group {
      display: flex;
      align-items: stretch;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      overflow: hidden;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .signup-input-group-phone {
      overflow: visible;
      position: relative;
    }

    .signup-input-group-phone:focus-within {
      border-color: #004aad;
      box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.12);
    }

    .signup-input-group:focus-within {
      border-color: #004aad;
      box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.12);
    }

    .signup-input-group .signup-input-group-field {
      flex: 1;
      border: none;
      border-radius: 0;
      box-shadow: none;
      min-width: 0;
    }

    .signup-input-group .signup-input-group-field:focus {
      box-shadow: none;
    }

    .signup-input-group-subdomain {
      direction: ltr;
    }

    .signup-input-addon {
      display: flex;
      align-items: center;
      padding: 0 10px;
      background: #e8f1f9;
      color: #004aad;
      font-size: 0.75rem;
      font-weight: 700;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .signup-country-btn {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 0 8px;
      background: #e8f1f9;
      border: none;
      color: #004aad;
      font-size: 0.75rem;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      flex-shrink: 0;
      font-family: inherit;
      transition: background 0.2s;
      height: 100%;
      min-height: 42px;
    }

    .signup-country-btn:hover,
    .signup-country-select.is-open .signup-country-btn {
      background: #dce8f5;
    }

    .signup-country-select {
      position: relative;
      flex-shrink: 0;
    }

    .signup-country-iso {
      font-size: 0.6875rem;
      opacity: 0.85;
    }

    .signup-country-chevron {
      flex-shrink: 0;
      transition: transform 0.2s;
    }

    .signup-country-select.is-open .signup-country-chevron {
      transform: rotate(180deg);
    }

    .signup-country-dropdown {
      position: fixed;
      z-index: 1000;
      width: min(300px, 85vw);
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .signup-country-dropdown[hidden] {
      display: none !important;
    }

    .signup-country-search-wrap {
      padding: 10px;
      border-bottom: 1px solid #edf2f7;
      flex-shrink: 0;
    }

    .signup-country-search {
      width: 100%;
      height: 38px;
      padding: 0 12px;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      font-size: 0.8125rem;
      font-family: inherit;
      outline: none;
      color: #1d1d1b;
    }

    .signup-country-search:focus {
      border-color: #004aad;
      box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
    }

    .signup-country-list {
      list-style: none;
      margin: 0;
      padding: 6px;
      overflow-y: auto;
      flex: 1;
      min-height: 0;
    }

    .signup-country-option {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      padding: 8px 10px;
      border: none;
      border-radius: 8px;
      background: transparent;
      cursor: pointer;
      font-family: inherit;
      text-align: start;
      transition: background 0.15s;
    }

    .signup-country-option:hover,
    .signup-country-option.is-selected {
      background: #e8f1f9;
    }

    .signup-country-option-flag {
      font-size: 1.125rem;
      line-height: 1;
      flex-shrink: 0;
    }

    .signup-country-option-name {
      flex: 1;
      font-size: 0.8125rem;
      font-weight: 700;
      color: #1d1d1b;
      min-width: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .signup-country-option-dial {
      font-size: 0.75rem;
      font-weight: 700;
      color: #004aad;
      flex-shrink: 0;
    }

    .signup-country-empty {
      padding: 16px 12px;
      text-align: center;
      font-size: 0.8125rem;
      color: #847f7f;
    }

    body.signup-country-open .signup-form-panel {
      overflow: visible;
    }

    .signup-flag {
      font-size: 1rem;
      line-height: 1;
    }

    .signup-password-wrap {
      position: relative;
    }

    .signup-input-password {
      padding-left: 44px;
    }

    .signup-password-toggle {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      padding: 0;
      border: none;
      background: transparent;
      cursor: pointer;
      border-radius: 6px;
      transition: background 0.2s;
    }

    .signup-password-toggle:hover {
      background: rgba(0, 0, 0, 0.04);
    }

    .signup-terms {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 0.8125rem;
      color: #1d1d1b;
      line-height: 1.5;
      cursor: pointer;
      margin-top: 0.125rem;
    }

    .signup-checkbox {
      width: 16px;
      height: 16px;
      margin-top: 2px;
      flex-shrink: 0;
      accent-color: #004aad;
      cursor: pointer;
    }

    .signup-submit {
      width: 100%;
      height: 46px;
      border: none;
      border-radius: 12px;
      background: #004aad;
      color: #fff;
      font-size: 0.9375rem;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      transition: background 0.2s, opacity 0.2s;
    }

    .signup-submit:hover {
      background: #003d8f;
    }

    .signup-submit:active {
      opacity: 0.92;
    }

    .signup-disclaimer {
      text-align: center;
      font-size: 0.75rem;
      color: #847f7f;
      line-height: 1.5;
      margin-top: 0;
    }

    @media (max-height: 760px) {
      .signup-body .signup-features {
        display: none;
      }

      .signup-input {
        height: 40px;
      }

      .signup-submit {
        height: 42px;
      }
    }

    /* ─── Login Page ─── */
    html:has(.login-body) {
      height: 100%;
      overflow: hidden;
    }

    .login-body {
      height: 100vh;
      height: 100dvh;
      min-height: 0;
      overflow: hidden;
      background: #f8f9fb;
    }

    .login-page {
      display: grid;
      grid-template-columns: 1fr;
      height: 100%;
      min-height: 0;
      overflow: hidden;
    }

    @media (min-width: 1024px) {
      .login-page {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
      }
    }

    .login-brand {
      min-height: 0;
      height: 100%;
    }

    .login-brand .signup-brand-inner {
      height: 100%;
      min-height: 0;
      overflow: hidden;
      padding: clamp(1.25rem, 3vh, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
    }

    .login-brand .signup-logo {
      margin-bottom: clamp(0.75rem, 2vh, 1.75rem);
    }

    .login-brand .signup-brand-title {
      max-width: 26rem;
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      margin-bottom: 0.625rem;
    }

    .login-brand .signup-brand-desc {
      margin-bottom: clamp(0.75rem, 1.5vh, 1.25rem);
      font-size: clamp(0.875rem, 1.5vw, 1rem);
    }

    .login-brand .signup-features {
      gap: clamp(0.375rem, 1vh, 0.75rem);
      margin-bottom: clamp(0.75rem, 1.5vh, 1.25rem);
    }

    .login-brand .signup-features li {
      font-size: clamp(0.875rem, 1.4vw, 1rem);
    }

    .login-brand .signup-stats {
      margin-bottom: clamp(0.5rem, 1vh, 1rem);
    }

    .login-brand .signup-stat-card {
      padding: clamp(10px, 1.5vh, 14px) clamp(8px, 1vw, 12px);
    }

    .login-brand .signup-stat-value {
      font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
    }

    .login-brand-highlight {
      color: #5eb3ff;
    }

    .login-help-btn {
      position: absolute;
      bottom: clamp(1.5rem, 4vw, 2.5rem);
      left: clamp(1.5rem, 4vw, 2.5rem);
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      color: rgba(255, 255, 255, 0.85);
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
    }

    .login-help-btn:hover {
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 255, 255, 0.35);
    }

    .login-form-panel {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      min-height: 0;
      overflow: hidden;
      padding: clamp(1rem, 2.5vh, 2rem) clamp(1.25rem, 4vw, 2rem);
      background: #f8f9fb;
    }

    .login-form-wrap {
      width: 100%;
      max-width: 420px;
      max-height: 100%;
    }

    .login-form-header {
      text-align: center;
      margin-bottom: clamp(1rem, 2vh, 1.5rem);
    }

    .login-lock-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: clamp(44px, 6vh, 52px);
      height: clamp(44px, 6vh, 52px);
      margin-bottom: clamp(0.625rem, 1.2vh, 1rem);
      border-radius: 14px;
      background: linear-gradient(135deg, #1680fb 0%, #004aad 100%);
      box-shadow: 0 8px 24px rgba(0, 74, 173, 0.25);
    }

    .login-form-title {
      font-size: clamp(1.5rem, 3vw, 1.875rem);
      font-weight: 800;
      color: #0a1f4a;
      margin-bottom: 0.5rem;
    }

    .login-form-subtitle {
      font-size: 0.9375rem;
      color: #847f7f;
    }

    .login-link {
      color: #1680fb;
      text-decoration: none;
      font-weight: 700;
      transition: opacity 0.2s;
    }

    .login-link:hover {
      opacity: 0.85;
      text-decoration: underline;
    }

    .login-form {
      display: flex;
      flex-direction: column;
      gap: clamp(0.75rem, 1.4vh, 1.125rem);
    }

    .login-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .login-label-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .login-label {
      font-size: 0.875rem;
      font-weight: 700;
      color: #1d1d1b;
    }

    .login-forgot {
      font-size: 0.8125rem;
      font-weight: 700;
      white-space: nowrap;
    }

    .login-input {
      width: 100%;
      height: 48px;
      padding: 0 16px;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      font-size: 0.9375rem;
      color: #1d1d1b;
      background: #fff;
      transition: border-color 0.2s, box-shadow 0.2s;
      outline: none;
    }

    .login-input::placeholder {
      color: #a0aec0;
    }

    .login-input:focus {
      border-color: #004aad;
      box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.12);
    }

    .login-input-icon-wrap {
      position: relative;
    }

    .login-input-with-icon {
      padding-left: 44px;
      text-align: left;
    }

    .login-input-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      pointer-events: none;
    }

    .login-password-wrap {
      position: relative;
    }

    .login-input-password {
      padding-left: 44px;
    }

    .login-password-toggle {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      padding: 0;
      border: none;
      background: transparent;
      cursor: pointer;
      border-radius: 6px;
      transition: background 0.2s;
    }

    .login-password-toggle:hover {
      background: rgba(0, 0, 0, 0.04);
    }

    .login-remember {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.875rem;
      color: #1d1d1b;
      cursor: pointer;
      margin-top: -0.25rem;
    }

    .login-checkbox {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      accent-color: #004aad;
      cursor: pointer;
      border-radius: 50%;
    }

    .login-submit {
      width: 100%;
      height: 52px;
      border: none;
      border-radius: 12px;
      background: linear-gradient(135deg, #1680fb 0%, #004aad 100%);
      color: #fff;
      font-size: 1rem;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      transition: opacity 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 16px rgba(0, 74, 173, 0.3);
    }

    .login-submit:hover {
      opacity: 0.92;
      box-shadow: 0 6px 20px rgba(0, 74, 173, 0.35);
    }

    .login-submit:active {
      opacity: 0.88;
    }

    .login-divider {
      display: flex;
      align-items: center;
      gap: 16px;
      color: #a0aec0;
      font-size: 0.875rem;
    }

    .login-divider::before,
    .login-divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #e2e8f0;
    }

    .login-google-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      height: 52px;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      background: #fff;
      color: #1d1d1b;
      font-size: 0.9375rem;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    }

    .login-google-btn:hover {
      background: #fafbfc;
      border-color: #cbd5e0;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    @media (max-height: 760px) {
      .login-brand .signup-features {
        display: none;
      }

      .login-form-title {
        font-size: 1.375rem;
      }

      .login-input {
        height: 44px;
      }

      .login-submit,
      .login-google-btn {
        height: 46px;
      }
    }