:root{
  --bg:#0b0f17;
  --card:#101827;
  --text:#e8eefc;
  --muted:#a9b6d3;
  --line:rgba(255,255,255,.08);
  --accent:#7c5cff;
  --accent2:#19c37d;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius:18px;
  --max:1100px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family:var(--font);
  background:linear-gradient(180deg,#070a10 0%, #0b0f17 40%, #070a10 100%);
  color:var(--text)
}

a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px
}

/* NAVBAR */
.navbar{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(7,10,16,.75);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line)
}

.navbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  letter-spacing:.4px
}

.brand-badge{
  width:34px;
  height:34px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--accent),#2dd4bf);
  box-shadow:var(--shadow)
}

.nav-links{
  display:flex;
  gap:18px;
  align-items:center
}

.nav-links a{
  color:var(--muted);
  font-weight:600;
  font-size:14px
}

.nav-links a:hover{color:var(--text)}

.nav-cta{
  padding:10px 14px;
  border-radius:14px;
  background:rgba(124,92,255,.18);
  border:1px solid rgba(124,92,255,.35);
  color:var(--text);
  font-weight:700
}

.nav-cta:hover{background:rgba(124,92,255,.28)}

/* HERO */
.hero{padding:62px 0 28px}

.hero-grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:22px;
  align-items:stretch
}

@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
}

.card{
  background:linear-gradient(180deg, rgba(16,24,39,.92), rgba(16,24,39,.72));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}

.hero-card{padding:28px}

.kicker{
  color:var(--muted);
  font-weight:700;
  font-size:13px;
  letter-spacing:.6px;
  text-transform:uppercase
}

.h1{
  font-size:44px;
  line-height:1.05;
  margin:10px 0 12px
}

@media(max-width:520px){
  .h1{font-size:36px}
}

.p{
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  margin:0
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:16px;
  font-weight:800;
  border:1px solid var(--line);
  cursor:pointer
}

.btn-primary{
  background:linear-gradient(135deg,var(--accent),#4f46e5);
  border-color:rgba(124,92,255,.5)
}

.btn-primary:hover{filter:brightness(1.06)}

.btn-ghost{
  background:rgba(255,255,255,.04)
}

.btn-ghost:hover{
  background:rgba(255,255,255,.07)
}

.badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:16px
}

.badge{
  font-size:12px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03)
}

/* SIDE CARD */
.side-card{padding:18px}

.metric{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  margin-top:10px
}

.metric b{font-size:14px}
.metric span{
  color:var(--muted);
  font-weight:700;
  font-size:12px
}

/* SECTIONS */
.section{padding:26px 0}
.section-title{
  font-size:18px;
  margin:0 0 12px
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px
}

@media (max-width: 900px){
  .grid{grid-template-columns:1fr}
}

.item{padding:16px}
.item h3{
  margin:0 0 8px;
  font-size:16px
}

.item p{
  margin:0;
  color:var(--muted);
  line-height:1.55
}

.item .mini{
  margin-top:12px;
  display:flex;
  gap:8px;
  flex-wrap:wrap
}

.tag{
  font-size:12px;
  padding:7px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  background:rgba(255,255,255,.03)
}

/* BLOG */
.list{
  display:grid;
  grid-template-columns:1fr;
  gap:12px
}

.post{padding:18px}

.post h3{margin:0 0 8px}

.post .meta{
  color:var(--muted);
  font-size:13px;
  margin-bottom:10px
}

hr.line{
  border:none;
  border-top:1px solid var(--line);
  margin:18px 0
}

/* FOOTER */
.footer{
  padding:26px 0;
  border-top:1px solid var(--line);
  color:var(--muted)
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap
}

.small{
  font-size:12px;
  color:var(--muted)
}

/* FORM */
.input, textarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  outline:none
}

textarea{
  min-height:140px;
  resize:vertical
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}

@media (max-width: 700px){
  .form-row{grid-template-columns:1fr}
}