:root{
  --bg: #0b0c10;
  --panel: #11131a;
  --text: #e8eaf0;
  --muted: #a9afc3;
  --line: #24283a;
  --accent: #7c5cff;
  --accent-2: #23c6b8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1000px 500px at 20% -10%, rgba(124,92,255,.25), transparent),
              radial-gradient(900px 450px at 90% 10%, rgba(35,198,184,.18), transparent),
              var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }
a:hover{ opacity:.9; }

.container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11,12,16,.72);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 700;
  letter-spacing:.3px;
}

.brand-mark{
  display:inline-flex;
  width: 34px;
  height: 34px;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124,92,255,.9), rgba(35,198,184,.75));
  box-shadow: var(--shadow);
}

.brand-name{ font-size: 16px; }

.nav{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items:center;
}

.nav-link{
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav-link.active{
  color: var(--text);
  border-color: rgba(124,92,255,.45);
  background: rgba(124,92,255,.12);
}

.site-main{
  padding: 28px 0 44px;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.h1{
  font-size: clamp(26px, 2.6vw, 40px);
  margin: 0 0 10px;
  line-height: 1.1;
}

.p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.col-7{ grid-column: span 7; }
.col-5{ grid-column: span 5; }

@media (max-width: 860px){
  .col-7, .col-5{ grid-column: 1 / -1; }
}

.site-footer{
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: var(--muted);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links{
  display:flex;
  gap: 14px;
}

.footer-links a{
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* =========================
   Buttons / CTA
========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor:pointer;
  border:1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  white-space: nowrap;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-primary{
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(35,198,184,.85));
  color: #fff;
}

.btn-secondary{
  background: rgba(255,255,255,.04);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost{
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.btn-danger{
  background: rgba(255,80,80,.12);
  border-color: rgba(255,80,80,.35);
  color: #ffb3b3;
}
/* =========================
   Password toggle
========================= */

.password-field{
  position: relative;
}

.password-field .input{
  width:100%;
  padding-right:42px; /* espacio para el ojito */
}

.toggle-password{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  background:transparent;
  border:0;
  cursor:pointer;
  font-size:16px;
  color:var(--muted);
}

.toggle-password:hover{
  color:var(--text);
}
