:root {
  --color-primary: #1a1a1a;
  --color-secondary: #6366f1;
  --color-bg: #ffffff;
  --color-footer-bg: #f8f9fa;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;

  --font-head: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", "Noto Sans", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", "Noto Sans", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;

  --border-strong: 2px solid #000000;
  --border-button: 2px solid #000000;
  --radius-sharp: 0px;
  --radius-soft: 4px;

  --shadow-elev-1: 4px 4px 0 #000000;
  --shadow-elev-2: 8px 8px 0 #000000;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: 0.01em;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-secondary);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  color: var(--color-primary);
  margin: 0 0 var(--space-sm) 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p { margin: 0 0 var(--space-sm) 0; }
ul,
ol { margin: 0 0 var(--space-sm) 0; padding-left: 1.2rem; }

hr {
  border: none;
  border-top: var(--border-strong);
  margin: var(--space-lg) 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xxl) 0;
}

.section:nth-child(odd) {
  background: #ffffff;
}

.section:nth-child(even) {
  background: #f8f9fa;
}

.section.is-alt {
  background: #ffffff;
}

.section.dark {
  background: var(--color-bg);
}

.section .section-intro {
  max-width: 720px;
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
}

/* Header / Navigation */
.header {
  background: var(--color-bg);
  border-bottom: var(--border-strong);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: var(--space-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary);
}

.menu {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  padding: 8px 12px;
  border: var(--border-button);
  background: #fff;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.nav-link:hover {
  background: var(--color-secondary);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-elev-1);
}

.nav-cta {
  background: var(--color-secondary);
  color: #fff;
  border: var(--border-button);
}

.nav-toggle {
  display: none;
  border: var(--border-button);
  background: #fff;
  padding: 8px 12px;
  font-family: var(--font-head);
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  border: var(--border-button);
  border-radius: var(--radius-soft);
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, color 120ms ease;
  text-align: center;
}

.btn-primary {
  background: var(--color-secondary);
  color: #ffffff;
}

.btn-primary:hover {
  background: #5558ee;
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-elev-1);
}

.btn-primary:active {
  transform: translate(0, 0);
  box-shadow: none;
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: #f1f2f6;
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-elev-1);
}

/* Cards */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-surface);
  border: var(--border-strong);
  border-radius: var(--radius-sharp);
  padding: var(--space-lg);
  box-shadow: var(--shadow-elev-1);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-elev-2);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.card-text {
  color: var(--color-muted);
}

.card-media {
  aspect-ratio: 16 / 9;
  background: #e5e7eb;
  border-bottom: var(--border-strong);
  overflow: hidden;
}

/* Hero */
.hero {
  padding: var(--space-xxl) 0 var(--space-xxl) 0;
  border-bottom: var(--border-strong);
  background: #ffffff;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.05;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-muted);
  max-width: 720px;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Badges / Tags */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border: var(--border-button);
  border-radius: var(--radius-soft);
  background: #ffffff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-primary);
}

/* Forms */
.form {
  background: #ffffff;
  border: var(--border-strong);
  padding: var(--space-lg);
  box-shadow: var(--shadow-elev-1);
  border-radius: var(--radius-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-sm);
}

label {
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--color-primary);
}

input[type="text"],
input[type="email"],
textarea,
select {
  appearance: none;
  width: 100%;
  padding: 12px 14px;
  border: var(--border-button);
  border-radius: var(--radius-soft);
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
  transition: box-shadow 120ms ease, transform 120ms ease, background-color 120ms ease;
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  background: #f8f9fa;
  box-shadow: 4px 4px 0 #000000;
  transform: translate(-2px, -2px);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--color-footer-bg);
  border-top: var(--border-strong);
  padding: var(--space-xl) 0;
  color: #111827;
}

.footer-inner {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 2fr 1fr 1fr;
}

@media (max-width: 992px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-title {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  font-weight: 800;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-link {
  color: #111827;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Utilities */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }

.divider {
  height: 2px;
  background: #000000;
  width: 100%;
  margin: var(--space-lg) 0;
  border: none;
}

/* Focus states for accessibility */
:focus-visible {
  outline: 3px dashed var(--color-secondary);
  outline-offset: 3px;
}

/* Mobile navigation (optional) */
@media (max-width: 768px) {
  .menu {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}


/* 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;
    }
}