@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root{
  --bg:#0f1220;
  --card:#171a2b;
  --muted:#a6b0cf;
  --text:#e8ecff;
  --accent:#61e1b5;
  --primary:#7aa2ff;
  --primary-2:#9bb6ff;
  --border:#232744;
  --danger:#ff6b6b;
  --shadow: 0 10px 30px rgba(0,0,0,.35), 0 2px 10px rgba(0,0,0,.2);
  --radius:16px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background: radial-gradient(1200px 600px at 20% -10%, #1a1f35 0%, #0f1220 40%) no-repeat, var(--bg);
  color:var(--text);
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height:1.6;
}

img{max-width:100%;display:block;border-radius:12px}
a{color:var(--primary);text-decoration:none}
a:hover{color:#fff}

.site-header{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 20px;border-bottom:1px solid var(--border);
  background:rgba(15,18,32,.7);backdrop-filter:blur(8px)
}
.brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:700}
.logo{border-radius:10px;border:1px solid var(--border)}
.navbar ul{display:flex;gap:14px;list-style:none;margin:0;padding:0}
.navbar a{padding:10px 14px;border-radius:999px;background:transparent;color:var(--muted);transition:.2s}
.navbar a:hover,.navbar a.active{background:linear-gradient(135deg, #232744 0%, #1a1f35 100%);color:#fff}
.nav-toggle{display:none;background:transparent;border:0;color:#fff}
.nav-toggle span{display:block;width:24px;height:2px;background:#fff;margin:5px 0;border-radius:2px}

.social a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#1a1f35;border:1px solid var(--border);transition:.2s}
.social a svg{width:18px;height:18px;fill:#a6b0cf}
.social a:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.social a:hover svg{fill:#fff}

.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;align-items:stretch;padding:36px 20px 12px;max-width:1200px;margin:0 auto}
.hero.slim{grid-template-columns:1fr}
.hero-img{width:100%;height:360px;object-fit:cover;border:1px solid var(--border)}
.hero-content{display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(180deg, rgba(122,162,255,.08), rgba(15,18,32,.4))}
.hero h1{margin:0;font-size:38px;line-height:1.15}
.subtitle{color:var(--muted)}
.hero-list{margin:4px 0 0 16px}
.cta-row{display:flex;gap:10px;flex-wrap:wrap}

.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;max-width:1200px;margin:24px auto;padding:0 20px}
.card{background:linear-gradient(180deg, rgba(23,26,43,.8), rgba(17,20,37,.6));border:1px solid var(--border);border-radius:var(--radius);padding:14px;box-shadow:var(--shadow)}
.card h3{margin:10px 0 6px}

.info-panels{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:1200px;margin:8px auto 40px;padding:0 20px}
.panel{background:linear-gradient(180deg, rgba(23,26,43,.7), rgba(17,20,37,.5));border:1px solid var(--border);border-radius:var(--radius);padding:18px}

.blog-main{max-width:1100px;margin:0 auto;padding:0 20px}
.blog-feature{margin:20px 0}
.post-card{display:grid;grid-template-columns:1fr 1.2fr;gap:18px;background:linear-gradient(180deg, rgba(23,26,43,.8), rgba(17,20,37,.6));border:1px solid var(--border);border-radius:var(--radius);padding:14px;box-shadow:var(--shadow)}
.post-card.large img{height:280px;object-fit:cover}
.post-body h2{margin:0 0 8px}
.more-posts{margin:18px 0 36px;background:linear-gradient(180deg, rgba(23,26,43,.5), rgba(17,20,37,.4));border:1px solid var(--border);border-radius:var(--radius);padding:18px}
.post-links{list-style:none;padding:0;margin:10px 0 0}
.post-links li{padding:8px 0;border-bottom:1px dashed var(--border)}
.post-links li:last-child{border-bottom:0}

.post-main{max-width:900px;margin:0 auto;padding:0 20px}
.post-article{background:linear-gradient(180deg, rgba(23,26,43,.7), rgba(17,20,37,.5));border:1px solid var(--border);border-radius:var(--radius);padding:18px;margin:24px 0}
.post-cover{height:320px;object-fit:cover;border:1px solid var(--border)}
.post-meta{display:flex;gap:16px;list-style:none;padding:0;margin:10px 0;color:var(--muted)}

.about-values{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:1100px;margin:20px auto;padding:0 20px}
.team-grid{display:grid;grid-template-columns:repeat(5, minmax(180px,1fr));gap:14px;max-width:1200px;margin:10px auto 40px;padding:0 20px}
.team-card{background:linear-gradient(180deg, rgba(23,26,43,.8), rgba(17,20,37,.65));border:1px solid var(--border);border-radius:var(--radius);padding:12px;text-align:center}

.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:1100px;margin:24px auto;padding:0 20px}
.contact-card{background:linear-gradient(180deg, rgba(23,26,43,.7), rgba(17,20,37,.5));border:1px solid var(--border);border-radius:var(--radius);padding:18px}
.contact-list{list-style:none;margin:0;padding:0}
.icon{display:inline-flex;width:22px;height:22px;vertical-align:middle;margin-right:6px}
.icon svg{fill:var(--primary)}

.form{display:flex;flex-direction:column;gap:10px}
.form input,.form textarea,.form select{
  width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--border);background:#121527;color:#fff;outline:0
}
.form input:focus,.form textarea:focus,.form select:focus{border-color:var(--primary)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:10px 16px;border:1px solid var(--border);color:#fff;cursor:pointer;transition:.2s;background:#1a1f35}
.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow)}
.btn.primary{background:linear-gradient(135deg, var(--primary), var(--primary-2));color:#0b0d18}
.btn.ghost{background:transparent;color:#cbd6ff;border-color:#39406a}
.btn.accent{background:linear-gradient(135deg, var(--accent), #53cda1);color:#083026}
.btn.small{padding:8px 12px;font-size:14px}

.site-footer{border-top:1px solid var(--border);padding:24px 20px;background:rgba(15,18,32,.85);margin-top:30px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:16px;max-width:1200px;margin:0 auto}
.footer-links{list-style:none;padding:0;margin:8px 0 0}
.footer-links a{color:#cbd6ff}
.footer-links a:hover{color:#fff}
.footer-social a{margin-right:8px}
.copyright{text-align:center;color:var(--muted);margin-top:16px}

.cookie-banner{
  position:fixed;left:20px;right:20px;bottom:20px;z-index:60;display:none
}
.cookie-banner.show{display:block}
.cookie-content{background:linear-gradient(180deg, rgba(23,26,43,.95), rgba(17,20,37,.95));border:1px solid var(--border);border-radius:16px;padding:14px;box-shadow:var(--shadow)}
.cookie-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cookie-buttons{display:flex;gap:8px;flex-wrap:wrap}
.link{color:var(--primary)}

.modal{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:70}
.modal.show{display:flex}
.modal-dialog{width:min(520px,92vw);background:#0f1220;border:1px solid var(--border);border-radius:16px;padding:16px;box-shadow:var(--shadow)}
.modal-close{position:absolute;margin-left:calc(min(520px,92vw) - 34px);background:#1a1f35;border:1px solid var(--border);width:32px;height:32px;border-radius:50%;color:#fff;cursor:pointer}

.toast{position:fixed;right:16px;bottom:16px;background:#0f1220;border:1px solid var(--border);border-radius:12px;padding:10px 14px;box-shadow:var(--shadow);display:none}
.toast.show{display:block}

@media (max-width: 980px){
  .cards{grid-template-columns:repeat(2,1fr)}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1.5fr 1fr 1fr}
}
@media (max-width: 720px){
  .hero{grid-template-columns:1fr}
  .post-card{grid-template-columns:1fr}
  .contact-grid,.about-values{grid-template-columns:1fr}
  .navbar{display:none;position:absolute;top:58px;right:10px;background:#0f1220;border:1px solid var(--border);border-radius:12px;padding:8px}
  .navbar ul{flex-direction:column}
  .nav-toggle{display:block}
}
