/* =========================
   RESET & BASE
========================= */
*{ box-sizing:border-box; margin:0; padding:0; }
html,body{ height:100%; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#eaf2ff;
  background:
    radial-gradient(600px 400px at 70% 0%, rgba(90,70,255,.25), transparent 60%),
    radial-gradient(900px 500px at 20% 20%, rgba(70,160,255,.18), transparent 55%),
    linear-gradient(180deg,#071426 0%,#050c18 60%,#040912 100%);
}
a{ color:inherit; text-decoration:none; }

.container{ width:min(1100px,92%); margin:0 auto; }

/* =========================
   HEADER
========================= */
#site-header{ position:sticky; top:0; z-index:100; }
.nav{
  margin-top:18px;
  background:rgba(9,20,40,.70);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  backdrop-filter: blur(10px);
}
.brand{ display:flex; align-items:center; gap:12px; }
.logo-dot{
  width:34px; height:34px; border-radius:12px;
  background:linear-gradient(180deg,#6ab6ff,#4b66ff);
  box-shadow:0 10px 30px rgba(79,120,255,.35);
}
.brand-title{ font-weight:800; letter-spacing:.2px; }
.brand-subtitle{ font-size:12px; opacity:.8; margin-top:2px; }

.nav-links{ display:flex; gap:10px; align-items:center; }
.nav-links a{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
  opacity:.92;
}
.nav-links a:hover{
  border-color:rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  font-weight:700;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  transition: transform .08s ease, filter .15s ease, background .15s ease;
}
.btn:hover{ background:rgba(255,255,255,.07); }
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background:linear-gradient(180deg,#6ab6ff,#4b66ff);
  border-color:transparent;
}
.btn-primary:hover{ filter:brightness(1.05); }

/* =========================
   HERO BANNER (click-safe)
========================= */
.hero-banner{
  position:relative;
  margin-top:18px;
  border-radius:20px;
  overflow:hidden;
  min-height:280px;
  padding:28px;

  display:flex;
  align-items:flex-end;

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  box-shadow:0 18px 50px rgba(0,0,0,.45);
}
.hero-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(6,16,35,.88) 0%,
    rgba(6,16,35,.55) 52%,
    rgba(6,16,35,.18) 100%
  );
  pointer-events:none; /* ✅ THIS FIXES “buttons not clickable” */
}
.hero-inner{
  position:relative;
  z-index:2;
  max-width:820px;
}
.hero-banner h1{
  font-size:36px;
  line-height:1.12;
  margin-bottom:10px;
}
.hero-banner p{
  color:rgba(255,255,255,.88);
  margin-bottom:14px;
  font-size:15px;
}
.hero-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* =========================
   SECTIONS
========================= */
.page{ padding-bottom:24px; }
.section{ margin-top:18px; }

.panel{
  background:rgba(10,22,45,.65);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:18px;
  backdrop-filter: blur(6px);
}
.card{
  background:rgba(12,26,52,.65);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:14px;
}
.grid{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.muted{ opacity:.8; font-size:14px; }

/* =========================
   FOOTER (professional)
========================= */
#site-footer{ margin:34px 0 20px; }
.footer{
  margin-top:18px;
  background:rgba(9,20,40,.65);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:18px;
  backdrop-filter: blur(10px);
}
.footer-grid{
  display:grid;
  gap:16px;
  grid-template-columns: 2fr 1fr 1fr;
  align-items:start;
}
.footer h4{ margin-bottom:10px; font-size:14px; opacity:.95; }
.footer ul{ list-style:none; display:grid; gap:8px; }
.footer a{ opacity:.92; }
.footer a:hover{ opacity:1; text-decoration:underline; }

.footer-bottom{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  font-size:13px;
  opacity:.9;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:900px){
  .nav{ flex-wrap:wrap; gap:12px; }
  .hero-banner{ min-height:230px; padding:20px; }
  .hero-banner h1{ font-size:26px; }
  .footer-grid{ grid-template-columns: 1fr; }
}

/* Fix page height so footer stays in correct position */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}
