/* BestSTLFiles — Light UI (best practices, nu copiat) */

:root{
  --bg:#f7f7f8;
  --text:#111827;
  --muted:#6b7280;
  --muted2:#9ca3af;
  --card:#ffffff;
  --border:#d1d5db;

  --brand:#ff385c;     /* coral */
  --brand2:#2563eb;    /* premium blue */
  --shadow:0 10px 30px rgba(17,24,39,.08);
  --shadowSoft:0 6px 18px rgba(17,24,39,.06);

  --radius:16px;
  --radiusSm:12px;
  --container:1040px;
}

*{ 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, "Apple Color Emoji","Segoe UI Emoji";
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:20px 18px 60px;
}

/* NAV */
.nav { position: relative !important; z-index: 10; display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.2px;
}

.brand-badge{
  width:34px;height:34px;
  border-radius:10px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, rgba(255,56,92,.15), rgba(37,99,235,.10));
  border:1px solid rgba(209,213,219,.95);
  color:var(--brand);
  font-weight:900;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.nav-links a{
  font-size:14px;
  color:var(--muted);
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  text-decoration:none;
}
.nav-links a:hover{
  color:var(--text);
  background: rgba(17,24,39,.04);
  border-color: rgba(229,231,235,.9);
}

/* TYPO */
h1,h2,h3{ margin:0 0 10px; color:var(--text); }
h1{ font-size:34px; letter-spacing:-.6px; line-height:1.15; }
h2{ font-size:22px; letter-spacing:-.3px; }
p{ margin:0 0 12px; color:var(--muted); }
small{ color:var(--muted2); }

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(209,213,219,.95);
  background:#fff;
  color:var(--text);
  font-weight:800;
  font-size:14px;
  cursor:pointer;
  box-shadow: 0 1px 0 rgba(17,24,39,.04);
  text-decoration:none !important;
}
.btn:hover{
  box-shadow: var(--shadowSoft);
  border-color: rgba(107,114,128,.45);
  transform: translateY(-1px);
  transition: .16s ease;
}
.btn:active{
  transform: translateY(0);
  transition: .08s ease;
}
.btn-primary{
  border-color: rgba(255,56,92,.30);
  background: linear-gradient(135deg, rgba(255,56,92,1), rgba(255,56,92,.92));
  color:#fff;
}
.btn-ghost{
  background: rgba(17,24,39,.04);
}

/* CARDS */
.card{
  background:var(--card);
  border:1px solid rgba(209,213,219,.95);
  border-radius:var(--radius);
  padding:16px;
  box-shadow: var(--shadowSoft);
}
.card:hover{
  box-shadow: var(--shadow);
  transform: translateY(-1px);
  transition: .16s ease;
}

/* GRID */
.grid{ display:grid; gap:14px; }
.grid-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }

@media (max-width: 920px){
  .grid-3, .grid-2{ grid-template-columns: 1fr; }
  h1{ font-size:30px; }
}

/* HERO */
.hero{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:18px;
  align-items:stretch;
  margin:18px 0 22px;
}
@media (max-width: 920px){
  .hero{ grid-template-columns: 1fr; }
}
.hero-left{
  padding:22px;
  border-radius: calc(var(--radius) + 6px);
  border:1px solid rgba(209,213,219,.95);
  background:
    radial-gradient(900px 360px at 20% 10%, rgba(255,56,92,.12), transparent 60%),
    radial-gradient(900px 360px at 80% 0%, rgba(37,99,235,.10), transparent 55%),
    #fff;
  box-shadow: var(--shadow);
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  margin-bottom:10px;
}
.k-dot{
  width:10px;height:10px;border-radius:999px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(255,56,92,.12);
}
.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.hero-right{
  padding:18px;
  border-radius: calc(var(--radius) + 6px);
  border:1px solid rgba(209,213,219,.95);
  background:#fff;
  box-shadow: var(--shadowSoft);
}
.stat{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(209,213,219,.95);
  margin-bottom:10px;
}
.stat strong{ font-size:18px; }
.stat span{ color:var(--muted); font-size:13px; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(209,213,219,.95);
  background: rgba(17,24,39,.04);
  color: var(--text);
}
.badge-success{ background: rgba(22,163,74,.10); border-color: rgba(22,163,74,.18); }
.badge-warn{ background: rgba(245,158,11,.10); border-color: rgba(245,158,11,.18); }
.badge-danger{ background: rgba(239,68,68,.10); border-color: rgba(239,68,68,.18); }

/* FOOTER */
.footer{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid rgba(229,231,235,.95);
  color:var(--muted);
  font-size:13px;
}

/* UTILS */
.mt-8{ margin-top:8px; }
.mt-12{ margin-top:12px; }
.mt-18{ margin-top:18px; }
.center{ text-align:center; }

/* ===== Temple fullscreen landing ===== */
.temple-landing { position: relative !important; min-height: 100vh; display: block !important; }

.temple-panel { position: relative !important; max-width: 900px; margin: 60px auto; padding: 40px; }

.temple-panel h1{
  margin: 0 0 8px 0;
}

.temple-panel p{
  margin: 0;
  opacity: .9;
}

/* === FORCE: La început doar poza, fără panel peste === */
body:not(.ui-revealed) .temple-panel { position: relative !important; max-width: 900px; margin: 60px auto; padding: 40px; }

/* Fundal full-screen pe landing */
.temple-landing { position: relative !important; min-height: 100vh; display: block !important; }

/* Un mic “vignette” cinematic */
.temple-landing::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(80% 60% at 50% 35%, rgba(0,0,0,.10), rgba(0,0,0,.60));
  pointer-events:none;
}

/* Când dai click: revine panelul */
body.ui-revealed .temple-panel { position: relative !important; max-width: 900px; margin: 60px auto; padding: 40px; }

/* ===== Landing blocks (home.ejs) ===== */
.hero-sub{
  font-size: 16px;
  color: var(--muted);
  margin-top: 6px;
  margin-bottom: 0;
}

.lp-block{
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(209,213,219,.92);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 24px rgba(17,24,39,.08);
}

.lp-title{
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -.2px;
}

.lp-text{
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.45;
}

.lp-muted{
  color: var(--muted2);
  font-size: 13px;
  font-weight: 700;
}

.lp-actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}

.lp-steps{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 10px;
}

.lp-step{
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(209,213,219,.92);
  background: rgba(17,24,39,.03);
  display:flex;
  align-items:center;
  gap: 10px;
}

.lp-step-nr{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 900;
  color: var(--brand);
  background: rgba(255,56,92,.12);
  border: 1px solid rgba(255,56,92,.22);
  flex: 0 0 auto;
}

.lp-step-txt{
  font-weight: 900;
  color: var(--text);
}

.lp-final{
  padding-top: 4px;
}

.lp-final-title{
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}

.lp-final-text{
  color: var(--muted);
}

@media (max-width: 920px){
  .lp-steps{ grid-template-columns: 1fr; }
}






/* ===== Temple CLICK LANDING ===== */
.temple-landing { position: relative !important; min-height: 100vh; display: block !important; }

.temple-click-overlay{ display:none !important; pointer-events:none !important; }

/* lăsăm vizual panelul, dar nu mai “fură” click-ul */
.temple-panel { position: relative !important; max-width: 900px; margin: 60px auto; padding: 40px; }
