/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --bg:        #FFFFFF;
  --bg2:       #F8FAFC;
  --bg3:       #F1F5F9;
  --border:    rgba(0,0,0,0.08);
  --border-hi: rgba(0,0,0,0.14);
  --text:      #0F172A;
  --muted:     #64748B;
  --accent:    #3B82F6;
  --accent2:   #22C55E;
}

body {
  background: #F8FAFC;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 200;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: #0F172A;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-tagline {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #94A3B8;
  margin-top: 2px;
}

.logo-icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

.back-link {
  color: #94A3B8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.back-link:hover { color: #fff; }

/* ─── FOOTER ─── */
.footer-wrap {
  border-top: 1px solid rgba(0,0,0,0.08);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 40px 48px 32px;
  max-width: 100%;
  background: #0F172A;
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: #CBD5E1;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-social a {
  color: #94A3B8;
  transition: color 0.2s;
}
.footer-social a:hover { color: #fff; }
.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-copy {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #64748B;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  margin-top: 8px;
}

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(15,23,42,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: 'DM Sans', sans-serif;
}

.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  flex: 1;
  min-width: 280px;
}

.cookie-banner a {
  color: #3B82F6;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-accept {
  background: #3B82F6;
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── RESPONSIVE (shared) ─── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  footer { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; }
}

@media (max-width: 768px) {
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  footer { grid-template-columns: 1fr; }
}
