:root {
  --primary: #2563EB;
  --secondary: #64748B;
  --background: #FFFFFF;
  --footer-bg: #1E293B;

  --text: #0f172a;
  --text-muted: #334155;
  --border: #e2e8f0;

  --section-bg-1: #F8FAFC;
  --section-bg-2: #FFFFFF;
  --section-bg-3: #F1F5F9;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 6px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 30px rgba(0,0,0,0.16);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-4) 0;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }

p { margin: 0 0 var(--space-4) 0; color: var(--text); }
small, .text-sm { font-size: 0.875rem; color: var(--text-muted); }
a { text-decoration: none; color: var(--primary); transition: color 0.2s ease; }
a:hover { color: #1d4ed8; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

img { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 1.25rem; margin: 0 0 var(--space-4) 0; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: var(--space-20) 0; }
.section-sm { padding: var(--space-12) 0; }

.section-bg-light { background: var(--section-bg-1); }
.section-bg-white { background: var(--section-bg-2); }
.section-bg-subtle { background: var(--section-bg-3); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  gap: var(--space-4);
}
.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text);
}
.header-brand .logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--primary);
}
.header-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0;
}
.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav a {
  color: var(--text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}
.nav a:hover { color: var(--text); background: #f8fafc; }

.hero {
  padding: var(--space-24) 0 var(--space-20);
  background: linear-gradient(180deg, var(--section-bg-1) 0%, var(--section-bg-2) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
.hero-title {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: var(--space-6);
}
.hero-subtitle { color: var(--text-muted); font-size: 1.125rem; max-width: 55ch; }

.actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-6); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.btn-lg { padding: 14px 22px; font-size: 1rem; }
.btn-md { padding: 10px 16px; font-size: 0.95rem; }
.btn-sm { padding: 8px 12px; font-size: 0.875rem; }

.btn-primary { background: var(--primary); color: #ffffff; }
.btn-primary:hover { background: #1d4ed8; box-shadow: var(--shadow-md); }
.btn-primary:active { background: #1e40af; }

.btn-secondary { background: var(--secondary); color: #ffffff; }
.btn-secondary:hover { background: #475569; box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: #eff6ff;
}

.kicker {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 768px) {
  .hero-title { font-size: 2.125rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav { display: none; }
}

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.card h3 { margin-bottom: var(--space-3); }
.card p { color: var(--text-muted); }

.card-outline {
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.form h3 { margin-bottom: var(--space-4); }

.form-grid { display: grid; gap: var(--space-4); }
.form-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 768px) { .form-row-2 { grid-template-columns: 1fr; } }

.form-label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input::placeholder, .form-textarea::placeholder { color: #94a3b8; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-help { color: var(--text-muted); font-size: 0.85rem; margin-top: 6px; }

.checkbox-row, .radio-row {
  display: flex; align-items: center; gap: 10px;
}
.checkbox-row input, .radio-row input { transform: translateY(1px); }

.footer {
  background: var(--footer-bg);
  color: #cbd5e1;
  padding: var(--space-12) 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
}
.footer h5 {
  color: #e2e8f0;
  margin-bottom: var(--space-4);
}
.footer a { color: #cbd5e1; }
.footer a:hover { color: #ffffff; }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #eff6ff;
  color: var(--primary);
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table th, .table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--text);
}
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #f8fafc; }

.muted { color: var(--text-muted); }
.divider { height: 1px; background: var(--border); margin: var(--space-6) 0; }

hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: var(--space-8) 0;
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}