:root{
  --bg0:#070707;
  --bg1:#111111;
  --card: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.65);
  --shadow: 0 26px 80px rgba(0,0,0,.75);
  --radius: 18px;

  /* GuaMotor Red */
  --red:#d71920;
  --red2:#9f0f14;
  --redGlow:#ff2a2a;
}

*{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;
  color:var(--text);
  background:
    radial-gradient(1000px 600px at 18% 15%, rgba(215,25,32,.16), transparent 60%),
    radial-gradient(900px 520px at 80% 10%, rgba(215,25,32,.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

a{color:inherit}
.container{
  min-height:100%;
  display:flex;
  flex-direction:column;
}

.topbar{
  height:56px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-bottom:1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
}
.topbar-inner{
  width:min(1100px, 100%);
  padding: 0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand-mark{
  width:34px;height:34px;border-radius:10px;
  background: linear-gradient(135deg, rgba(215,25,32,.85), rgba(159,15,20,.9));
  box-shadow: 0 12px 26px rgba(215,25,32,.18);
  border:1px solid rgba(255,255,255,.10);
}
.brand-title{
  display:flex; flex-direction:column; line-height:1.05;
}
.brand-title strong{font-size:13px; letter-spacing:.2px}
.brand-title span{font-size:12px; color:var(--muted)}
.top-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.pill{
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.20);
  color: rgba(255,255,255,.78);
}

.main{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
}

.shell{
  width:min(1100px, 100%);
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}

@media (max-width: 940px){
  .shell{grid-template-columns: 1fr; gap:14px;}
}

.panel{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.left{
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.hero{
  width:100%;
  background: rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;
}
.hero img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}

.left h1{
  margin:0;
  font-size: clamp(22px, 3.6vw, 36px);
  line-height:1.12;
  letter-spacing:-.2px;
}
.left p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  max-width: 70ch;
  font-size: 14px;
}

.badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 4px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  font-size:12px;
  color: rgba(255,255,255,.78);
}

.right{
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.card-title{
  margin:0;
  font-size: 18px;
  letter-spacing:.2px;
}
.card-sub{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size: 13.5px;
}

.grid{
  display:grid;
  gap: 12px;
}

.btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-weight:900;
  cursor:pointer;
  text-decoration:none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); }
.btn:active{ transform: translateY(0) scale(.99); }

.btn-primary{
  border-color: rgba(215,25,32,.62);
  background: linear-gradient(135deg, rgba(215,25,32,.82), rgba(159,15,20,.92));
  box-shadow: 0 18px 40px rgba(215,25,32,.14);
}
.btn-primary:hover{
  background: linear-gradient(135deg, rgba(255,42,42,.95), rgba(215,25,32,.88));
}

.btn-ghost{
  border-color: rgba(255,255,255,.18);
  background: rgba(0,0,0,.20);
}

.hr{
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 6px 0;
}

.small{
  font-size: 12px;
  color: rgba(255,255,255,.58);
  line-height:1.5;
}

.form{
  display:grid;
  gap:10px;
  margin-top: 6px;
}
.field{
  display:grid;
  gap:6px;
}
label{
  font-size: 12px;
  color: rgba(255,255,255,.78);
  font-weight:800;
}
input,select,textarea{
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.24);
  color: rgba(255,255,255,.92);
  outline:none;
  font-size: 14px;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(215,25,32,.55);
  box-shadow: 0 0 0 4px rgba(215,25,32,.14);
}
textarea{min-height: 110px; resize: vertical}

.checkbox{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.checkbox input{width:18px;height:18px;margin-top:2px}
.checkbox span{color:var(--muted); font-size:13px; line-height:1.45}

.notice{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  padding: 12px;
  border-radius: 16px;
}
.notice strong{display:block; font-size:13px; margin-bottom:4px}
.notice span{display:block; font-size:12.5px; color: rgba(255,255,255,.68); line-height:1.45}

.toast{
  position:fixed;
  left:50%;
  bottom:16px;
  transform: translateX(-50%) translateY(16px);
  background: rgba(10,10,10,.78);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.92);
  padding: 10px 12px;
  border-radius: 14px;
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
  z-index:99;
  font-size:13px;
}
.toast.show{opacity:1; transform: translateX(-50%) translateY(0)}

@media (prefers-reduced-motion: reduce){
  .btn{transition:none}
}
