:root{
  --bg:#0e0f12;
  --card:#17181d;
  --text:#e6e7ea;
  --muted:#a0a3ad;
  --accent:#c05bdd;
  --accent-2:#c05bdd;
  --border:#2a2c34;
  --input:#1d1f26;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,Helvetica,sans-serif;
  color:var(--text);
  background:radial-gradient(1200px 600px at 70% -100px, rgba(192,91,221,.15), transparent 50%) , var(--bg);
}
.topbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 20px; border-bottom:1px solid var(--border); position:sticky; top:0; background:rgba(14,15,18,.85); backdrop-filter: blur(6px);
}
.brand{display:flex; align-items:center; gap:10px}
.logo{
  width:34px; height:34px; border-radius:10px; display:grid; place-items:center;
  font-weight:800; 
}
.brand-name{font-weight:700; letter-spacing:.2px}
.nav{display:flex; align-items:center; gap:14px}
.btn{display:inline-flex; align-items:center; margin: 10px 0; justify-content:center; gap:8px; padding:10px 16px; border-radius:12px; border:1px solid transparent; text-decoration:none; cursor:pointer; font-weight:600}
.btn-primary{background:var(--accent); color:white; box-shadow: var(--shadow)}
.btn-primary:hover{filter:brightness(1.05)}
.link{color:var(--text); opacity:.9; text-decoration:none}
.icon-btn{width:40px; height:40px; display:grid; place-items:center; background:transparent; border:1px solid var(--border); border-radius:12px; cursor:pointer}
.icon-btn span{display:block; width:18px; height:2px; background:var(--text); margin:2px 0}

.container{max-width:900px; margin:32px auto; padding:0 16px}
.card{background:var(--card); border:1px solid var(--border); border-radius:18px; padding:24px; box-shadow:var(--shadow)}
.title{margin:2px 0 16px; font-size:24px}

.tabs{display:flex; gap:8px; border-bottom:1px solid var(--border); margin-bottom:12px}
.tab{position:relative; background:transparent; color:var(--muted); border:0; padding:12px 14px; cursor:pointer; font-weight:600}
.tab.active{color:var(--text)}
.tab.active::after{
  content:''; position:absolute; left:10px; right:10px; bottom:-1px; height:3px; border-radius:3px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
}

.panel{display:none}
.panel.active{display:block; animation:fade .22s ease}
@keyframes fade{from{opacity:.5; transform:translateY(2px)} to{opacity:1; transform:none}}

.field{display:block; margin:18px 0}
.field > span{display:block; font-size:14px; color:var(--muted); margin-bottom:8px}
input, select{
  width:100%; background:var(--input); color:var(--text); border:1px solid var(--border); outline:none;
  padding:14px 14px; border-radius:12px; transition:border .15s ease, box-shadow .15s ease;
}
input::placeholder{color:#7e8392}
input:focus, select:focus{border-color:var(--accent); box-shadow:0 0 0 4px rgba(192,91,221,.15)}
.wide{width:100%}
.btn-outline{background:transparent; border-color:var(--accent); color:var(--accent)}

.phone-wrap{display:flex; gap:8px}
.cc-select{max-width:140px}
.footer{opacity:.7; text-align:center; padding:24px}
@media (max-width: 520px){
  .nav .link{display:none}
}
