/* ============================================================
   CardCraft — design system & styles
============================================================ */
:root{
  --cc-radius-sm: 12px;
  --cc-radius: 16px;
  --cc-radius-lg: 24px;
  --cc-shadow-sm: 0 2px 8px -2px rgba(15,23,42,.08);
  --cc-shadow: 0 12px 32px -12px rgba(15,23,42,.18);
  --cc-shadow-lg: 0 24px 48px -16px rgba(15,23,42,.22);
  --cc-indigo: #6366f1;
  --cc-purple: #a855f7;
  --cc-ink: #0f172a;
  --cc-muted: #64748b;
  --cc-surface: #f8fafc;
  --cc-ease: cubic-bezier(.4,0,.2,1);
}

*{ -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  font-family: 'Cairo','Inter',sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[dir="ltr"] body{ font-family: 'Inter','Cairo',sans-serif; }

/* Dashboard page backdrop */
body.cc-dashboard{
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99,102,241,.12), transparent),
    var(--cc-surface);
}

/* Profile host */
.profile-host{ min-height: 100vh; }
.profile-not-found{
  min-height: 100vh; display:flex; flex-direction:column;
  align-items:center; justify-content:center; padding:2rem;
  color: var(--cc-muted); background: var(--cc-surface);
}

/* Floating lang on profile */
.lang-fab{
  padding: 10px 14px; border-radius: 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--cc-shadow);
  font-size: 13px; font-weight: 800; color: var(--cc-ink);
  transition: transform .2s var(--cc-ease), box-shadow .2s var(--cc-ease);
}
.lang-fab:hover{ transform: translateY(-2px); box-shadow: var(--cc-shadow-lg); }

/* ===== Modal Tabs ===== */
.tab-btn{
  background:#f1f5f9; color:#475569;
  transition: all .2s ease;
}
.tab-btn:hover{ background:#e2e8f0; }
.tab-btn.active{
  background: linear-gradient(135deg,#6366f1,#a855f7);
  color:#fff; box-shadow:0 6px 16px -4px rgba(99,102,241,.4);
}

/* ===== Selection cards (industry/template/palette) ===== */
.choice-card{
  position:relative; cursor:pointer; user-select:none;
  border:2px solid #e2e8f0; border-radius:14px;
  padding:14px 10px; text-align:center;
  transition: all .2s ease; background:#fff;
}
.choice-card:hover{ border-color:#a5b4fc; transform: translateY(-2px); }
.choice-card.selected{
  border-color:#6366f1;
  box-shadow:0 8px 24px -8px rgba(99,102,241,.45);
  background: linear-gradient(135deg,#eef2ff,#faf5ff);
}
.choice-card .ic{
  width:42px; height:42px; border-radius:10px; margin:0 auto 8px;
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:18px;
}
.choice-card .lbl{ font-size:13px; font-weight:700; color:#334155; }

/* ===== Template preview tiles (mini sample of each template) ===== */
.tpl-tile{
  height:130px; border-radius:14px; position:relative; overflow:hidden;
  border:2px solid #e2e8f0; cursor:pointer; transition:all .2s ease;
}
.tpl-tile:hover{ transform:translateY(-2px); border-color:#a5b4fc; }
.tpl-tile.selected{ border-color:#6366f1; box-shadow:0 10px 24px -8px rgba(99,102,241,.5); }
.tpl-tile .tpl-name{
  position:absolute; bottom:0; left:0; right:0;
  padding:6px 8px; font-size:12px; font-weight:700; color:#fff;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  text-align:center; letter-spacing:.5px;
}

/* palette swatches */
.palette{
  height:54px; border-radius:12px; cursor:pointer;
  border:3px solid transparent; transition:all .2s ease;
  display:flex; align-items:flex-end; justify-content:center; padding-bottom:6px;
  color:#fff; font-size:11px; font-weight:700; text-shadow:0 1px 2px rgba(0,0,0,.3);
}
.palette:hover{ transform: translateY(-2px); }
.palette.selected{ border-color:#0f172a; box-shadow:0 8px 20px -6px rgba(0,0,0,.3); }

/* ===== Social/Payment INPUT rows (in modal form) ===== */
.io-row{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border:1px solid #e2e8f0; border-radius:12px;
  background:#fff; transition:all .15s;
}
.io-row:focus-within{ border-color:#6366f1; box-shadow:0 0 0 3px rgba(99,102,241,.15); }
.io-row .brand{
  width:38px; height:38px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:16px;
}
.io-row input{
  flex:1; border:none; outline:none; background:transparent; font-size:14px;
}
.io-row .lbl{ font-size:12px; color:#64748b; font-weight:600; }

/* ===== Client card (dashboard) ===== */
.client-card{
  background:#fff; border-radius: var(--cc-radius-lg); overflow:hidden;
  border:1px solid #e8ecf2; transition: transform .28s var(--cc-ease), box-shadow .28s var(--cc-ease);
  box-shadow: var(--cc-shadow-sm);
}
.client-card:hover{
  transform: translateY(-5px);
  box-shadow: var(--cc-shadow-lg);
  border-color: #c7d2fe;
}
.client-card .banner{ height:90px; position:relative; }
.client-card .logo{
  width:64px; height:64px; border-radius:16px; background:#fff;
  position:absolute; bottom:-22px; inset-inline-start:18px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  border:3px solid #fff; box-shadow:0 6px 16px -4px rgba(0,0,0,.15);
  font-weight:800; color:#fff; font-size:20px;
}
.client-card .logo img{ width:100%; height:100%; object-fit:cover; }
.client-card .body{ padding: 32px 18px 16px; }

/* ===== Toast ===== */
#toast.show{ display:block; animation: toastIn .25s ease; }
@keyframes toastIn{ from{ transform: translate(-50%, 12px); opacity:0; } to{ transform: translate(-50%, 0); opacity:1; } }

/* ===== Scrollbar ===== */
::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-thumb{ background:#cbd5e1; border-radius:10px; }
::-webkit-scrollbar-thumb:hover{ background:#94a3b8; }

/* ============================================================
   PHONE MOCKUP (for live preview inside the modal)
============================================================ */
.phone-mock{
  width: 290px; height: 580px; margin: 0 auto;
  background: linear-gradient(145deg,#1e293b,#0f172a);
  border-radius: 44px; padding: 14px; position: relative;
  box-shadow: 0 25px 60px -15px rgba(15,23,42,.5), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone-notch{
  position:absolute; top: 16px; left:50%; transform: translateX(-50%);
  width: 96px; height: 22px; background:#0f172a; border-radius: 0 0 14px 14px; z-index:3;
}
.phone-screen{
  width: 100%; height: 100%; border-radius: 32px; overflow:hidden; overflow-y:auto;
  background:#f8fafc; position:relative; scrollbar-width: thin;
}
.phone-screen::-webkit-scrollbar{ width:4px; }

/* When profile renders inside the phone, scale things down */
.phone-screen .profile-wrap{ max-width: 100%; }
.phone-screen .profile-pad{ padding: 0 12px 24px; }
.phone-screen .p-logo{ width:78px; height:78px; font-size:28px; }
.phone-screen .p-name{ font-size:19px; }
.phone-screen .p-slogan{ font-size:12px; }
.phone-screen .contact-strip{ font-size:10px; }
.phone-screen .contact-strip i{ font-size:10px; }
.phone-screen .sec-title{ font-size:10px; margin: 16px 4px 8px; }
.phone-screen .social-grid{ gap:6px; }
.phone-screen .social-tile{ padding:10px 8px; border-radius:12px; }
.phone-screen .social-tile .ic{ width:32px; height:32px; font-size:14px; }
.phone-screen .social-tile .lbl{ font-size:10px; }
.phone-screen .social-tile .val{ font-size:11px; }
.phone-screen .pay-tile{ padding:8px 10px; border-radius:12px; gap:8px; }
.phone-screen .pay-tile .ic{ width:30px; height:30px; font-size:12px; }
.phone-screen .pay-tile .lbl{ font-size:10px; }
.phone-screen .pay-tile .val{ font-size:11px; }
.phone-screen .cta-btn{ font-size:11px; padding:9px 8px; }
/* shrink hero paddings inside the phone */
.phone-screen .tpl-modern .hero{ padding: 28px 16px 36px; border-radius: 0 0 24px 24px; }
.phone-screen .tpl-glass .hero{ padding: 24px 14px 18px; margin: 14px 10px 0; border-radius:20px; }
.phone-screen .tpl-minimal .hero{ padding: 30px 14px 14px; }
.phone-screen .tpl-luxury .hero{ padding: 32px 16px 18px; }
.phone-screen .tpl-neon .hero{ padding: 28px 16px 18px; }
.phone-screen .p-badge{ font-size:10px; padding: 3px 8px; }
/* Contain fixed bg effects within the phone */
.phone-screen .tpl-glass::before,
.phone-screen .tpl-luxury::before,
.phone-screen .tpl-neon::before,
.phone-screen .tpl-neon::after{ position:absolute; }
.phone-screen [class^="tpl-"]{ min-height: 100%; }

/* ============================================================
   PROFILE PAGE — SHARED ELEMENTS
============================================================ */
.profile-wrap{ max-width: 460px; margin: 0 auto; }
.profile-pad{ padding: 0 16px 50px; }

.p-logo{
  width:118px; height:118px; border-radius:30px; background:#fff;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  font-weight:800; font-size:42px; color:#fff;
}
.p-logo img{ width:100%; height:100%; object-fit:cover; }
.p-name{ font-weight:800; font-size:28px; line-height:1.2; }
.p-slogan{ opacity:.85; margin-top:6px; font-size:14px; font-weight:500; }
.p-badge{
  display:inline-flex; align-items:center; gap:6px;
  padding: 5px 12px; border-radius:999px; font-size:12px; font-weight:700;
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
}

/* small contact strip at top under hero */
.contact-strip{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:6px 14px; padding: 10px 14px;
  font-size:11.5px; font-weight:600;
}
.contact-strip a{ display:inline-flex; align-items:center; gap:5px; color:inherit; text-decoration:none; opacity:.88; }
.contact-strip a:hover{ opacity:1; }
.contact-strip .dot{ width:3px; height:3px; border-radius:50%; background: currentColor; opacity:.35; }

/* Section title */
.sec-title{
  font-size:12px; font-weight:800;
  text-transform:uppercase; letter-spacing:.12em;
  margin: 26px 4px 12px; display:flex; align-items:center; gap:8px;
}
[dir="rtl"] .sec-title{ letter-spacing:0; text-transform:none; font-size:13px; }
.sec-title::before{
  content:""; width:18px; height:2px; border-radius:2px; background: var(--accent, #6366f1);
}

/* SOCIAL GRID */
.social-grid{
  display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:12px;
}
@media (max-width: 380px){
  .social-grid{ grid-template-columns: 1fr; }
}
.social-tile{
  display:flex; align-items:center; gap:12px;
  padding: 14px 16px; border-radius: var(--cc-radius);
  text-decoration:none; color: inherit;
  transition: transform .22s var(--cc-ease), box-shadow .22s var(--cc-ease), border-color .22s;
  position:relative; overflow:hidden;
  min-height: 64px;
}
.social-tile::after{
  content:""; position:absolute; inset:0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(99,102,241,.06), transparent);
  opacity:0; transition: opacity .2s;
  pointer-events:none;
}
.social-tile:hover,
.social-tile:focus-visible{
  transform: translateY(-3px);
  outline: none;
}
.social-tile:hover::after,
.social-tile:focus-visible::after{ opacity:1; }
.social-tile:active{ transform: translateY(-1px); }
.social-tile .ic{
  width:42px; height:42px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:17px;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.25);
}
.social-tile .meta{ min-width:0; flex:1; }
.social-tile .lbl{ font-size:10px; font-weight:800; opacity:.65; text-transform:uppercase; letter-spacing:.06em; }
[dir="rtl"] .social-tile .lbl{ letter-spacing:0; text-transform:none; font-size:11px; }
.social-tile .val{ font-size:13px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tile-ext{
  width:28px; height:28px; border-radius:8px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:11px; opacity:.35;
  background: rgba(15,23,42,.06);
  transition: opacity .2s, background .2s, transform .2s;
}
.social-tile:hover .tile-ext,
.pay-tile--link:hover .tile-ext{
  opacity:1; background: rgba(99,102,241,.12); color: var(--cc-indigo);
  transform: translate(2px, -2px);
}

/* PAYMENT GRID & TILES */
.pay-grid{
  display:grid; grid-template-columns: 1fr; gap:10px;
}
.pay-tile{
  display:flex; align-items:center; gap:12px;
  padding: 14px 16px; border-radius: var(--cc-radius);
  cursor:pointer; transition: transform .22s var(--cc-ease), box-shadow .22s var(--cc-ease);
  position:relative; overflow:hidden;
  text-decoration:none; color: inherit;
  min-height: 62px;
}
.pay-tile--link{ cursor:pointer; }
.pay-tile:hover,
.pay-tile:focus-visible{
  transform: translateY(-2px);
  outline: none;
}
.pay-tile .ic{
  width:42px; height:42px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:17px;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.2);
}
.pay-tile .lbl{ font-size:10px; font-weight:800; opacity:.6; text-transform:uppercase; letter-spacing:.05em; }
[dir="rtl"] .pay-tile .lbl{ letter-spacing:0; text-transform:none; font-size:11px; }
.pay-tile .val{ font-size:14px; font-weight:800; }
.pay-tile .copy-ic{
  opacity:.35; font-size:14px; padding:8px;
  border-radius:8px; transition: opacity .2s, background .2s, color .2s;
}
.pay-tile:hover .copy-ic{ opacity:.85; background: rgba(99,102,241,.1); color: var(--cc-indigo); }
.pay-tile[data-copy]:active{ transform: scale(.98); }

/* CTA Buttons (apply palette via --accent) */
.cta-btn{
  padding: 14px 16px; border-radius: 16px; font-weight: 800;
  display:flex; align-items:center; justify-content:center; gap:8px;
  cursor:pointer; transition:all .2s ease; border:none; font-size:14px;
}
.cta-btn:hover{ transform: translateY(-2px); filter: brightness(1.05); }
.cta-primary{
  background: var(--accent-grad, linear-gradient(135deg,#6366f1,#a855f7));
  color:#fff; box-shadow: 0 12px 28px -10px var(--accent, #6366f1);
}
.cta-secondary{
  background:#0f172a; color:#fff;
}

/* ============================================================
   TEMPLATE 1 — MODERN (bold gradient hero, curved bottom)
============================================================ */
.tpl-modern{ background: #f8fafc; min-height:100vh; }
.tpl-modern .hero{
  background: var(--accent-grad);
  color:#fff; padding: 50px 24px 70px; text-align:center;
  border-radius: 0 0 36px 36px; position:relative; overflow:hidden;
}
.tpl-modern .hero::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.25), transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,.18), transparent 40%);
}
.tpl-modern .hero > *{ position:relative; }
.tpl-modern .p-logo{
  margin: 0 auto 16px; background:#fff;
  box-shadow:0 20px 40px -15px rgba(0,0,0,.4);
}
.tpl-modern .contact-strip{ color:#fff; opacity:.92; }
.tpl-modern .social-tile{
  background:#fff; color:#0f172a;
  box-shadow: 0 6px 16px -8px rgba(15,23,42,.18);
  border:1px solid #f1f5f9;
}
.tpl-modern .social-tile .ic{ color:#fff; }
.tpl-modern .pay-tile{
  background:#fff;
  box-shadow: 0 6px 16px -8px rgba(15,23,42,.15);
  border:1px solid #f1f5f9;
}

/* ============================================================
   TEMPLATE 2 — GLASS (palette bg fullpage, frosted floating cards)
============================================================ */
.tpl-glass{
  background: var(--accent-grad);
  min-height:100vh; position:relative;
}
.tpl-glass::before{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.4), transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,.3), transparent 35%);
}
.tpl-glass > *{ position:relative; z-index:1; }
.tpl-glass .hero{
  padding: 40px 20px 30px; text-align:center; color:#fff;
  margin: 24px 16px 0;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 28px;
  box-shadow: 0 25px 60px -20px rgba(0,0,0,.3);
}
.tpl-glass .p-logo{
  margin: 0 auto 14px;
  background: rgba(255,255,255,.95);
  border: 2px solid rgba(255,255,255,.6);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.4);
}
.tpl-glass .contact-strip{ color:#fff; }
.tpl-glass .sec-title{ color:#fff; }
.tpl-glass .sec-title::before{ background:#fff; opacity:.7; }
.tpl-glass .social-tile{
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.25);
  color:#fff;
}
.tpl-glass .social-tile .ic{ background: rgba(255,255,255,.95); }
.tpl-glass .social-tile .lbl{ color:rgba(255,255,255,.85); opacity:1; }
.tpl-glass .pay-tile{
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.25);
  color:#fff;
}
.tpl-glass .pay-tile .lbl{ color:rgba(255,255,255,.8); opacity:1; }
.tpl-glass .cta-primary{
  background: rgba(255,255,255,.95); color: #0f172a; box-shadow:0 12px 24px -10px rgba(0,0,0,.3);
}
.tpl-glass .cta-secondary{
  background: rgba(0,0,0,.35); backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,.2);
}

/* ============================================================
   TEMPLATE 3 — MINIMAL (white, thin lines, serif name, accent ring)
============================================================ */
.tpl-minimal{ background:#ffffff; min-height:100vh; color:#0f172a; }
.tpl-minimal .hero{
  padding: 60px 24px 20px; text-align:center; position:relative;
}
.tpl-minimal .hero::after{
  content:""; position:absolute; bottom:0; left:50%; transform: translateX(-50%);
  width:60px; height:3px; border-radius:3px; background: var(--accent-grad);
}
.tpl-minimal .p-logo{
  margin: 0 auto 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 0 0 6px #f8fafc, 0 0 0 7px var(--accent);
  color: var(--accent);
}
.tpl-minimal .p-logo img{ border-radius: inherit; }
.tpl-minimal .p-name{
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 32px; letter-spacing: -.5px;
}
.tpl-minimal .p-slogan{ color:#64748b; font-style: italic; }
.tpl-minimal .p-badge{ background: #f1f5f9; color: var(--accent); }
.tpl-minimal .contact-strip{ color:#475569; padding-top:18px; border-top:1px solid #f1f5f9; margin-top: 24px; }
.tpl-minimal .sec-title{ color:#94a3b8; }
.tpl-minimal .social-tile{
  background:#fff;
  border: 1px solid #e2e8f0;
  color:#0f172a;
}
.tpl-minimal .social-tile:hover{ border-color: var(--accent); }
.tpl-minimal .social-tile .lbl{ color:#94a3b8; opacity:1; }
.tpl-minimal .pay-tile{
  background:#fff; border:1px solid #e2e8f0; color:#0f172a;
}
.tpl-minimal .pay-tile:hover{ border-color: var(--accent); }

/* ============================================================
   TEMPLATE 4 — LUXURY (dark + gold rim, serif, accent rim)
============================================================ */
.tpl-luxury{
  background: radial-gradient(ellipse at top, #1a1230 0%, #0b0816 70%);
  min-height:100vh; color: #f5eedb;
  position:relative;
}
.tpl-luxury::before{
  content:""; position:fixed; inset:0; pointer-events:none; opacity:.4;
  background-image: radial-gradient(circle at 50% 0%, rgba(212,175,55,.25), transparent 40%);
}
.tpl-luxury .hero{
  padding: 60px 24px 30px; text-align:center; position:relative;
}
.tpl-luxury .p-logo{
  margin: 0 auto 22px; background: linear-gradient(145deg,#1c1530,#0e0a1d);
  border: 2px solid; border-image: var(--accent-grad) 1;
  box-shadow: 0 0 0 5px rgba(255,255,255,.04), 0 25px 60px -20px rgba(212,175,55,.5);
  color: #f5eedb;
}
.tpl-luxury .p-name{
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 30px; letter-spacing: .5px;
}
.tpl-luxury .divider{
  width:80px; height:1px; margin: 14px auto;
  background: var(--accent-grad);
  position:relative;
}
.tpl-luxury .divider::before, .tpl-luxury .divider::after{
  content:""; position:absolute; top:50%; width:5px; height:5px; border-radius:50%;
  background: var(--accent); transform: translateY(-50%);
}
.tpl-luxury .divider::before{ left:-9px; } .tpl-luxury .divider::after{ right:-9px; }
.tpl-luxury .p-slogan{ color:#cdbfa0; font-style: italic; }
.tpl-luxury .p-badge{ background: rgba(212,175,55,.12); border:1px solid rgba(212,175,55,.4); color: #f5eedb; }
.tpl-luxury .contact-strip{ color:#cdbfa0; }
.tpl-luxury .sec-title{ color:#cdbfa0; font-family: 'Playfair Display', serif; font-weight: 600; }
.tpl-luxury .sec-title::before{ background: var(--accent); }
.tpl-luxury .social-tile{
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(212,175,55,.25);
  color: #f5eedb;
}
.tpl-luxury .social-tile:hover{ border-color: var(--accent); }
.tpl-luxury .social-tile .lbl{ color:#cdbfa0; opacity:1; }
.tpl-luxury .pay-tile{
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(212,175,55,.25);
  color: #f5eedb;
}
.tpl-luxury .pay-tile .lbl{ color:#cdbfa0; opacity:1; }
.tpl-luxury .cta-primary{
  background: var(--accent-grad);
  color:#0b0816; box-shadow:0 12px 28px -10px rgba(212,175,55,.5);
}
.tpl-luxury .cta-secondary{
  background: transparent; border:1px solid rgba(212,175,55,.5); color:#f5eedb;
}

/* ============================================================
   TEMPLATE 5 — NEON (dark + neon glow, futuristic)
============================================================ */
.tpl-neon{
  background: #050816; min-height:100vh; color:#e2e8f0;
  position:relative; overflow:hidden;
}
.tpl-neon::before{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 28px 28px;
}
.tpl-neon::after{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(circle at 20% 10%, var(--accent), transparent 35%),
    radial-gradient(circle at 80% 90%, var(--accent), transparent 35%);
  opacity:.18; filter: blur(20px);
}
.tpl-neon > *{ position:relative; z-index:1; }
.tpl-neon .hero{ padding: 50px 24px 30px; text-align:center; }
.tpl-neon .p-logo{
  margin: 0 auto 18px; background:#0a0f24;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(255,255,255,.02),
              0 0 24px var(--accent),
              0 0 60px rgba(99,102,241,.35);
  color: #fff;
}
.tpl-neon .p-name{
  font-family: 'Inter', monospace; font-weight: 800;
  text-shadow: 0 0 18px var(--accent);
  letter-spacing: .3px;
}
.tpl-neon .p-slogan{ color:#94a3b8; font-family: 'Inter', monospace; }
.tpl-neon .p-badge{
  background: rgba(0,0,0,.3); border: 1px solid var(--accent);
  color:#fff; box-shadow: 0 0 12px var(--accent);
}
.tpl-neon .contact-strip{ color:#94a3b8; }
.tpl-neon .sec-title{ color:var(--accent); text-shadow:0 0 8px var(--accent); }
.tpl-neon .social-tile{
  background: rgba(10,15,36,.8);
  border: 1px solid rgba(99,102,241,.3);
  color: #e2e8f0;
}
.tpl-neon .social-tile:hover{
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent);
}
.tpl-neon .social-tile .lbl{ color:var(--accent); opacity:1; }
.tpl-neon .pay-tile{
  background: rgba(10,15,36,.8);
  border: 1px solid rgba(99,102,241,.3);
  color: #e2e8f0;
}
.tpl-neon .pay-tile:hover{ border-color: var(--accent); box-shadow: 0 0 18px var(--accent); }
.tpl-neon .pay-tile .lbl{ color:var(--accent); opacity:1; }
.tpl-neon .cta-primary{
  background: transparent; color:#fff;
  border: 2px solid var(--accent);
  box-shadow: 0 0 16px var(--accent), inset 0 0 16px rgba(255,255,255,.06);
}
.tpl-neon .cta-secondary{
  background: transparent; color:#94a3b8;
  border:1px solid #1e293b;
}
