/* Banner */
.banner {
  width: 100%;
  height: 300px;
  background: rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  border-radius: 12px;
}
.banner h2 {
  font-size: 32px;
  color: #fff;
}

/* Sliders */
.sliders {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.slider {
  flex: 1;
  height: 200px;
  background: rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  border-radius: 12px;
  color: #fff;
}
/* SafeToSave • Freebie Park (design-only) */
:root {
  --bg:#0B1224;
  --surface:#0f1830;
  --glass:rgba(255,255,255,.04);
  --text:#e8eeff;
  --muted:#9fb0d0;
  --cyan:#21d4fd;
  --vio:#b721ff;
  --lime:#a8ff78;
  --pink:#ff5ac8;
  --accent:linear-gradient(135deg,var(--cyan),var(--vio));
  --radius:16px;
  --shadow:0 10px 40px rgba(0,0,0,.35);
}

/* Non-tiled background */
body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(33,212,253,.12), transparent 70%),
    radial-gradient(1200px 800px at 120% 30%, rgba(183,33,255,.10), transparent 70%),
    linear-gradient(160deg, #0B1224 0%, #0f1830 100%);
  color: var(--text);
  overflow-x: hidden;
}

/* floating background orbs */
.bg-orbs{position:fixed;inset:0;pointer-events:none;z-index:-1}
.bg-orbs span{
  position:absolute;width:40vmax;height:40vmax;border-radius:50%;
  filter:blur(60px);opacity:.15;mix-blend-mode:screen;
  background:radial-gradient(circle at 30% 30%, var(--cyan), transparent 60%);
  animation:float 22s ease-in-out infinite;
}
.bg-orbs span:nth-child(2){left:60%;top:10%;background:radial-gradient(circle at 70% 40%, var(--vio), transparent 60%);animation-duration:30s}
.bg-orbs span:nth-child(3){left:-10%;top:60%;background:radial-gradient(circle at 50% 50%, var(--pink), transparent 60%);animation-duration:26s}
@keyframes float{50%{transform:translateY(-3rem) scale(1.05)}}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(11,18,36,.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 50;
}
.logo {
  width: 100px;   /* bigger */
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
  background: #00000010;
  padding: 6px;
}

/* Horizontal menu with dropdowns */
.menu {
  display: flex;
  gap: 24px;
  align-items: center;
}
.menu-item {
  position: relative;
}
.menu-item > a {
  color: #cfd9ff;
  padding: 10px 12px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}
.menu-item > a:hover { color: #fff; }

/* Dropdown */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0f1830;
  min-width: 200px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  flex-direction: column;
  z-index: 999;
}
.submenu a {
  padding: 10px 14px;
  font-size: 14px;
  color: #a8b8ff;
  text-decoration: none;
  display: block;
}
.submenu a:hover {
  background: rgba(33,212,253,0.15);
  color: #fff;
}
.menu-item:hover .submenu { display: flex; }

/* HERO */
.hero {
  display: grid;
  place-items: center;
  min-height: 72vh;
  padding: 6vmin;
  text-align: center;
}
.h-title {
  font-size: clamp(36px,6vw,64px);
  margin: 4px 0 6px;
  background: var(--accent);
  -webkit-background-clip: text;
  color: transparent;
}
.h-sub { color: var(--muted); margin: 0 0 18px; }
.btn {
  display: inline-block;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}
.btn.primary {
  background: var(--accent);
  color: #05111d;
  box-shadow: 0 6px 24px rgba(33,212,253,.35);
}
.btn.ghost {
  background: transparent;
  color: #c9dcff;
  border: 1px solid rgba(201,220,255,.25);
}
.btn:hover { transform: translateY(-1px); }

/* LAYOUT WRAPPERS */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 22px;
}
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
}
.title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .3px;
}
.muted { color: var(--muted); font-size: 14px; }

/* FILTER BAR */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.search {
  flex: 1 1 260px;
  min-width: 220px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 10px 12px;
  color: #fff;
}
.chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  user-select: none;
  color: #fff;   /* white text */
}
.chip.active {
  background: rgba(33,212,253,.18);
  border-color: rgba(33,212,253,.45);
  color: gold;   /* gold active */
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
@media (max-width:1024px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.grid{grid-template-columns:1fr}}

/* CARDS */
.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.card__head h3 { margin: 0;font-size: 18px; }
.meta { list-style: none;padding: 0;margin: 6px 0 16px;color: var(--muted); }
.meta li { margin: 6px 0; }
.card__actions { display: flex;justify-content: flex-end; }

/* PANELS */
.panel {
  max-width: 960px;
  margin: 40px auto;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}
.li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
}
.li b { display: block; }

/* CONTACT GRID */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 14px;
}
.li a {
  color: #fff;             /* white links */
  text-decoration: none;
  font-weight: 500;
}
.li a:hover {
  color: gold;             /* gold hover */
}

/* FOOTER */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 1200px;
  margin: 40px auto 20px;
}
.footer .socials a {
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
}
.footer svg {fill:#cfe1ff;width:18px;height:18px}
/* Theme toggle button */
.theme-toggle {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.theme-toggle:hover {
  background: rgba(255,255,255,.15);
}

/* Light mode overrides */
body.light {
  --bg:#f5f7ff;
  --surface:#ffffff;
  --glass:rgba(0,0,0,.04);
  --text:#111;
  --muted:#444;
  --accent:linear-gradient(135deg,#007bff,#6610f2);
}

body.light .nav {
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

body.light .menu-item > a {
  color: #333;
}
body.light .menu-item > a:hover {
  color: #000;
}

body.light .submenu {
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
}
body.light .submenu a {
  color: #333;
}
body.light .submenu a:hover {
  background: rgba(0,0,0,.05);
  color: #000;
}

body.light .btn.ghost {
  color: #222;
  border: 1px solid rgba(0,0,0,.25);
}

body.light .chip {
  background: rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.15);
  color: #222;
}
body.light .chip.active {
  background: rgba(255,215,0,.2);
  border-color: gold;
  color: gold;
}

body.light .li {
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.08);
}
body.light .li a {
  color: #007bff;
}
body.light .li a:hover {
  color: #d63384;
}

body.light .footer {
  border-top: 1px solid rgba(0,0,0,.08);
}

/* Footer background fix */
footer {
  position: relative;
  z-index: 1;
  background: rgba(6,14,27,0.95); /* solid overlay */
  backdrop-filter: blur(6px);     /* optional glass look */
}

/* Footer container alignment */
footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Mobile safe area padding (iOS Safari) */
@supports (padding: max(0px)) {
  footer {
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }
}
