:root{
  --bg: #f4f7ff;
  --panel: rgba(255,255,255,.78);
  --panel2: rgba(255,255,255,.95);
  --text: rgba(12,18,34,.92);
  --muted: rgba(12,18,34,.62);
  --stroke: rgba(12,18,34,.10);
  --brand: #5b5ce2;
  --brand2:#14b8a6;
  --danger:#ef4444;
  --shadow: 0 18px 60px rgba(12,18,34,.10);
  --radius: 18px;
  --radius2: 26px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 20% 10%, rgba(109,40,217,.12), transparent 60%),
    radial-gradient(900px 520px at 80% 30%, rgba(22,163,74,.10), transparent 55%),
    radial-gradient(900px 520px at 60% 90%, rgba(59,130,246,.08), transparent 55%),
    var(--bg);
  color: var(--text);
}

.grid.cols-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width: 980px){ .grid.cols-4{ grid-template-columns:repeat(2,1fr);} }
@media (max-width: 520px){ .grid.cols-4{ grid-template-columns:1fr;} }

a{color:inherit;text-decoration:none}
.container{
  max-width:1100px;
  margin:0 auto;
  padding:28px;
  overflow: visible; /* ✅ important pour sticky/stacking */
}

.nav{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:14px 18px;border:1px solid var(--stroke);border-radius:var(--radius2);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  position:sticky;
  top:16px;
  backdrop-filter: blur(10px);

  /* ✅ FIX: la nav reste AU-DESSUS des cards */
  z-index: 9999;
  isolation: isolate;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.footer-link{
  color: inherit;
  font-weight: 800;
  text-decoration: none;
  opacity: .85;
}
.footer-link:hover{
  text-decoration: underline;
  opacity: 1;
}

/* ✅ Logo plus grand */
.brand-logo{
  width:120px;
  height:auto;
  display:block;
  object-fit:contain;
}
@media (max-width: 520px){
  .brand-logo{ width:96px; }
}

.badge{
  font-size:12px;color:var(--muted);
  padding:4px 10px;border:1px solid var(--stroke);border-radius:999px;
  background: rgba(255,255,255,.05);
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:10px 14px;border-radius:14px;border:1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  cursor:pointer;
}
.btn:hover{background: rgba(255,255,255,.09)}
.btn.primary{
  border-color: rgba(124,58,237,.4);
  background: linear-gradient(180deg, rgba(124,58,237,.9), rgba(124,58,237,.65));
  box-shadow: 0 14px 30px rgba(124,58,237,.22);
}
.btn.ghost{background: transparent}
.btn.danger{border-color: rgba(239,68,68,.4); background: rgba(239,68,68,.14)}

.row{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.grid{display:grid;gap:16px}
.grid.cols-2{grid-template-columns:repeat(2, minmax(0, 1fr))}
.grid.cols-3{grid-template-columns:repeat(3, minmax(0, 1fr))}
@media(max-width:900px){.grid.cols-2,.grid.cols-3{grid-template-columns:1fr}}

.card{
  border:1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
  position: relative; /* ✅ aide l’empilement, sans prendre le dessus sur la nav */
  z-index: 1;
}
.card h3{margin:0 0 8px 0}
.muted{color:var(--muted)}

.hero{
  margin-top:16px;
  padding:26px;
  border-radius: var(--radius2);
  border:1px solid var(--stroke);
  background:
    radial-gradient(500px 260px at 10% 10%, rgba(124,58,237,.28), transparent 60%),
    radial-gradient(520px 280px at 90% 30%, rgba(34,197,94,.18), transparent 60%),
    rgba(255,255,255,.05);
  box-shadow: var(--shadow);
}
.hero h1{margin:0 0 8px 0;font-size:34px;letter-spacing:-.3px}
.hero p{margin:0;color:var(--muted);max-width:70ch;line-height:1.5}

.input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}
textarea{min-height:110px;resize:vertical}
label{display:block;margin:0 0 6px 0;color:var(--muted);font-size:13px}
.form-row{display:grid;gap:12px;grid-template-columns:1fr 1fr}
@media(max-width:900px){.form-row{grid-template-columns:1fr}}

.kpi{
  padding:14px 16px;border-radius: 16px;border:1px solid var(--stroke);
  background: rgba(255,255,255,.05);
}
.kpi .val{font-size:22px;font-weight:800}
.kpi .lbl{font-size:12px;color:var(--muted)}

.table{width:100%;border-collapse:separate;border-spacing:0 10px}
.table th{color:var(--muted);font-size:12px;text-align:left;padding:0 10px}
.table td{
  padding:12px 10px;
  background: rgba(255,255,255,.05);
  border-top:1px solid var(--stroke);
  border-bottom:1px solid var(--stroke);
}
.table td:first-child{border-left:1px solid var(--stroke);border-top-left-radius:14px;border-bottom-left-radius:14px}
.table td:last-child{border-right:1px solid var(--stroke);border-top-right-radius:14px;border-bottom-right-radius:14px}

.toast{
  position:fixed;right:18px;bottom:18px;z-index:50;
  padding:12px 14px;border:1px solid var(--stroke);border-radius:16px;
  background: rgba(20,20,30,.88);backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  display:none;max-width:360px;
}
.toast.show{display:block;animation: pop .18s ease-out}
@keyframes pop{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}

.linktree,
.easylink{
  max-width:520px;margin:40px auto;padding:24px;
  border:1px solid var(--stroke);
  background: var(--panel2);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

/* Avatar (lettre) */
.avatar{
  width:56px;
  height:56px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}

/* Avatar IMAGE : pas de fond, pas de padding, image cover */
.avatar.avatar-img{
  background: transparent !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--stroke);
}
.avatar.avatar-img img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:18px;
}

.lbtn{
  width:100%;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
}
.lbtn:hover{background: rgba(0,0,0,.26)}
.small{font-size:12px;color:var(--muted)}
.footer{margin:26px 0 0 0;color:var(--muted);font-size:12px;text-align:center}


/* --- UI polish v3.4 --- */
.card{ backdrop-filter: blur(10px); }
.hero h1{ letter-spacing:-.02em; }
.input{ border:1px solid var(--stroke); background:rgba(255,255,255,.92); }
.input:focus{ outline:none; box-shadow:0 0 0 4px rgba(91,92,226,.12); border-color:rgba(91,92,226,.45); }
.btn{ border:1px solid var(--stroke); background:rgba(255,255,255,.86); }
.btn:hover{ transform: translateY(-1px); }
.btn.primary{ background: linear-gradient(135deg, rgba(91,92,226,.95), rgba(20,184,166,.92)); border-color: rgba(91,92,226,.35); }
.btn.danger{ background: rgba(239,68,68,.10); border-color: rgba(239,68,68,.35); }
.badge{ border:1px solid var(--stroke); background: rgba(255,255,255,.72); }
.lbtn{ border:1px solid var(--stroke); background: rgba(255,255,255,.92); }
.lbtn:hover{ box-shadow: 0 14px 35px rgba(12,18,34,.10); transform: translateY(-1px); }
.easylink{ border:1px solid var(--stroke); box-shadow: var(--shadow); }
.btn i { margin-right: .5rem; }

/* ===== Landing (Home) ===== */
.landing{ max-width:1100px; margin:0 auto; padding:10px 0 24px; }
.landing-hero{ display:grid; grid-template-columns:1.15fr .85fr; gap:18px; align-items:center; margin-top:16px; }
@media (max-width: 900px){ .landing-hero{ grid-template-columns:1fr; } }

.hero-kicker{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.hero-title{ font-size:44px; line-height:1.05; letter-spacing:-.02em; margin:12px 0; }
@media (max-width: 900px){ .hero-title{ font-size:36px; } }
.hero-lead{ color:var(--muted); font-size:16px; line-height:1.65; margin:0; }
.hero-cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
.hero-proof{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
.proof-item{ display:flex; align-items:center; gap:8px; padding:10px 12px; border-radius:16px;
  border:1px solid var(--stroke); background:rgba(255,255,255,.75); font-weight:800; }

.mock-wrap{ position:relative; }
.mock-phone{ border-radius:26px; border:1px solid var(--stroke); background:rgba(255,255,255,.92); box-shadow:var(--shadow); overflow:hidden; }
.mock-head{ display:flex; justify-content:space-between; align-items:center; padding:12px 14px; border-bottom:1px solid var(--stroke); }
.dots{ display:flex; gap:6px; }
.dots span{ width:8px; height:8px; border-radius:99px; background:rgba(12,18,34,.18); display:inline-block; }
.mock-card{ padding:16px; }
.mock-avatar{ width:56px; height:56px; border-radius:18px; display:flex; align-items:center; justify-content:center;
  background:rgba(124,58,237,.12); font-weight:900; }
.mock-name{ font-weight:900; font-size:18px; margin-top:10px; }
.mock-bio{ color:var(--muted); font-size:13px; margin-top:4px; margin-bottom:12px; }
.mock-btn{ display:flex; align-items:center; gap:10px; padding:12px 14px; border-radius:16px;
  border:1px solid var(--stroke); background:rgba(255,255,255,.96); margin-top:10px;
  text-decoration:none; color:var(--text); font-weight:900; }
.mock-btn:hover{ transform:translateY(-1px); box-shadow:0 14px 35px rgba(12,18,34,.10); }
.mock-foot{ margin-top:14px; font-size:12px; color:var(--muted); }
.mock-qr{ margin-top:12px; display:flex; justify-content:flex-end; }
.mock-qr-box{ width:190px; padding:14px; border-radius:18px; border:1px dashed var(--stroke);
  background:rgba(255,255,255,.82); display:flex; flex-direction:column; align-items:center; gap:6px; }

.landing-features{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:16px; }
@media (max-width: 900px){ .landing-features{ grid-template-columns:1fr; } }
.feature .ficon{ width:44px; height:44px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:rgba(124,58,237,.12); }
.feature h3{ margin:10px 0 6px; }
.feature p{ margin:0; color:var(--muted); line-height:1.6; }

.landing-pricing{ margin-top:16px; }
.pricing{ display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:center; }
@media (max-width: 900px){ .pricing{ grid-template-columns:1fr; } }
.price-line{ display:flex; align-items:baseline; gap:12px; margin-top:10px; }
.price-amount{ font-size:46px; font-weight:900; letter-spacing:-.02em; }
.price-desc{ color:var(--muted); }
.pricing-list{ display:grid; gap:10px; padding:14px; border-radius:18px; border:1px solid var(--stroke); background:rgba(255,255,255,.8); }
.pricing-list i{ margin-right:8px; }
.landing-footer{ margin-top:18px; padding:8px 0; text-align:center; }
.landing-seo{ margin-top:16px; }
.landing-seo h2{ font-size:20px; margin:0; }
.landing-seo p{ margin-top:8px; }

/* ⚠️ Doublon brand-logo plus bas, je laisse tel quel comme tu l’avais */
.brand-logo{
  width:56px;height:56px;border-radius:18px;overflow:hidden;
  border:1px solid var(--stroke);background:#fff;
  display:flex;align-items:center;justify-content:center;
}
.brand-logo img{width:100%;height:100%;object-fit:cover;display:block;}
.brand-logo--fallback{font-weight:900;background:rgba(0,0,0,.04);}

.site-logo{
  width:112px;
  height:42px;
  object-fit:contain;
  display:block;
}

/* ===== EasyLink public : plus subtil ===== */
.easylink-public{
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 16px 22px;
}

.easylink-head{
  display:flex;
  gap:14px;
  align-items:center;
  margin-bottom:16px;
}

.easylink-logo{
  width:62px;
  height:62px;
  border-radius:20px;
  object-fit:cover;
  border:1px solid rgba(0,0,0,.06);
  background:#fff;
  display:block;
}

.easylink-logo-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color: var(--text);
  background: rgba(0,0,0,.04);
}

.easylink-title{
  font-weight:900;
  font-size:22px;
  line-height:1.2;
}

.easylink-bio{
  margin-top:4px;
  font-size:13px;
  opacity:.72;
}

.easylink-links{
  margin-top:16px;
  display:grid;
  gap:10px;
}

.lbtn-public{
  border:1px solid rgba(0,0,0,.07);
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 14px;
  text-decoration:none;
  color: inherit;
  display:flex;
  align-items:center;
  justify-content:space-between;
  transition: transform .08s ease, background .12s ease, border-color .12s ease;
}

.lbtn-public:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.85);
  border-color: rgba(0,0,0,.12);
}

.lbtn-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.lbtn-icon{
  width:34px;
  height:34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.06);
  flex: 0 0 auto;
}

.lbtn-label{
  font-weight:700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lbtn-right{
  opacity:.55;
  font-size:14px;
  flex:0 0 auto;
}

.easylink-footer{
  margin-top:18px;
  text-align:center;
}

.easylink-powered{
  font-size:12px;
  opacity:.55;
  text-decoration:none;
  color: inherit;
}

.easylink-powered span{
  font-weight:800;
}

.easylink-powered:hover{
  opacity:.8;
  text-decoration:underline;
}

#share-sheet{ position:fixed; inset:0; display:none; z-index:9999; }
#share-sheet.open{ display:block; }

.share-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.35);
}

.share-panel{
  position:absolute; left:50%; bottom:14px; transform:translateX(-50%);
  width:min(520px, calc(100% - 22px));
  background: rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:14px;
  backdrop-filter: blur(12px);
}

.share-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.share-title{ font-weight:900; font-size:16px; }
.share-close{
  width:34px;height:34px;border-radius:12px;border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.7); cursor:pointer;
}

.share-sub{ margin-top:6px; font-size:12px; opacity:.7; }

.share-input{
  width:100%; margin-top:10px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.85);
  border-radius:14px;
  padding:10px 12px;
  font-size:13px;
}

.share-actions{ display:flex; gap:10px; margin-top:10px; }
.share-actions .btn{ flex:1; justify-content:center; }

.icon-btn{
  width:38px;height:38px;border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.7);
  display:inline-flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.icon-btn:hover{ background:rgba(255,255,255,.92); }

#share-menu{ position:fixed; inset:0; display:none; z-index:9999; }
#share-menu.open{ display:block; }
.share-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.35); }
.share-panel{
  position:absolute; left:50%; bottom:14px; transform:translateX(-50%);
  width:min(520px, calc(100% - 22px));
  background:rgba(255,255,255,.95);
  border:1px solid rgba(0,0,0,.10);
  border-radius:18px;
  padding:14px;
  backdrop-filter: blur(10px);
}
.share-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.share-title{ font-weight:900; }
.share-close{
  width:34px;height:34px;border-radius:12px;border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.7); cursor:pointer;
}
.share-grid{
  margin-top:10px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.share-item{
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.7);
  border-radius:14px;
  padding:10px;
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  cursor:pointer;
}
.share-item i{ font-size:18px; }
.share-item span{ font-size:12px; opacity:.85; font-weight:700; text-align:center; }
.share-input{
  width:100%;
  margin-top:10px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.85);
  border-radius:14px;
  padding:10px 12px;
  font-size:13px;
}

/* Ligne de lien (version avec bouton share) */
.lrow{
  display:grid;
  grid-template-columns: 1fr 42px 28px;
  align-items:center;
  gap:10px;
  padding:10px 12px;
}

/* Zone cliquable principale */
.lmain{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  text-decoration:none;
  color:inherit;
}

/* Icône ronde */
.licon{
  width:34px;height:34px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.75);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

/* Label */
.llabel{
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Bouton share compact */
.lshare{
  width:42px;height:36px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.75);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.lshare:hover{ background:rgba(255,255,255,.95); }

/* Flèche */
.lout{
  text-align:center;
  opacity:.55;
  font-weight:900;
}

/* =========================================================
   EasyQRmaker visual refresh v4
   UI only: typography, spacing, cards, forms, mobile ergonomics
   ========================================================= */
:root{
  --bg:#f6f8ff;
  --panel:rgba(255,255,255,.76);
  --panel2:rgba(255,255,255,.96);
  --text:#0f172a;
  --muted:#64748b;
  --stroke:rgba(15,23,42,.10);
  --stroke-strong:rgba(15,23,42,.16);
  --brand:#6157f3;
  --brand2:#10b981;
  --brand3:#06b6d4;
  --danger:#ef4444;
  --warning:#f59e0b;
  --success:#10b981;
  --shadow:0 22px 70px rgba(15,23,42,.10);
  --shadow-soft:0 12px 35px rgba(15,23,42,.08);
  --radius:20px;
  --radius2:30px;
}

html{scroll-behavior:smooth;}
body{
  min-height:100%;
  color:var(--text);
  background:
    radial-gradient(760px 420px at 8% 2%, rgba(97,87,243,.18), transparent 60%),
    radial-gradient(800px 460px at 96% 12%, rgba(16,185,129,.15), transparent 58%),
    radial-gradient(720px 520px at 48% 100%, rgba(6,182,212,.11), transparent 62%),
    linear-gradient(180deg,#fbfcff 0%, var(--bg) 56%, #eef3ff 100%);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.38;
  background-image:
    linear-gradient(rgba(15,23,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(to bottom, black, transparent 78%);
  z-index:-1;
}

.container{
  width:min(1180px,100%);
  max-width:1180px;
  padding:24px;
}
.app-shell{overflow:visible;}
.main-content{padding-bottom:34px;}

.nav{
  position:sticky;
  top:14px;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:28px;
  background:linear-gradient(180deg,rgba(255,255,255,.84),rgba(255,255,255,.66));
  box-shadow:0 18px 60px rgba(15,23,42,.11);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.brand{display:flex;align-items:center;gap:12px;min-width:0;}
.site-logo{width:138px;height:46px;object-fit:contain;display:block;}
.nav-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end;}

h1,h2,h3{color:var(--text);letter-spacing:-.025em;}
h1{font-size:clamp(30px,4vw,50px);line-height:1.04;}
h2{font-size:clamp(22px,2.6vw,32px);line-height:1.12;}
h3{font-size:18px;line-height:1.2;}
p{line-height:1.7;}
a{transition:color .16s ease,opacity .16s ease;}
code{
  border:1px solid rgba(15,23,42,.08);
  background:rgba(15,23,42,.045);
  border-radius:8px;
  padding:2px 6px;
  color:#334155;
}

.row{display:flex;align-items:center;gap:12px;}
.grid{display:grid;gap:16px;}
.grid.cols-1{grid-template-columns:minmax(0,1fr);}
.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:1020px){.grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:900px){.grid.cols-2,.grid.cols-3{grid-template-columns:1fr;}}
@media(max-width:560px){.grid.cols-4{grid-template-columns:1fr;}.container{padding:14px;}}

.card,
.linktree,
.easylink,
.table-lite{
  border:1px solid rgba(255,255,255,.78);
  background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,255,255,.68));
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.card{padding:20px;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;}
.card:hover{box-shadow:0 18px 55px rgba(15,23,42,.11);border-color:rgba(255,255,255,.95);}
.card .card{box-shadow:none;border-color:rgba(15,23,42,.08);background:rgba(255,255,255,.62);}

.hero{
  overflow:hidden;
  position:relative;
  margin-top:18px;
  padding:30px;
  border-radius:var(--radius2);
  border:1px solid rgba(255,255,255,.78);
  background:
    linear-gradient(135deg,rgba(97,87,243,.15),rgba(16,185,129,.10) 54%,rgba(255,255,255,.76)),
    rgba(255,255,255,.72);
  box-shadow:var(--shadow);
  backdrop-filter:blur(18px);
}
.hero::after{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:-72px;
  top:-72px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(97,87,243,.22),transparent 68%);
}
.hero h1{margin:0 0 10px;position:relative;z-index:1;}
.hero p{margin:0;color:var(--muted);max-width:76ch;position:relative;z-index:1;}

.badge,
.chip,
.event .tag,
.ez-row .badge,
.badge.tiny{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:1px solid rgba(15,23,42,.09);
  background:rgba(255,255,255,.72);
  color:#334155;
  border-radius:999px;
  box-shadow:0 4px 16px rgba(15,23,42,.04);
}
.badge{padding:6px 11px;font-weight:700;}
.badge.tiny{padding:5px 8px;font-size:12px;}
.small{font-size:12px;}
.muted,.muted2{color:var(--muted)!important;}

.btn,
button.btn,
a.btn{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.78);
  color:#172033;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(15,23,42,.055);
  transition:transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease, opacity .14s ease;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 14px 32px rgba(15,23,42,.10);background:rgba(255,255,255,.95);}
.btn:active{transform:translateY(0);box-shadow:0 6px 18px rgba(15,23,42,.08);}
.btn.primary{
  color:#fff;
  border-color:rgba(97,87,243,.45);
  background:linear-gradient(135deg,#655cf5 0%,#22c7b5 100%);
  box-shadow:0 16px 42px rgba(97,87,243,.22);
}
.btn.primary:hover{box-shadow:0 22px 52px rgba(97,87,243,.28);}
.btn.ghost{background:rgba(255,255,255,.42);}
.btn.danger,.danger{
  color:#b91c1c;
  border-color:rgba(239,68,68,.22);
  background:rgba(254,242,242,.86);
}
.btn.danger:hover,.danger:hover{background:#fee2e2;}
button:disabled,.btn:disabled{opacity:.55;cursor:not-allowed;transform:none!important;}
.iconbtn,.icon-btn{
  width:40px!important;
  height:40px!important;
  min-height:40px;
  padding:0!important;
  border-radius:14px!important;
}

.input,textarea,select,input[type="file"].input{
  width:100%;
  min-height:44px;
  padding:12px 13px;
  border:1px solid rgba(15,23,42,.12);
  border-radius:15px;
  background:rgba(255,255,255,.88);
  color:var(--text);
  outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
  transition:border-color .14s ease, box-shadow .14s ease, background .14s ease;
}
textarea{min-height:112px;line-height:1.55;}
.input:focus,textarea:focus,select:focus{
  border-color:rgba(97,87,243,.46);
  background:#fff;
  box-shadow:0 0 0 4px rgba(97,87,243,.12);
}
label{
  display:block;
  margin:0 0 7px;
  color:#475569;
  font-size:13px;
  font-weight:800;
}
.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
@media(max-width:760px){.form-row{grid-template-columns:1fr;}}

.notice,
.hint{
  border:1px solid rgba(245,158,11,.24);
  background:linear-gradient(180deg,rgba(255,251,235,.94),rgba(254,243,199,.72));
  color:#7c2d12;
  border-radius:16px;
  padding:12px 14px;
}
.chips{display:flex;flex-wrap:wrap;gap:8px;}
.chip{
  padding:7px 11px;
  cursor:pointer;
  font-size:12px;
  font-weight:800;
  transition:transform .14s ease, background .14s ease;
}
.chip:hover{transform:translateY(-1px);background:rgba(97,87,243,.08);}

.kpi{
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.68);
  border-radius:18px;
  padding:16px;
}
.kpi .val{font-size:28px;font-weight:950;letter-spacing:-.035em;}
.kpi .lbl{font-size:12px;color:var(--muted);font-weight:800;}

.table{width:100%;border-collapse:separate;border-spacing:0 10px;}
.table th{font-size:12px;color:var(--muted);font-weight:900;padding:0 12px 2px;}
.table td{
  padding:13px 12px;
  background:rgba(255,255,255,.72);
  border-top:1px solid rgba(15,23,42,.08);
  border-bottom:1px solid rgba(15,23,42,.08);
}
.table td:first-child{border-left:1px solid rgba(15,23,42,.08);border-radius:16px 0 0 16px;}
.table td:last-child{border-right:1px solid rgba(15,23,42,.08);border-radius:0 16px 16px 0;}
.cell-ellipsis,.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;}

/* Landing */
.landing{padding:12px 0 28px;}
.landing-hero{gap:22px;align-items:center;}
.hero-title{font-size:clamp(36px,5vw,62px);line-height:.98;letter-spacing:-.055em;margin:14px 0;}
.hero-lead{font-size:17px;color:#475569;line-height:1.78;}
.hero-kicker{gap:10px;}
.hero-cta,.hero-proof{gap:10px;}
.proof-item{
  background:rgba(255,255,255,.74);
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:10px 12px;
  color:#334155;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}
.mock-phone{
  border-radius:32px;
  background:linear-gradient(180deg,#fff,rgba(255,255,255,.76));
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 28px 80px rgba(15,23,42,.14);
}
.mock-btn{border-color:rgba(15,23,42,.08);box-shadow:0 8px 22px rgba(15,23,42,.055);}
.landing-features{gap:16px;}
.feature .ficon{
  width:48px;height:48px;border-radius:18px;
  background:linear-gradient(135deg,rgba(97,87,243,.14),rgba(16,185,129,.12));
  color:#4f46e5;
}
.pricing{gap:18px;}
.pricing-list{border-color:rgba(15,23,42,.08);border-radius:20px;background:rgba(255,255,255,.74);}
.price-amount{font-size:clamp(42px,6vw,62px);letter-spacing:-.06em;}

/* Dashboard lists */
.ez-list{display:flex;flex-direction:column;gap:11px;}
.ez-row{
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.64);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(15,23,42,.045);
  transition:transform .14s ease, background .14s ease, border-color .14s ease;
}
.ez-row:hover{transform:translateY(-1px);background:rgba(255,255,255,.84);border-color:rgba(97,87,243,.18);}
.ez-row summary{padding:13px;}
.ez-title{font-weight:950;color:#172033;}
.ez-sub,.ez-openhint{color:var(--muted);}
.ez-details{border-top:1px solid rgba(15,23,42,.08);background:rgba(248,250,252,.78);}
.ez-kv{grid-template-columns:110px minmax(0,1fr);}
.chartbox{
  position:relative;
  height:240px;
  border:1px solid rgba(15,23,42,.06);
  border-radius:18px;
  background:rgba(255,255,255,.45);
  padding:8px;
}
.chartbox.xs{height:190px;}
.chartbox canvas{width:100%!important;height:100%!important;}
.events{display:flex;flex-direction:column;gap:10px;}
.event{
  border:1px solid rgba(15,23,42,.08)!important;
  background:rgba(255,255,255,.68)!important;
  border-radius:16px!important;
  box-shadow:0 8px 22px rgba(15,23,42,.045);
}
.mini{font-size:12px;color:var(--muted);font-weight:800;}
.pager .btn{min-width:40px;}
.table-lite{overflow:hidden;background:rgba(255,255,255,.62)!important;}
.tl-head{background:rgba(248,250,252,.84)!important;font-weight:900;color:#64748b!important;}
.tl-row{transition:background .14s ease;}
.tl-row:hover{background:rgba(97,87,243,.07)!important;}
.tl-title{font-weight:950;}
.tl-detail{background:rgba(255,255,255,.72)!important;}

/* Editor */
.link-card{
  border-radius:20px!important;
  border:1px solid rgba(15,23,42,.09)!important;
  background:rgba(255,255,255,.76)!important;
  box-shadow:0 12px 32px rgba(15,23,42,.06)!important;
}
.link-card + .link-card{margin-top:12px;}
.link-card-top{
  padding-bottom:10px;
  border-bottom:1px dashed rgba(15,23,42,.12);
}
.drag-handle{
  width:38px!important;
  height:38px!important;
  border-radius:14px!important;
  border:1px solid rgba(15,23,42,.10)!important;
  background:rgba(255,255,255,.82)!important;
  color:#64748b;
  box-shadow:0 6px 18px rgba(15,23,42,.055);
}
.drag-handle:hover{color:#4f46e5;background:#fff!important;}
.preview-item{border-color:rgba(15,23,42,.08)!important;}
.brand-logo{
  width:58px!important;
  height:58px!important;
  border-radius:20px!important;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.08)!important;
  background:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-weight:950;
}
.brand-logo img{width:100%;height:100%;object-fit:cover;display:block;}
.brand-logo--fallback{background:linear-gradient(135deg,rgba(97,87,243,.12),rgba(16,185,129,.10))!important;}

/* Public EasyLink */
body:has(.easylink){background:
  radial-gradient(700px 380px at 20% 0%,rgba(97,87,243,.18),transparent 60%),
  radial-gradient(760px 420px at 82% 15%,rgba(16,185,129,.14),transparent 58%),
  linear-gradient(180deg,#fbfcff,#eef3ff)!important;
}
.easylink{
  width:min(540px,calc(100% - 28px));
  margin:38px auto;
  padding:24px;
  border-radius:32px;
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.74));
  box-shadow:0 32px 90px rgba(15,23,42,.14);
}
.avatar{
  width:64px!important;
  height:64px!important;
  border-radius:22px!important;
  border:1px solid rgba(15,23,42,.08);
  background:linear-gradient(135deg,rgba(97,87,243,.14),rgba(16,185,129,.12));
  color:#312e81;
  font-weight:950;
}
.lbtn{
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.76);
  border-radius:20px;
  box-shadow:0 8px 22px rgba(15,23,42,.055);
  transition:transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.lbtn:hover{transform:translateY(-2px);background:#fff;box-shadow:0 16px 36px rgba(15,23,42,.10);}
.lrow{grid-template-columns:minmax(0,1fr) 42px 28px;}
.licon{
  width:38px;height:38px;border-radius:15px;
  background:linear-gradient(135deg,rgba(97,87,243,.10),rgba(16,185,129,.08));
  border-color:rgba(15,23,42,.08);
  color:#4f46e5;
}
.llabel{font-weight:900;color:#172033;}
.lshare,.icon-btn{
  border-color:rgba(15,23,42,.08);
  background:rgba(255,255,255,.78);
  color:#475569;
  transition:transform .14s ease, background .14s ease;
}
.lshare:hover,.icon-btn:hover{transform:translateY(-1px);background:#fff;color:#4f46e5;}
.footer,.landing-footer{color:var(--muted);}
.footer-link{font-weight:950;color:#4f46e5;}

/* Auth/forms readability */
.grid.cols-2 > .hero:first-child{min-height:280px;display:flex;flex-direction:column;justify-content:center;}
form .btn + .btn, form .btn + a.btn{margin-left:6px;}

/* Modals/toasts */
.toast{
  right:22px;
  bottom:22px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(15,23,42,.92);
  color:#fff;
  border-radius:18px;
  box-shadow:0 18px 55px rgba(15,23,42,.24);
  backdrop-filter:blur(14px);
}
.ez-modal-backdrop{backdrop-filter:blur(6px);}
.ez-modal{
  border-radius:22px!important;
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 28px 90px rgba(15,23,42,.28)!important;
}
.ez-modal header,.ez-modal .footer{background:rgba(248,250,252,.78);}

@media(max-width:760px){
  .nav{align-items:stretch;flex-direction:column;border-radius:24px;top:8px;}
  .brand{justify-content:center;}
  .site-logo{width:128px;height:42px;}
  .nav-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;}
  .nav-actions .btn{width:100%;padding:9px 10px;font-size:13px;}
  .hero{padding:22px;border-radius:24px;}
  .card{padding:16px;}
  .hero-title{font-size:38px;}
  .landing-hero{grid-template-columns:1fr;}
  .landing-features{grid-template-columns:1fr;}
  .pricing{grid-template-columns:1fr;}
  .easylink{margin:18px auto;width:calc(100% - 20px);padding:18px;border-radius:26px;}
  .lrow{grid-template-columns:minmax(0,1fr) 38px 20px;gap:8px;}
  .lshare{width:38px;height:36px;}
  .ez-row summary{grid-template-columns:1fr!important;gap:8px;}
  .ez-actions{text-align:left;}
  .chartbox{height:220px;}
  .form-row{gap:12px;}
  form .btn + .btn, form .btn + a.btn{margin-left:0;}
}

@media(max-width:420px){
  .nav-actions{grid-template-columns:1fr;}
  .btn{width:100%;}
  .hero-cta .btn,.hero-proof .proof-item{width:100%;}
}
