/* Sky-Tech v2 Dark Glass UI/UX (single-source design system)
   Keep pages clean: use .container, .grid, .vcard, .btn and small media cards.
*/
:root{
  --bg0:#070b16;
  --bg1:#0b1430;
  --glass:rgba(255,255,255,.08);
  --glass2:rgba(255,255,255,.05);
  --stroke:rgba(255,255,255,.14);
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.75);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --r:18px;
  --accent1:#38bdf8;
  --accent2:#2563eb;
  --accent3:#10b981;
  --accent4:#f59e0b;
  --accent5:#a78bfa;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(800px 500px at 85% 15%, rgba(167,139,250,.16), transparent 60%),
    radial-gradient(700px 500px at 50% 90%, rgba(16,185,129,.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  color:var(--text);
  overflow-x:hidden;
  padding-top:76px; /* fixed header offset */
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.95; text-decoration:underline}
img{max-width:100%; height:auto; display:block}

/* Layout */
.container{max-width:1180px; margin:0 auto; padding: 24px 20px}
.section{padding: 26px 0}
.grid{display:grid; gap:20px}
.grid-2{grid-template-columns: repeat(2, minmax(0,1fr))}
.grid-3{grid-template-columns: repeat(3, minmax(0,1fr))}
@media (max-width: 980px){
  .grid-2,.grid-3{grid-template-columns:1fr}
}

/* Glass header */
.site-header{
  position:fixed; top:0; left:0; right:0;
  height:64px;
  z-index:999;
  background: rgba(4,8,18,.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav-container{
  height:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 190px;
}
.brand img{width:38px; height:auto; border-radius:10px}
.brand .name{font-weight:700; letter-spacing:.2px}
.nav{
  display:flex; flex-wrap:wrap; align-items:center;
  gap:18px;
}
.nav a{
  font-size:14px;
  opacity:.9;
  padding:8px 10px;
  border-radius:12px;
}
.nav a.active, .nav a:hover{
  background: rgba(255,255,255,.06);
  text-decoration:none;
  opacity:1;
}
.nav-toggle{display:none}
@media (max-width: 880px){
  .nav{display:none}
  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;height:42px;
    border-radius:14px;
    background: rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    color:var(--text);
    cursor:pointer;
  }
  .nav.open{
    display:flex;
    position:absolute;
    top:64px; left:16px; right:16px;
    padding:12px;
    background: rgba(4,8,18,.88);
    border:1px solid rgba(255,255,255,.10);
    border-radius:18px;
    backdrop-filter: blur(18px);
  }
}

/* V-cards */
.vcard{
  background: linear-gradient(160deg, var(--glass), var(--glass2));
  border:1px solid var(--stroke);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 18px;
}
.vcard.sm{padding:14px; border-radius:16px}
.vcard h1{margin:0 0 10px; font-size:30px; letter-spacing:-.3px}
.vcard h2{margin:0 0 10px; font-size:20px}
.vcard h3{margin:0 0 8px; font-size:16px}
.vcard p{margin:6px 0 0; color:var(--muted); line-height:1.6; font-size:14px}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center; justify-content:center;
  gap:8px;
  border:none;
  cursor:pointer;
  font-weight:650;
  font-size:14px;
  padding:10px 14px;
  border-radius:14px;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.btn:hover{transform: translateY(-1px)}
.btn.primary{
  color:#041019;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow: 0 14px 30px rgba(37,99,235,.28);
  text-decoration:none;
}
.btn.secondary{
  color:var(--text);
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  text-decoration:none;
}
.btn.ghost{
  color:var(--text);
  background: transparent;
  border:1px solid rgba(255,255,255,.16);
}

/* Hero */
.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:20px;
  align-items:start;
}
@media (max-width:980px){ .hero{grid-template-columns:1fr} }
.kicker{display:inline-flex; gap:10px; align-items:center; font-size:13px; color:var(--muted)}
.badge{
  display:inline-flex; align-items:center; justify-content:center;
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  font-size:12px;
}
.actions{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}

/* Small media cards */
.media-grid{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.media{border-radius:16px; overflow:hidden; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03)}
.media img{width:100%; height:170px; object-fit:cover}
@media (max-width:980px){ .media-grid{grid-template-columns:1fr} .media img{height:180px} }

/* Forms */
.form{display:grid; gap:12px; margin-top:12px}
.input{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color:var(--text);
  outline:none;
}
.input::placeholder{color: rgba(234,240,255,.55)}
.help{font-size:13px; color:rgba(234,240,255,.70)}

/* Footer */
.footer-card{margin-top:34px; padding: 18px 0 40px}
.footer-container{max-width:1180px; margin:0 auto; padding:0 20px; display:grid; gap:18px; grid-template-columns:repeat(3,minmax(0,1fr))}
.footer-item{background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.10); border-radius:18px; padding:16px}
.footer-item h3{margin:0 0 8px; font-size:15px}
.footer-item p, .footer-item a{font-size:13px; color:rgba(234,240,255,.75)}
@media (max-width:980px){.footer-container{grid-template-columns:1fr}}

/* Chat widget */
#chatbot-btn{
  position:fixed; bottom:22px; right:22px;
  width:56px; height:56px; border-radius:50%;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color:#041019;
  display:flex; align-items:center; justify-content:center;
  font-size:22px; cursor:pointer;
  z-index:1000;
  box-shadow: 0 18px 40px rgba(37,99,235,.25);
}
#chatbot{
  position:fixed; bottom:90px; right:22px;
  width:330px; max-height:460px;
  display:none; flex-direction:column;
  background: rgba(4,8,18,.92);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  backdrop-filter: blur(18px);
  overflow:hidden;
  z-index:1000;
}
.chat-header{
  padding:12px 12px;
  display:flex; align-items:center; justify-content:space-between;
  background: rgba(255,255,255,.06);
}
.chat-header span{font-weight:700; font-size:14px}
.chat-header button{
  width:34px;height:34px;border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text); cursor:pointer;
}
.chat-body{padding:12px; overflow:auto; font-size:13px; color:rgba(234,240,255,.88)}
.bot-msg,.user-msg{padding:10px 12px;border-radius:14px;margin-bottom:10px;max-width:85%; line-height:1.5}
.bot-msg{background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.10)}
.user-msg{background: rgba(56,189,248,.18); border:1px solid rgba(56,189,248,.24); margin-left:auto}
.chat-input{display:flex; gap:8px; padding:10px; border-top:1px solid rgba(255,255,255,.10)}
.chat-input input{flex:1}
.chat-input button{min-width:78px}

/* --- Footer (clean, dark) --- */
.site-footer{margin-top:48px;border-top:1px solid rgba(255,255,255,.08);background:rgba(7,11,22,.75);backdrop-filter: blur(12px);}
.site-footer .footer-grid{display:grid;grid-template-columns: 1.4fr 1fr 1fr;gap:18px;padding:22px 0;}
.site-footer .footer-brand{display:flex;align-items:center;gap:12px;}
.site-footer .footer-logo{width:34px;height:34px;object-fit:contain;border-radius:10px;background:rgba(255,255,255,.06);padding:6px;}
.site-footer .footer-title{font-weight:900;letter-spacing:.2px;}
.site-footer .footer-desc{opacity:.75;margin-top:6px;max-width:38ch;}
.site-footer .footer-col h4{margin:0 0 10px;font-size:14px;opacity:.9;letter-spacing:.25px;}
.site-footer a{color:rgba(255,255,255,.78);text-decoration:none;}
.site-footer a:hover{color:#93c5fd;}
.site-footer .footer-links{display:flex;flex-direction:column;gap:8px;}
.site-footer .footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 0;border-top:1px solid rgba(255,255,255,.08);opacity:.75;font-size:13px;}
@media (max-width: 860px){.site-footer .footer-grid{grid-template-columns:1fr;}}
