:root{
  --tech-bg: radial-gradient(1200px 600px at 10% -10%, rgba(124,58,237,.18), transparent 60%),
             radial-gradient(1000px 500px at 110% 10%, rgba(110,231,255,.14), transparent 60%),
             #0b0f17;
  --tech-card: rgba(255,255,255,0.04);
  --tech-border: rgba(255,255,255,0.08);
  --tech-text: #e7eefc;
}
body.home{
  background: var(--tech-bg);
  color: var(--tech-text);
}
.tech-hero{
  position: relative;
  padding: clamp(3rem, 6vw, 6rem) 1rem;
  text-align: center;
  isolation: isolate;
}
.tech-hero .headline{
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: .2px;
  margin: 0.75rem 0 0.25rem;
}
.tech-hero .subhead{
  opacity: .8;
  margin: 0 0 1rem;
}
.tech-logo{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(72px, 12vw, 120px);
  height: clamp(72px, 12vw, 120px);
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow: 0 8px 40px rgba(124,58,237,.25), inset 0 0 0 1px var(--tech-border);
}
.tech-logo-svg{
  width: 80%;
  height: 80%;
}
.tech-logo-svg .pulse{
  transform-origin: 60px 60px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ transform: scale(1); opacity: .9; }
  50%{ transform: scale(1.25); opacity: 1; }
}

/* Quick search section card */
.quicksearch-wrap{
  max-width: 980px;
  margin: 1rem auto 0;
  padding: 1rem;
  background: var(--tech-card);
  border: 1px solid var(--tech-border);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

.quick-links{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .75rem;
  margin-top: .75rem;
}
.quick-links a{
  text-decoration: none;
  padding: .75rem .9rem;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid var(--tech-border);
  border-radius: 12px;
  color: var(--tech-text);
}
.quick-links a:hover{
  border-color: rgba(124,58,237,.4);
  box-shadow: 0 6px 20px rgba(124,58,237,.18);
}

/* Make default search form nicer on dark */
.tech-hero .search-form .search-field{
  background: rgba(255,255,255,.06);
  border: 1px solid var(--tech-border);
  color: var(--tech-text);
}
.tech-hero .search-form .search-submit{
  background: linear-gradient(90deg, #6ee7ff, #7c3aed);
  border: none;
  color: #0b0f17;
  font-weight: 700;
}


/* ===== Responsive Header / Menu ===== */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(11,15,23,0.85); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--tech-border);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap: 1rem; padding: .6rem 0; }
.brand{ display:flex; align-items:center; gap:.6rem; color: var(--tech-text); text-decoration: none; }
.brand .brand-logo{ display:inline-flex; width:32px; height:32px; }
.brand .brand-name{ font-weight:700; letter-spacing:.2px; }
.nav-toggle{
  display:none; width:40px; height:40px; border-radius:10px; border:1px solid var(--tech-border); background:transparent;
}
.nav-toggle .bar{ display:block; width:22px; height:2px; background: var(--tech-text); margin:5px auto; }
.primary-nav .menu{ list-style:none; display:flex; gap:1rem; margin:0; padding:0; }
.primary-nav .menu a{ color: var(--tech-text); text-decoration:none; opacity:.9; }
.primary-nav .menu a:hover{ opacity:1; }
@media (max-width: 860px){
  .nav-toggle{ display:block; }
  .primary-nav{ position:absolute; top:100%; right:0; left:0; background: rgba(11,15,23,0.98); border-bottom:1px solid var(--tech-border); display:none; }
  .primary-nav.open{ display:block; }
  .primary-nav .menu{ flex-direction:column; padding: .5rem; gap:.25rem; }
  .primary-nav .menu li a{ display:block; padding:.6rem .8rem; border-radius:10px; }
  .primary-nav .menu li a:hover{ background: rgba(255,255,255,0.06); }
}

/* ===== Tabs / Sections ===== */
.home-nav{ display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; margin-top: 1rem; }
.home-tab{
  padding:.55rem .9rem; border-radius: 999px;
  border:1px solid var(--tech-border);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  color: var(--tech-text); cursor:pointer;
}
.home-tab.is-active, .home-tab:hover{
  border-color: rgba(124,58,237,.4);
  box-shadow: 0 6px 20px rgba(124,58,237,.18);
}
.home-section{ display:none; }
.home-section.is-visible{ display:block; }

/* ===== Grid / Lists ===== */
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px){ .grid-3{ grid-template-columns: 1fr; } }
.grid-col{
  background: var(--tech-card);
  border:1px solid var(--tech-border);
  border-radius: 14px; padding: .9rem;
}
.grid-heading{ font-size: 1rem; margin: 0 0 .5rem; }
.link-list{ list-style:none; padding:0; margin:0; display:grid; gap:.35rem; }
.link-list a{ text-decoration: none; color: var(--tech-text); opacity:.9; }
.link-list a:hover{ opacity:1; text-decoration: underline; }
.muted{ opacity:.7; }
.notice-fallback{ padding: .6rem .8rem; background: rgba(255,255,255,.04); border:1px dashed var(--tech-border); border-radius:12px; }
