/* ============================================================
   bdshapers Public Frontend Design System
   Premium, modern, futuristic — inspired by Vercel/Linear/Stripe
   ============================================================ */

:root {
  --pub-bg:        #050816;
  --pub-bg-2:      #0a0f2e;
  --pub-surface:   rgba(255,255,255,0.04);
  --pub-border:    rgba(255,255,255,0.08);
  --pub-accent:    #4F46E5;
  --pub-accent-2:  #818CF8;
  --pub-teal:      #0D9488;
  --pub-amber:     #F59E0B;
  --pub-text:      #F8FAFC;
  --pub-muted:     #94A3B8;
  --pub-card:      rgba(255,255,255,0.03);
  --pub-radius:    1rem;
  --pub-radius-sm: 0.5rem;
  --pub-font:      'Outfit', 'Noto Sans Bengali', sans-serif;
  --pub-body:      'Inter',  'Noto Sans Bengali', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--pub-body);
  background: var(--pub-bg);
  color: var(--pub-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--pub-accent-2); text-decoration: none; }
a:hover { color: #fff; }

/* ---- Ambient background ---- */
.pub-bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(79,70,229,0.18), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(13,148,136,0.12), transparent);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.pub-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(5,8,22,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--pub-border);
}

.pub-nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--pub-font); font-weight: 700; font-size: 20px; color: #fff;
}

.pub-nav-logo {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--pub-accent), var(--pub-accent-2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #fff;
}

.pub-nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}

.pub-nav-links a {
  padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 500;
  color: var(--pub-muted); transition: color .15s ease, background .15s ease;
}

.pub-nav-links a:hover { color: #fff; background: rgba(255,255,255,.05); }
.pub-nav-links a.active { color: #fff; }

.pub-nav-actions { display: flex; align-items: center; gap: 10px; }

.pub-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 20px; border-radius: 8px; font-size: 14px; font-weight: 600;
  font-family: var(--pub-body); border: none; cursor: pointer;
  text-decoration: none; transition: all .15s ease;
}

.pub-btn-primary {
  background: var(--pub-accent); color: #fff;
  box-shadow: 0 0 20px rgba(79,70,229,.4);
}
.pub-btn-primary:hover { background: #4338CA; color: #fff; box-shadow: 0 0 28px rgba(79,70,229,.6); }

.pub-btn-ghost {
  background: transparent; color: var(--pub-muted); border: 1px solid var(--pub-border);
}
.pub-btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }

.pub-btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.pub-hero {
  position: relative; z-index: 1;
  min-height: 88vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px 5% 60px;
}

.pub-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,70,229,.15); border: 1px solid rgba(79,70,229,.3);
  border-radius: 999px; padding: 6px 16px; font-size: 13px; color: var(--pub-accent-2);
  font-weight: 600; letter-spacing: .02em; margin-bottom: 28px;
}

.pub-hero-badge::before {
  content: ""; width: 6px; height: 6px; background: var(--pub-accent-2);
  border-radius: 50%; animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; } 50% { opacity: .4; }
}

.pub-hero h1 {
  font-family: var(--pub-font); font-size: clamp(36px, 6vw, 72px);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  max-width: 900px; margin-bottom: 24px;
}

.pub-gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--pub-accent-2) 70%, var(--pub-teal) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pub-hero p {
  font-size: clamp(16px, 2vw, 20px); color: var(--pub-muted);
  max-width: 600px; line-height: 1.7; margin-bottom: 40px;
}

.pub-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

/* Stats strip */
.pub-stats {
  display: flex; gap: 0; border: 1px solid var(--pub-border);
  border-radius: var(--pub-radius); overflow: hidden; background: var(--pub-surface);
}

.pub-stat {
  flex: 1; padding: 20px 24px; text-align: center;
  border-right: 1px solid var(--pub-border);
}

.pub-stat:last-child { border-right: none; }

.pub-stat-value {
  font-family: var(--pub-font); font-size: 28px; font-weight: 800; color: #fff;
  margin-bottom: 4px;
}

.pub-stat-label { font-size: 13px; color: var(--pub-muted); }

/* ============================================================
   SECTION STRUCTURE
   ============================================================ */
.pub-section { position: relative; z-index: 1; padding: 80px 5%; }

.pub-section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }

.pub-section-eyebrow {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--pub-accent-2); margin-bottom: 12px;
}

.pub-section-title {
  font-family: var(--pub-font); font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 16px;
}

.pub-section-subtitle { font-size: 17px; color: var(--pub-muted); line-height: 1.6; }

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pub-pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto;
}

.pub-pricing-card {
  position: relative;
  background: var(--pub-card); border: 1px solid var(--pub-border);
  border-radius: var(--pub-radius); padding: 32px;
  transition: border-color .2s ease, transform .2s ease;
}

.pub-pricing-card:hover {
  border-color: rgba(79,70,229,.4);
  transform: translateY(-4px);
}

.pub-pricing-card.popular {
  border-color: var(--pub-accent);
  background: rgba(79,70,229,.06);
  box-shadow: 0 0 40px rgba(79,70,229,.15);
}

.pub-popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--pub-accent); color: #fff; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; padding: 4px 14px;
  border-radius: 999px;
}

.pub-pricing-name { font-family: var(--pub-font); font-size: 20px; font-weight: 700; margin-bottom: 8px; }

.pub-pricing-tagline { font-size: 14px; color: var(--pub-muted); margin-bottom: 24px; }

.pub-pricing-price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px;
}

.pub-pricing-currency { font-size: 18px; font-weight: 700; color: var(--pub-muted); }

.pub-pricing-amount {
  font-family: var(--pub-font); font-size: 48px; font-weight: 800; color: #fff; line-height: 1;
}

.pub-pricing-cycle { font-size: 14px; color: var(--pub-muted); margin-bottom: 28px; }

.pub-pricing-original {
  font-size: 14px; color: var(--pub-muted); text-decoration: line-through; margin-bottom: 4px;
}

.pub-pricing-features { list-style: none; margin-bottom: 32px; }

.pub-pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--pub-muted); padding: 8px 0;
  border-bottom: 1px solid var(--pub-border);
}

.pub-pricing-features li:last-child { border-bottom: none; }

.pub-pricing-features li::before {
  content: "✓"; color: var(--pub-teal); font-weight: 700; flex-shrink: 0;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.pub-features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto;
}

.pub-feature-card {
  background: var(--pub-card); border: 1px solid var(--pub-border);
  border-radius: var(--pub-radius); padding: 28px;
  transition: border-color .2s ease;
}

.pub-feature-card:hover { border-color: rgba(79,70,229,.3); }

.pub-feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(79,70,229,.15); color: var(--pub-accent-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 22px;
}

.pub-feature-title { font-family: var(--pub-font); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.pub-feature-desc { font-size: 14px; color: var(--pub-muted); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.pub-testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto;
}

.pub-testimonial-card {
  background: var(--pub-card); border: 1px solid var(--pub-border);
  border-radius: var(--pub-radius); padding: 28px;
}

.pub-testimonial-stars { color: var(--pub-amber); font-size: 16px; margin-bottom: 16px; }

.pub-testimonial-text {
  font-size: 15px; color: var(--pub-muted); line-height: 1.7; margin-bottom: 24px;
  font-style: italic;
}

.pub-testimonial-author { display: flex; align-items: center; gap: 12px; }

.pub-testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pub-accent), var(--pub-teal));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #fff; flex-shrink: 0;
}

.pub-testimonial-name { font-weight: 700; font-size: 14px; }
.pub-testimonial-company { font-size: 13px; color: var(--pub-muted); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.pub-cta-section {
  position: relative; z-index: 1; padding: 80px 5%; text-align: center;
  background: linear-gradient(135deg, rgba(79,70,229,.1), rgba(13,148,136,.08));
  border-top: 1px solid var(--pub-border); border-bottom: 1px solid var(--pub-border);
}

/* ============================================================
   FOOTER
   ============================================================ */
.pub-footer {
  position: relative; z-index: 1; padding: 60px 5% 32px;
  border-top: 1px solid var(--pub-border);
}

.pub-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}

.pub-footer-brand { max-width: 280px; }
.pub-footer-brand p { font-size: 14px; color: var(--pub-muted); line-height: 1.7; margin-top: 12px; }

.pub-footer-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 16px; }

.pub-footer-links { list-style: none; }
.pub-footer-links li { margin-bottom: 10px; }
.pub-footer-links a { font-size: 14px; color: var(--pub-muted); transition: color .15s ease; }
.pub-footer-links a:hover { color: #fff; }

.pub-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--pub-border);
  font-size: 13px; color: var(--pub-muted); flex-wrap: wrap; gap: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
.pub-mobile-menu-btn { display: none; }

@media (max-width: 768px) {
  .pub-nav-links { display: none; }
  .pub-mobile-menu-btn { display: flex; }
  .pub-hero h1 { font-size: 36px; }
  .pub-stats { flex-direction: column; }
  .pub-stat { border-right: none; border-bottom: 1px solid var(--pub-border); }
  .pub-stat:last-child { border-bottom: none; }
  .pub-footer-grid { grid-template-columns: 1fr 1fr; }
  .pub-pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .pub-section { padding: 60px 4%; }
  .pub-footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   Phase 13 — Premium chrome: header, mega menu, currency, footer, effects
   ========================================================================== */
:root{ --nx-a:#818CF8; --nx-a2:#4F46E5; --nx-a3:#7C3AED; --nx-tl:#2DD4BF;
  --nx-glass:rgba(10,15,38,.72); --nx-bd:rgba(255,255,255,.10); --nx-tx:#F8FAFC; --nx-mut:#9aa7bd; }

/* Cursor glow */
.cursor-glow{position:fixed;top:0;left:0;width:300px;height:300px;border-radius:50%;pointer-events:none;z-index:1;
  background:radial-gradient(circle,rgba(129,140,248,.18),transparent 65%);filter:blur(20px);will-change:transform;transition:transform .08s linear;}

/* Header */
.nx-header{position:fixed;top:0;left:0;right:0;z-index:1000;transition:background .25s,box-shadow .25s,border-color .25s;
  background:transparent;border-bottom:1px solid transparent;}
.nx-header.scrolled{background:var(--nx-glass);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--nx-bd);box-shadow:0 10px 40px -18px rgba(0,0,0,.7);}
.nx-header-spacer{height:76px;}
.nx-inner{max-width:1280px;margin:0 auto;padding:0 22px;height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px;}
.nx-brand{display:flex;align-items:center;gap:11px;text-decoration:none;}
.nx-logo{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-family:var(--pub-font,'Outfit');font-weight:800;color:#fff;font-size:20px;
  background:linear-gradient(135deg,#4F46E5,#7C3AED 55%,#2DD4BF);box-shadow:0 8px 22px -8px rgba(124,58,237,.9);}
.nx-brandtext{font-family:var(--pub-font,'Outfit');font-weight:800;font-size:21px;letter-spacing:-.02em;
  background:linear-gradient(90deg,#fff,#c7d2fe);-webkit-background-clip:text;background-clip:text;color:transparent;}
.nx-nav{display:flex;align-items:center;gap:2px;}
.nx-link{display:inline-flex;align-items:center;gap:5px;padding:8px 12px;border-radius:10px;color:#cbd5e1;text-decoration:none;white-space:nowrap;
  font-family:var(--pub-font,'Outfit');font-weight:600;font-size:15px;background:none;border:0;cursor:pointer;transition:color .15s,background .15s;}
.nx-link:hover{color:#fff;background:rgba(255,255,255,.06);}
.nx-item{position:relative;}
.nx-item .nx-trigger svg{transition:transform .2s;}
.nx-item:hover .nx-trigger svg{transform:rotate(180deg);}

/* Mega menu */
.nx-mega{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%) translateY(10px);min-width:640px;
  background:var(--nx-glass);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid var(--nx-bd);border-radius:18px;
  padding:18px;box-shadow:0 30px 70px -22px rgba(0,0,0,.8);opacity:0;visibility:hidden;transition:opacity .2s,transform .2s;z-index:1001;}
.nx-item:hover .nx-mega{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.nx-mega::before{content:'';position:absolute;top:-18px;left:0;right:0;height:18px;}
.nx-mega-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;}
.nx-mega-col{padding:6px;}
.nx-mega-title{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--nx-a);padding:6px 10px;}
.nx-mega-item{display:flex;gap:11px;align-items:flex-start;padding:10px;border-radius:12px;text-decoration:none;transition:background .15s,transform .15s;}
.nx-mega-item:hover{background:rgba(129,140,248,.12);transform:translateX(2px);}
.nx-mega-ic{font-size:20px;flex-shrink:0;width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.05);}
.nx-mega-name{display:block;color:#fff;font-weight:600;font-size:14.5px;font-family:var(--pub-font,'Outfit');}
.nx-mega-desc{display:block;color:var(--nx-mut);font-size:12.5px;margin-top:1px;}

/* Actions / currency / buttons */
.nx-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.nx-cur{position:relative;flex-shrink:0;}
.nx-cur-btn{cursor:pointer;background:rgba(255,255,255,.06);border:1px solid var(--nx-bd);color:#fff;font-weight:600;white-space:nowrap;
  font-size:14px;padding:9px 13px;border-radius:10px;font-family:var(--pub-font,'Outfit');display:inline-flex;align-items:center;gap:5px;}
.nx-cur-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:130px;background:var(--nx-glass);backdrop-filter:blur(16px);
  border:1px solid var(--nx-bd);border-radius:12px;padding:6px;display:none;flex-direction:column;gap:2px;box-shadow:0 20px 50px -14px rgba(0,0,0,.8);z-index:1002;}
.nx-cur.open .nx-cur-menu{display:flex;}
.nx-cur-menu button{cursor:pointer;background:none;border:0;color:#cbd5e1;text-align:left;padding:9px 12px;border-radius:8px;font-size:14px;font-weight:600;font-family:var(--pub-font,'Outfit');}
.nx-cur-menu button:hover,.nx-cur-menu button.on{background:rgba(129,140,248,.16);color:#fff;}
.nx-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-family:var(--pub-font,'Outfit');
  font-weight:600;font-size:14.5px;padding:10px 18px;border-radius:11px;transition:transform .15s,box-shadow .15s,background .15s;border:1px solid transparent;}
.nx-btn-ghost{color:#fff;border-color:var(--nx-bd);background:rgba(255,255,255,.04);}
.nx-btn-ghost:hover{background:rgba(255,255,255,.1);}
.nx-btn-primary{color:#fff;background:linear-gradient(100deg,#4F46E5,#7C3AED);position:relative;overflow:hidden;
  box-shadow:0 10px 26px -10px rgba(124,58,237,.9);}
.nx-btn-primary::after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent);transform:translateX(-120%);transition:transform .6s;}
.nx-btn-primary:hover{transform:translateY(-2px);}
.nx-btn-primary:hover::after{transform:translateX(120%);}
.nx-burger{display:none;flex-direction:column;gap:5px;width:42px;height:42px;border:1px solid var(--nx-bd);border-radius:10px;background:rgba(255,255,255,.04);cursor:pointer;align-items:center;justify-content:center;}
.nx-burger span{width:20px;height:2px;background:#fff;border-radius:2px;transition:.25s;}
.nx-burger.on span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nx-burger.on span:nth-child(2){opacity:0;}
.nx-burger.on span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* Billing (monthly/yearly) toggle — shared component */
.bill-toggle{display:inline-flex;padding:5px;border:1px solid var(--nx-bd);border-radius:999px;background:rgba(255,255,255,.04);gap:4px;}
.bill-toggle button{cursor:pointer;border:0;background:none;color:var(--nx-mut);font-weight:600;font-size:14px;padding:9px 20px;border-radius:999px;font-family:var(--pub-font,'Outfit');transition:.15s;}
.bill-toggle button.on{background:linear-gradient(100deg,#4F46E5,#7C3AED);color:#fff;box-shadow:0 8px 20px -8px rgba(124,58,237,.8);}
.bill-save{margin-left:8px;font-size:12px;font-weight:700;color:var(--nx-tl);background:rgba(45,212,191,.14);padding:5px 11px;border-radius:999px;}

/* Reveal on scroll — only hidden when JS is active (no-JS safe) */
.reveal{opacity:1;}
html.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1);}
html.js .reveal.in{opacity:1;transform:none;}

/* Footer */
.nx-footer{position:relative;background:#04060f;border-top:1px solid var(--nx-bd);margin-top:60px;overflow:hidden;}
.nx-footer-glow{position:absolute;top:-140px;left:50%;transform:translateX(-50%);width:700px;height:280px;
  background:radial-gradient(circle,rgba(79,70,229,.25),transparent 70%);filter:blur(50px);pointer-events:none;}
.nx-footer-inner{max-width:1240px;margin:0 auto;padding:56px 24px 26px;position:relative;z-index:1;}
.nx-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1.2fr;gap:30px;}
.nx-footer-brand p{color:var(--nx-mut);font-size:14px;line-height:1.7;max-width:320px;}
.nx-socials{display:flex;gap:10px;margin-top:16px;}
.nx-socials a{width:40px;height:40px;border:1px solid var(--nx-bd);border-radius:11px;display:grid;place-items:center;color:#fff;text-decoration:none;font-weight:700;background:rgba(255,255,255,.04);transition:.15s;}
.nx-socials a:hover{transform:translateY(-3px);border-color:var(--nx-a);background:rgba(129,140,248,.14);}
.nx-foot-h{font-family:var(--pub-font,'Outfit');font-weight:700;font-size:14px;color:#fff;margin:0 0 14px;}
.nx-foot-links{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px;}
.nx-foot-links li,.nx-foot-links a{color:var(--nx-mut);font-size:13.5px;text-decoration:none;transition:color .15s;}
.nx-foot-links a:hover{color:#fff;}
.nx-partners{margin-top:38px;padding-top:20px;border-top:1px solid var(--nx-bd);color:var(--nx-mut);font-size:13px;text-align:center;}
.nx-partners span{color:#fff;font-weight:600;}
.nx-footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:20px;padding-top:20px;border-top:1px solid var(--nx-bd);color:var(--nx-mut);font-size:13px;}
.nx-footer-bottom a{color:#c7d2fe;text-decoration:none;}

/* Mega menu: never overflow the viewport */
.nx-mega{max-width:min(720px,calc(100vw - 32px));}

/* Responsive — switch to mobile menu before the bar gets cramped */
@media(max-width:1100px){
  .nx-burger{display:flex;}
  .nx-nav{position:fixed;top:76px;left:0;right:0;bottom:0;flex-direction:column;align-items:stretch;gap:2px;padding:16px 20px 40px;
    background:var(--nx-glass);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);overflow-y:auto;transform:translateX(100%);transition:transform .3s;z-index:1000;}
  .nx-nav.open{transform:translateX(0);}
  .nx-link{font-size:17px;padding:14px 14px;justify-content:space-between;width:100%;}
  .nx-item{width:100%;}
  .nx-trigger{width:100%;justify-content:space-between;}
  .nx-mega{position:static;transform:none;min-width:0;max-width:none;opacity:1;visibility:visible;display:none;box-shadow:none;background:rgba(255,255,255,.03);margin:2px 0 10px;border-color:rgba(255,255,255,.06);}
  .nx-item.open .nx-mega{display:block;}
  .nx-mega-grid{grid-template-columns:1fr;}
  /* keep currency + primary CTA on the bar; move Login into the slide menu */
  .nx-btn-ghost{display:none;}
  .nx-nav .nx-mobile-actions{display:flex;gap:10px;margin-top:14px;}
  .nx-nav .nx-mobile-actions a{flex:1;text-align:center;}
}
@media(min-width:1101px){ .nx-mobile-actions{display:none;} }
@media(max-width:560px){
  .nx-brandtext{font-size:18px;}
  .nx-btn-primary{padding:9px 14px;font-size:13.5px;}
  .nx-cur-btn{padding:9px 10px;font-size:13px;}
  .nx-footer-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:460px){ .nx-actions .nx-btn-primary{display:none;} }

/* ============================================================================
   Phase 14 — Appearance: admin-selectable background + cursor variants
   ========================================================================== */
.nx-bg{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;}
.nx-bg>*{display:none;position:absolute;inset:0;width:100%;height:100%;}
/* neutralize per-page decorative auroras — global bg is the single backdrop */
.st .aurora{display:none !important;}

/* Aurora */
body[data-bg="aurora"] .nx-bg-aurora{display:block;}
.nx-bg-aurora span{position:absolute;border-radius:50%;filter:blur(110px);opacity:.5;display:block;animation:nxfloat 22s ease-in-out infinite;}
.nx-bg-aurora span:nth-child(1){width:560px;height:560px;background:#4F46E5;top:-160px;left:-120px;}
.nx-bg-aurora span:nth-child(2){width:480px;height:480px;background:#0D9488;top:18%;right:-160px;animation-delay:-7s;}
.nx-bg-aurora span:nth-child(3){width:520px;height:520px;background:#7C3AED;bottom:-220px;left:34%;animation-delay:-13s;}
@keyframes nxfloat{0%,100%{transform:translate(0,0)}33%{transform:translate(50px,-40px)}66%{transform:translate(-40px,30px)}}
/* Grid */
body[data-bg="grid"] .nx-bg-grid{display:block;background-image:linear-gradient(rgba(129,140,248,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(129,140,248,.13) 1px,transparent 1px);background-size:62px 62px;animation:nxgrid 14s linear infinite;mask-image:radial-gradient(circle at 50% 28%,#000,transparent 82%);-webkit-mask-image:radial-gradient(circle at 50% 28%,#000,transparent 82%);}
@keyframes nxgrid{to{background-position:62px 62px;}}
/* Mesh */
body[data-bg="mesh"] .nx-bg-mesh{display:block;background:
  radial-gradient(38% 40% at 18% 22%,rgba(79,70,229,.4),transparent 62%),
  radial-gradient(40% 42% at 82% 28%,rgba(13,148,136,.32),transparent 62%),
  radial-gradient(52% 52% at 50% 92%,rgba(124,58,237,.36),transparent 62%);animation:nxmesh 20s ease-in-out infinite alternate;}
@keyframes nxmesh{to{transform:scale(1.18) translateY(-24px);}}
/* Waves */
body[data-bg="waves"] .nx-bg-waves{display:block;}
.nx-bg-waves span{position:absolute;left:-25%;right:-25%;width:150%;height:60vh;bottom:-12vh;border-radius:45%;background:radial-gradient(circle,rgba(79,70,229,.28),transparent 60%);animation:nxwave 16s ease-in-out infinite;}
.nx-bg-waves span:nth-child(2){bottom:-22vh;background:radial-gradient(circle,rgba(13,148,136,.22),transparent 60%);animation-delay:-6s;animation-duration:20s;}
@keyframes nxwave{0%,100%{transform:translateX(-4%) rotate(0deg)}50%{transform:translateX(4%) rotate(7deg)}}
/* Starfield */
body[data-bg="starfield"] .nx-bg-stars{display:block;}
/* Minimal → nothing (body background only) */

/* ---- Custom cursor ---- */
.nx-cursor{position:fixed;top:0;left:0;z-index:99999;pointer-events:none;}
.nx-cursor i{position:absolute;top:0;left:0;border-radius:50%;pointer-events:none;will-change:transform;}
.nx-cur-dot{width:8px;height:8px;background:#818cf8;box-shadow:0 0 12px rgba(129,140,248,.9);transition:width .15s,height .15s,background .2s;}
.nx-cur-ring{width:34px;height:34px;border:2px solid rgba(129,140,248,.65);transition:width .2s,height .2s,border-color .2s,background .2s;}
body[data-cursor="glow"] .nx-cur-ring{width:240px;height:240px;border:0;background:radial-gradient(circle,rgba(129,140,248,.16),transparent 62%);filter:blur(8px);}
body[data-cursor="glow"] .nx-cur-dot{display:none;}
body[data-cursor="dot"] .nx-cur-ring{display:none;}
body[data-cursor="dot"] .nx-cur-dot{width:12px;height:12px;}
body[data-cursor="ring"] .nx-cur-dot{width:6px;height:6px;}
body[data-cursor="neon"] .nx-cursor{mix-blend-mode:screen;}
body[data-cursor="neon"] .nx-cur-ring{width:30px;height:30px;border:2px solid #2dd4bf;box-shadow:0 0 18px #2dd4bf,inset 0 0 10px rgba(45,212,191,.5);}
body[data-cursor="neon"] .nx-cur-dot{background:#2dd4bf;box-shadow:0 0 14px #2dd4bf;}
body[data-cursor="trail"] .nx-cur-ring{width:26px;height:26px;border-color:rgba(129,140,248,.45);}
.nx-cur-trail{position:fixed;width:9px;height:9px;margin:-4px 0 0 -4px;border-radius:50%;background:radial-gradient(circle,#a5b4fc,transparent 70%);pointer-events:none;z-index:99998;animation:nxtrail .65s ease-out forwards;}
@keyframes nxtrail{from{opacity:.85;transform:scale(1)}to{opacity:0;transform:scale(.2)}}
.nx-cursor.hot .nx-cur-ring{width:54px;height:54px;border-color:#2dd4bf;}
body[data-cursor="glow"] .nx-cursor.hot .nx-cur-ring{width:300px;height:300px;}
.nx-cursor.down .nx-cur-ring{filter:brightness(1.35);}
/* only hide native cursor once JS confirms the custom cursor is running */
@media(pointer:fine){ body.nx-cursor-active,body.nx-cursor-active a,body.nx-cursor-active button,body.nx-cursor-active input,body.nx-cursor-active textarea,body.nx-cursor-active select{cursor:none;} }
