/* =========================
   Cookie Consent — Portfolio-Aligned
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #0f1216;
  --surface: #151a20;
  --surface2: #1b222b;
  --text: #f3f5f7;
  --muted: rgba(243, 245, 247, 0.72);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #6eced1;
  --accentDeep: #3fa6a3;

  --radius: 16px;
  --radiusLg: 22px;
  --shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

/* Page */
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(
      900px 520px at 18% 18%,
      rgba(110, 206, 209, 0.16),
      transparent 60%
    ),
    radial-gradient(
      900px 520px at 85% 22%,
      rgba(63, 166, 163, 0.12),
      transparent 62%
    ),
    linear-gradient(180deg, var(--bg), #0b0d10);
  color: var(--text);
}

/* Header */
.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.projectHeader {
  padding: 56px 0 32px;
}

.display {
  font-family: Fraunces, serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 10px;
}

.lead {
  color: var(--muted);
  max-width: 70ch;
}

/* Demo */
.demo {
  padding: 32px 0 80px;
}

.demoHeader {
  text-align: center;
}

.demoTitle {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.demoSub {
  color: var(--muted);
  margin-bottom: 14px;
}

.resetBtn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

/* Cookie banner */
.cookieBanner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  background: linear-gradient(
    180deg,
    rgba(21, 26, 32, 0.96),
    rgba(27, 34, 43, 0.94)
  );
  border-radius: var(--radiusLg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.cookieContent {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.cookieIcon {
  font-size: 2rem;
}

.cookieText h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.cookieText p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.cookieActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btnPrimary,
.btnSecondary {
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
}

.btnPrimary {
  background: linear-gradient(135deg, var(--accentDeep), var(--accent));
  color: #0b0d10;
}

.btnSecondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border);
}

.hidden {
  display: none;
}

/* Mobile */
@media (max-width: 540px) {
  .cookieActions {
    grid-template-columns: 1fr;
  }
}
/* Shared back navigation button (matches Pricing, Contact, Team, Recipe) */
.btnNav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #f3f5f7;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.btnNav:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
