:root{
  --bg:#070b0c;
  --card:#0c1112cc;
  --stroke:#183129;
  --text:#e9f2ef;
  --muted:#a9b7b1;
  --accent:#66d1a8;
  --shadow: 0 16px 60px rgba(0,0,0,.45);
  --r: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1100px 600px at 18% 10%, rgba(102,209,168,.10), transparent 60%),
              radial-gradient(900px 520px at 82% 22%, rgba(102,209,168,.08), transparent 55%),
              var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
.container{max-width:1100px; margin:0 auto; padding:0 18px}

.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(8,12,12,.70);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{display:flex; align-items:center; gap:12px; min-width:0}
.brand__logo{
  width:44px; height:44px; border-radius:12px;
  object-fit:cover;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.08);
}
.brand__text{min-width:0}
.brand__name{font-weight:700; letter-spacing:.2px}
.brand__sub{font-size:12px; color:var(--muted); margin-top:2px}

.nav{display:flex; gap:14px; align-items:center}
.nav__link{font-size:13px; color:var(--muted)}
.nav__link:hover{color:var(--text)}

.page{padding-bottom:48px}

.hero{padding:34px 0 12px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:start;
}

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

.pill{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color:var(--muted);
  font-size:12px;
}

.hero__title{
  margin:14px 0 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height:1.08;
  letter-spacing:-.5px;
}
.accent{color:var(--accent)}
.hero__desc{
  margin:0;
  color:var(--muted);
  font-size: 15px;
  line-height:1.6;
  min-height: 54px;
}
.cursor{
  color: var(--accent);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink{50%{opacity:0}}

.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:600;
  font-size:13px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(102,209,168,.38)}
.btn--primary{
  background: rgba(102,209,168,.16);
  border-color: rgba(102,209,168,.38);
}
.btn--ghost{color:var(--text)}

.hero__meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:16px;
}
@media (max-width: 520px){
  .hero__meta{grid-template-columns:1fr}
}

.metaCard{
  padding:12px 14px;
  border-radius: var(--r);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.metaCard__k{font-size:12px; color:var(--muted)}
.metaCard__v{margin-top:6px; font-size:13px; line-height:1.35}

.card{
  border-radius: calc(var(--r) + 6px);
  border:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card__head{
  padding:14px 14px 10px;
  display:flex; justify-content:space-between; align-items:baseline;
  gap:12px;
}
.card__title{font-weight:700}
.card__hint{font-size:12px; color:var(--muted)}

.videoWrap{
  padding: 0 14px 14px;
}
.video{
  width:100%;
  height:auto;
  display:block;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background:#000;
}

.section{padding:28px 0}
.section__head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.section__title{margin:0; font-size:20px}
.section__sub{margin:0; color:var(--muted); font-size:13px; max-width:60ch}

@media (max-width: 720px){
  .section__head{flex-direction:column; align-items:start}
}

.slidesGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
@media (max-width: 980px){ .slidesGrid{grid-template-columns: repeat(3, 1fr);} }
@media (max-width: 680px){ .slidesGrid{grid-template-columns: repeat(2, 1fr);} }

.slideThumb{
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  overflow:hidden;
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.slideThumb:hover{transform: translateY(-2px); border-color: rgba(102,209,168,.32)}
.slideThumb img{width:100%; height:auto; display:block}

.pdfActions{display:flex; gap:10px; flex-wrap:wrap}

.footer{
  padding:22px 0;
  border-top:1px solid rgba(255,255,255,.06);
  color:var(--muted);
}
.footer__inner{display:flex; justify-content:space-between; align-items:center; gap:12px}
@media (max-width: 640px){ .footer__inner{flex-direction:column; align-items:flex-start} }

/* Lightbox */
.lightbox{position:fixed; inset:0; display:none; z-index:100}
.lightbox[aria-hidden="false"]{display:block}
.lightbox__bg{position:absolute; inset:0; background: rgba(0,0,0,.65)}
.lightbox__panel{
  position:relative;
  max-width: 1050px;
  margin: 5vh auto;
  width: calc(100% - 26px);
  background: rgba(10,14,14,.92);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.lightbox__img{width:100%; height:auto; display:block}
.lightbox__caption{
  padding:12px 14px;
  font-size:13px;
  color:var(--muted);
  border-top:1px solid rgba(255,255,255,.06);
}

.iconBtn{
  position:absolute; top:10px;
  width:40px; height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color:var(--text);
  cursor:pointer;
}
.iconBtn:hover{border-color: rgba(102,209,168,.35)}
.iconBtn--left{left:10px; top:50%; transform: translateY(-50%)}
.iconBtn--right{right:10px; top:50%; transform: translateY(-50%)}
.iconBtn[data-close]{right:10px}
