/* Secondo Stock — static showcase */
:root {
  --bg: #070b12;
  --bg-2: #0a111d;
  --panel: #0e1624;
  --panel-2: #111c2e;
  --text: #e9f0fa;
  --muted: #8fa1b8;
  --muted-2: #6f8199;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #34d399;
  --accent-2: #22d3ee;
  --amber: #fbbf24;
  --slate: #94a3b8;
  --red: #f87171;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 78% -10%, rgba(52, 211, 153, 0.12), transparent 60%),
    radial-gradient(760px 420px at 8% 8%, rgba(34, 211, 238, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(52, 211, 153, 0.28); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 70%);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(7, 11, 18, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px; font-weight: 800; font-size: 13px; letter-spacing: -0.04em;
  color: #04110c; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.22);
}
.brand-text { display: flex; flex-direction: column; font-weight: 700; line-height: 1.15; }
.brand-text small { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--muted); }
.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 16px; border-radius: 999px; color: #04110c !important;
  background: var(--accent); font-weight: 700;
}
.nav-cta:hover { background: #5eead4; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 11px; }

/* Hero */
main { overflow: clip; }
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px);
  align-items: center; max-width: 1240px; margin: 0 auto;
  padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 40px) 40px;
}
.hero.hero-solo {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding-top: clamp(70px, 10vw, 130px);
  padding-bottom: clamp(60px, 8vw, 100px);
}
.hero.hero-solo .hero-copy {
  display: flex; flex-direction: column; align-items: center;
  max-width: 900px;
}
.hero.hero-solo .eyebrow {
  font-size: clamp(13px, 1.8vw, 20px);
  letter-spacing: .2em;
}
.hero.hero-solo .hero-actions { justify-content: center; margin-top: 24px; }
.hero.hero-solo .btn {
  min-height: 58px; padding: 0 34px;
  font-size: clamp(15px, 1.5vw, 19px);
}
.hero.hero-solo .hero-note {
  margin-top: 22px;
  font-size: clamp(12px, 1.2vw, 15px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--accent); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero h1 {
  margin: 18px 0 18px; font-size: clamp(42px, 5.6vw, 74px);
  line-height: 1.02; letter-spacing: -0.045em; font-weight: 800;
}
.gradient {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 72%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 560px; margin: 0 0 26px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; font-weight: 700; border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #2dd4bf); color: #04110c; box-shadow: 0 12px 34px rgba(52, 211, 153, .2); }
.btn-primary:hover { background: linear-gradient(135deg, #5eead4, var(--accent-2)); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.07); }
.hero-note { margin-top: 18px; color: var(--muted-2); font-size: 12px; }

/* Hero visual */
.hero-visual { position: relative; }
.window {
  border: 1px solid var(--line-strong); border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}
.window-bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025);
}
.window-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.window-bar span:first-child { background: #f87171; }
.window-bar span:nth-child(2) { background: #fbbf24; }
.window-bar span:nth-child(3) { background: #34d399; }
.window-bar b { margin-left: 8px; color: var(--muted); font: 500 11px var(--mono); }
.window-body { padding: 18px; }
.mini-nav { display: flex; gap: 8px; margin-bottom: 14px; }
.mini-nav i { display: block; width: 54px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.12); }
.mini-nav i:first-child { width: 76px; background: rgba(52,211,153,.5); }
.mini-hero {
  padding: 18px; border: 1px solid rgba(52,211,153,.18); border-radius: 14px;
  background: radial-gradient(420px 120px at 15% 0%, rgba(52,211,153,.18), transparent 70%), rgba(255,255,255,.02);
}
.mini-kicker { color: var(--accent); font: 700 9px var(--mono); letter-spacing: .16em; }
.mini-hero b { display: block; margin: 8px 0 4px; font-size: 19px; letter-spacing: -.02em; }
.mini-hero em { color: var(--muted); font-style: normal; font-size: 11px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.mini-kpis div { padding: 10px; border-radius: 11px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.mini-kpis small { display: block; color: var(--muted); font-size: 9px; }
.mini-kpis strong { font-size: 17px; }
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 88px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.03); }
.mini-chart span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--accent), rgba(34,211,238,.4)); opacity: .85; }
.floating-card {
  position: absolute; left: -22px; bottom: -20px; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 14px;
  background: rgba(14,22,36,.92); box-shadow: 0 18px 50px rgba(0,0,0,.4); backdrop-filter: blur(12px);
}
.floating-card div { display: flex; flex-direction: column; line-height: 1.2; }
.floating-card strong { font-size: 12px; }
.floating-card small { color: var(--muted); font-size: 10px; }
.floating-card a { color: var(--accent); font-size: 11px; font-weight: 700; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(52,211,153,.13); }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  max-width: 1160px; margin: 18px auto 0; padding: 0 clamp(18px, 4vw, 40px);
}
.stats div { padding: 18px 20px; background: rgba(255,255,255,.025); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div:first-child { border-left: 1px solid var(--line); border-radius: 14px 0 0 14px; }
.stats div:last-child { border-right: 1px solid var(--line); border-radius: 0 14px 14px 0; }
.stats strong { display: block; font-size: 25px; letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

/* Catalog */
.catalog, .process, .contact { max-width: 1240px; margin: 0 auto; padding: clamp(54px, 7vw, 92px) clamp(18px, 4vw, 40px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-head h2 { margin: 8px 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.04em; }
.section-head p { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-green { background: var(--accent); }
.dot-amber { background: var(--amber); }
.dot-slate { background: var(--slate); }

.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.025); margin-bottom: 22px; }
.search { display: flex; align-items: center; gap: 8px; min-width: 260px; flex: 1; padding: 0 12px; height: 42px; border-radius: 11px; background: rgba(0,0,0,.2); border: 1px solid var(--line); color: var(--muted); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font-size: 13px; }
.search input::placeholder { color: var(--muted-2); }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); border-radius: 999px; padding: 8px 12px; font-size: 12px; transition: all .2s ease; }
.chip b { font-size: 10px; color: var(--muted-2); }
.chip:hover { border-color: var(--line-strong); color: var(--text); }
.chip.is-active { background: rgba(52,211,153,.14); border-color: rgba(52,211,153,.4); color: #c7f9e8; }
.chip.is-active b { color: var(--accent); }
.count { color: var(--muted-2); font-size: 12px; margin-left: auto; padding: 0 6px; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; min-height: 270px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); }
.card.is-demo { border-color: rgba(52,211,153,.38); box-shadow: 0 0 0 1px rgba(52,211,153,.08), 0 20px 60px rgba(16,185,129,.08); }
.card-cover {
  position: relative; height: 104px; padding: 14px;
  background: radial-gradient(260px 120px at 12% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%), linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  border-bottom: 1px solid var(--line);
}
.card-monogram { font-size: 30px; font-weight: 800; letter-spacing: -.06em; color: color-mix(in srgb, var(--accent) 70%, white); opacity: .9; }
.card-category { position: absolute; left: 14px; bottom: 12px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.card-status { position: absolute; top: 12px; right: 12px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; border: 1px solid var(--line); background: rgba(0,0,0,.25); color: var(--muted); }
.badge-prod { color: #bbf7d0; border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.12); }
.badge-advanced { color: #a5f3fc; border-color: rgba(34,211,238,.3); background: rgba(34,211,238,.1); }
.badge-mvp { color: #fde68a; border-color: rgba(251,191,36,.3); background: rgba(251,191,36,.1); }
.badge-proto { color: #fdba74; border-color: rgba(249,115,22,.3); background: rgba(249,115,22,.1); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 15px; }
.card h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.02em; }
.card-tagline { margin: 0 0 12px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.stack { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.stack span { padding: 3px 7px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--muted); font: 10px var(--mono); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.card-demo-label { color: var(--muted-2); font-size: 10px; }
.btn-mini { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 8px; font-size: 11px; font-weight: 700; border: 1px solid var(--line-strong); color: var(--text); background: rgba(255,255,255,.05); }
.btn-mini:hover { background: rgba(255,255,255,.1); }
.btn-mini-primary { background: var(--accent); border-color: var(--accent); color: #04110c; }
.btn-mini-primary:hover { background: #5eead4; }
.btn-mini-muted { color: var(--muted); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.process-grid article { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.process-grid article span { color: var(--accent); font: 700 11px var(--mono); letter-spacing: .12em; }
.process-grid h3 { margin: 12px 0 8px; font-size: 17px; letter-spacing: -.02em; }
.process-grid p { margin: 0; color: var(--muted); font-size: 13px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center; }
.contact h2 { margin: 8px 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.04em; }
.contact p { max-width: 620px; margin: 0; color: var(--muted); }
.contact-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; padding: 22px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.contact-actions small { color: var(--muted-2); font-size: 10px; text-align: center; }
.contact-actions small a { color: var(--accent); }
.buy-all {
  max-width: 920px; margin: clamp(54px, 7vw, 92px) auto 0;
  padding: clamp(28px, 5vw, 48px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  text-align: center;
  border: 1px solid rgba(52, 211, 153, .35); border-radius: var(--radius);
  background:
    radial-gradient(600px 220px at 90% 0%, rgba(52, 211, 153, .16), transparent 70%),
    linear-gradient(135deg, rgba(14, 22, 36, .95), rgba(10, 17, 29, .95));
  box-shadow: var(--shadow);
}
.buy-all-copy { max-width: 760px; }
.buy-all h2 { margin: 8px 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.04em; }
.buy-all p { margin: 0; color: var(--muted); }
.buy-all-kpis { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.buy-all-kpis span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.buy-all-kpis b { color: var(--text); font-size: 14px; margin-right: 4px; }
.buy-all-action { display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(100%, 280px); }
.buy-all-action small { color: var(--muted-2); font-size: 10px; text-align: center; }
@media (max-width: 760px) {
  .buy-all { align-items: center; margin-left: 18px; margin-right: 18px; }
  .buy-all-action { width: 100%; max-width: 320px; }
  .buy-all-action .btn { width: 100%; }
}

/* Footer */
.site-footer { max-width: 1240px; margin: 70px auto 0; padding: 28px clamp(18px, 4vw, 40px) 40px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.site-footer .brand-mark { width: 30px; height: 30px; font-size: 11px; border-radius: 9px; }
.site-footer .brand-text { font-size: 13px; }
.site-footer p { margin: 0; }
.site-footer .muted { color: var(--muted-2); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 12, .72); backdrop-filter: blur(8px); }
.modal-card {
  position: relative; z-index: 1; width: min(720px, 100%); max-height: 86vh; overflow: auto;
  border: 1px solid var(--line-strong); border-radius: 22px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 30px 100px rgba(0,0,0,.55); padding: 26px;
  animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); font-size: 20px; line-height: 1; }
.modal-close:hover { color: var(--text); }
.modal-head h2 { margin: 8px 0 6px; font-size: 28px; letter-spacing: -.035em; }
.modal-head p { margin: 0; color: var(--muted); }
.modal-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.modal-body h3 { margin: 22px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.modal-body p { margin: 0; color: var(--muted); font-size: 14px; }
.modal-body ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.modal-body li { margin: 4px 0; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.modal-actions a, .modal-actions button { min-height: 40px; }

/* Responsive */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div:nth-child(4) { border-left: 1px solid var(--line); border-radius: 14px 0 0 14px; }
  .stats div:nth-child(5) { border-radius: 0 14px 14px 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 71px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(10,17,29,.98); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 9px 10px; border-radius: 8px; }
  .nav a:hover { background: rgba(255,255,255,.05); }
  .nav-cta { text-align: center; margin-top: 4px; }
  .menu-toggle { display: block; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .hero-visual { margin: 10px 14px 0; }
  .floating-card { left: 8px; bottom: -16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div, .stats div:nth-child(4), .stats div:nth-child(5) { border: 1px solid var(--line); border-radius: 0; }
  .stats div:nth-child(odd) { border-radius: 12px 0 0 12px; }
  .stats div:nth-child(even) { border-radius: 0 12px 12px 0; }
  .stats div:last-child:nth-child(odd) { grid-column: 1 / -1; border-radius: 12px; }
  .grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .toolbar { align-items: stretch; }
  .search { min-width: 100%; }
  .count { margin-left: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}



