/*
  Smirity Cable — Stylesheet
  Extracted from index.html for a clean, professional project structure.
  Sections: Base styles, Motion Pack v3 (ISP motion graphics), Theme Pack (Aurora Indigo typography/theme layer)
*/

/* ============================================================
   SECTION 1: BASE STYLES (layout, nav, hero, cards, footer, forms)
   ============================================================ */

  :root {
    --navy: #080C24;
    --navy2: #0D1235;
    --navy3: #111840;
    --cyan: #00C8FF;
    --cyan2: #0096CC;
    --green: #00E676;
    --white: #F0F4FF;
    --muted: #8899BB;
    --card: #111840;
    --border: rgba(0,200,255,0.15);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
  }

  /* ─── TOPBAR ─── */
  .topbar {
    background: var(--navy2);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: 13px;
    color: var(--muted);
  }
  .topbar .inner { max-width: 1100px; margin: auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
  .topbar a { color: var(--cyan); text-decoration: none; }

  /* ─── NAV ─── */
  nav {
    background: var(--navy2);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--border);
  }
  .nav-inner { max-width: 1100px; margin: auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .logo { display: flex; align-items: center; gap: 10px; }
  .logo-icon { width: 40px; height: 40px; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; overflow: hidden; flex-shrink: 0; padding: 3px; }
  .logo-icon img { width: 100%; height: 100%; object-fit: contain; }
  .logo-text { font-size: 19px; font-weight: 800; letter-spacing: 0.5px; white-space: nowrap; }
  .nav-links { display: flex; gap: 28px; list-style: none; }
  .nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; border-radius: 4px; }
  .nav-links a:hover { color: var(--cyan); }
  .nav-links a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
  .nav-btn { background: var(--cyan); color: var(--navy); font-weight: 700; padding: 9px 22px; border-radius: 8px; border: none; cursor: pointer; font-size: 14px; transition: opacity .2s; }
  .nav-btn:hover { opacity: 0.85; }
  .nav-btn:active { transform: scale(0.97); }
  .nav-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
  .icon-btn { width: 44px; height: 44px; border-radius: 8px; background: rgba(0,200,255,0.08); border: 1px solid var(--border); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; flex-shrink: 0; transition: all .2s; }
  .icon-btn:hover { border-color: var(--cyan); }
  .icon-btn:active { transform: scale(0.94); }
  .icon-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
  .nav-right { display: flex; align-items: center; gap: 10px; }

  /* ─── BACK TO TOP BUTTON ─── */
  #backToTopBtn {
    position: fixed; bottom: 26px; left: 26px; z-index: 150;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--cyan); color: #06121f; border: none;
    font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(0,200,255,0.35);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  #backToTopBtn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
  #backToTopBtn:hover { filter: brightness(1.1); }

  /* ─── FLOATING WHATSAPP BUTTON ─── */
  #floatingWhatsapp {
    position: fixed; bottom: 26px; right: 26px; z-index: 150;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    text-decoration: none; font-size: 28px;
    animation: wa-pulse 2.4s infinite;
  }
  #floatingWhatsapp:hover { filter: brightness(1.08); }
  @keyframes wa-pulse {
    0% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0); }
  }
  @media (max-width: 600px) {
    #floatingWhatsapp { bottom: 20px; right: 16px; width: 50px; height: 50px; font-size: 24px; }
  }
  @media (max-width: 480px) {
    #backToTopBtn { bottom: 18px; left: 18px; width: 42px; height: 42px; }
    #floatingWhatsapp { bottom: 18px; right: 18px; }
  }

  /* ─── FULLSCREEN FROSTED-GLASS MENU ─── */
  .menu-overlay { display: none; } /* legacy overlay no longer used */
  .slide-menu {
    position: fixed; inset: 0; height: 100%; width: 100%;
    background: rgba(5,8,20,0.45);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 400;
    visibility: hidden;
    opacity: 0;
    transition: opacity .45s ease,
                backdrop-filter .45s ease,
                -webkit-backdrop-filter .45s ease,
                visibility 0s linear .45s;
    display: flex; flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
  }
  .slide-menu.open {
    visibility: visible;
    opacity: 1;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: opacity .45s ease,
                backdrop-filter .55s ease,
                -webkit-backdrop-filter .55s ease;
  }
  .slide-menu-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 20px; flex-shrink: 0; }
  .slide-menu-top .logo { opacity: 0; transition: opacity .4s ease; }
  .slide-menu.open .slide-menu-top .logo { opacity: 1; transition-delay: .05s; }
  .slide-menu-links {
    list-style: none; display: flex; flex-direction: column; align-items: center;
    gap: 14px; margin-bottom: 28px; text-align: center;
  }
  .slide-menu-links li {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
  }
  .slide-menu.open .slide-menu-links li {
    opacity: 1;
    transform: translateY(0);
  }
  /* stagger: each link waits a little longer than the last */
  .slide-menu-links li:nth-child(1) { transition-delay: .12s; }
  .slide-menu-links li:nth-child(2) { transition-delay: .19s; }
  .slide-menu-links li:nth-child(3) { transition-delay: .26s; }
  .slide-menu-links li:nth-child(4) { transition-delay: .33s; }
  .slide-menu-links li:nth-child(5) { transition-delay: .40s; }
  .slide-menu-links li:nth-child(6) { transition-delay: .47s; }
  .slide-menu-links li:nth-child(7) { transition-delay: .54s; }
  .slide-menu-links a {
    color: var(--white); text-decoration: none; font-size: 26px; font-weight: 600;
    padding: 6px 8px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: color .2s;
  }
  .slide-menu-links a:hover { color: var(--cyan); }
  .slide-menu-links a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
  .menu-badge { background: #ff3b5c; color: #fff; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 100px; }
  .slide-menu-actions {
    display: flex; gap: 12px; margin-bottom: 20px;
    opacity: 0; transform: translateY(18px);
    transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
    transition-delay: .47s;
  }
  .slide-menu.open .slide-menu-actions { opacity: 1; transform: translateY(0); }
  .slide-menu-actions button { flex: 1; padding: 13px 28px; border-radius: 100px; border: none; font-weight: 700; font-size: 15px; cursor: pointer; color: #fff; transition: opacity .2s; }
  .slide-menu-actions button:hover { opacity: 0.85; }
  .quickpay-btn { background: linear-gradient(135deg, #5468ff, #6c5ce7); }
  .menu-login-btn { width: 100%; padding: 13px; border-radius: 10px; border: 1px solid var(--cyan); background: rgba(0,200,255,0.08); color: var(--cyan); font-weight: 700; font-size: 15px; cursor: pointer; margin-bottom: 14px; transition: all .2s; }
  .menu-login-btn:hover { background: rgba(0,200,255,0.15); }
  .slide-menu-help {
    text-align: center; color: var(--muted); font-size: 14px; position: absolute; bottom: 0; left: 0; right: 0; padding: 20px;
    opacity: 0; transition: opacity .4s ease; transition-delay: .52s;
  }
  .slide-menu.open .slide-menu-help { opacity: 1; }

  /* ─── HAMBURGER ↔ X MORPH ICON ─── */
  .hamburger-icon { width: 20px; height: 16px; position: relative; display: block; }
  .hamburger-icon span {
    position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
    background: currentColor;
    transition: transform .25s ease, opacity .25s ease, top .25s ease;
  }
  .hamburger-icon span:nth-child(1) { top: 0; }
  .hamburger-icon span:nth-child(2) { top: 7px; }
  .hamburger-icon span:nth-child(3) { top: 14px; }
  #menuToggleBtn.is-open .hamburger-icon span:nth-child(1) { top: 7px; transform: rotate(45deg); }
  #menuToggleBtn.is-open .hamburger-icon span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  #menuToggleBtn.is-open .hamburger-icon span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
  #menuToggleBtn { position: relative; z-index: 401; display: none; } /* stays above the blur overlay so the X is tappable while open; hidden by default, shown only on mobile below */
  @media (max-width: 640px) {
    #menuToggleBtn { display: flex; }
  }



  /* ─── HERO ─── */
  .hero {
    min-height: 88vh;
    background: radial-gradient(ellipse 80% 60% at 60% 30%, rgba(0,150,255,0.12) 0%, transparent 70%),
                radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,230,118,0.06) 0%, transparent 60%),
                var(--navy);
    display: flex; align-items: center;
    padding: 60px 24px;
    position: relative; overflow: hidden;
  }
  .hero-canvas {
    position: absolute; inset: 0; pointer-events: none;
  }

  /* ─── PER-SECTION GLOW ANIMATION ───
     A canvas is injected into each section by JS at the bottom of the page.
     This just makes sure it sits behind the section's real content. */
  .fx-host { position: relative; }
  .fx-host > .fx-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
  }
  .fx-host > *:not(.fx-canvas):not(.hero-arrow):not(.hero-dots) { position: relative; z-index: 1; }

  /* ─── QUICK PAY MODAL ─── */
  .quickpay-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(5,8,20,0.65);
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
  }
  .quickpay-overlay.open { display: flex; }
  .quickpay-modal {
    position: relative;
    width: 100%; max-width: 380px;
    background: var(--navy3);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px 28px 28px;
  }
  .quickpay-close {
    position: absolute; top: 16px; right: 16px;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.06); border: none;
    color: var(--white); font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
  }
  .quickpay-close:hover { background: rgba(255,255,255,0.12); }
  .quickpay-topback {
    position: absolute; top: 16px; left: 16px;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.06); border: none;
    color: var(--white); font-size: 16px; cursor: pointer;
    display: none; align-items: center; justify-content: center;
  }
  .quickpay-topback:hover { background: rgba(255,255,255,0.12); }
  .quickpay-topback.show { display: flex; }
  .quickpay-icon { font-size: 30px; margin-bottom: 14px; }
  .quickpay-title { font-size: 24px; font-weight: 800; color: var(--cyan); margin-bottom: 26px; }
  .quickpay-label { font-size: 13px; color: var(--muted); margin-bottom: 8px; display: block; }
  .quickpay-input-wrap { position: relative; margin-bottom: 22px; }
  .quickpay-input-wrap .icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--muted); font-size: 16px;
  }
  .quickpay-input {
    width: 100%; padding: 14px 14px 14px 42px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--white); font-size: 15px;
  }
  .quickpay-input::placeholder { color: var(--muted); opacity: 0.7; }
  .quickpay-input:focus { outline: none; border-color: var(--cyan); }
  .quickpay-btn {
    width: 100%; padding: 15px;
    background: var(--cyan); color: var(--navy);
    font-weight: 700; font-size: 15px;
    border: none; border-radius: 10px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all .2s;
  }
  .quickpay-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,200,255,0.3); }
  .quickpay-methods {
    margin-top: 22px; padding: 16px;
    border: 1px solid var(--border); border-radius: 10px;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  }
  .quickpay-methods .bkash { color: #e2136e; font-weight: 800; font-size: 17px; font-style: italic; }
  .quickpay-methods .cards { display: flex; gap: 6px; font-size: 11px; color: var(--muted); font-weight: 700; }
  .quickpay-error { color: #ff5c7a; font-size: 13px; margin: -10px 0 18px; display: none; }
  .quickpay-due-card {
    background: rgba(0, 200, 255, 0.06);
    border: 1px solid rgba(0, 200, 255, 0.25);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 18px;
  }
  .quickpay-due-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
  .quickpay-due-amount { font-size: 32px; font-weight: 800; }
  .quickpay-due-amount.due { color: #ff5577; }
  .quickpay-due-amount.clear { color: var(--green); }
  .quickpay-due-customer { font-size: 13px; color: var(--muted); margin-top: 6px; }
  .quickpay-btn-secondary {
    width: 100%;
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--muted);
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    margin-top: 10px;
    cursor: pointer;
    transition: all .2s;
  }
  .quickpay-btn-secondary:hover { border-color: rgba(255,255,255,0.3); color: var(--white); }
  .quickpay-btn-bkash {
    width: 100%; padding: 15px;
    background: #E2136E; color: #ffffff;
    font-weight: 800; font-size: 15px; font-style: italic;
    border: none; border-radius: 10px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 10px;
    transition: all .2s;
  }
  .quickpay-btn-bkash:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(226,19,110,0.35); }
  .quickpay-steps {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
  }
  .quickpay-steps li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
    color: var(--white);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .quickpay-steps li:last-child { border-bottom: none; }
  .quickpay-steps li b { color: var(--cyan); }
  .quickpay-copy-btn {
    background: var(--cyan);
    color: #06121f;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s;
  }
  .quickpay-copy-btn:hover { opacity: 0.85; }
  .quickpay-copy-btn.copied { background: var(--green); }
  .quickpay-spinner-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
  }
  .quickpay-spinner {
    position: relative;
    width: 90px;
    height: 90px;
    background: rgba(255, 70, 70, 0.08);
    border-radius: 50%;
  }
  .quickpay-spinner div {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 18px;
    margin-left: -2px;
    background: #ff4040;
    border-radius: 4px;
    transform-origin: 2px 37px;
    animation: quickpaySpin 2.5s linear infinite;
  }
  .quickpay-spinner div:nth-child(1) { transform: rotate(0deg); animation-delay: -2.1875s; }
  .quickpay-spinner div:nth-child(2) { transform: rotate(45deg); animation-delay: -1.875s; }
  .quickpay-spinner div:nth-child(3) { transform: rotate(90deg); animation-delay: -1.5625s; }
  .quickpay-spinner div:nth-child(4) { transform: rotate(135deg); animation-delay: -1.25s; }
  .quickpay-spinner div:nth-child(5) { transform: rotate(180deg); animation-delay: -0.9375s; }
  .quickpay-spinner div:nth-child(6) { transform: rotate(225deg); animation-delay: -0.625s; }
  .quickpay-spinner div:nth-child(7) { transform: rotate(270deg); animation-delay: -0.3125s; }
  .quickpay-spinner div:nth-child(8) { transform: rotate(315deg); animation-delay: 0s; }
  @keyframes quickpaySpin {
    0% { opacity: 1; }
    100% { opacity: 0.15; }
  }

  /* ─── LEGAL PAGES (Privacy Policy / Terms) ───
     Full-screen overlays so Privacy Policy and Terms & Conditions live
     inside this same file instead of separate pages. */
  .legal-overlay {
    position: fixed; inset: 0; z-index: 300;
    background: var(--navy);
    display: none;
    overflow-y: auto;
  }
  .legal-overlay.open { display: block; }
  .legal-topbar {
    position: sticky; top: 0; z-index: 5;
    background: var(--navy2); border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px;
  }
  .legal-topbar .logo-text { font-weight: 800; font-size: 18px; color: var(--white); letter-spacing: 0.5px; }
  .legal-back {
    display: flex; align-items: center; gap: 6px;
    color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600;
    background: none; border: none; cursor: pointer; transition: color .2s;
  }
  .legal-back:hover { color: var(--cyan); }
  .legal-hero {
    position: relative; padding: 56px 24px 48px; overflow: hidden;
    background:
      radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0,200,255,0.18) 0%, transparent 65%),
      radial-gradient(ellipse 50% 40% at 10% 90%, rgba(0,230,118,0.08) 0%, transparent 60%),
      var(--navy);
  }
  .legal-hero-inner { max-width: 800px; margin: 0 auto; }
  .legal-hero h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; margin-bottom: 16px; }
  .legal-hero p { color: var(--muted); font-size: 16px; max-width: 680px; line-height: 1.7; }
  .legal-content { max-width: 800px; margin: 0 auto; padding: 40px 24px 90px; }
  .legal-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 16px;
    padding: 28px; margin-bottom: 22px;
  }
  .legal-card.intro p { color: var(--white); }
  .legal-card h2 {
    display: inline-block; background: var(--white); color: var(--navy);
    font-size: clamp(19px, 3vw, 24px); font-weight: 800;
    padding: 12px 20px; border-radius: 10px; margin-bottom: 18px;
  }
  .legal-card h3 { display: flex; align-items: center; gap: 0; font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
  .legal-card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
  .legal-card p + p { margin-top: 12px; }
  .legal-term-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--cyan); color: var(--navy);
    font-size: 13px; font-weight: 800; margin-right: 10px; flex-shrink: 0;
  }
  @media (max-width: 640px) {
    .legal-hero { padding: 40px 20px 36px; }
    .legal-content { padding: 32px 20px 70px; }
    .legal-card { padding: 22px; }
  }

  /* ─── PRICING OVERLAY (Regular / SME tabs) ─── */
  .pricing-tabs {
    display: flex; gap: 8px; justify-content: center;
    background: var(--navy3); border: 1px solid var(--border);
    border-radius: 30px; padding: 6px; max-width: 360px; margin: 24px auto 0;
  }
  .pricing-tab {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 16px; border-radius: 24px; border: none; cursor: pointer;
    background: transparent; color: var(--muted); font-weight: 700; font-size: 14px;
    transition: all .2s;
  }
  .pricing-tab.active { background: var(--cyan); color: var(--navy); }
  .pricing-panel { display: none; }
  .pricing-panel.active { display: block; }
  .pricing-cards-stack {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
  }
  .pricing-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 18px;
    padding: 26px; position: relative; transition: transform .2s, border-color .2s;
  }
  .pricing-card:hover { transform: translateY(-4px); border-color: rgba(0,200,255,0.35); }
  .pricing-card.featured {
    border-color: var(--cyan);
    background: linear-gradient(160deg, #0d1e40 0%, #0a1630 100%);
    box-shadow: 0 0 0 1px rgba(0,200,255,0.25), 0 16px 40px rgba(0,200,255,0.08);
  }
  .pricing-card-badge {
    font-size: 12px; font-weight: 800; color: var(--cyan);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px;
  }
  .pricing-card-desc { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
  .pricing-card-speed {
    display: inline-block; background: var(--navy3); border: 1px solid var(--border);
    border-radius: 20px; padding: 7px 16px; font-weight: 800; font-size: 14px;
    margin-bottom: 18px;
  }
  .pricing-card-features { list-style: none; margin-bottom: 4px; }
  .pricing-card-features li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 14px; color: var(--white); padding: 5px 0; line-height: 1.5;
  }
  .pricing-card-features li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }
  .pricing-card-price {
    font-size: 30px; font-weight: 800; color: var(--white);
    margin: 20px 0 16px;
  }
  .pricing-card-price span { font-size: 15px; color: var(--muted); font-weight: 600; }
  @media (max-width: 480px) {
    .pricing-cards-stack { grid-template-columns: 1fr; }
  }
  .sme-placeholder { text-align: center; padding: 40px 20px; color: var(--muted); }
  .hero-inner { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; position: relative; z-index: 2; }

  /* ─── HERO SLIDER (auto-rotating promo slides, standalone section) ─── */
  .hero.slider-mode {
    min-height: 380px;
    padding: 0;
    touch-action: pan-y;
    user-select: none;
  }
  .hero-slider {
    position: relative; inset: 0; width: 100%; height: 380px;
  }
  .hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .6s ease;
    pointer-events: none;
  }
  .hero-slide.active { opacity: 1; pointer-events: auto; }
  .hero-slide-inner {
    max-width: 800px; width: 100%; margin: auto; padding: 0 70px;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  }
  .hero-slide-icon { font-size: 60px; line-height: 1; filter: drop-shadow(0 10px 30px rgba(0,200,255,0.3)); }
  .hero-slide-title { font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; line-height: 1.3; }
  .hero-slide-title .hl { color: var(--cyan); }
  .hero-slide-chip { background: rgba(0,200,255,0.1); border: 1px solid var(--border); color: var(--white); padding: 7px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; }
  .hero-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
  .hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); transition: all .3s; cursor: pointer; }
  .hero-dot.active { background: var(--cyan); width: 24px; border-radius: 4px; }
  .hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(13,18,53,0.6); border: 1px solid var(--border); color: var(--white);
    font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all .2s; opacity: 0.6;
  }
  .hero-arrow:hover { opacity: 1; border-color: var(--cyan); background: rgba(13,18,53,0.9); }
  .hero-arrow-left { left: 14px; }
  .hero-arrow-right { right: 14px; }
  .hero-static-content { position: relative; z-index: 2; }
  .hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.1; letter-spacing: -1px; margin-bottom: 20px; }
  .hero h1 .accent { color: var(--cyan); }
  .hero p { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
  .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn-primary { background: var(--cyan); color: var(--navy); font-weight: 700; padding: 14px 32px; border-radius: 10px; border: none; cursor: pointer; font-size: 15px; transition: all .2s; text-decoration: none; display: inline-block; box-shadow: 0 6px 20px rgba(0,200,255,0.25); }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,200,255,0.35); }
  .btn-primary:active { transform: translateY(0) scale(0.98); }
  .btn-primary:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
  .btn-outline { background: transparent; color: var(--cyan); font-weight: 600; padding: 14px 32px; border-radius: 10px; border: 2px solid var(--border); cursor: pointer; font-size: 15px; transition: all .2s; text-decoration: none; display: inline-block; }
  .btn-outline:hover { border-color: var(--cyan); background: rgba(0,200,255,0.06); }
  .btn-outline:active { transform: scale(0.98); }
  .btn-outline:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

  /* Hero visual */
  .hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
  .globe-wrap { width: 320px; height: 320px; position: relative; }
  .globe { width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #1a3a6b, #050c20);
    border: 2px solid rgba(0,200,255,0.3); position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    box-shadow: 0 0 60px rgba(0,200,255,0.15), inset 0 0 40px rgba(0,150,255,0.1);
    animation: rotateSlow 20s linear infinite;
  }
  @keyframes rotateSlow { from { box-shadow: 0 0 60px rgba(0,200,255,.15), inset 0 0 40px rgba(0,150,255,.1); } to { box-shadow: 0 0 80px rgba(0,200,255,.25), inset 0 0 50px rgba(0,150,255,.15); } }
  .orbit { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(0,200,255,0.1); }
  .orbit-1 { width: 260px; height: 260px; animation: spin 8s linear infinite; }
  .orbit-2 { width: 310px; height: 310px; animation: spin 12s linear infinite reverse; }
  @keyframes spin { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }
  .dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
  .orbit-1 .dot { top: -5px; left: 50%; transform: translateX(-50%); }
  .orbit-2 .dot { bottom: -5px; right: 20%; background: var(--green); box-shadow: 0 0 12px var(--green); }

  /* ─── STATS STRIP ─── */
  .stats-strip {
    background: var(--navy2);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 32px 24px;
  }
  .stats-inner { max-width: 1100px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
  .stat-item .num { font-size: 36px; font-weight: 900; color: var(--cyan); }
  .stat-item .desc { font-size: 13px; color: var(--muted); margin-top: 4px; }

  /* ─── SERVICES ─── */
  .section { padding: 80px 24px; }
  .section-inner { max-width: 1100px; margin: auto; }
  .section-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--cyan); text-transform: uppercase; margin-bottom: 10px; }
  .section-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 14px; }
  .section-sub { color: var(--muted); font-size: 16px; max-width: 560px; line-height: 1.6; margin-bottom: 48px; }

  /* ─── ABOUT TIMELINE BADGE ─── */
  .about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
  .about-text-col p:last-of-type { margin-bottom: 0; }
  .timeline-badge {
    background: var(--card); border: 1px solid var(--border); border-radius: 18px;
    padding: 32px; text-align: center;
  }
  .timeline-since { font-size: 13px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
  .timeline-year-from { font-size: 22px; font-weight: 800; color: var(--cyan); margin: 6px 0 18px; }
  .timeline-years-count { font-size: 56px; font-weight: 900; color: var(--white); line-height: 1; }
  .timeline-years-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
  .timeline-bar { height: 6px; background: var(--navy); border-radius: 100px; margin: 18px 0 4px; overflow: hidden; }
  .timeline-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--cyan2), var(--cyan)); border-radius: 100px; transition: width 2.8s cubic-bezier(.4,0,.2,1); }
  .timeline-range { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
  @media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
  }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

  /* ─── SERVICE CARDS: 3D flip on tap ─── */
  .flip-card { perspective: 1400px; cursor: pointer; }
  .flip-card:hover { transform: translateY(-4px); }
  .flip-card-inner {
    position: relative; width: 100%; min-height: 230px;
    transition: transform .6s cubic-bezier(.4,0,.2,1), box-shadow .25s; transform-style: preserve-3d;
  }
  .flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }
  .flip-face { backface-visibility: hidden; border-radius: 14px; }
  .flip-front.service-card { position: relative; width: 100%; height: auto; min-height: 230px; }
  .flip-back { position: absolute; inset: 0; }

  .flip-front.service-card { background: var(--card); border: 1px solid var(--border); padding: 28px; transition: border-color .25s, box-shadow .25s; }
  .flip-card:hover .flip-front.service-card { border-color: rgba(0,200,255,0.4); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
  .service-icon { font-size: 32px; margin-bottom: 16px; }
  .service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
  .service-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
  .tag { display: inline-block; background: rgba(0,200,255,0.1); color: var(--cyan); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; margin-top: 14px; }

  .flip-back {
    background: linear-gradient(160deg, #0d1e40 0%, #0a1630 100%); border: 1px solid var(--cyan);
    transform: rotateY(180deg); padding: 24px; display: flex; align-items: center; justify-content: center;
  }
  .flip-back p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; text-align: center; }

  /* keep flip cards in the same fixed-height grid even on touch (no hover lift glitch) */
  @media (hover: none) {
    .flip-card:hover { transform: none; }
  }

  /* ─── PRICING TABS (sliding pill capsule) ─── */
  .pill-tabs {
    position: relative; display: flex; background: var(--card); border: 1px solid var(--border);
    border-radius: 100px; padding: 6px; max-width: 560px; margin: 0 auto 32px;
  }
  .pill-slider {
    position: absolute; top: 6px; left: 6px; width: calc(33.33% - 8px); height: calc(100% - 12px);
    background: var(--cyan); border-radius: 100px;
    transition: transform .35s cubic-bezier(.65,0,.35,1), width .35s cubic-bezier(.65,0,.35,1);
    box-shadow: 0 4px 16px rgba(0,200,255,0.35);
  }
  .pill-tab {
    position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 20px; border: none; background: transparent; cursor: pointer;
    font-weight: 700; font-size: 14px; color: var(--muted); transition: color .35s ease; white-space: nowrap;
  }
  .pill-tab.active { color: var(--navy); }
  .pill-tab svg { width: 18px; height: 18px; flex-shrink: 0; }
  @media (max-width: 480px) {
    .pill-tab { font-size: 12px; padding: 12px 8px; gap: 5px; }
    .pill-tab svg { width: 15px; height: 15px; }
  }

  .pricing-panel3 { display: none; }
  .pricing-panel3.active { display: block; animation: pricingFadeIn .35s ease; }
  @keyframes pricingFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

  /* ─── PRICING ─── */
  .pricing-bg { background: var(--navy2); }
  .plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .plan-card { background: var(--navy); border: 1px solid var(--border); border-radius: 16px; padding: 30px 24px; position: relative; transition: all .25s; }
  .plan-card:hover { border-color: rgba(0,200,255,0.4); transform: translateY(-4px); }
  .plan-card.popular { border-color: var(--cyan); background: linear-gradient(160deg, #0d1e40 0%, #0a1630 100%); }
  .plan-card.gauge-selected { border-color: var(--cyan); box-shadow: 0 8px 24px rgba(0,200,255,0.18); }

  /* ─── SPEED GAUGE (desktop: full dial, mobile: sticky compact bar) ─── */
  .speed-gauge-bar {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    margin: 0 0 32px;
  }
  .speed-gauge { position: relative; width: 150px; height: 150px; }
  .speed-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
  .speed-gauge-track { fill: none; stroke: var(--card); stroke-width: 12; }
  .speed-gauge-fill {
    fill: none; stroke: var(--cyan); stroke-width: 12; stroke-linecap: round;
    stroke-dasharray: 0 1000; transition: stroke-dasharray 0.75s cubic-bezier(.4,0,.2,1);
  }
  .speed-gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .speed-gauge-num { font-size: 32px; font-weight: 900; color: var(--white); }
  .speed-gauge-unit { font-size: 12px; color: var(--muted); margin-top: -3px; }
  .speed-gauge-text { text-align: center; }
  .speed-gauge-label { font-size: 12px; color: var(--muted); }
  .speed-gauge-plan { font-size: 14px; color: var(--cyan); font-weight: 700; margin-top: 2px; }

  @media (max-width: 900px) {
    .speed-gauge-bar {
      position: sticky; top: 64px; z-index: 20; flex-direction: row; align-items: center;
      justify-content: center; gap: 14px;
      background: rgba(8,12,36,0.85); backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border); will-change: transform;
      padding: 10px 24px; margin: 0 -24px 24px; box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }
    .speed-gauge { width: 54px; height: 54px; flex-shrink: 0; }
    .speed-gauge-num { font-size: 15px; }
    .speed-gauge-unit { font-size: 8px; margin-top: -2px; }
    .speed-gauge-text { text-align: left; }
  }
  .popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--cyan); color: var(--navy); font-size: 11px; font-weight: 800; padding: 4px 16px; border-radius: 100px; white-space: nowrap; }
  .plan-type { font-size: 12px; font-weight: 700; color: var(--cyan); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
  .plan-name { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
  .plan-price { margin-bottom: 4px; }
  .plan-price .currency { font-size: 18px; font-weight: 700; color: var(--muted); vertical-align: top; margin-top: 4px; display: inline-block; }
  .plan-price .amount { font-size: 48px; font-weight: 900; color: var(--white); line-height: 1; }
  .plan-price .mo { color: var(--muted); font-size: 14px; }
  .plan-speed { font-size: 28px; font-weight: 900; color: var(--cyan); margin: 8px 0 20px; }
  .plan-speed span { font-size: 14px; font-weight: 500; color: var(--muted); }
  .plan-features { list-style: none; margin-bottom: 28px; }
  .plan-features li { font-size: 14px; color: var(--muted); padding: 6px 0; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .plan-features li:last-child { border: none; }
  .plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
  .plan-btn { display: block; width: 100%; padding: 13px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; transition: all .2s; text-align: center; border: none; }
  .plan-btn.primary { background: var(--cyan); color: var(--navy); }
  .plan-btn.outline { background: transparent; color: var(--cyan); border: 2px solid var(--border); }
  .plan-btn:hover { opacity: 0.85; transform: translateY(-1px); }

  /* ─── COVERAGE ─── */
  .coverage-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .coverage-visual { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 40px; text-align: center; }
  .coverage-map { display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
  .wifi-icon { width: 110px; height: 90px; }
  .wifi-dot { fill: var(--cyan); }
  .wifi-arc { fill: none; stroke: var(--cyan); stroke-width: 6; stroke-linecap: round; transform-origin: 50% 100%; animation: wifi-pulse 2.2s ease-in-out infinite; opacity: 0; }
  .wifi-arc-1 { animation-delay: 0s; }
  .wifi-arc-2 { animation-delay: .3s; }
  .wifi-arc-3 { animation-delay: .6s; }
  @keyframes wifi-pulse {
    0%   { opacity: 0; }
    15%  { opacity: 1; }
    55%  { opacity: 0.35; }
    100% { opacity: 0; }
  }
  .coverage-areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
  .area-pill { background: rgba(0,200,255,0.08); border: 1px solid var(--border); color: var(--cyan); padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; }
  .coverage-info h3 { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
  .coverage-info p { color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
  .coverage-checks { list-style: none; }
  .coverage-checks li {
    padding: 10px 0; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    opacity: 0; transform: translateX(-12px);
    transition: opacity .4s ease, transform .4s ease;
  }
  .coverage-checks li.visible { opacity: 1; transform: translateX(0); }
  .coverage-checks li .chk {
    width: 24px; height: 24px; border-radius: 6px; background: rgba(0,230,118,0.12); color: var(--green);
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0;
    transform: scale(0);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  }
  .coverage-checks li.visible .chk { transform: scale(1); }

  /* ─── CLIENTS ─── */
  .clients-bg { background: var(--navy2); }
  .clients-logos { display: flex; flex-direction: column; gap: 18px; margin-top: 40px; max-width: 600px; margin-left: auto; margin-right: auto; padding: 0 8px; }
  .client-logo:nth-child(odd) { align-self: flex-start; }
  .client-logo:nth-child(even) { align-self: flex-end; }
  @media (min-width: 700px) {
    .clients-logos {
      flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: stretch;
      max-width: 900px; padding: 0;
    }
    .client-logo:nth-child(odd), .client-logo:nth-child(even) { align-self: auto; }
  }
  .client-logo {
    background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 28px;
    font-size: 15px; font-weight: 700; color: var(--muted); transition: border-color .2s, color .2s, opacity .45s ease, transform .45s cubic-bezier(.34,1.56,.64,1);
    opacity: 0; transform: translateY(16px) scale(0.92);
  }
  .client-logo.visible { opacity: 1; transform: translateY(0) scale(1); }
  .client-logo:hover { border-color: rgba(0,200,255,0.4); color: var(--white); }
  .pay-methods-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    max-width: 900px; margin: 0 auto;
  }
  .pay-methods-grid--centered {
    grid-template-columns: repeat(3, minmax(0, 160px));
    max-width: none; justify-content: center;
  }
  .pay-methods-grid--plain {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 48px; max-width: 900px; margin: 0 auto;
  }
  .pay-method-logo {
    max-width: 100%; max-height: 56px; width: auto; height: auto;
    object-fit: contain; transition: transform .25s, filter .25s;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35));
  }
  .pay-method-logo:hover { transform: translateY(-4px) scale(1.05); }

  .pay-cta-btn {
    display: inline-flex; align-items: center; gap: 12px;
    margin-top: 32px; padding: 16px 36px; border-radius: 100px;
    background: linear-gradient(135deg, var(--cyan), var(--cyan2));
    color: var(--navy); font-weight: 800; font-size: 16px;
    text-decoration: none; box-shadow: 0 10px 28px rgba(0,200,255,0.3);
    transition: all .25s;
  }
  .pay-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,200,255,0.4); }
  .pay-cta-icon { font-size: 18px; }
  .pay-cta-arrow { transition: transform .25s; }
  .pay-cta-btn:hover .pay-cta-arrow { transform: translateX(4px); }

  @media (max-width: 640px) {
    .pay-methods-grid--plain { gap: 28px; }
    .pay-method-logo { max-height: 38px; }
    .pay-cta-btn { padding: 14px 28px; font-size: 14px; }
  }

  /* ─── CTA ─── */
  .cta-section { text-align: center; padding: 100px 24px; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,150,255,0.1) 0%, transparent 70%); }
  .cta-section h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; margin-bottom: 16px; }
  .cta-section p { color: var(--muted); font-size: 17px; margin-bottom: 36px; }
  .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

  /* ─── FOOTER ─── */
  footer { background: #050818; border-top: 1px solid var(--border); padding: 60px 24px 30px; }
  .footer-inner { max-width: 1100px; margin: auto; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
  .footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
  .footer-col ul li a:hover { color: var(--cyan); }
  .footer-col p { color: var(--muted); font-size: 14px; line-height: 1.7; }
  .footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
  .footer-bottom p { color: var(--muted); font-size: 13px; }
  .social-links { display: flex; gap: 12px; }
  .social-btn { width: 36px; height: 36px; border-radius: 8px; background: var(--card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: all .2s; text-decoration: none; }
  .social-btn:hover { border-color: var(--cyan); }

  /* ─── BOOKING MODAL ─── */
  .modal-overlay {
    position: fixed; inset: 0; background: rgba(5,8,20,0.7);
    backdrop-filter: blur(4px);
    z-index: 299; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .25s ease;
    padding: 20px;
  }
  .modal-overlay.open { opacity: 1; pointer-events: auto; }
  .modal-box {
    background: linear-gradient(165deg, #121b48 0%, #0a1230 100%);
    border: 1px solid var(--border); border-radius: 20px;
    width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
    transform: translateY(20px) scale(0.97); transition: transform .25s ease;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  }
  .modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
  .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--border); }
  .modal-header h3 { font-size: 19px; font-weight: 800; }
  .modal-close { background: none; border: none; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; padding: 4px; }
  .modal-close:hover { color: var(--white); }
  .modal-tabs { display: flex; border-bottom: 1px solid var(--border); }
  .modal-tab { flex: 1; text-align: center; padding: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.5px; color: var(--muted); background: none; border: none; cursor: pointer; border-bottom: 2px solid transparent; }
  .modal-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); background: rgba(0,200,255,0.05); }
  .modal-body { padding: 24px 26px; }
  .form-step { display: none; }
  .form-step.active { display: block; }
  .form-group { margin-bottom: 18px; }
  .form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
  .form-group label .req { color: #ff5577; }
  .form-group select, .form-group input, .form-group textarea {
    width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    color: var(--white); padding: 12px 14px; border-radius: 10px; font-size: 14px;
    font-family: inherit; outline: none; transition: border-color .2s;
  }
  .form-group select:focus, .form-group input:focus, .form-group textarea:focus { border-color: var(--cyan); }
  .form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); opacity: 0.6; }
  /* Fix browser autofill (Chrome/Safari) imposing a light background with
     white text, which made filled fields invisible — force dark theme back. */
  .form-group input:-webkit-autofill,
  .form-group input:-webkit-autofill:hover,
  .form-group input:-webkit-autofill:focus,
  .form-group textarea:-webkit-autofill,
  .form-group select:-webkit-autofill {
    -webkit-text-fill-color: var(--white) !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(20,30,55,0.95) inset !important;
    box-shadow: 0 0 0px 1000px rgba(20,30,55,0.95) inset !important;
    caret-color: var(--white);
  }
  .form-group textarea { resize: vertical; min-height: 80px; font-size: 14px; line-height: 1.5; }
  /* Fix dropdown option text being invisible — browsers render <option>
     using system colors by default, which clashes with our dark theme.
     Forcing background/color here makes the open dropdown list readable. */
  .form-group select option {
    background: #14213A;
    color: var(--white);
  }
  .form-row { display: flex; gap: 14px; }
  .form-row .form-group { flex: 1; min-width: 0; }
  .form-row .form-group input,
  .form-row .form-group select {
    width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box;
  }
  input[type="date"] {
    -webkit-appearance: none; appearance: none;
  }
  input[type="date"]::-webkit-date-and-time-value {
    text-align: left; min-width: 0;
  }
  @media (max-width: 480px) { .form-row { flex-direction: column; gap: 0; } }
  .modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 26px 24px; }
  .modal-btn { padding: 12px 28px; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; border: none; transition: opacity .2s; }
  .modal-btn.next { background: var(--cyan); color: var(--navy); }
  .modal-btn.back { background: transparent; color: var(--muted); border: 1px solid var(--border); }
  .modal-btn:hover { opacity: 0.85; }
  .selected-plan-banner { background: rgba(0,200,255,0.08); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
  .selected-plan-banner b { color: var(--cyan); }
  .success-msg { text-align: center; padding: 30px 10px; }
  .success-msg .check { font-size: 56px; margin-bottom: 16px; }
  .success-msg h4 { font-size: 20px; margin-bottom: 8px; }
  .success-msg p { color: var(--muted); font-size: 14px; }

  /* ─── ISP MANAGER LOGIN FORM (inside modal) ─── */
  .ispm-login-logo { text-align: center; margin-bottom: 24px; }
  .ispm-login-logo .logo-icon { font-size: 34px; margin-bottom: 6px; }
  .ispm-login-logo .logo-title { font-size: 20px; font-weight: 800; color: var(--cyan); letter-spacing: 0.5px; }
  .ispm-login-logo .logo-sub { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; margin-top: 2px; }
  .ispm-login-field { margin-bottom: 16px; }
  .ispm-login-field label { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 6px; }
  .ispm-login-field input {
    width: 100%; box-sizing: border-box;
    background: var(--navy); border: 1px solid var(--border); border-radius: 8px;
    padding: 11px 14px; color: var(--white); font-size: 15px; font-family: inherit; outline: none;
    transition: border-color .2s, box-shadow .2s;
  }
  .ispm-login-field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,200,255,0.12); }
  .ispm-login-submit-btn {
    width: 100%; padding: 13px; background: var(--cyan); color: var(--navy);
    border: none; border-radius: 8px; font-size: 15px; font-weight: 700;
    font-family: inherit; cursor: pointer; margin-top: 6px; transition: opacity .2s, transform .1s;
  }
  .ispm-login-submit-btn:hover { opacity: 0.9; }
  .ispm-login-submit-btn:active { transform: scale(0.98); }
  .ispm-login-error { color: #ff5577; font-size: 12px; text-align: center; margin-top: 12px; display: none; font-weight: 600; }
  .ispm-login-error.show { display: block; }
  .ispm-login-remember { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
  .ispm-login-remember input { width: 15px; height: 15px; cursor: pointer; accent-color: var(--cyan); }
  .ispm-login-remember label { font-size: 13px; color: var(--muted); cursor: pointer; user-select: none; }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1100px) {
    .plans-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin: auto; }
  }
  @media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-static-content { display: flex; flex-direction: column; align-items: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-visual { margin-top: 30px; margin-bottom: -40px; transform: scale(0.75); }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .coverage-wrap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero.slider-mode { min-height: 320px; }
    .hero-slider { height: 320px; }
    .hero-slide-inner { padding: 0 50px; }
  }
  @media (max-width: 600px) {
    .hero-visual { margin-top: 16px; margin-bottom: -72px; transform: scale(0.55); }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .flip-front.service-card { padding: 16px; }
    .service-icon { font-size: 24px; margin-bottom: 8px; }
    .service-card h3 { font-size: 14px; margin-bottom: 6px; }
    .service-card p { font-size: 12px; line-height: 1.4; }
    .service-card .tag { font-size: 10px; padding: 2px 8px; margin-top: 8px; }
    .flip-card-inner { min-height: 200px; }

    .plans-grid { grid-template-columns: 1fr 1fr; gap: 12px; max-width: none; }
    .plan-card { padding: 16px 12px; }
    .plan-type { font-size: 11px; }
    .plan-name { font-size: 15px; margin-bottom: 10px; }
    .plan-price .amount { font-size: 28px; }
    .plan-price .currency { font-size: 13px; }
    .plan-price .mo { font-size: 11px; }
    .plan-speed { font-size: 13px; margin-bottom: 10px; }
    .plan-features { margin-bottom: 14px; }
    .plan-features li { font-size: 11px; padding: 4px 0; gap: 5px; line-height: 1.3; }
    .plan-btn { padding: 9px; font-size: 12px; }
    .popular-badge { font-size: 9px; padding: 3px 10px; top: -11px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero-slide-icon { font-size: 44px; }
    .hero-slide-title { font-size: clamp(20px, 6.2vw, 26px); }
    .hero-slide-chip { font-size: 11px; padding: 5px 10px; }
    .hero.slider-mode { min-height: 300px; }
    .hero-slider { height: 300px; }
    .hero-slide-inner { padding: 0 36px; gap: 10px; }
    .hero-arrow { width: 32px; height: 32px; font-size: 18px; }
    .hero-arrow-left { left: 4px; }
    .hero-arrow-right { right: 4px; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }

  /* ─── LIGHT MODE (toggled via ☀️/🌙 icon) ─── */
  body.light-mode {
    background: #F4F7FC;
    color: #16213E;
  }
  body.light-mode .topbar { background: #E8EDFA; color: #5A6B8C; }
  body.light-mode nav { background: rgba(232,237,250,0.9); border-color: rgba(0,150,255,0.15); }
  body.light-mode .icon-btn { background: rgba(0,150,255,0.08); border-color: rgba(0,150,255,0.2); color: #16213E; }
  body.light-mode .nav-links a { color: #5A6B8C; }
  body.light-mode .hero { background: radial-gradient(ellipse 80% 60% at 60% 30%, rgba(0,150,255,0.08) 0%, transparent 70%), #F4F7FC; }
  body.light-mode .hero-slide-chip { background: rgba(0,150,255,0.08); border-color: rgba(0,150,255,0.2); color: #16213E; }
  body.light-mode .stats-strip, body.light-mode .pricing-bg, body.light-mode .clients-bg { background: #E8EDFA; border-color: rgba(0,150,255,0.15); }
  body.light-mode .service-card, body.light-mode .plan-card, body.light-mode .coverage-visual, body.light-mode .client-logo {
    background: #FFFFFF; border-color: rgba(0,150,255,0.15); color: #16213E;
    box-shadow: 0 2px 12px rgba(0,40,100,0.06);
  }
  body.light-mode .plan-card.popular { background: linear-gradient(160deg, #eef5ff 0%, #ffffff 100%); }
  body.light-mode .section-sub, body.light-mode .plan-features li, body.light-mode .service-card p,
  body.light-mode .stat-item .desc, body.light-mode .coverage-info p, body.light-mode .coverage-checks li { color: #5A6B8C; }
  body.light-mode .plan-price .amount, body.light-mode h1, body.light-mode h2, body.light-mode h3 { color: #16213E; }
  body.light-mode footer { background: #E8EDFA; border-color: rgba(0,150,255,0.15); }
  body.light-mode .footer-col p, body.light-mode .footer-bottom p { color: #5A6B8C; }
  body.light-mode .slide-menu { background: rgba(244,247,252,0.55); }
  body.light-mode .slide-menu-links a { color: #16213E; }
  body.light-mode .modal-box { background: linear-gradient(165deg, #ffffff 0%, #eef3fc 100%); border-color: rgba(0,150,255,0.15); }
  body.light-mode .form-group select, body.light-mode .form-group input { background: #F4F7FC; color: #16213E; }

/* ============================================================
   SECTION 2: MOTION PACK v3 — ISP-native motion graphics
   (fiber progress line, data streams, bandwidth meters, ripple, reveal)
   ============================================================ */


  /* ── Glass nav on scroll ── */ }
  nav.mfx-scrolled {
    background: rgba(13,18,53,0.72);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  }
  body.light-mode nav.mfx-scrolled { background: rgba(232,237,250,0.75); }

  /* ── Hero data streams: light packets racing across ── */
  .mfx-streams, .fx-host > .mfx-streams { position: absolute !important; inset: 0; z-index: 0 !important; overflow: hidden; pointer-events: none; }
  .mfx-stream {
    position: absolute; height: 2px; width: 160px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), #fff);
    opacity: 0;
    animation: mfxStream var(--dur, 3.5s) linear infinite;
    animation-delay: var(--del, 0s);
    top: var(--top, 20%);
  }
  .mfx-stream.g { background: linear-gradient(90deg, transparent, var(--green), #fff); }
  @keyframes mfxStream {
    0%   { transform: translateX(-180px); opacity: 0; }
    8%   { opacity: .85; }
    92%  { opacity: .85; }
    100% { transform: translateX(calc(100vw + 180px)); opacity: 0; }
  }
  body.light-mode .mfx-stream { opacity: 0; animation: none; }

  /* ── Bandwidth meter injected into plan cards ── */
  .mfx-meter { margin: -14px 0 22px; }
  .mfx-meter-track {
    height: 6px; border-radius: 6px; overflow: hidden;
    background: rgba(0,200,255,0.12);
    border: 1px solid rgba(0,200,255,0.15);
  }
  .mfx-meter-fill {
    height: 100%; width: 0; border-radius: 6px;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    background-size: 200% 100%;
    transition: width 1.1s cubic-bezier(.22,.7,.3,1) .25s;
    animation: mfxMeterFlow 2.2s linear infinite;
    box-shadow: 0 0 10px rgba(0,200,255,0.5);
  }
  @keyframes mfxMeterFlow { to { background-position: -200% 0; } }
  .mfx-meter-label {
    display: flex; justify-content: space-between;
    font-size: 11px; color: var(--muted); margin-top: 6px;
    letter-spacing: 0.4px; text-transform: uppercase;
  }
  body.light-mode .mfx-meter-track { background: rgba(0,150,255,0.1); }

  /* ── Wi-Fi ripple rings around the globe ── */
  .globe-wrap { position: relative; }
  .mfx-ripple {
    position: absolute; top: 50%; left: 50%;
    width: 100%; height: 100%; border-radius: 50%;
    border: 1.5px solid rgba(0,200,255,0.5);
    transform: translate(-50%,-50%) scale(0.9);
    animation: mfxRipple 3.6s ease-out infinite;
    pointer-events: none;
  }
  .mfx-ripple:nth-child(2) { animation-delay: 1.2s; border-color: rgba(0,230,118,0.4); }
  .mfx-ripple:nth-child(3) { animation-delay: 2.4s; }
  @keyframes mfxRipple {
    0%   { transform: translate(-50%,-50%) scale(0.85); opacity: .7; }
    100% { transform: translate(-50%,-50%) scale(1.5); opacity: 0; }
  }

  /* ── Scroll reveal (class only added by JS when motion allowed) ── */
  .mfx-reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.22,.7,.3,1), transform .7s cubic-bezier(.22,.7,.3,1);
    transition-delay: var(--mfx-d, 0ms);
  }
  .mfx-reveal.mfx-in { opacity: 1; transform: none; }

  /* ── Animated gradient hero accent ── */
  .hero-static-content h1 .accent {
    background: linear-gradient(90deg, var(--cyan), var(--green), var(--cyan));
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: mfxGradientSlide 5s linear infinite;
  }
  @keyframes mfxGradientSlide { to { background-position: 200% center; } }

  /* ── Section title underline draw ── */
  .section-title { position: relative; padding-bottom: 12px; }
  .section-title::after {
    content: ""; position: absolute; left: 50%; bottom: 0;
    width: 64px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    transform: translateX(-50%) scaleX(0);
    transition: transform .8s cubic-bezier(.22,.7,.3,1) .2s;
  }
  .section-title.mfx-in::after,
  body.mfx-nojs .section-title::after { transform: translateX(-50%) scaleX(1); }

  /* ── Button shine sweep ── */
  .btn-primary, .nav-btn { position: relative; overflow: hidden; }
  .btn-primary::after, .nav-btn::after {
    content: ""; position: absolute; top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-20deg); transition: left .6s ease; pointer-events: none;
  }
  .btn-primary:hover::after, .nav-btn:hover::after { left: 130%; }

  /* ── Plan card lift + glow; popular pulse ── */
  .plan-card { will-change: transform; }
  .plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,200,255,0.5), 0 0 26px rgba(0,200,255,0.22);
  }
  .plan-card.popular { animation: mfxPopularPulse 3.2s ease-in-out infinite; }
  @keyframes mfxPopularPulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(0,230,118,0.35), 0 0 18px rgba(0,230,118,0.12); }
    50%      { box-shadow: 0 0 0 1px rgba(0,230,118,0.6),  0 0 34px rgba(0,230,118,0.28); }
  }
  .flip-card { transition: transform .3s ease; }
  .flip-card:hover { transform: translateY(-6px); }

  /* ── Stat number glow ── */
  .stat-item .num { animation: mfxStatGlow 4s ease-in-out infinite; }
  @keyframes mfxStatGlow {
    0%, 100% { text-shadow: 0 0 8px rgba(0,200,255,0.25); }
    50%      { text-shadow: 0 0 22px rgba(0,200,255,0.6); }
  }

  @media (max-width: 640px) {
    .mfx-stream { width: 100px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .mfx-reveal { opacity: 1 !important; transform: none !important; }
    .section-title::after { transform: translateX(-50%) scaleX(1) !important; }
    .mfx-streams, .mfx-ripple { display: none !important; }
    .mfx-meter-fill { width: var(--mfx-w, 60%) !important; transition: none; animation: none; }
  }

/* ============================================================
   SECTION 3: THEME PACK — typography system, gradient mesh, card tilt
   ============================================================ */

  :root {
    --grad: linear-gradient(90deg, #00C8FF, #00E676);
    --grad-soft: linear-gradient(135deg, rgba(0,200,255,0.16), rgba(0,230,118,0.10));
  }

  /* Typography system */
  h1, h2, h3, .section-title, .logo-text, .hero-slide-title,
  .plan-name, .plan-price .amount, .stat-item .num, .timeline-year-from {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.015em;
  }
  .section-label {
    font-family: 'Inter', sans-serif; letter-spacing: 0.18em;
    text-transform: uppercase; font-size: 12px; font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
  body { font-weight: 450; }

  /* Refined surfaces: soft gradient borders on cards */
  .plan-card, .flip-front.service-card {
    background:
      linear-gradient(var(--card), var(--card)) padding-box,
      linear-gradient(160deg, rgba(0,200,255,0.35), rgba(0,200,255,0.06) 40%, rgba(0,230,118,0.2)) border-box;
    border: 1px solid transparent;
  }
  .plan-card { border-radius: 18px; }

  /* Primary buttons: gradient, not flat */
  .btn-primary, .nav-btn {
    background: linear-gradient(120deg, #00C8FF, #0096CC 55%, #00E676 140%);
    color: #06121f;
    box-shadow: 0 8px 24px rgba(0,200,255,0.35);
  }
  .btn-primary:hover, .nav-btn:hover { opacity: 1; filter: brightness(1.12); }

  /* Rotating gradient mesh behind the hero */
  .mfx-mesh, .fx-host > .mfx-mesh {
    position: absolute !important; z-index: 0 !important; pointer-events: none;
    top: 50%; left: 50%; width: 120vmax; height: 120vmax;
    transform: translate(-50%,-50%);
    background: conic-gradient(from 0deg,
      rgba(0,200,255,0.14), rgba(0,230,118,0.08),
      rgba(0,150,255,0.12), rgba(0,200,255,0.14));
    filter: blur(80px); opacity: .8;
    animation: mfxMeshSpin 40s linear infinite;
  }
  @keyframes mfxMeshSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }
  body.light-mode .mfx-mesh { opacity: .25; }

  /* Cursor spotlight on plan cards (desktop) */
  @media (pointer: fine) {
    .plan-card { transform-style: preserve-3d; }
    .plan-card::before {
      content: ""; position: absolute; inset: 0; border-radius: inherit;
      background: radial-gradient(320px circle at var(--mx,50%) var(--my,50%),
        rgba(0,200,255,0.16), transparent 65%);
      opacity: 0; transition: opacity .3s; pointer-events: none;
    }
    .plan-card:hover::before { opacity: 1; }
  }

  /* Headline word-by-word reveal */
  .mfx-word {
    display: inline-block; overflow: hidden; vertical-align: bottom;
  }
  .mfx-word > span {
    display: inline-block; transform: translateY(110%);
    animation: mfxWordUp .7s cubic-bezier(.22,.7,.3,1) forwards;
    animation-delay: var(--wd, 0ms);
  }
  @keyframes mfxWordUp { to { transform: translateY(0); } }

  /* Popular badge & chips pick up the gradient */
  .hero-slide-chip { border-color: rgba(0,200,255,0.3); }

  @media (prefers-reduced-motion: reduce) {
    .mfx-mesh { animation: none; }
    .mfx-word > span { transform: none; animation: none; }
  }

  /* ── FTP dropdown (desktop nav) ── */
  .ftp-item { position: relative; }
  .ftp-caret { font-size: 10px; opacity: .7; margin-left: 2px; display: inline-block; transition: transform .25s; }
  .ftp-item:hover .ftp-caret, .ftp-item:focus-within .ftp-caret,
  .ftp-item.open .ftp-caret { transform: rotate(180deg); }
  .ftp-dropdown {
    position: absolute; top: calc(100% + 12px); left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 180px; padding: 8px; margin: 0; list-style: none;
    background: rgba(13,18,53,0.92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0,200,255,0.18); border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,200,255,0.06);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 60;
  }
  .ftp-dropdown::before {
    content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
  }
  .ftp-item.open .ftp-dropdown,
  .ftp-item:hover .ftp-dropdown, .ftp-item:focus-within .ftp-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .ftp-dropdown li a {
    display: block; padding: 10px 14px; border-radius: 9px;
    color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none;
    transition: background .2s, color .2s, padding-left .2s;
  }
  .ftp-dropdown li a:hover {
    background: linear-gradient(90deg, rgba(0,200,255,0.14), rgba(0,230,118,0.08));
    color: var(--white); padding-left: 18px;
  }
  body.light-mode .ftp-dropdown { background: rgba(240,244,255,0.95); border-color: rgba(0,150,255,0.25); }
  body.light-mode .ftp-dropdown li a { color: #5A6B8C; }
  body.light-mode .ftp-dropdown li a:hover { color: #0A1A3C; }

  /* ── FTP submenu (mobile slide menu) ── */
  .ftp-mobile .ftp-sublinks {
    list-style: none; margin: 4px 0 0; padding: 0 0 0 16px;
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
    border-left: 2px solid rgba(0,200,255,0.25);
  }
  .ftp-mobile.open .ftp-sublinks { max-height: 320px; }
  .ftp-mobile.open .ftp-caret { transform: rotate(180deg); }
  .ftp-mobile .ftp-sublinks a { font-size: 15px; padding: 8px 0; display: block; }

  /* ── Mobile slide menu: fit on screen, scroll if needed ── */
  .slide-menu-links {
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    flex: 0 1 auto; min-height: 0;
    max-height: calc(100dvh - 260px);        /* never under header or Quick Pay */
    padding: 8px 0;
  }
  @media (max-height: 850px), (max-width: 640px) {
    .slide-menu-links { gap: 6px; margin-bottom: 16px; }
    .slide-menu-links a { font-size: 19px; padding: 5px 8px; }
    .ftp-mobile .ftp-sublinks a { font-size: 14px; padding: 5px 0; }
    .ftp-mobile.open .ftp-sublinks { max-height: 240px; }
    .slide-menu-actions { margin-bottom: 12px; }
    .slide-menu-actions button { padding: 11px 22px; font-size: 14px; }
    .menu-badge { font-size: 10px; padding: 1px 7px; }
  }
  @media (max-height: 700px) {
    .slide-menu-links a { font-size: 17px; padding: 4px 8px; }
    .slide-menu-links { gap: 4px; }
  }

/* ============================================================
   UTILITY CLASSES — auto-generated from former inline style=""
   attributes, converted to satisfy a strict Content-Security-
   Policy (no 'unsafe-inline' needed for styles anymore).
   ============================================================ */
.u-style-1 { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }
.u-style-2 { margin-top:6px; }
.u-style-3 { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.u-style-4 { min-height:auto; padding-top:50px; }
.u-style-5 { max-width:780px; text-align:left; margin:0 0 18px; }
.u-style-6 { font-size:1.08em; }
.u-style-7 { font-weight:700; color:var(--cyan); font-size:18px; letter-spacing:0.5px; }
.u-style-8 { text-align:center; }
.u-style-9 { margin:0 auto 0; }
.u-style-10 { margin-top:28px; text-align:left; }
.u-style-11 { width:100%; margin-top:8px; }
.u-style-12 { display:none; margin-top:18px; padding:14px; border-radius:12px; font-weight:700; font-size:15px; }
.u-style-13 { color:var(--cyan); }
.u-style-14 { margin:0 auto 28px; }
.u-style-15 { margin-top:28px; font-size:14px; color:var(--muted); }
.u-style-16 { text-decoration:none; }
.u-style-17 { margin-bottom:16px; }
.u-style-18 { margin-top:20px; }
.u-style-19 { background:#1fa855; border-color:#1fa855; }
.u-style-20 { background:#2AABEE; border-color:#2AABEE; }
.u-style-21 { border-top:1px solid var(--border); padding-top:20px; margin-top:8px; text-align:center; font-size:13px; color:var(--muted); }
.u-style-22 { color:var(--cyan); text-decoration:none; }
.u-style-23 { color:var(--muted);text-decoration:none; }
.u-style-24 { text-align:center; font-size:12px; color:var(--muted); opacity:0.6; margin-top:18px; }
.u-style-25 { display:none; margin-top:8px; }
.u-style-26 { margin-top:14px; }
.u-style-27 { display:none; }
.u-style-28 { color: var(--cyan) !important; text-decoration: none; }
.u-style-29 { color:var(--green); text-decoration:underline; }
.u-style-30 { color:#ff6464; text-decoration:underline; }
