:root{
  --bg: #f6fbfb;
  --panel: rgba(255,255,255,.92);
  --text: #0b1220;
  --muted: rgba(11,18,32,.68);
  --border: rgba(11,18,32,.12);
  --shadow: 0 30px 80px rgba(2,6,23,.18);

  --accent: #17c3a2;
  --accent2:#34d6ff;
  --accentSoft: rgba(23,195,162,.12);

  --radius: 14px;
  --radius2: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: radial-gradient(1200px 700px at 10% -10%, rgba(52,214,255,.18), transparent 55%),
              radial-gradient(1200px 700px at 90% -20%, rgba(23,195,162,.18), transparent 55%),
              var(--bg);
}

.wrap{ width:min(1100px, 100%); margin:0 auto; padding:0 16px; }

.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(246,251,251,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; }

.brand{ display:flex; align-items:center; gap:12px; }
.brand__logo{ height:28px; width:auto; }
.brand__name{ font-weight:900; letter-spacing:-0.02em; }
.brand__tag{ font-size:12px; color: var(--muted); margin-top:2px; }

.topbar__actions{ display:flex; gap:10px; align-items:center; }

.btn, .cv-btn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.85);
  color: var(--text);
  padding:10px 12px;
  border-radius: 12px;
  cursor:pointer;
  font-weight:700;
}
.btn:hover{ filter: brightness(0.98); }
.btn--primary, .cv-btn--primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  border-color: transparent;
}
.btn--ghost{ background: transparent; }
.btn--soft, .cv-btn--secondary, .cv-btn--soft{ background: var(--accentSoft); border-color: rgba(23,195,162,.22); }

.input, .cv-input, .cv-textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.9);
  outline:none;
}
.input:focus{ border-color: rgba(23,195,162,.55); box-shadow: 0 0 0 4px rgba(23,195,162,.12); }

.hero{ padding: 28px 0 10px; }
.hero__inner{ display:grid; grid-template-columns: 1.1fr .9fr; gap:16px; align-items:start; }
@media (max-width: 900px){ .hero__inner{ grid-template-columns:1fr; } }

.hero__title{ margin:0; font-size: 34px; letter-spacing:-0.03em; }
.hero__subtitle{ margin: 10px 0 0; color: var(--muted); line-height:1.5; }

.search{ margin-top:14px; display:flex; gap:10px; }
.search .input, .cv-input, .cv-textarea{ flex:1; }

.hint{ margin-top:12px; color: var(--muted); font-size:13px; }
.pill{
  display:inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(11,18,32,.06);
  border:1px solid rgba(11,18,32,.08);
  font-weight:700;
  color: rgba(11,18,32,.75);
}

.card{
  border:1px solid var(--border);
  border-radius: var(--radius2);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card--soft{ box-shadow:none; background: rgba(255,255,255,.75); }
.card__title{ font-weight:900; padding: 14px 14px 6px; }
.steps{ margin:0; padding: 0 18px 14px 34px; color: var(--muted); }
.steps li{ margin: 6px 0; }

.catalog{ padding: 16px 0 44px; }
.catalog__bar{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:12px; }
.catalog__title{ font-size:18px; font-weight:900; }
.catalog__meta{ color: var(--muted); font-size:13px; }

.state{
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(11,18,32,.22);
  background: rgba(255,255,255,.65);
  color: rgba(11,18,32,.75);
  margin: 10px 0 14px;
}
.state--error{ border-style:solid; border-color: rgba(255,0,0,.22); background: rgba(255,0,0,.04); color: rgba(120,0,0,.85); }

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 920px){ .grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .grid{ grid-template-columns: 1fr; } }

.product{
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.86);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height: 220px;
}
.product__img{
  height: 120px;
  background: linear-gradient(135deg, rgba(23,195,162,.16), rgba(52,214,255,.16));
  border-bottom: 1px solid var(--border);
}
.product__body{ padding: 12px 12px 10px; flex:1; }
.product__title{ font-weight:900; line-height:1.25; }
.product__author{ margin-top:6px; color: var(--muted); font-size:13px; }
.product__desc{ margin-top:8px; color: rgba(11,18,32,.75); font-size:13px; line-height:1.4; }
.product__actions{ display:flex; gap:10px; padding: 10px 12px 12px; }
.product__actions .btn, .cv-btn{ flex:1; }

.modalRoot{
  position: fixed;
  inset: 0;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 1000000;
}
.modalRoot.open{ display:flex; }
.modalOverlay{
  position:absolute;
  inset:0;
  background: rgba(2,6,23,.42);
  backdrop-filter: blur(10px);
}
.modal{
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 36px);
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  box-shadow: 0 30px 80px rgba(2,6,23,.22);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.modal__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(23,195,162,.10), rgba(255,255,255,.92));
}
.modal__title{ font-weight: 900; letter-spacing:-0.01em; }
.iconBtn{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.9);
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
}
.modal__body{ padding: 14px; overflow:auto; }
.modal__footer{
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border);
  display:flex;
  gap:10px;
  justify-content:flex-end;
  background: rgba(255,255,255,.92);
}

.hr{ height:1px; background: rgba(11,18,32,.10); margin: 12px 0; }

.tabs{ display:flex; gap:10px; margin-bottom: 12px; }
.tab{
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.85);
  cursor:pointer;
  font-weight:800;
}
.tab.active{
  background: linear-gradient(135deg, rgba(23,195,162,.22), rgba(52,214,255,.18));
  border-color: rgba(23,195,162,.26);
}
.formRow{ margin-top:10px; }
.small{ font-size:12px; color: var(--muted); margin-top:6px; }

.toast{
  position:fixed; left:14px; bottom:14px;
  z-index: 1000001;
  background:#111; color:#fff;
  padding:10px 12px;
  border-radius:12px;
  font:13px/1.3 system-ui,-apple-system,Segoe UI,Roboto,Arial;
  box-shadow:0 10px 26px rgba(0,0,0,.35);
  max-width:70vw;
  opacity:0;
  transition: opacity .15s ease;
}
.toast.show{ opacity:1; }

/* PRINTEO_V2_ADDITIONS */
:root{
  --radius3: 18px;
}
.brand__link{ text-decoration:none; color:inherit; }
.footer{ margin-top: 24px; padding: 18px 0 28px; border-top: 1px solid var(--border); }
.footer__inner{ display:flex; gap:10px; align-items:center; justify-content:center; flex-wrap:wrap; opacity:.9; }

.homeSearch{ display:flex; gap:10px; align-items:center; margin-top:12px; flex-wrap:wrap; }
.homeSearch .input, .cv-input, .cv-textarea{ flex:1; min-width: 220px; }
.homePills{ display:flex; gap:8px; flex-wrap:wrap; }
.homeGrid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:12px; }
.homeTile{
  display:block;
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 12px;
  background: rgba(255,255,255,.86);
  text-decoration:none;
  color: inherit;
}
.homeTile:hover{ box-shadow: 0 16px 40px rgba(2,6,23,.10); transform: translateY(-1px); }

table{ border-collapse: collapse; width: 100%; }
th,td{ border:1px solid var(--border); padding: 10px; vertical-align: top; }
th{ background: rgba(2,6,23,.03); text-align:left; }
code{ background: rgba(2,6,23,.06); padding:2px 6px; border-radius: 8px; }


/* PRINTEO_HOME_V3 */
.heroSplit{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 14px;
  align-items:start;
}
@media (max-width: 920px){ .heroSplit{ grid-template-columns: 1fr; } }

.heroCard{
  border:1px solid rgba(2,6,23,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  padding: 14px;
}

.heroActions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.heroActions .btn, .cv-btn{ white-space:nowrap; }

.homeSection{ margin-top: 22px; }
.homeSection h2{ margin:0 0 10px; letter-spacing:-0.01em; }

.homeCard{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border: 1px solid rgba(2,6,23,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  text-decoration:none;
  color: inherit;
  box-shadow: 0 12px 26px rgba(2,6,23,.06);
}
.homeCard:hover{ box-shadow: 0 18px 44px rgba(2,6,23,.10); transform: translateY(-1px); }
.homeCard__img{
  height: 92px;
  background: linear-gradient(135deg, rgba(23,195,162,.20), rgba(52,214,255,.18));
  border-bottom: 1px solid rgba(2,6,23,.08);
}
.homeCard__body{ padding: 12px; }
.homeCard__title{ font-weight: 900; line-height: 1.25; }
.homeCard__meta{ margin-top: 6px; opacity: .8; font-size: 13px; }

.homeGridV3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 920px){ .homeGridV3{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .homeGridV3{ grid-template-columns: 1fr; } }

