﻿    .demo-modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: none;
      align-items: flex-start;
      justify-content: center;
      padding: 16px 12px;
      background: rgba(23, 20, 33, 0.52);
      backdrop-filter: blur(14px);
      overflow-y: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
    }
    .demo-modal.active { display: flex; }

    .demo-modal-backdrop {
      position: relative;
      width: min(920px, 100%);
      margin: auto;
      flex-shrink: 0;
      animation: demoModalIn 0.24s ease;
    }
.demo-phone-row {
    display: block !important;
    width: 100%;
}

    .demo-phone-row .iti {
        width: 100% !important;
    }

    .demo-phone-row .iti__tel-input,
    .demo-phone-row input[type="tel"] {
        width: 100% !important;
    }
.demo-form-field textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    font: inherit;
    font-size: 14px;
    color: #171421;
    resize: vertical;
    outline: none;
    box-shadow: 0 8px 22px rgba(39, 31, 80, 0.04);
}

    .demo-form-field textarea:focus {
        border-color: rgba(108, 76, 255, 0.55);
        box-shadow: 0 0 0 5px rgba(108, 76, 255, 0.1);
    }

    .demo-form-field textarea::placeholder {
        color: #aaa5b7;
    }
    @keyframes demoModalIn {
      from { opacity: 0; transform: translateY(18px) scale(0.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    .demo-popup {
      position: relative;
      overflow: hidden;
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      border-radius: 32px;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(255, 255, 255, 0.95);
      box-shadow: 0 30px 90px rgba(39, 31, 80, 0.22);
      backdrop-filter: blur(18px);
    }

    .demo-popup::before {
      content: "";
      position: absolute;
      width: 460px;
      height: 460px;
      right: -180px;
      top: -220px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(108, 76, 255, 0.22), transparent 68%);
      pointer-events: none;
    }

    .demo-popup::after {
      content: "";
      position: absolute;
      width: 380px;
      height: 380px;
      left: -170px;
      bottom: -200px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 203, 69, 0.24), transparent 68%);
      pointer-events: none;
    }

    .demo-popup-close {
      position: absolute;
      top: 12px;
      right: 14px;
      z-index: 4;
      display: grid;
      place-items: center;
      width: 40px;
      height: 40px;
      padding: 0;
      border: 1px solid #e8e6f2;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.96);
      color: #4f4a62;
      cursor: pointer;
      box-shadow: 0 6px 20px rgba(39, 31, 80, 0.1);
      transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    }

    .demo-popup-close svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2.25;
      stroke-linecap: round;
    }

    .demo-popup-close:hover {
      background: #171421;
      color: #fff;
      border-color: #171421;
      box-shadow: 0 10px 28px rgba(23, 20, 33, 0.22);
    }

    .demo-popup-close:active {
      transform: scale(0.94);
    }

    .demo-popup-close:focus-visible {
      outline: 2px solid #6c4cff;
      outline-offset: 2px;
    }

    .demo-popup-left {
      position: relative;
      z-index: 1;
      padding: 32px;
      color: white;
      background: linear-gradient(145deg, #171421, #30294a 65%, #6c4cff);
      overflow: hidden;
    }

    .demo-popup-left::before {
      content: "";
      position: absolute;
      width: 280px;
      height: 280px;
      right: -100px;
      top: -90px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%);
    }

    .demo-popup-eyebrow {
      position: relative;
      z-index: 1;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.14);
      font-size: 11px;
      font-weight: 850;
      color: rgba(255, 255, 255, 0.82);
      margin-bottom: 14px;
    }

    .demo-popup-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #00c875;
      box-shadow: 0 0 0 rgba(0, 200, 117, 0.4);
      animation: demoLivePulse 2s infinite;
    }

    @keyframes demoLivePulse {
      0% { box-shadow: 0 0 0 0 rgba(0, 200, 117, 0.4); }
      70% { box-shadow: 0 0 0 10px rgba(0, 200, 117, 0); }
      100% { box-shadow: 0 0 0 0 rgba(0, 200, 117, 0); }
    }

    .demo-popup-left h1 {
      position: relative;
      z-index: 1;
      margin: 0 0 12px;
      font-size: clamp(26px, 3.6vw, 40px);
      line-height: 0.95;
      letter-spacing: -0.07em;
    }

    .demo-popup-highlight {
      background: linear-gradient(90deg, #ffcb45, #fdab3d);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .demo-popup-left > p {
      position: relative;
      z-index: 1;
      margin: 0;
      color: rgba(255, 255, 255, 0.76);
      font-size: 13.5px;
      line-height: 1.5;
    }

    .demo-proof-stack {
      position: relative;
      z-index: 1;
      display: grid;
      gap: 8px;
      margin-top: 20px;
    }

    .demo-proof-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
    }

    .demo-proof-icon {
      width: 32px;
      height: 32px;
      border-radius: 11px;
      display: grid;
      place-items: center;
      font-size: 15px;
      background: rgba(255, 255, 255, 0.12);
      flex-shrink: 0;
    }

    .demo-proof-item b {
      display: block;
      font-size: 12.5px;
    }

    .demo-proof-item span {
      display: block;
      margin-top: 1px;
      color: rgba(255, 255, 255, 0.64);
      font-size: 11px;
      line-height: 1.3;
    }

    .demo-popup-right {
      position: relative;
      z-index: 1;
      padding: 38px 32px 32px;
      background: rgba(255, 255, 255, 0.9);
    }

    .demo-form-head {
      max-width: 560px;
      margin-bottom: 16px;
      padding-top: 4px;
      padding-right: 52px;
    }

    .demo-form-head h2 {
      margin: 0 0 6px;
      font-size: clamp(22px, 3vw, 34px);
      line-height: 1.15;
      letter-spacing: -0.06em;
    }

    .demo-form-head p {
      margin: 0;
      color: #666276;
      font-size: 13.5px;
      line-height: 1.45;
    }

    .demo-form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .demo-form-field {
      position: relative;
    }

    .demo-form-field.full {
      grid-column: span 2;
    }

    .demo-form-field label,
    .demo-captcha-card label {
      display: block;
      margin: 0 0 5px;
      color: #4f4a62;
      font-size: 12px;
      font-weight: 850;
    }

    .demo-form-field input,
    .demo-form-field select {
      width: 100%;
      height: 44px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: white;
      padding: 0 14px;
      font: inherit;
      font-size: 14px;
      color: #171421;
      outline: none;
      box-shadow: 0 8px 22px rgba(39, 31, 80, 0.04);
      transition: 0.2s ease;
    }

    .demo-form-field input:focus,
    .demo-form-field select:focus {
      border-color: rgba(108, 76, 255, 0.55);
      box-shadow: 0 0 0 5px rgba(108, 76, 255, 0.1);
    }

    .demo-form-field input::placeholder {
      color: #aaa5b7;
    }

    .demo-phone-row {
      display: grid;
      grid-template-columns: 108px 1fr;
      gap: 8px;
    }

    .demo-country-select {
      appearance: none;
      background:
        linear-gradient(45deg, transparent 50%, #666276 50%) calc(100% - 15px) 19px / 6px 6px no-repeat,
        linear-gradient(135deg, #666276 50%, transparent 50%) calc(100% - 10px) 19px / 6px 6px no-repeat,
        white;
      padding-right: 24px;
    }

    .demo-captcha-card {
      grid-column: span 2;
      display: grid;
      grid-template-columns: 1fr 52px;
      gap: 10px;
      align-items: end;
      margin-top: 2px;
    }

    .demo-captcha-box {
      height: 48px;
      border-radius: 14px;
      border: 1px solid var(--line);
      background:
        linear-gradient(135deg, rgba(108, 76, 255, 0.06), rgba(255, 203, 69, 0.08)),
        repeating-linear-gradient(-12deg, rgba(39, 31, 80, 0.035) 0 2px, transparent 2px 8px),
        white;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      font-size: 24px;
      font-family: Georgia, serif;
      letter-spacing: 0.2em;
      color: #171421;
      box-shadow: 0 8px 22px rgba(39, 31, 80, 0.04);
      user-select: none;
    }

    .demo-captcha-refresh {
      height: 48px;
      border: 0;
      border-radius: 14px;
      background: #0073ea;
      color: white;
      font-size: 22px;
      cursor: pointer;
      box-shadow: 0 14px 28px rgba(0, 115, 234, 0.22);
      transition: 0.2s ease;
    }

    .demo-captcha-refresh:hover {
      transform: translateY(-2px) rotate(10deg);
    }

    .demo-captcha-error {
      display: none;
      margin: 8px 0 0;
      font-size: 13px;
      font-weight: 700;
      color: #dc2626;
    }

    .demo-captcha-error.show {
      display: block;
    }

    .demo-submit-row {
      grid-column: span 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 6px;
    }

    .demo-submit-btn {
      min-height: 46px;
      padding: 0 22px;
      border: 0;
      border-radius: 999px;
      background: var(--brand-gradient);
      color: white;
      font-size: 14px;
      font-weight: 900;
      cursor: pointer;
      box-shadow: 0 16px 34px rgba(91, 92, 240, 0.28);
      transition: 0.2s ease;
    }

    .demo-submit-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 20px 40px rgba(91, 92, 240, 0.34);
    }

    .demo-privacy-note {
      max-width: 280px;
      color: #666276;
      font-size: 11px;
      line-height: 1.4;
    }

    .demo-micro-proof {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 14px;
    }

    .demo-micro-pill {
      padding: 6px 10px;
      border-radius: 999px;
      background: #f4f2fb;
      color: #4f4a62;
      border: 1px solid var(--line);
      font-size: 11px;
      font-weight: 900;
    }
.demo-success {
    display: none;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid #a7f3d0;
}

    .demo-success.show {
        display: block;
    }

/* errPhone full width in grid */
span.demo-error-text.full {
  grid-column: span 2;
}

/* ======= FIELD VALIDATION STYLES ======= */
.demo-form-field input.demo-field-error,
.demo-form-field textarea.demo-field-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1) !important;
}

.demo-error-text {
    display: none;
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
}

    .demo-error-text.show {
        display: block;
    }

/* Submit button disabled state */
.demo-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ======= PROFESSIONAL SUCCESS OVERLAY ======= */
.demo-success-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(23, 20, 33, 0.62);
    backdrop-filter: blur(18px);
}

    .demo-success-overlay.active {
        display: flex;
    }

.demo-success-card {
    width: min(460px, 100%);
    padding: 40px 32px;
    border-radius: 28px;
    background: white;
    text-align: center;
    box-shadow: 0 40px 100px rgba(39, 31, 80, 0.22);
    animation: demoSuccessPop 0.4s ease;
}

@keyframes demoSuccessPop {
    from {
        opacity: 0;
        transform: scale(0.88) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.demo-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #ecfdf5;
    display: grid;
    place-items: center;
    font-size: 36px;
}

.demo-success-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    letter-spacing: -0.04em;
    color: #171421;
}

.demo-success-card p {
    margin: 0 0 24px;
    color: #666276;
    font-size: 14px;
    line-height: 1.5;
}

.demo-success-close-btn {
    min-height: 46px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-gradient);
    color: white;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(91, 92, 240, 0.28);
    transition: 0.2s ease;
}

    .demo-success-close-btn:hover {
        transform: translateY(-2px);
    }
    .demo-success {
      display: none;
      margin-top: 10px;
      padding: 10px 12px;
      border-radius: 14px;
      background: #ecfdf5;
      color: #047857;
      font-weight: 800;
      font-size: 14px;
      border: 1px solid #a7f3d0;
    }

    .demo-success.show {
      display: block;
    }

    @media (max-width: 900px) {
      .demo-popup { grid-template-columns: 1fr; }
      .demo-popup-left,
      .demo-popup-right { padding: 24px; }
    }

    @media (max-width: 620px) {
      .demo-modal { padding: 12px; }
      .demo-popup { border-radius: 26px; }

      /* Force single column — all fields full width, no layout shift on validation */
      .demo-form-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
      }
      .demo-form-field,
      .demo-form-field.full,
      .demo-captcha-card,
      .demo-submit-row {
        grid-column: span 1 !important;
      }

      /* Phone row stays as country + number side by side */
      .demo-phone-row {
        grid-template-columns: 108px 1fr !important;
      }

      /* Captcha: image takes full width, refresh button beside it */
      .demo-captcha-card {
        grid-template-columns: 1fr 52px !important;
      }

      /* Submit row stacks vertically */
      .demo-submit-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
      }
      .demo-submit-btn {
        width: 100% !important;
        min-height: 50px !important;
        font-size: 15px !important;
      }
      .demo-privacy-note { max-width: 100%; }
      .demo-captcha-box { font-size: 22px; letter-spacing: 0.16em; }

      /* Error texts — always full width, no overflow */
      .demo-error-text {
        grid-column: span 1 !important;
        display: none;
        font-size: 11.5px !important;
        margin-top: 3px !important;
      }
      .demo-error-text.show { display: block; }

      /* Phone error specifically */
      span#errPhone {
        grid-column: span 1 !important;
      }

      /* Left panel compact */
      .demo-popup-left { padding: 20px !important; }
      .demo-popup-right { padding: 20px 16px !important; }

      /* Form head compact */
      .demo-form-head { padding-right: 0 !important; margin-bottom: 14px !important; }
      .demo-form-head h2 { font-size: 22px !important; }
      .demo-form-head p { font-size: 13px !important; }

      /* Inputs comfortable height */
      .demo-form-field input,
      .demo-form-field select {
        height: 46px !important;
        font-size: 15px !important;
      }

      /* Labels */
      .demo-form-field label,
      .demo-captcha-card label {
        font-size: 12px !important;
        margin-bottom: 4px !important;
      }

      /* Textarea */
      .demo-form-field textarea {
        font-size: 14px !important;
      }
    }

    /* =============================================
       SHARED MOBILE NAV — hamburger menu
       Used across Landing, FAQ, Contact pages
    ============================================= */

    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 44px;
      height: 44px;
      padding: 10px;
      border: 1px solid rgba(226,230,242,0.9);
      border-radius: 14px;
      background: white;
      cursor: pointer;
      box-shadow: 0 4px 14px rgba(39,31,80,0.08);
      transition: 0.2s ease;
      flex-shrink: 0;
    }

    .nav-hamburger span {
      display: block;
      height: 2px;
      border-radius: 999px;
      background: #0f172a;
      transition: 0.25s ease;
      transform-origin: center;
    }

    .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-mobile-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 9999;
      background: rgba(15, 23, 42, 0.46);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
    }

    .nav-mobile-menu.open { display: block; }

    .nav-mobile-panel {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: min(300px, 82vw);
      background: #ffffff;
      box-shadow: -20px 0 60px rgba(15, 23, 42, 0.18);
      display: flex;
      flex-direction: column;
      padding: 24px 20px;
      gap: 8px;
      overflow-y: auto;
      animation: slideInPanel 0.26s ease;
      z-index: 10000;
    }

    .nav-mobile-menu-label {
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.12em;
      color: #aaa5b7;
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    @keyframes slideInPanel {
      from { transform: translateX(100%); opacity: 0; }
      to { transform: translateX(0); opacity: 1; }
    }

    .nav-mobile-close {
      align-self: flex-end;
      display: grid;
      place-items: center;
      width: 52px;
      height: 52px;
      border: 1px solid rgba(226,230,242,0.9);
      border-radius: 14px;
      background: white;
      color: #0f172a;
      font-size: 22px;
      cursor: pointer;
      margin-bottom: 16px;
      flex-shrink: 0;
      box-shadow: 0 4px 14px rgba(39,31,80,0.08);
      transition: 0.2s ease;
      position: relative;
      z-index: 10001;
      pointer-events: all;
    }

    .nav-mobile-close:hover { background: #0f172a; color: white; border-color: #0f172a; }

    .nav-mobile-link {
      display: flex;
      align-items: center;
      padding: 14px 16px;
      border-radius: 14px;
      color: #4f4a62;
      font-size: 15px;
      font-weight: 700;
      transition: 0.18s ease;
      text-decoration: none;
    }

    .nav-mobile-link:hover { background: #f4f2fb; color: #0f172a; }
    .nav-mobile-link.is-active { color: #5b5cf0; background: rgba(91,92,240,0.07); }

    .nav-mobile-cta {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 50px;
      padding: 0 22px;
      margin-top: 8px;
      border-radius: 999px;
      font-weight: 800;
      font-size: 15px;
      border: 0;
      cursor: pointer;
      text-decoration: none;
      color: white;
      background: linear-gradient(90deg, #5b5cf0 0%, #8b5cf6 32%, #ec4899 65%, #f97316 100%);
      box-shadow: 0 14px 28px rgba(91, 92, 240, 0.28);
      transition: 0.2s ease;
    }

    .nav-mobile-cta:hover { transform: translateY(-2px); }

    @media (max-width: 980px) {
      .nav-hamburger { display: flex; }
    }

