:root{
  --bg:#0c0c12;
  --card:#141423;
  --muted:#777a8c;
  --text:#f2f4ff;
  --primary:#6a5af9;
  --accent:#ff9d4d;
  --border:#24243a;
  --success:#19c37d;
  --danger:#ff5c5c;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:1.6}
img{display:block;max-width:100%;height:auto;border-radius:12px}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

/* Layout */
.container{width:min(1100px,92%);margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(12,12,18,.7);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;gap:10px;align-items:center;color:var(--text);font-weight:700;letter-spacing:.4px}
.brand img{border-radius:8px}
.navbar .nav-links{display:flex;gap:18px;list-style:none;margin:0;padding:0}
.navbar a{color:var(--text);padding:8px 12px;border-radius:8px}
.navbar a.active,.navbar a:hover{background:linear-gradient(135deg,rgba(106,90,249,.15),rgba(255,157,77,.15));text-decoration:none}

.nav-toggle{display:none;flex-direction:column;gap:4px;background:none;border:none;color:var(--text);cursor:pointer}
.nav-toggle span{width:22px;height:2px;background:var(--text);display:block;border-radius:2px}

.social{display:flex;gap:10px}
.icon{display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}
.icon:hover{color:var(--text)}

/* Hero */
.hero{padding:40px 0 10px;background:radial-gradient(1000px 400px at 0% -10%, rgba(106,90,249,.25), transparent),radial-gradient(800px 300px at 110% 0%, rgba(255,157,77,.15), transparent)}
.hero-inner{display:grid;grid-template-columns:1.2fr .9fr;gap:28px;align-items:center}
.hero h1{font-size:clamp(28px,4vw,44px);margin:0 0 8px}
.hero p{color:var(--muted);margin:0 0 18px}

.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:10px;border:1px solid transparent;font-weight:600;cursor:pointer;transition:.2s box-shadow,.2s transform}
.btn:hover{box-shadow:var(--shadow);transform:translateY(-1px)}
.btn-primary{background:linear-gradient(135deg,var(--primary),#9b8aff);color:#fff}
.btn-outline{border-color:var(--border);color:var(--text);background:transparent}
.btn-ghost{background:transparent;border:1px dashed var(--border);color:var(--muted)}
.btn-link{color:#fff;font-weight:700}
.btn-link:hover{text-decoration:underline}

.countdown-section{padding:20px 0 30px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.countdown{display:flex;gap:16px}
.countdown div{background:var(--card);padding:12px 16px;border:1px solid var(--border);border-radius:12px;text-align:center;min-width:80px}
.countdown.small div{min-width:56px;padding:8px 10px}
.countdown span{display:block;font-size:26px;font-weight:800}
.countdown small{color:var(--muted);text-transform:uppercase;letter-spacing:1px}

.future-quote{padding:30px 0}
.future-quote blockquote{margin:0;background:var(--card);border:1px solid var(--border);padding:18px 20px;border-radius:12px;font-size:18px}

.highlights{padding:20px 0 40px}
.grid{display:grid;gap:18px;grid-template-columns:repeat(3,1fr)}
.card{background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.card-body{padding:14px}
.card h3{margin:0 0 6px}
.strip{background:linear-gradient(135deg,rgba(106,90,249,.2),rgba(255,157,77,.15));border:1px solid var(--border);border-radius:14px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:16px}

/* Blog */
.blog-layout{display:grid;grid-template-columns:1.4fr .6fr;gap:26px;padding:26px 0}
.post-featured{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:16px}
.post-featured .post-cover{margin:10px 0 12px}
.meta{color:var(--muted);font-size:14px}
.sidebar .widget{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:14px;margin-bottom:16px}
.post-list{list-style:none;padding:0;margin:0}
.post-list li{margin:8px 0}

/* Post */
.post{padding:26px 0}
.post article{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:16px}
.post .post-cover{margin:12px 0 10px}

/* About */
.about .about-intro{padding:20px 0}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:10px 0 30px}
.team-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:14px;text-align:center}
.team-card img{object-fit:cover;width:100%;height:auto;aspect-ratio:1/1}

/* Contact */
.contact{padding:26px 0 40px;display:grid;grid-template-columns:.9fr 1.1fr;gap:24px}
.contact-form form{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:16px}
.form-row{display:flex;flex-direction:column;margin:10px 0}
label{font-weight:600;margin:0 0 6px}
input,textarea{background:#0f0f1a;border:1px solid var(--border);color:var(--text);padding:10px;border-radius:10px}
input:focus,textarea:focus{outline:2px solid rgba(106,90,249,.4);border-color:var(--primary)}

/* Footer */
.site-footer{margin-top:30px;border-top:1px solid var(--border);background:#0b0b13}
.footer-grid{display:grid;grid-template-columns:1.1fr .6fr .6fr;gap:18px;padding:20px 0}
.footer-links{list-style:none;margin:0;padding:0}
.footer-links a{color:var(--muted)}
.footer-links a:hover{color:var(--text)}
.brand-footer{margin-bottom:8px}

/* Cookie banner */
.cookie-banner{position:fixed;left:0;right:0;bottom:0;background:rgba(20,20,35,.98);border-top:1px solid var(--border);padding:14px;display:none;z-index:80}
.cookie-content{display:flex;flex-direction:column;gap:10px}
.cookie-actions{display:flex;gap:8px;flex-wrap:wrap}
.cookie-link a{color:var(--accent)}
.cookie-panel{display:none;background:#0f0f1a;border:1px solid var(--border);border-radius:10px;padding:10px}
.cookie-panel-actions{text-align:right;margin-top:8px}
.cookie-banner.open{display:block}
.cookie-panel.open{display:block}
.cookie-close{position:absolute;right:10px;top:8px;background:transparent;border:none;color:var(--muted);font-size:22px;cursor:pointer}

/* Modal */
.modal{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:90}
.modal .modal-content{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:18px;width:min(520px,92%)}
.modal .modal-close{position:absolute;top:10px;right:12px;background:transparent;border:none;font-size:22px;color:var(--muted);cursor:pointer}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(2,1fr)}
  .blog-layout{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .team-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 640px){
  .grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .navbar .nav-links{position:absolute;right:4%;top:62px;background:#0d0d18;border:1px solid var(--border);border-radius:12px;padding:10px;display:none;flex-direction:column;gap:10px;width:220px}
  .navbar .nav-links.open{display:flex}
  .nav-toggle{display:flex}
}
