:root{
  --bg: #F7F8FC;
  --surface: #FFFFFF;
  --text: #111827;
  --muted: #4B5563;
  --line: #E5E7EB;

  /* Brand: Soft Indigo (diferențiere clară) */
  --brand: #4F46E5;
  --brand-dark: #3730A3;
  --brand-soft: #EEF2FF;

  --radius: 16px;
  --radius2: 12px;
  --shadow: 0 10px 30px rgba(17,24,39,.08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a{color:inherit}
.container{width:min(1120px, 92vw); margin:0 auto}

/* NAV */
.nav{
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,248,252,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap: 12px;
}
.brand{
  display:flex; align-items:center; gap: 10px;
  text-decoration:none;
}
.logo{
  width:36px; height:36px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #818CF8);
  box-shadow: 0 10px 20px rgba(79,70,229,.18);
}
.brand strong{font-size: 15px; letter-spacing: .2px}
.brand span{display:block; font-size: 12px; color: var(--muted); margin-top: -2px}

.nav-links{display:flex; align-items:center; gap: 8px; flex-wrap:wrap; justify-content:flex-end}
.nav-links a{
  text-decoration:none;
  color: var(--muted);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
}
.nav-links a:hover{background: rgba(17,24,39,.04); color: var(--text)}

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
  font-size: 13px;
  text-decoration:none;
  transition: transform .04s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{background: rgba(17,24,39,.03)}
.btn:active{transform: translateY(1px)}

.btn-primary{
  border-color: rgba(79,70,229,.22);
  background: var(--brand);
  color: #ffffff !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.10);
}
.btn-primary:hover{background: var(--brand-dark)}

/* TYPO */
h1{
  margin: 14px 0 10px;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.6px;
}
.lead{
  margin: 0 0 16px;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 70ch;
}
.small{margin: 4px 0 0; color: var(--muted); font-size: 12.8px}

/* HERO V2 (editorial + side rail) */
.hero2{ padding: 44px 0 18px; }
.hero2-grid{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 16px;
  align-items:start;
}
.panel{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel-head{
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(79,70,229,.07), rgba(255,255,255,0));
}
.panel-body{padding: 16px}

.kicker{
  font-size: 12px;
  color: #312E81;
  background: var(--brand-soft);
  border: 1px solid rgba(79,70,229,.18);
  padding: 7px 10px;
  border-radius: 999px;
  display:inline-flex;
  gap: 10px;
  align-items:center;
}
.kicker .dot{
  width:8px;height:8px;border-radius:999px;background: var(--brand);
}

.hero-cta{
  display:flex; gap: 10px; flex-wrap:wrap;
  align-items:center;
}
.trust{
  display:flex; gap: 10px; flex-wrap:wrap;
  margin-top: 14px;
}
.pill{
  font-size: 12.5px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
}

.metric{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.metric .box{
  border: 1px solid var(--line);
  background: #FBFCFF;
  border-radius: 14px;
  padding: 12px;
}
.metric strong{display:block; font-size: 12.5px}
.metric span{display:block; margin-top: 4px; font-size: 12.5px; color: var(--muted)}

.divider{ height:1px; background: var(--line); margin: 14px 0; }

.notice{
  border-radius: var(--radius);
  border: 1px solid rgba(79,70,229,.18);
  background: var(--brand-soft);
  padding: 14px 16px;
  color: #312E81;
}

/* Sections */
.section{padding: 16px 0}
.section h2{
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.2px;
}
.grid-3{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.feature h3{margin: 0 0 6px; font-size: 14px}
.feature p{margin: 0; color: var(--muted); font-size: 13px}

.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-pad{ padding: 18px; }

.list{margin: 8px 0 0; padding-left: 18px; color: var(--muted)}
.list li{margin: 6px 0}

/* Form */
.form{display:grid; gap: 10px;}
.field label{
  display:block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 6px;
}
.input, .textarea{
  width:100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  outline: none;
}
.textarea{min-height: 140px; resize: vertical}
.input:focus, .textarea:focus{
  border-color: rgba(79,70,229,.40);
  box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.note{
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}
.inline-links a{
  color: var(--brand-dark);
  text-decoration: none;
}
.inline-links a:hover{ text-decoration: underline; }

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 12.5px;
}
.footer a{color: var(--muted); text-decoration:none}
.footer a:hover{color: var(--text)}
.footer-inner{display:flex; justify-content:space-between; gap: 12px; flex-wrap:wrap}

/* Legal pages */
.page{padding: 20px 0 40px}
.page h1{font-size: 26px; margin: 0 0 10px}
.page p, .page li{color: var(--muted)}
.page .card{box-shadow:none}

@media (max-width: 920px){
  .hero2-grid{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .form-grid{grid-template-columns: 1fr}
  .metric{grid-template-columns: 1fr}
}
