:root{
  --brand:#0aa38f;
  --brand-2:#6b63c5;
  --bg:#0f172a;
  --fg:#e5e7eb;
  --muted:#bfc6d1;
  --glass:rgba(255,255,255,.07);
  --stroke:rgba(255,255,255,.15);
  --ring:rgba(10,163,143,.65);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--fg);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(10,163,143,.22), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(107,99,197,.20), transparent 55%),
    linear-gradient(180deg, #0b1020, #0f172a 45%, #0b1020);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px;
  overflow-x:hidden;
}

.card{
  width:min(560px,92vw);
  border-radius:28px;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border:1px solid var(--stroke);
  box-shadow:
    0 20px 60px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.10);
  padding:30px;
  animation: cardEnter .8s ease;
}

@keyframes cardEnter{
  from{
    opacity:0;
    transform: translateY(20px) scale(.98);
  }
  to{
    opacity:1;
    transform: translateY(0) scale(1);
  }
}

header{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.avatar{
  width:112px;
  height:112px;
  border-radius:50%;
  display:grid;
  place-items:center;
  padding:6px;
  background: linear-gradient(135deg, #0aa38f, #6b63c5);
  border:1px solid rgba(255,255,255,.35);
  box-shadow:
    0 10px 30px rgba(0,0,0,.40),
    0 0 25px rgba(10,163,143,.25);
}

.avatar img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:50%;
  background:#fff;
}

h1{
  font-size:2rem;
  line-height:1.1;
  margin:0;
  font-weight:800;
  letter-spacing:-0.02em;
}

.subtitle{
  color:var(--muted);
  text-align:center;
  margin:0;
  font-size:1rem;
}

.badge{
  margin-top:2px;
  font-size:.88rem;
  color:#cfe7e3;
  text-align:center;
}

nav{margin-top:14px}
.stack{display:flex;flex-direction:column;gap:12px}
.row{display:flex;gap:12px;margin-top:14px}
.row .btn{flex:1}

.btn{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  padding:15px 18px;
  border-radius:16px;
  text-decoration:none;
  color:var(--fg);
  background:var(--glass);
  border:1px solid var(--stroke);
  transition:
    transform .15s ease,
    box-shadow .25s ease,
    background .25s ease,
    border-color .25s ease;
  box-shadow:0 6px 18px rgba(0,0,0,.20);
  position:relative;
  overflow:hidden;
  cursor:pointer;
}

.btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
  box-shadow:
    0 10px 25px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.12),
    0 0 20px rgba(10,163,143,.16);
  border-color: rgba(255,255,255,.22);
}

.btn:active{
  transform: scale(.98);
}

.btn svg{
  width:20px;
  height:20px;
  opacity:.95;
  flex:0 0 auto;
}

.btn .label{
  flex:1;
  text-align:center;
  font-weight:600;
}

.btn .chev{
  opacity:.7;
}

.btn.centered{
  position:relative;
  display:grid;
  grid-template-columns:24px 1fr 24px;
  align-items:center;
}

.btn.centered svg.icon{
  width:20px;
  height:20px;
  opacity:.95;
  justify-self:start;
}

.btn.centered .label{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  font-weight:600;
  text-align:center;
  white-space:nowrap;
  pointer-events:none;
}

.btn.centered .chev{
  grid-column:3;
  width:20px;
  height:20px;
  justify-self:end;
  opacity:.7;
}

.btn.centered .pad{
  grid-column:3;
  width:20px;
  height:20px;
}

.primary{
  background: linear-gradient(180deg, #ffffff, #f4f6fb);
  color:#0b1220;
  border-color:rgba(0,0,0,.08);
}

.primary:hover{
  box-shadow:
    0 12px 28px rgba(0,0,0,.20),
    0 0 22px rgba(255,255,255,.25);
}

.ghost{
  background:transparent;
}

.section-title{
  margin:18px 6px 6px;
  color:#c9d2df;
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.divider{
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  margin:18px 0;
}

.meta{
  margin-top:4px;
  color:var(--muted);
  font-size:.9rem;
  text-align:center;
}

footer{
  margin-top:6px;
  color:#aab4c0;
  text-align:center;
  font-size:.85rem;
}

a:focus-visible, button:focus-visible{
  outline:4px solid var(--ring);
  outline-offset:3px;
  border-radius:14px;
}

@media (max-width: 540px){
  .row{
    flex-direction:column;
  }

  .btn.centered .label{
    position:static;
    transform:none;
    white-space:normal;
  }

  .btn.centered{
    display:flex;
  }

  .btn.centered .pad,
  .btn.centered .chev{
    margin-left:auto;
  }
}

@media (prefers-reduced-motion: reduce){
  .card,
  .btn,
  .btn:hover{
    animation:none;
    transition:none;
    transform:none;
  }
}

.toast{
  position:fixed;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  background:rgba(20,24,35,.92);
  color:#e8f6f2;
  border:1px solid rgba(255,255,255,.12);
  padding:10px 14px;
  border-radius:10px;
  font-size:.9rem;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:999;
}

.toast.show{
  opacity:1;
}