/* Base reset and typography */
:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --card: #0b1224;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --accent: #22c55e;
  --accent-2: #60a5fa;
  --border: #1f2937;
  --danger: #ef4444;
  --shadow: 0 10px 40px rgba(0,0,0,0.35);
  --radius: 14px;
  --max-width: 1100px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: linear-gradient(135deg, #0b1220 0%, #0f172a 40%, #0a1120 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: 10px; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(15,23,42,0.9);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 18px;
}
.nav-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav-links a {
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
  color: var(--muted);
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(96,165,250,0.12);
  color: #e0f2fe;
}
.contact-mini {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

main { padding: 40px 22px 80px; }
.max { max-width: var(--max-width); margin: 0 auto; }

.section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}
.section h1,
.section h2,
.section h3 { margin-bottom: 14px; line-height: 1.3; }
.muted { color: var(--muted); }

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  color: #bbf7d0;
  font-weight: 600;
  font-size: 13px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(120deg, var(--accent), #16a34a);
  color: #04210f;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 30px rgba(34,197,94,0.35);
}
.btn-primary:hover { transform: translateY(-1px); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  padding: 20px;
  background: #0c1426;
  border-radius: 12px;
  border: 1px solid var(--border);
  height: 100%;
}
.card h3 { margin-bottom: 8px; }

.badge {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(96,165,250,0.14);
  color: #bfdbfe;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.list {
  list-style: none;
  display: grid;
  gap: 6px;
}
.list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
}
.dot { color: var(--accent); margin-top: 4px; }

form {
  display: grid;
  gap: 12px;
}
label { font-weight: 600; color: #e2e8f0; }
input, textarea, select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0b1428;
  color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 12px; }

.footer {
  border-top: 1px solid var(--border);
  background: #0a1020;
  padding: 28px 22px 36px;
}
.footer .max { display: grid; gap: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }

/* Cookie banner & modal */
#cookie-banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: 360px;
  background: #0c1428;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
  z-index: 20;
}
#cookie-banner.hidden { display: none; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.btn-secondary {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0e162b;
  color: var(--text);
  cursor: pointer;
}

#cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 30;
}
#cookie-modal.hidden { display: none; }
.cookie-modal__card {
  background: #0c1428;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow);
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.toggle-row:last-child { border-bottom: none; }
.toggle-row label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.toggle-row small { color: var(--muted); font-weight: 400; }
.toggle-row input[type="checkbox"] { width: auto; }

@media (max-width: 720px) {
  .nav-links { width: 100%; }
  header { position: sticky; }
  .nav-wrap { flex-wrap: wrap; }
}
