:root{
  --bg:#0b1220;
  --card:#121a2b;
  --soft:#1a2440;
  --text:#eef3ff;
  --muted:#98a3b8;
  --primary:#4dd4c6;
  --accent:#6aa9ff;
  --danger:#ff6b6b;
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:14px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:linear-gradient(180deg,#0b1220,#0d1426);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial,sans-serif;line-height:1.6}
img{display:block;max-width:100%;border-radius:12px}
a{color:var(--primary);text-decoration:none}
a:hover{color:var(--accent)}
h1,h2,h3,h4{margin:0 0 .6rem}
p{margin:.4rem 0 1rem}
.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:14px 22px;background:rgba(10,16,30,.7);backdrop-filter:saturate(150%) blur(8px);border-bottom:1px solid rgba(255,255,255,.06)}
.logo{display:flex;align-items:center;gap:10px;color:#fff}
.logo img{width:40px;height:40px;border-radius:50%;box-shadow:var(--shadow);object-fit:cover}
.navbar a{margin:0 10px;padding:8px 12px;border-radius:10px;color:#d7e2ff}
.navbar a.active,.navbar a:hover{background:linear-gradient(180deg,rgba(77,212,198,.15),rgba(106,169,255,.12));color:#fff}
.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;padding:38px 24px;max-width:1180px;margin:0 auto}
.hero img{height:420px;width:100%;object-fit:cover;box-shadow:var(--shadow)}
.hero-text{display:flex;flex-direction:column;justify-content:center}
.cta-group{display:flex;gap:12px;margin-top:16px}
.btn{border:none;border-radius:12px;padding:10px 16px;cursor:pointer;transition:.2s;display:inline-block}
.btn.primary{background:linear-gradient(90deg,var(--primary),var(--accent));color:#001016;font-weight:600}
.btn.ghost{background:transparent;border:1px solid rgba(255,255,255,.18);color:#d7e2ff}
.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow)}
.features{max-width:1180px;margin:10px auto 24px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:0 24px}
.card{background:var(--card);border:1px solid rgba(255,255,255,.06);padding:16px;border-radius:var(--radius);box-shadow:var(--shadow)}
.card .icon{color:var(--primary);margin-bottom:8px}
.highlight-post{max-width:1180px;margin:6px auto 36px;padding:0 24px}
.post-card{display:grid;grid-template-columns:160px 1fr;gap:16px;background:var(--card);padding:12px;border-radius:var(--radius);border:1px solid rgba(255,255,255,.06)}
.post-card .meta{color:var(--muted);font-size:.9rem}
.more-links{margin-top:12px;display:flex;flex-wrap:wrap;gap:10px}
.more-links.compact ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.page-hero{max-width:960px;margin:18px auto;padding:0 24px}
.blog-list{max-width:960px;margin:0 auto;padding:0 24px}
.post{max-width:880px;margin:0 auto;padding:16px 24px;display:grid;grid-template-columns:1fr 300px;gap:24px}
.post article{background:var(--card);padding:18px;border-radius:var(--radius);border:1px solid rgba(255,255,255,.06)}
.post .post-cover{margin:12px 0;max-height:380px;width:100%;object-fit:cover}
.post-aside{background:var(--soft);padding:16px;border-radius:var(--radius);height:fit-content;border:1px solid rgba(255,255,255,.06)}
.summary{max-width:960px;margin:24px auto;padding:16px 24px;background:linear-gradient(180deg,rgba(77,212,198,.1),rgba(106,169,255,.1));border:1px solid rgba(255,255,255,.08);border-radius:var(--radius)}
.pretty-url{margin-top:10px;color:var(--muted);font-size:.9rem}
.contact-grid{max-width:960px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.contact-card{background:var(--card);padding:16px;border-radius:var(--radius);border:1px solid rgba(255,255,255,.06)}
.icon.big{color:var(--primary)}
.contact-form-section{max-width:760px;margin:16px auto 0;padding:0 24px}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.form-field{display:flex;flex-direction:column}
.form-field.full{grid-column:1/-1}
input,textarea{background:#0f1730;border:1px solid rgba(255,255,255,.08);color:var(--text);padding:10px;border-radius:10px}
.site-footer{margin-top:28px;border-top:1px solid rgba(255,255,255,.08);background:#0a1122}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;max-width:1180px;margin:0 auto;padding:22px 24px}
.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.legal{text-align:center;color:var(--muted);padding:10px 0;border-top:1px solid rgba(255,255,255,.06)}
.socials{display:flex;gap:10px;margin-top:8px}
.cookie-banner{position:fixed;left:12px;right:12px;bottom:12px;background:var(--card);border:1px solid rgba(255,255,255,.1);border-radius:14px;box-shadow:var(--shadow);padding:12px;display:none}
.cookie-content{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cookie-text p{color:var(--muted);margin:.2rem 0 0}
.cookie-actions{display:flex;gap:8px}
.cookie-modal{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;align-items:center;justify-content:center;padding:18px}
.cookie-modal-content{background:var(--card);border:1px solid rgba(255,255,255,.1);border-radius:14px;box-shadow:var(--shadow);padding:18px;max-width:420px;width:100%}
.switch{display:flex;align-items:center;gap:10px;margin:8px 0}
.switch input{display:none}
.switch span{width:42px;height:24px;background:#22304f;display:inline-block;border-radius:24px;position:relative}
.switch span::after{content:"";width:18px;height:18px;position:absolute;top:3px;left:4px;border-radius:50%;background:#a5b3cf;transition:.2s}
.switch input:checked + span{background:linear-gradient(90deg,var(--primary),var(--accent))}
.switch input:checked + span::after{left:20px;background:#001016}
.cookie-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.thankyou-modal{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;align-items:center;justify-content:center;padding:18px}
.thankyou-modal-content{background:var(--card);border:1px solid rgba(255,255,255,.1);border-radius:14px;box-shadow:var(--shadow);padding:18px;max-width:420px;width:100%;text-align:center}
.team-grid{max-width:1180px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.team-card{background:var(--card);padding:12px;border-radius:14px;border:1px solid rgba(255,255,255,.06);text-align:center}
@media (max-width:1000px){
  .hero{grid-template-columns:1fr}
  .post{grid-template-columns:1fr}
  .features{grid-template-columns:1fr 1fr}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .features{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .cookie-content{flex-direction:column;align-items:flex-start}
}
