/* ===== Theme (stilul tău) ===== */
:root{
  --bg:#f6f8fc; --ink:#0b1320; --muted:#66728f;
  --panel:#ffffff; --panel-b:#e8eef6;
  --brand:rgb(40, 155, 78);
  --brand-600:#1d8640;
  --ok:#22c55e; --shadow:0 24px 60px rgba(13, 70, 42, 0.1), 0 1px 0 rgba(255,255,255,.7) inset;
}

* {
  box-sizing: border-box;
  max-width: 100%;
}
body{
  margin:0; color:var(--ink);
  font:16px/1.6 -apple-system,BlinkMacSystemFont,Segoe UI,Inter,Roboto,system-ui,Arial,sans-serif;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  background:
    radial-gradient(900px 600px at 60% 12%, rgba(10, 255, 120, 0.08), transparent 60%),
    radial-gradient(1200px 800px at 0% 100%, rgba(52,199,89,.06), transparent 65%),
    linear-gradient(180deg,#f7f9ff 0%,#eef3ff 50%, #f7f9ff 100%);
}

.wb-container{max-width:1160px;margin:0 auto;padding:24px}

/* Header */
.wb-header{position:relative;background:#fff;border-bottom:1px solid var(--panel-b);z-index:10;}
.wb-header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand img.logo{height:42px;display:block}
.nav{display:flex;gap:14px;align-items:center}
.nav a{ text-decoration:none; color:#334155; padding:8px 10px; border-radius:10px; }
.nav a:hover{ background:#f1f5ff; }

/* Dropdown */
.nav-dropdown{ position:relative; }
.nav-dropdown > button{
  display:inline-flex; align-items:center; gap:8px;
  height:36px; padding:0 12px; cursor:pointer;
  border:1px solid #e7edf6; background:#fff; color:#0b1320; border-radius:12px;
  box-shadow:0 6px 18px rgba(16,33,60,.08);
}
.nav-dropdown .menu{
  position:absolute; right:0; top:100%; display:none; z-index:100; min-width:240px;
  background:#fff; border:1px solid #e7edf6; border-radius:12px;
  padding:8px; box-shadow:0 16px 40px rgba(16,33,60,.14);
}
.nav-dropdown.open .menu{ display:block; }
.nav-dropdown .menu a{ display:block; padding:10px 12px; border-radius:8px; color:#0b1320; text-decoration:none; }
.nav-dropdown .menu a:hover{ background:#f7f9ff }

/* Hero */
.hero{padding:28px 0 16px;text-align:center}
.hero h1{margin:0;font-size:42px;letter-spacing:-.4px}
.lead{margin:8px 0 0;color:var(--muted)}
.chip{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;margin-left:8px;background:#fff;border:1px solid #e8eef6}

/* Layout */
.grid{display:grid;grid-template-columns:1.05fr .95fr;gap:30px}
@media (max-width:1024px){.grid{grid-template-columns:1fr}}

/* Panel */
.panel{background:var(--panel);border:1px solid var(--panel-b);border-radius:22px;box-shadow:var(--shadow)}
.panel.form{padding:26px}
.preview-top{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #eef2f8;border-radius:22px 22px 0 0;background:linear-gradient(180deg,#fff,#f6f9ff)}
.preview-top .led{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 6px rgba(34,197,94,.16)}
.preview-box{min-height:300px;padding:18px}

/* Segmented tabs */
.segmented{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px;padding:8px;background:#fff;border:1px solid #e8eef6;border-radius:999px}
.seg{border:0;background:transparent;padding:10px 16px;border-radius:999px;color:var(--muted);cursor:pointer;font-weight:600;transition:transform .04s, box-shadow .15s, background .15s}
.seg:hover{background:#f4f7ff}
.seg.active{background:linear-gradient(180deg,var(--brand),var(--brand-600));color:#fff;box-shadow:0 10px 26px rgba(43,103,255,.28)}

/* Controls */
.controls{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:14px}
.ctrl label{display:block;margin:0 0 6px;font-size:13px;color:#6b7896}
/* --- Slider (range) modern, cross-browser --- */
.ctrl input[type=range]{
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 999px;
  background: linear-gradient(180deg,#eceff6,#e2e8f5);
  outline: none; margin: 6px 0;
  box-shadow: inset 0 1px 0 #fff;
}
.ctrl input[type=range]::-webkit-slider-runnable-track{
  height: 8px; border-radius: 999px; background: transparent;
}
.ctrl input[type=range]::-webkit-slider-thumb{
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  margin-top: -5px; border: 1px solid #d7e1f3;
  background: linear-gradient(180deg,var(--brand),var(--brand-600));
  box-shadow: 0 6px 12px rgba(43,103,255,.25);
  cursor: pointer;
}
.ctrl input[type=range]::-moz-range-track{
  height: 8px; border-radius: 999px; background: transparent;
}
.ctrl input[type=range]::-moz-range-thumb{
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid #d7e1f3;
  background: linear-gradient(180deg,var(--brand),var(--brand-600));
  box-shadow: 0 6px 12px rgba(43,103,255,.25);
  cursor: pointer;
}

/* --- Color picker consistent cu tema --- */
.ctrl input[type=color]{
  -webkit-appearance: none; appearance: none;
  width: 46px; height: 46px; border-radius: 12px;
  padding: 0; border: 1px solid #e6edf7; background: #f7f9ff;
  box-shadow: 0 2px 6px rgba(0,0,0,.06), inset 0 1px 0 #fff;
  cursor: pointer;
}
.ctrl input[type=color]::-webkit-color-swatch-wrapper{ padding:0; border-radius:12px }
.ctrl input[type=color]::-webkit-color-swatch{ border:none; border-radius:12px }
.ctrl input[type=color]::-moz-color-swatch{ border:none; border-radius:12px }

/* mici ajustări pentru titlurile controalelor */
.ctrl label{
  display:block; margin:0 0 6px;
  font-size:13px; font-weight:600; color:#42526e;
}
.controls{ gap: 20px; }
.hint{ color:#7e8aa8; }.hint{font-size:12px;color:#8a94ad;margin-top:6px}

/* Dropzone */
.drop{border:1px dashed var(--panel-b);background:#fff;border-radius:16px;padding:24px;text-align:center;color:var(--muted);transition:border-color .15s,background .15s}
.drop.drag{border-color:var(--brand);background:#f7f9ff}
.drop .link{color:var(--brand);cursor:pointer;text-decoration:underline}
.file-note{margin-top:10px;font-size:14px;color:#334155;background:#f7f9ff;border:1px solid #e6edf7;padding:8px 10px;border-radius:10px;display:inline-block}
.hint{margin-top:6px}

/* Buttons */
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}
.btn{border:1px solid #e7edf6;background:#fff;color:var(--ink);border-radius:12px;padding:12px 18px;cursor:pointer;transition:transform .04s, box-shadow .15s, background .15s, border-color .15s}
.btn:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(16,33,60,.08)}
.btn.primary{background:linear-gradient(180deg,var(--brand),var(--brand-600));border-color:var(--brand);color:#fff}
.btn.primary:hover{box-shadow:0 14px 34px rgba(43,103,255,.35)}
.btn.ghost{background:#fff}
.btn.subtle{background:transparent;border-color:transparent;color:var(--muted)}
.btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}
.btn .i{ width:16px; height:16px; margin-right:8px; vertical-align:-2px; }


.alert{margin-top:12px;padding:10px 12px;border-radius:12px;border:1px solid #ffe3e3;background:#fff6f6;color:#a61b1b;font-size:14px}

/* File list */
.file-list.empty{display:flex;align-items:center;justify-content:center;min-height:220px;color:#9aa6bf}
.placeholder .ghost{stroke:#9aa6bf;fill:none;stroke-width:1.6}

.file-list.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.item{border:1px solid #eef2f8;border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.item .thumb{aspect-ratio: 4 / 3; background:#f6f8fc;display:flex;align-items:center;justify-content:center}
.item .thumb img{max-width:100%;max-height:100%;display:block}
.item .meta{padding:10px 12px;display:grid;gap:4px}
.item .name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.item .small{font-size:12px;color:#8a94ad}
.item .row{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.item .row .btn{padding:8px 10px;border-radius:10px}

/* SEO copy + FAQ (compatibile cu tema ta) */
.qr-seo{margin:56px auto 32px;color:var(--ink)}
.qr-title{margin:0 0 12px;font-size:28px;line-height:1.25;font-weight:800;letter-spacing:-.2px;color:var(--ink)}
.qr-text{margin:8px 0 12px;color:var(--muted);line-height:1.75}
.qr-em{font-weight:800;background:linear-gradient(180deg,var(--brand),var(--brand-600));-webkit-background-clip:text;background-clip:text;color:transparent}

.qr-faq{margin:56px auto 72px}
.qr-qa{background:var(--panel);border:1px solid var(--panel-b);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}
.qr-qa + .qr-qa{margin-top:12px}
.qr-qa summary{list-style:none;cursor:pointer;user-select:none;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;color:var(--ink);font-weight:700}
.qr-qa summary::-webkit-details-marker{display:none}
.qr-qa summary::after{content:"›";font-size:22px;line-height:1;transform:rotate(90deg);color:#8a94ad;transition:transform .2s,color .2s}
.qr-qa[open] summary::after{transform:rotate(-90deg);color:var(--brand)}
.qr-qa p{margin:0;padding:0 16px 14px;color:var(--muted);line-height:1.7;border-top:1px solid var(--panel-b)}

/* Footer */
footer{background:#0a0a0a;color:#f5f5f5;padding:48px 0 24px;font-size:15px;margin-top:40px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:32px}
.footer-brand h3{margin:0 0 8px;font-size:20px;font-weight:700;color:#fff}
.footer-links h4,.footer-social h4{font-size:14px;font-weight:600;margin-bottom:12px;color:#e5e5e5}
.footer-links a{display:block;margin:4px 0;color:#bbb;text-decoration:none}
.footer-links a:hover{color:#0a74ff}
.footer-social a{color:#bbb;margin-right:8px;text-decoration:none}
.footer-social a:hover{color:#0a74ff}
.footer-social .badge{margin-top:12px;display:inline-block;font-size:12px;padding:4px 10px;border-radius:999px;background:#1e40af;color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.1);text-align:center;margin-top:32px;padding-top:16px;font-size:14px;color:#aaa}

.file-note[hidden] { display: none !important; }

/* Placeholder elegant când lista e goală */
.file-list.empty{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 320px;
  border: 1px dashed #e6ebf6;
  border-radius: 16px;
  background:
    radial-gradient(600px 380px at 20% -10%, rgba(43,103,255,.06), transparent 60%),
    radial-gradient(700px 520px at 100% 100%, rgba(34,197,94,.05), transparent 60%),
    linear-gradient(180deg,#fff,#fafcff);
}

.empty-state{
  text-align:center;
  color: var(--muted);
  padding: 20px 16px;
}

.empty-state .illu{
  width: 76px; height: 76px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background:
    radial-gradient(90px 70px at 30% 25%, rgba(43,103,255,.14), transparent 60%),
    #f6f9ff;
  border: 1px solid #e1e9fb;
  display: grid; place-items: center;
  box-shadow: 0 12px 26px rgba(43,103,255,.12), inset 0 1px 0 #fff;
}

.empty-state .illu svg{
  width: 32px; height: 32px;
  color: var(--brand);
}

.empty-state h3{
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 18px; font-weight: 700;
  letter-spacing: -.2px;
}

.empty-state p{ margin: 0; line-height: 1.7; }
.empty-state .link{ color: var(--brand); text-decoration: underline; cursor: pointer; }

/* când nota e ascunsă, dispare complet (fără “bulină”) */
.file-note[hidden]{ display:none !important; }

/* Placeholder elegant când lista e goală */
.file-list.empty{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 320px;
  border: 1px dashed #e6ebf6;
  border-radius: 16px;
  background:
    radial-gradient(600px 380px at 20% -10%, rgba(43,103,255,.06), transparent 60%),
    radial-gradient(700px 520px at 100% 100%, rgba(34,197,94,.05), transparent 60%),
    linear-gradient(180deg,#fff,#fafcff);
}

.empty-state{
  text-align:center;
  color: var(--muted);
  padding: 20px 16px;
}

.empty-state .illu{
  width: 76px; height: 76px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background:
    radial-gradient(90px 70px at 30% 25%, rgba(43,103,255,.14), transparent 60%),
    #f6f9ff;
  border: 1px solid #e1e9fb;
  display: grid; place-items: center;
  box-shadow: 0 12px 26px rgba(43,103,255,.12), inset 0 1px 0 #fff;
}

.empty-state .illu svg{
  width: 32px; height: 32px;
  color: var(--brand);
}

.empty-state h3{
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 18px; font-weight: 700;
  letter-spacing: -.2px;
}

.empty-state p{ margin: 0; line-height: 1.7; }
.empty-state .link{ color: var(--brand); text-decoration: underline; cursor: pointer; }

/* când nota e ascunsă, dispare complet (fără “bulină”) */
.file-note[hidden]{ display:none !important; }

/* Link-buton să NU mai fie subliniat niciodată */
.btn,
.btn:hover,
.btn:focus {
  text-decoration: none !important;
}

/* Stare dezactivată pentru butoanele-tip-link */
.btn.is-disabled,
.btn[aria-disabled="true"],
a.btn.is-disabled,
a.btn[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;      /* chiar blochează click-ul */
  box-shadow: none;
  transform: none;
}

/* Override pentru varianta ghost ca să se vadă gri, nu ca link */
.btn.ghost.is-disabled,
.btn.ghost[aria-disabled="true"] {
  background: #f3f6ff !important;
  color: #99a2b4 !important;
  border-color: #e5eaf5 !important;
}

.hero.hero-pro{
  position:relative;
  text-align:left;
  padding:60px 0 22px;
  isolation:isolate; /* ca să nu amestece umbrele cu restul */
}
.hero.hero-pro::before{
  content:"";
  position:absolute; inset:auto 0 0 0; top:-80px;
  height:220px; z-index:-1;
}

.hero-eyebrow{
  margin:0 auto 6px;
  font-size:12px; letter-spacing:.18em; text-transform:uppercase;
  color:#8da2c2; font-weight:800;
}

.hero-title{
  margin:0;
  font-weight:900;
  letter-spacing:-.02em;
  font-size:clamp(34px, 5.4vw, 56px);
  line-height:1.1;
}
.hero-title > span:first-child{
  display:inline-block; position:relative;
}
.hero-title > span:first-child::after{
  content:"";
  display:block; height:10px; margin:10px auto 0;
  width:56%;
  background:linear-gradient(90deg, rgba(43,103,255,.35), rgba(36,79,219,.25));
  border-radius:999px; filter:blur(.2px);
}

.hero-sub{
  max-width:880px;
  margin:10px auto 0;
  color:var(--muted);
  font-size:18px;
  line-height:1.85;
}

.hero-feats{
  margin:16px auto 0;
  padding:0; list-style:none;
  display:flex; flex-wrap:wrap; gap:10px; justify-content:left;
}
.hero-feats li{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 12px; border-radius:999px;
  background:#fff; border:1px solid #e6ecf7;
  color:#42526e; font-size:13px; font-weight:600;
  box-shadow:0 8px 22px rgba(16,33,60,.06), inset 0 1px 0 #fff;
}
.hero-feats li::before{
  content:""; width:7px; height:7px; border-radius:50%;
  background:linear-gradient(180deg,var(--brand),var(--brand-600));
  box-shadow:0 0 0 4px rgba(43,103,255,.14);
}

/* un pic mai mult aer între belt și grilă */
.grid{ margin-top: 10px; }
@media (max-width:1024px){ .grid{ margin-top: 6px; } }

/* 1) Elimină banda de sub titlu */
.hero-title > span:first-child::after{
  content: none !important;
}

/* 2) Separator curat sub subtitlu (ancorat vizual) */
.hero-pro .hero-sub{
  margin-bottom: 6px;
  position: relative;
  padding-bottom: 0;
}
.hero-pro .hero-sub::after{
  content: "";
  display: block;
  width: clamp(120px, 18vw, 220px);
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg,
              rgba(43,103,255,.25),
              rgba(43,103,255,.55),
              rgba(43,103,255,.25));
  box-shadow: 0 8px 24px rgba(43,103,255,.18);
  opacity: .95;
}

/* 3) Fundal mai subtil + mai mult aer spre grilă */
.hero.hero-pro::before{
  top: -60px;         /* mai puțin sus */
  height: 180px;      /* mai scund */
  opacity: .6;        /* mai discret */
}
.grid{ margin-top: 22px; }   /* separă hero de carduri */

/* opțional: mai multă distanță față de chips-uri */
.hero-feats{ margin-top: 12px; }

/* scoate orice bară / separator */
.hero-pro .hero-sub::after{ display:none !important; }

/* — SUBTITLU PE UN SINGUR RÂND (desktop) — */
.hero-pro .hero-sub{
  max-width: 100%;         /* nu-l mai limităm la 880px */
  white-space: nowrap;     /* nu mai rupe rândul */
  overflow: hidden;        /* dacă totuși nu încape */
  text-overflow: ellipsis; /* afișează … în loc să rupă */
  margin-bottom: 6px;
}

/* pe ecrane mai înguste, lăsăm să se rupă normal ca să nu iasă din ecran */
@media (max-width: 1200px){
  .hero-pro .hero-sub{
    white-space: normal;
    text-overflow: clip;
  }
}

/* (opțional) păstrăm fontul ceva mai „compact” ca să încapă mai ușor */
@media (min-width: 1201px){
  .hero-pro .hero-sub{ font-size: 17px; } /* dacă vrei 18px, lasă-l pe 18 */
}

/* Header ca la Generator Cod QR (transparent + mai coborât) */
.wb-header{
  position: relative;
  background: transparent !important;  /* fără fundal */
  border-bottom: none !important;      /* fără linie jos */
  margin-top: 28px;                    /* puțin mai coborât */
  z-index: 10;
}
.wb-header-inner{ height: 72px; }      /* aer la interior */

/* pe ecrane mici, un pic mai aproape de top */
@media (max-width: 1024px){
  .wb-header{ margin-top: 16px; }
  .wb-header-inner{ height: 64px; }
}


/* === Footer: full-width background, content width = .wb-container === */
:root{ --container-w: 1160px; }          /* dacă schimbi .wb-container, schimbă și aici */

.site-footer{
  background:#0a0a0a;                    /* full-width */
  color:#f5f5f5;
  padding:48px 0 24px;
}

/* conținutul din interior e aliniat cu pagina */
.site-footer .container{
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* grila din footer rămâne la lățimea containerului */
.site-footer .footer-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap:32px;
}

/* bara de jos la aceeași lățime ca containerul */
.site-footer .footer-bottom{
  max-width: var(--container-w);
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align:center;
  font-size:14px;
  color:#aaa;
}

/* mici cosmetizări (opțional) */
.site-footer .footer-links a{ color:#bbb; text-decoration:none; }
.site-footer .footer-links a:hover{ color:#0a74ff; }


.mouse-glow{
  position:fixed; width:36vmin; height:36vmin; border-radius:50%;
  pointer-events:none; z-index:999;
  background:radial-gradient(closest-side, rgba(31, 204, 132, 0.096), transparent 70%);
  filter:blur(12px); transform:translate(-50%,-50%); mix-blend-mode:multiply;
  opacity:.9; transition:opacity .2s ease;
}


.nav .menu {
  display:none;
  position:absolute;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:8px;
  margin-top:0.5rem;
  padding:0.5rem 0;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
}
.nav-dropdown.open .menu { display:block; }

/* Burger button */
.burger {
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}
.burger span {
  display:block;
  width:24px;
  height:2px;
  background:#0f172a;
  border-radius:2px;
  transition:all .3s ease;
}
@media (max-width:768px){
  .burger { display:flex; }
  .nav {
    display:none;
    flex-direction:column;
    position:absolute;
    top:60px; right:0;
    width:100%;
    background:#fff;
    border-top:1px solid #e5e7eb;
    padding:1rem;
    gap:0.75rem;
  }
  .nav.open { display:flex; }
  .nav .menu {
    position:static;
    border:none;
    box-shadow:none;
    margin:0;
    padding:0.25rem 0 0.5rem;
  }
}


/* === HARD GUARD: nimic nu iese din ecran pe mobil === */
@media (max-width: 768px){

  html, body { max-width:100%; overflow-x:hidden; }

  /* container + panouri */
  .wb-container,
  .panel,
  .panel.form,
  .panel.preview,
  .grid {
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    overflow-x:hidden;
  }

  /* header compact + fără spill */
  .wb-header-inner { height:60px; padding:0 14px; }
  .brand img.logo { height:34px; width:auto; }

  /* (dacă ai această regulă mai sus: .logo{width:180px;height:180px;} o anulez pe mobil) */
  .logo { width:auto !important; height:34px !important; }

  /* meniu mobil full width (nu iese) */
  .nav {
    position:fixed; left:0; right:0; top:60px;
    display:none; flex-direction:column;
    padding:16px; gap:10px; width:100%; max-width:100%;
    box-sizing:border-box; overflow:auto;
  }
  .nav.open { display:flex; }
  .nav a, .nav-dropdown > button { width:100%; text-align:left; }

  /* dropdown devine listă simplă pe mobil; fără absolute */
  .nav-dropdown { width:100%; position:static; }
  .nav-dropdown .menu {
    position:static; display:block !important;
    border:none; box-shadow:none; margin:0; padding:6px 0 0 12px;
  }

  /* === TABS (segmented) — scroll orizontal fără să iasă din ecran === */
  .segmented{
    display:flex; flex-wrap:nowrap;
    width:100%; max-width:100%;
    overflow-x:auto; overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .segmented::-webkit-scrollbar{ display:none; }
  .seg { flex:0 0 auto; white-space:nowrap; }

  /* câmpuri & controale 100% (input file/color nu sar) */
  .control input,
  .control select,
  .control textarea {
    max-width:100%;
    width:100%;
  }
  .color-wrap { gap:8px; }
  .color-wrap input[type=text]{ min-width:0; } /* împiedică lărgirea grilei */

  /* previzualizare — nici canvas nici svg nu depășesc */
  .preview-box { min-height:320px; padding:16px; }
  .qr-card, .qr-card canvas, .qr-card svg, #qr-holder img {
    max-width:100% !important;
  }
  .qr-card canvas { width:100% !important; height:auto !important; image-rendering:pixelated; }

  /* grila devine 1 coloană și nu depășește */
  .grid { display:grid; grid-template-columns:1fr; gap:18px; }
  .row-2 { grid-template-columns:1fr; }
}

/* ULTIMA PLASĂ DE SIGURANȚĂ (și pe desktop, dacă ceva e prea lat) */
img, svg, canvas, video { max-width:100%; height:auto; }


/* ─────────────────────────────────────────────────────────
   Link Columns
   ───────────────────────────────────────────────────────── */

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  color: #fff;
  position: relative;
  display: inline-block;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  border-radius: 2px;
}

.footer-links a {
  display: block;
  width: fit-content;
  color: #6b7280;
  text-decoration: none;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 450;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover {
  color: #f1f5f9;
  transform: translateX(6px);
}

.footer-links a:hover::after {
  width: 100%;
}

/* ─────────────────────────────────────────────────────────
   Social Section (ultima coloană)
   ───────────────────────────────────────────────────────── */

.footer-social {
  margin-top: 8px;
}

.footer-social a {
  color: #6b7280;
  text-decoration: none;
  margin-right: 0;
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 450;
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social a:hover {
  color: #f1f5f9;
  transform: translateX(6px);
}

/* Badge "Made in România" */
.footer-social .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1) 0%, 
    rgba(16, 185, 129, 0.1) 100%
  );
  color: #9ca3af;
  border: 1px solid rgba(255, 255, 255, 0.05);
  letter-spacing: 0.02em;
  transition: all 0.4s ease;
}

.footer-social .badge:hover {
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.15) 0%, 
    rgba(16, 185, 129, 0.15) 100%
  );
  border-color: rgba(255, 255, 255, 0.1);
  color: #d1d5db;
}

/* ─────────────────────────────────────────────────────────
   Footer Bottom
   ───────────────────────────────────────────────────────── */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  margin-top: 60px;
  padding-top: 32px;
  font-size: 13px;
  color: #4b5563;
  position: relative;
  z-index: 1;
  letter-spacing: 0.01em;
}

/* ─────────────────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  footer {
    padding: 60px 0 32px;
    margin-top: 60px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    text-align: center;
    max-width: 100%;
  }
  
  .footer-brand > p {
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
  }
  
  .footer-badges {
    justify-content: center;
  }
  
  .footer-links {
    text-align: center;
    align-items: center;
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links a {
    text-align: center;
  }
  
  .footer-links a:hover {
    transform: none;
  }
  
  .footer-links a::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-social {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-bottom {
    margin-top: 40px;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER - Premium Dark Style v2
   ═══════════════════════════════════════════════════════════ */

footer {
  background: #07070a;
  color: #f5f5f5;
  padding: 80px 0 40px;
  font-size: 15px;
  margin-top: 100px;
  position: relative;
}

/* Gradient glow top */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.6) 30%,
    rgba(16, 185, 129, 0.6) 70%,
    transparent 100%
  );
}

/* Ambient glow */
footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center top, 
    rgba(59, 130, 246, 0.06) 0%, 
    transparent 60%
  );
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────
   Grid - 4 Columns
   ───────────────────────────────────────────────────────── */

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────
   Brand Column
   ───────────────────────────────────────────────────────── */

.footer-brand {
  padding-right: 40px;
}

.footer-brand h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 20px;
  color: #fff;
  letter-spacing: -0.03em;
}

.footer-brand > p {
  color: #6b7280;
  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 32px;
}

/* Trust Badges */
.footer-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-badges a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-badges a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.footer-badges img,
.footer-icon {
  height: 28px;
  width: auto;
}

.footer-badges a:hover img,
.footer-badges a:hover .footer-icon {
  opacity: 0.8;
}


/* ───────────────────────────────────────────────────────────────────────────
   FOOTER SERVICES - Mega menu în footer
   ─────────────────────────────────────────────────────────────────────────── */
.footer-services {
  grid-column: 1 / -1;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-service-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #6366f1;
  display: inline-block;
}

.footer-service-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 6px 0;
  transition: all 0.2s ease;
}

.footer-service-col a:hover {
  color: #ffffff;
  padding-left: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 500px) {
  .footer-services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-service-col h5 {
    margin-bottom: 12px;
  }
  
  .footer-service-col a {
    padding: 5px 0;
  }
}

@media (max-width: 500px) {
  .footer-services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  
  .footer-service-col h5 {
    margin-bottom: 12px;
    display: block;
    border-bottom: none;
    position: relative;
  }
  
  .footer-service-col h5::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #6366f1;
    margin: 10px auto 0;
  }
  
  .footer-service-col a {
    padding: 6px 0;
  }
  
  .footer-service-col a:hover {
    padding-left: 0;
    color: #6366f1;
  }
}