/* =============================================
   COMMUTE CHAOS METER — Global Styles
   Brutalist Underground Design System
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@400;500&display=swap');

:root {
  --black: #0a0a0a;
  --off-black: #111111;
  --acid: #DFFF00;
  --red: #FF2D2D;
  --orange: #FF6B00;
  --white: #F5F5F0;
  --grey: #2a2a2a;
  --mid-grey: #444444;
  --muted: #888888;
  --card-bg: #161616;
  --border: #2a2a2a;
  --radius: 4px;
  --transition: 0.18s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em;
  line-height: 1;
}

a { color: var(--acid); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.7; }

/* ---- NAV ---- */
nav {
  background: var(--black);
  border-bottom: 2px solid var(--acid);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-accent { color: var(--acid); }
.nav-logo span { font-size: 1.3rem; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--acid); opacity: 1; }

/* ---- FOOTER ---- */
footer {
  background: var(--off-black);
  border-top: 2px solid var(--grey);
  padding: 48px 24px 32px;
  margin-top: 80px;
}

.footer-inner { max-width: 1000px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--grey);
  margin-bottom: 24px;
}

.footer-brand .logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: var(--acid);
  letter-spacing: 0.05em;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 8px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-links h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 0.875rem;
  color: #888;
  transition: color var(--transition);
  opacity: 1;
}
.footer-links a:hover { color: var(--acid); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- COOKIE BANNER ---- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--off-black);
  border-top: 3px solid var(--acid);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

#cookie-banner.visible { transform: translateY(0); }
#cookie-banner p { font-size: 0.875rem; line-height: 1.5; flex: 1; min-width: 200px; color: #aaa; }
#cookie-banner a { color: var(--acid); }

.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

.btn-accept {
  background: var(--acid);
  color: var(--black);
  border: none;
  padding: 10px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-accept:hover { background: #c8e600; }

.btn-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--grey);
  padding: 10px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color var(--transition);
}
.btn-decline:hover { border-color: var(--muted); color: var(--white); }

/* ---- UTILITY ---- */
.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }

.tag {
  display: inline-block;
  background: var(--acid);
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
}

.btn-primary {
  display: inline-block;
  background: var(--acid);
  color: var(--black);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  padding: 14px 36px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
  box-shadow: 4px 4px 0px var(--orange);
  clip-path: none;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--orange);
  background: #c8e600;
  opacity: 1;
  color: var(--black);
}

/* ---- LEGAL PAGES ---- */
.legal-page { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-page h1 { font-size: 3rem; color: var(--acid); margin-bottom: 4px; }
.legal-page .last-updated { color: var(--muted); font-size: 0.875rem; margin-bottom: 40px; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; }
.legal-page h2 { font-size: 1.4rem; margin: 36px 0 12px; color: var(--white); }
.legal-page p { line-height: 1.75; color: #aaa; margin-bottom: 16px; font-size: 0.95rem; }
.legal-page ul { padding-left: 20px; margin-bottom: 16px; }
.legal-page li { line-height: 1.75; color: #aaa; margin-bottom: 6px; font-size: 0.95rem; }
.legal-page a { color: var(--acid); }

@media (max-width: 600px) {
  .nav-links { display: none; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
