:root{
  --bg:#0b1120;
  --section:#020617;
  --primary:#22c55e;
  --text:#a5b4fc;
  --white:#eef2ff;
  --glass:rgba(255,255,255,.08);
  --glass-strong:rgba(255,255,255,.12);
  --border:rgba(165,180,252,.18);
  --shadow:0 20px 60px rgba(2,6,23,.18);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter',system-ui,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(34,197,94,.10), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(165,180,252,.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 35%, #e8f1ff 100%);
  min-height:100vh;
  position:relative;
  overflow-x:hidden;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.12;
  background-image:
    radial-gradient(rgba(11,17,32,.18) .7px, transparent .8px);
  background-size:8px 8px;
  mix-blend-mode:multiply;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.site-shell{
  position:relative;
  padding:18px;
}
.glass{
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}
.topbar{
  border-radius:24px;
  padding:12px 18px;
  position:sticky;
  top:14px;
  z-index:50;
}
.navbar-brand{
  color:var(--bg);
  font-weight:800;
  letter-spacing:.04em;
}
.nav-link{
  color:var(--bg)!important;
  font-weight:600;
  opacity:.88;
}
.nav-link:hover,.nav-link.active{color:var(--primary)!important;opacity:1}
.hero-wrap{
  padding:36px 0 20px;
}
.hero-panel{
  border-radius:34px;
  overflow:hidden;
  position:relative;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:22px;
  align-items:stretch;
}
.hero-copy,.hero-side{
  padding:34px;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  color:var(--bg);
  background:rgba(34,197,94,.18);
  border:1px solid rgba(34,197,94,.30);
  font-size:.9rem;
  font-weight:700;
}
.kicker-dot{
  width:8px;height:8px;border-radius:50%;background:var(--primary);
  box-shadow:0 0 0 6px rgba(34,197,94,.12);
}
h1,h2,h3,h4{
  color:var(--bg);
  font-weight:800;
  letter-spacing:-.04em;
}
.hero-title{
  font-size:clamp(2.2rem, 5vw, 4.6rem);
  line-height:.98;
  font-weight:300;
  margin:18px 0 18px;
}
.hero-title strong{font-weight:800}
.hero-text{
  max-width:60ch;
  font-size:1.05rem;
  line-height:1.8;
  color:#364152;
}
.btn-main,.btn-alt{
  border-radius:999px;
  padding:13px 22px;
  font-weight:700;
  transition:.35s ease;
}
.btn-main{
  background:var(--primary);
  color:#08111d;
  border:1px solid rgba(34,197,94,.4);
}
.btn-main:hover{transform:translateY(-2px);background:#1fb457}
.btn-alt{
  background:rgba(255,255,255,.35);
  color:var(--bg);
  border:1px solid var(--border);
}
.btn-alt:hover{transform:translateY(-2px);background:rgba(255,255,255,.5)}
.stat-ribbon{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:24px;
}
.stat-box{
  border-radius:20px;
  padding:16px;
  background:rgba(255,255,255,.28);
  border:1px solid rgba(255,255,255,.3);
}
.stat-box strong{
  display:block;
  color:var(--bg);
  font-size:1.35rem;
}
.hero-side{
  display:grid;
  gap:16px;
}
.stack-card{
  border-radius:24px;
  padding:22px;
  background:
    linear-gradient(180deg, rgba(2,6,23,.92), rgba(11,17,32,.88));
  color:var(--text);
  min-height:160px;
}
.stack-card h3,.stack-card h4{color:#e9edff}
.stack-card.primary-accent{
  background:
    linear-gradient(135deg, rgba(34,197,94,.18), rgba(2,6,23,.94) 45%, rgba(11,17,32,.95));
}
.section-card{
  border-radius:30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.09));
  border:1px solid var(--border);
  overflow:hidden;
}
.content-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:24px;
  margin-top:24px;
}
.about-block{
  padding:28px;
  margin-bottom:24px;
}
.about-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:24px;
  align-items:center;
}
.about-tile{
  background:linear-gradient(180deg, rgba(2,6,23,.92), rgba(11,17,32,.88));
  border-radius:26px;
  padding:26px;
  min-height:220px;
}
.about-tile p,.sidebar-card p,.footer-card p{color:#d6ddff}
.mini-points{
  display:grid;
  gap:12px;
  margin-top:18px;
}
.mini-point{
  display:flex;
  align-items:flex-start;
  gap:12px;
  color:var(--bg);
}
.mini-icon{
  width:36px;height:36px;border-radius:14px;
  display:grid;place-items:center;
  background:rgba(34,197,94,.18);
  color:var(--primary);
  flex:none;
}
.posts-block{
  padding:18px;
}
.posts-heading{
  padding:14px 12px 22px;
}
.posts-list{
  display:grid;
  gap:18px;
}
.post-item{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:18px;
  align-items:stretch;
  border-radius:24px;
  overflow:hidden;
  background:rgba(255,255,255,.2);
  border:1px solid rgba(165,180,252,.16);
  transition:transform .45s ease, box-shadow .45s ease;
  animation:slideUp .8s ease both;
}
.post-item:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(11,17,32,.12);
}
.post-thumb{
  min-height:100%;
  position:relative;
  overflow:hidden;
}
.post-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:contrast(1.05) saturate(1.04);
}
.post-body{
  padding:20px 20px 20px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.post-body h3{
  margin:0 0 10px;
  font-size:1.4rem;
  font-weight:300;
}
.post-body h3 strong{font-weight:800}
.post-body p{
  margin:0 0 16px;
  line-height:1.75;
  color:#44506a;
}
.read-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--primary);
  font-weight:800;
}
.sidebar{
  display:grid;
  gap:20px;
  align-self:start;
  position:sticky;
  top:96px;
}
.sidebar-card{
  padding:24px;
  border-radius:26px;
  background:
    linear-gradient(180deg, rgba(2,6,23,.94), rgba(11,17,32,.9));
}
.sidebar-card h3,.sidebar-card h4{color:#f2f5ff}
.topic-list,.menu-list,.tag-cloud{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.topic-list a,.tag-cloud span,.menu-list a{
  border-radius:999px;
  padding:9px 14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(165,180,252,.14);
  color:#dbe2ff;
  font-size:.93rem;
}
.topic-list a:hover,.menu-list a:hover{background:rgba(34,197,94,.16);color:#fff}
.newsletter{
  display:grid;
  gap:12px;
}
.form-control{
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(165,180,252,.18);
  color:#fff;
  padding:13px 16px;
}
.form-control::placeholder{color:#c4cbff}
.form-control:focus{
  box-shadow:0 0 0 .2rem rgba(34,197,94,.15);
  border-color:rgba(34,197,94,.4);
  background:rgba(255,255,255,.1);
  color:#fff;
}
.footer-wrap{
  margin-top:28px;
}
.footer-card{
  border-radius:34px;
  padding:30px;
  background:
    linear-gradient(180deg, rgba(2,6,23,.96), rgba(11,17,32,.94));
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr .9fr;
  gap:22px;
}
.footer-card a{color:#dce3ff}
.footer-card a:hover{color:var(--primary)}
.footer-note{
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid rgba(165,180,252,.12);
  color:#cbd4ff;
}
.badge-soft{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(34,197,94,.15);
  color:#9ef0bb;
  border:1px solid rgba(34,197,94,.18);
  font-weight:700;
  margin-bottom:12px;
}
.slide-left{animation:slideLeft .85s ease both}
.slide-right{animation:slideRight .85s ease both}
.slide-up{animation:slideUp .9s ease both}
@keyframes slideLeft{
  from{opacity:0;transform:translateX(-32px)}
  to{opacity:1;transform:translateX(0)}
}
@keyframes slideRight{
  from{opacity:0;transform:translateX(32px)}
  to{opacity:1;transform:translateX(0)}
}
@keyframes slideUp{
  from{opacity:0;transform:translateY(26px)}
  to{opacity:1;transform:translateY(0)}
}
@media (max-width:1199.98px){
  .hero-grid,.about-grid,.footer-grid{grid-template-columns:1fr}
  .content-shell{grid-template-columns:1fr}
  .sidebar{position:relative;top:auto}
}
@media (max-width:767.98px){
  .site-shell{padding:12px}
  .hero-copy,.hero-side,.about-block,.posts-block,.footer-card{padding:20px}
  .post-item{grid-template-columns:1fr}
  .post-body{padding:18px}
  .stat-ribbon{grid-template-columns:1fr}
  .topbar{border-radius:20px}
  .hero-panel,.section-card,.footer-card{border-radius:24px}
}
