:root{
  --bg:#0b1020;
  --panel:#111a33;
  --panel2:#0f1730;
  --text:#e8eeff;
  --muted:#a9b5d6;
  --brand:#7c5cff;
  --brand2:#2ee1ff;
  --border:rgba(255,255,255,.12);
  --shadow:0 18px 60px rgba(0,0,0,.45);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:
    radial-gradient(1200px 800px at 20% -10%, rgba(124,92,255,.22), transparent 65%),
    radial-gradient(1000px 700px at 90% 0%, rgba(46,225,255,.18), transparent 60%),
    linear-gradient(180deg, var(--bg), #070a14);
  color:var(--text);
  line-height:1.45;
}

a{color:inherit; text-decoration:none}
.wrap{max-width:1100px; margin:0 auto; padding:0 20px}

.top{
  position:sticky; top:0; z-index:10;
  background:rgba(7,10,20,.55);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.top .wrap{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 20px}
.banner{border-bottom:1px solid var(--border); background:rgba(255,255,255,.03)}
.banner .wrap{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 20px; color:var(--muted)}
.logo{font-weight:700; letter-spacing:.2px}
.menu{display:flex; align-items:center; gap:14px}
.menu a{color:var(--muted)}
.menu a:hover{color:var(--text)}
.pill{
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--text);
}
.menu-btn{
  display:none;
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
  border-radius:10px;
  padding:9px 10px;
}

.hero{padding:64px 0 34px}
.hero-grid{display:grid; grid-template-columns:1.15fr .85fr; gap:26px; align-items:stretch}
.avatar{width:86px; height:86px; border-radius:999px; border:1px solid var(--border); object-fit:cover; margin:0 0 14px}
.kicker{color:var(--muted); margin:0 0 10px}
.hero h1{font-size:44px; line-height:1.08; margin:0 0 14px}
.lead{color:var(--muted); font-size:16px; margin:0 0 18px; max-width:62ch}
.cta{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 12px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius:12px;
  background:linear-gradient(135deg, var(--brand), #4ea0ff);
  color:white;
  border:0;
  cursor:pointer;
  box-shadow:0 14px 40px rgba(124,92,255,.25);
}
.btn.secondary{
  background:transparent;
  border:1px solid var(--border);
  box-shadow:none;
}

.social{display:flex; gap:12px; flex-wrap:wrap; margin-top:10px}
.social a{color:var(--muted); border-bottom:1px dashed rgba(255,255,255,.25)}
.social a:hover{color:var(--text)}

.hero-card{
  position:relative;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  overflow:hidden;
  box-shadow:var(--shadow);
}
.glow{
  position:absolute; inset:-40%;
  background:radial-gradient(circle at 40% 40%, rgba(124,92,255,.35), transparent 50%),
             radial-gradient(circle at 70% 40%, rgba(46,225,255,.25), transparent 45%);
  filter:blur(30px);
}
.hero-card-inner{position:relative; padding:22px; display:flex; flex-direction:column; gap:18px; height:100%}
.chip{display:inline-flex; width:max-content; padding:8px 10px; border-radius:999px; background:rgba(255,255,255,.06); border:1px solid var(--border); color:var(--muted)}
.stats{display:grid; gap:14px}
.stat{display:flex; flex-direction:column; gap:6px}
.stat span{color:var(--muted); font-size:13px}
.stat strong{font-size:16px}

.section{padding:40px 0}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:18px}
.section-head h2{margin:0; font-size:22px}
.section-head p{margin:0; color:var(--muted)}
.content{background:rgba(255,255,255,.03); border:1px solid var(--border); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow)}
.muted{color:var(--muted)}

.cards{display:grid; grid-template-columns:repeat(3, 1fr); gap:14px}
.card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .2s ease;
  min-height: 280px;
}
.card:hover { border-color: rgba(255,255,255,.2); transform: translateY(-2px); }
.card .cover { width: 100%; height: 160px; object-fit: cover; border-bottom: 1px solid var(--border); }
.card .no-image { 
  width: 100%; 
  height: 160px; 
  background: linear-gradient(45deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
.card-top { padding: 18px 18px 12px; }
.card-top h3 { margin: 0; font-size: 16px; }
.tags{margin:6px 0 0; color:var(--muted); font-size:12px}
.desc{margin:0; color:var(--muted); padding: 0 18px 18px; flex: 1;}
.card-actions{display:flex; gap:16px; align-items:center; padding: 0 18px 18px;}
.btn-demo {
  background: var(--brand);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: .2s ease;
}
.btn-demo:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.card-actions .link{color:var(--muted); border-bottom:1px solid rgba(255,255,255,.15); font-size:13px}
.card-actions .link:hover{color:var(--text); border-bottom-color: var(--text)}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}
.contact-info { display: grid; gap: 12px; }
.contact-item {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  transition: .2s ease;
}
.contact-item:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
.contact-item span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item strong { font-size: 16px; font-weight: 500; }

.contact-form {
  background: rgba(255, 255, 255, .02);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

.footer{border-top:1px solid var(--border); padding:18px 0; color:var(--muted)}
.footer .wrap{display:flex; justify-content:space-between; align-items:center; gap:14px}

.auth{display:grid; place-items:center; padding:34px 16px}
.auth-card{
  width:min(520px, 100%);
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:rgba(255,255,255,.03);
  box-shadow:var(--shadow);
  padding:18px;
}
.auth-header h1{margin:0 0 6px}
.auth-header p{margin:0 0 16px; color:var(--muted)}
.form{display:grid; gap:12px}
label{display:grid; gap:6px}
label span{color:var(--muted); font-size:13px}
input,textarea{
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}
textarea{resize:vertical}
.alert{
  border-radius:12px;
  padding:12px 16px;
  margin:0 0 20px;
  font-size:14px;
}
.alert.error {
  background:rgba(255,78,120,.12);
  border:1px solid rgba(255,78,120,.35);
  color:#ff4e78;
}
.alert.success {
  background:rgba(46,213,115,.12);
  border:1px solid rgba(46,213,115,.35);
  color:#2ed573;
}
.link{color:var(--muted)}
.link:hover{color:var(--text)}

@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2, 1fr)}
}

@media (max-width: 720px){
  .menu{display:none}
  .menu.open{display:flex; position:absolute; right:20px; top:56px; flex-direction:column; background:rgba(7,10,20,.92); border:1px solid var(--border); padding:12px; border-radius:14px; width:min(260px, calc(100vw - 40px))}
  .menu-btn{display:inline-flex}
  .cards{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .hero h1{font-size:34px}
}

