/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABLES ───────────────────────────────── */
:root {
  --bg:      #0a0a0f;
  --surface: #11111a;
  --border:  #1e1e2e;
  --accent:  #4f7cff;
  --accent2: #7c4fff;
  --text:    #e2e2f0;
  --muted:   #6b6b8a;
  --radius:  12px;
}

/* ── BASE ────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── HEADER / NAV ────────────────────────────── */
header { display: contents; }

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 6vw;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--text);
}
.logo span { color: var(--accent); }

nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul a { font-size: .9rem; color: var(--muted); text-decoration: none; transition: color .2s; }
nav ul a:hover, nav ul a.active { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: .45rem 1.1rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { background: #3a68f0 !important; }

/* ── FOOTER ──────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .logo { font-size: 1rem; }

.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: .85rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--text); }

.footer-copy { font-size: .8rem; color: var(--muted); }

/* ── GDPR BANNER ─────────────────────────────── */
#gdpr-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: min(680px, calc(100vw - 2rem));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  transition: opacity .3s, transform .3s;
}
#gdpr-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}
.gdpr-icon { font-size: 1.6rem; flex-shrink: 0; }
.gdpr-text { flex: 1; font-size: .83rem; color: var(--muted); line-height: 1.5; }
.gdpr-text strong { color: var(--text); }
.gdpr-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.gdpr-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.gdpr-btn {
  padding: .5rem 1.1rem;
  border-radius: 7px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .15s;
}
.gdpr-btn:hover { transform: translateY(-1px); }
.gdpr-accept { background: var(--accent); color: #fff; }
.gdpr-accept:hover { background: #3a68f0; }
.gdpr-refuse { background: transparent; color: var(--muted); border: 1px solid var(--border) !important; }
.gdpr-refuse:hover { color: var(--text); }

#wcb.carbonbadge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  vertical-align: middle;
  margin-left: .6em;
  font-size: .75rem;
  line-height: 1.15;
  font-family: inherit;
}

#wcb.carbonbadge sub {
  vertical-align: sub;
  font-size: .7em;
}

#wcb #wcb_p {
  display: inline-flex;
}

#wcb #wcb_g,
#wcb #wcb_a {
  display: inline-flex;
  align-items: center;
  padding: .28em .55em;
  font-size: 1em;
  line-height: 1.15;
  white-space: nowrap;
}

#wcb.wcb-d #wcb_g {
  background: #1c1c1c;
  color: #00e07a;
  border: 1px solid #00e07a;
  border-right: 0;
  border-radius: 4px 0 0 4px;
}

#wcb.wcb-d #wcb_a {
  background: #00e07a;
  color: #0e1111;
  border: 1px solid #00e07a;
  border-radius: 0 4px 4px 0;
  text-decoration: none;
  font-weight: 600;
  transition: background .2s, border-color .2s;
}

#wcb.wcb-d #wcb_a:hover {
  background: #00f587;
  border-color: #00f587;
}

#wcb #wcb_2 {
  display: block;
  font-size: .85em;
  margin-top: .3em;
  color: var(--muted);
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  nav ul { display: none; }
  footer { flex-direction: column; text-align: center; }
  #gdpr-banner { flex-direction: column; text-align: center; }
  .gdpr-actions { justify-content: center; }
}
