
:root{
  --bg:#0b1220;
  --surface:#0f1b33;
  --card:#111f3d;
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.72);
  --brand:#7c3aed;
  --brand2:#22c55e;
  --border:rgba(234,240,255,.12);
  --shadow: 0 12px 30px rgba(0,0,0,.25);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 20% -10%, rgba(124,58,237,.35), transparent 60%),
              radial-gradient(900px 500px at 85% 10%, rgba(34,197,94,.25), transparent 55%),
              linear-gradient(180deg, #070b14 0%, #0b1220 45%, #070b14 100%);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
.container{width:min(1120px, 92vw); margin:0 auto}
.nav{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(7,11,20,.6);
  border-bottom:1px solid var(--border);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0}
.brand{display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.2px}
.brand img{width:36px; height:36px; border-radius:10px; box-shadow:0 8px 18px rgba(0,0,0,.25)}
.nav-links{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.nav-links a{padding:8px 10px; border-radius:10px; color:var(--muted)}
.nav-links a:hover{background:rgba(234,240,255,.06); color:var(--text)}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(234,240,255,.06);
  color:var(--text);
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
}
.btn:hover{transform: translateY(-1px); background: rgba(234,240,255,.09)}
.btn-primary{
  background: linear-gradient(135deg, rgba(124,58,237,.95), rgba(34,197,94,.85));
  border: 1px solid rgba(255,255,255,.18);
}
.btn-primary:hover{filter: brightness(1.05)}
.hero{padding:64px 0 24px}
.hero-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:26px; align-items:center}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  border:1px solid var(--border);
  background:rgba(234,240,255,.06);
  color:var(--muted);
  font-size:13px;
}
h1{font-size: clamp(32px, 4vw, 48px); line-height:1.05; margin:14px 0 12px}
.lead{color:var(--muted); font-size: 16.5px; line-height:1.65; margin:0 0 18px}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px}
.hero-card{
  border:1px solid var(--border);
  background: rgba(234,240,255,.04);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-card img{width:100%; height:auto; display:block}
.section{padding:44px 0}
.section h2{font-size: 22px; margin:0 0 14px}
.section p{color:var(--muted); margin:0 0 14px; line-height:1.65}
.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.card{
  border:1px solid var(--border);
  background: rgba(234,240,255,.04);
  border-radius: 18px;
  padding:16px;
  box-shadow: var(--shadow);
}
.card h3{margin:0 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:14px; line-height:1.5}
.kv{display:flex; gap:10px; align-items:flex-start}
.kv .dot{
  width:10px; height:10px; border-radius:999px; margin-top:6px;
  background: linear-gradient(135deg, rgba(124,58,237,1), rgba(34,197,94,1));
}
.gallery{display:grid; grid-template-columns: repeat(5, 1fr); gap:10px}
.thumb{
  border:1px solid var(--border);
  border-radius: 16px;
  overflow:hidden;
  background: rgba(234,240,255,.03);
  cursor:pointer;
}
.thumb img{width:100%; height:240px; object-fit:cover; display:block}
.footer{
  margin-top: 32px;
  padding:28px 0 34px;
  border-top:1px solid var(--border);
  color:var(--muted);
}
.footer a{color:var(--text); text-decoration:underline}
.split{display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; align-items:center}
.small{font-size:13px; color:var(--muted)}
/* Lightbox */
#lightbox{
  position:fixed; inset:0; display:none; place-items:center;
  background: rgba(0,0,0,.72);
  z-index:50;
  padding:22px;
}
#lightbox.open{display:grid}
#lightbox .frame{
  width:min(420px, 92vw);
  border-radius: 22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  background:#000;
}
#lightbox img{width:100%; height:auto; display:block}
#lightbox .bar{
  display:flex; justify-content:space-between; align-items:center;
  gap:10px; padding:12px 14px; background: rgba(7,11,20,.85); color:var(--text);
  border-top:1px solid rgba(255,255,255,.12);
}
#lightbox button{
  border:1px solid rgba(255,255,255,.18);
  background: rgba(234,240,255,.08);
  color:var(--text);
  padding:8px 10px;
  border-radius:12px;
  cursor:pointer;
}
#lightbox button:hover{background: rgba(234,240,255,.12)}
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr; }
  .grid-3{grid-template-columns: 1fr}
  .gallery{grid-template-columns: repeat(2, 1fr)}
  .thumb img{height:260px}
}
