/* ══════════════════════════════
   BACKGROUND
══════════════════════════════ */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,212,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridPulse 8s ease-in-out infinite;
}

.glow-orb {
  position: fixed; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0; opacity: .28;
}
.glow-orb-1 {
  width: 600px; height: 600px; background: var(--accent);
  top: -200px; right: -150px;
  animation: floatOrb 12s ease-in-out infinite;
}
.glow-orb-2 {
  width: 500px; height: 500px; background: var(--accent2);
  bottom: 5%; left: -200px;
  animation: floatOrb 16s ease-in-out infinite reverse;
}

/* ══════════════════════════════
   HEADER / NAV
══════════════════════════════ */
header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
  max-width: 1140px; width: calc(100% - 32px); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: nowrap; gap: 12px;
  padding: 14px 28px;
  background: rgba(10,14,20,.65);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(0,212,255,.15);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.03);
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: 1.5px;
}
.logo-mark { width: 30px; height: 30px; position: relative; flex-shrink: 0; }
.logo-mark span { position: absolute; border-radius: 3px; }
.logo-mark .lm1 {
  width:13px;height:13px;background:var(--accent); top:0;left:0;
  box-shadow:0 0 8px rgba(0,212,255,.7);
  animation: logoSquarePulse1 2.4s ease-in-out infinite;
}
.logo-mark .lm2 {
  width:13px;height:13px;background:var(--accent2);top:0;right:0;
  box-shadow:0 0 8px rgba(124,77,255,.7);
  animation: logoSquarePulse2 2.4s ease-in-out infinite .4s;
}
.logo-mark .lm3 {
  width:13px;height:13px;background:var(--accent2);bottom:0;left:0;opacity:.5;
  animation: logoSquarePulse2 2.4s ease-in-out infinite .8s;
}
.logo-mark .lm4 {
  width:13px;height:13px;background:var(--accent); bottom:0;right:0;
  animation: logoSquarePulse1 2.4s ease-in-out infinite 1.2s;
}
.logo-text span { color: var(--accent); text-shadow: 0 0 14px rgba(0,212,255,.6); }

nav { display: flex; align-items: center; gap: 2px; flex-shrink: 0; white-space: nowrap; }
nav a {
  position: relative; padding: 8px 14px;
  color: var(--muted); font-size: 13px; font-weight: 500;
  border-radius: 10px; transition: .25s; overflow: hidden;
}
nav a::before {
  content: ''; position: absolute; inset: 0; border-radius: 10px;
  background: linear-gradient(90deg,rgba(0,212,255,.12),rgba(124,77,255,.12));
  opacity: 0; transition: .25s;
}
nav a:hover { color: #fff; }
nav a:hover::before { opacity: 1; }
nav a.active { color: var(--accent); }
nav a.active::after {
  content: ''; position: absolute; bottom: 3px; left: 14px; right: 14px;
  height: 2px; background: linear-gradient(90deg,var(--accent),var(--accent2));
  border-radius: 2px; box-shadow: 0 0 8px rgba(0,212,255,.8);
}
.nav-cta {
  padding: 8px 18px !important;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  color: #000 !important; border-radius: 10px; font-weight: 700 !important;
}
.nav-cta:hover { opacity: .88; transform: translateY(-1px); }
.nav-cta::before, .nav-cta.active::after { display: none !important; }

.nav-cabinet-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  border: 1px solid rgba(0,212,255,.3);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  transition: .25s; margin-left: 6px; align-self: center;
}
.nav-cabinet-icon:hover {
  background: rgba(0,212,255,.12);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(0,212,255,.25);
}

/* Mobile burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; border: none; background: none;
}
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed;
  top: 80px; left: 16px; right: 16px; z-index: 99;
  background: rgba(10,14,20,.95); backdrop-filter: blur(20px);
  border: 1px solid rgba(0,212,255,.15); border-radius: 14px;
  padding: 16px; flex-direction: column; gap: 4px;
}
.mobile-nav a {
  padding: 12px 16px; color: var(--muted);
  font-size: 15px; border-radius: 10px; display: block; transition: .2s;
}
.mobile-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.mobile-nav .m-cta {
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  color: #000; font-weight: 700; text-align: center; margin-top: 8px;
}
.mobile-nav .m-cabinet {
  border: 1px solid rgba(0,212,255,.35);
  color: var(--accent); font-weight: 600; text-align: center; margin-top: 4px;
  border-radius: 10px;
}

/* ══════════════════════════════
   SECTIONS
══════════════════════════════ */
section {
  position: relative; z-index: 1;
  padding: 80px 40px;
  max-width: 1140px; width: 100%;
  box-sizing: border-box; margin: 0 auto;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.footer-body {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding: 56px 40px 40px;
}
.footer-col-brand .footer-tagline {
  font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.6; max-width: 240px;
}
.footer-col-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px;
  color: var(--text); margin-bottom: 14px;
}
.footer-link {
  display: block; color: var(--muted); font-size: 13px;
  padding: 4px 0; transition: color .2s;
}
.footer-link:hover { color: var(--accent); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--muted); padding: 4px 0; line-height: 1.4;
}
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-soc {
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: .2s;
}
.footer-soc:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,212,255,.08); }
.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: 1140px; margin: 0 auto;
  padding: 20px 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 12px; color: var(--muted);
}
.footer-bottom-links { display: flex; gap: 20px; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1000px) {
  .footer-body { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 24px 28px; }
}
@media (max-width: 900px) {
  nav         { display: none; }
  .burger     { display: flex; }
  section     { padding: 60px 24px; }
}
@media (max-width: 600px) {
  .footer-body   { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 16px 20px; }
}
@media (max-width: 560px) {
  h2          { font-size: 32px; }
  section     { padding: 50px 16px; }
  header      { padding: 12px 18px; }
}
