/*
  Serico 3D – light UI
  Source: /assets/scss/styles.scss
*/

:root{
  --bg: #f6f7fb;
  --card: #ffffff;
  --card-2: #f2f4f9;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, .62);
  --line: rgba(15, 23, 42, .10);
  --accent: #6d28d9;
  --accent-2: #06b6d4;
}

html, body {
  background: radial-gradient(1200px 600px at 20% -10%, rgba(109, 40, 217, .14), transparent 60%),
              radial-gradient(900px 500px at 90% 0%, rgba(6, 182, 212, .10), transparent 55%),
              var(--bg);
  color: var(--text);
}

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main{ flex: 1 0 auto; }
.site-footer{ margin-top: auto; }

a{ color: rgba(15, 23, 42, .92); }
a:hover{ color: #000; }

.site-header{
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 251, .75);
  backdrop-filter: blur(10px);
}

.brand-dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px rgba(109, 40, 217, .12);
}

.brand-name{
  font-weight: 650;
  letter-spacing: .2px;
}

.lang-switch a{
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.lang-switch a.active{
  border-color: rgba(15, 23, 42, .12);
  background: rgba(15, 23, 42, .04);
}

.nav-links a{
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
}
.nav-links a:hover{
  border-color: rgba(15, 23, 42, .12);
  background: rgba(15, 23, 42, .03);
}
.nav-links a.active{
  border-color: rgba(109, 40, 217, .30);
  background: rgba(109, 40, 217, .10);
}

.hero .lead{ max-width: 900px; }

.tool-card, .content-card{
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(242,244,249,.72));
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .10);
}

.tool-card-body{ padding: 18px; }

.tool-icon{
  font-size: 20px;
  margin-bottom: 10px;
}

.content-card{ padding: 18px; }

.specs-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
@media (max-width: 575px){
  .specs-grid{ grid-template-columns: 1fr; }
}

.spec-item{
  border: 1px solid rgba(15, 23, 42, .10);
  background: rgba(255, 255, 255, .75);
  border-radius: 12px;
  padding: 10px 12px;
}
.spec-label{
  font-size: 12px;
  color: var(--muted);
}
.spec-value{
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}

.check-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: rgba(255, 255, 255, .70);
  border-radius: 12px;
  padding: 10px 12px;
}
.check-left{ min-width: 0; }
.check-title{
  font-size: 14px;
  font-weight: 650;
  margin: 0;
}
.check-desc{
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 0;
}
.badge-pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: rgba(15, 23, 42, .04);
  white-space: nowrap;
}

.badge-ok{
  border-color: rgba(6, 182, 212, .35);
  background: rgba(6, 182, 212, .12);
}
.badge-fail{
  border-color: rgba(239, 68, 68, .35);
  background: rgba(239, 68, 68, .12);
}
.badge-warn{
  border-color: rgba(245, 158, 11, .32);
  background: rgba(245, 158, 11, .12);
}

.form-control, .form-select{
  background-color: rgba(255, 255, 255, .95) !important;
  border-color: rgba(15, 23, 42, .14) !important;
  color: var(--text) !important;
}
.form-control:focus, .form-select:focus{
  box-shadow: 0 0 0 .2rem rgba(109, 40, 217, .18) !important;
  border-color: rgba(109, 40, 217, .40) !important;
}
.form-text, .text-muted{ color: var(--muted) !important; }

.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
}
.btn-primary:hover{ filter: brightness(1.03); }

.site-footer{
  border-top: 1px solid var(--line);
  background: rgba(246, 247, 251, .75);
}

.alert-dark{
  background: rgba(242, 244, 249, .70);
  border-color: rgba(15, 23, 42, .10);
  color: var(--text);
}
