
:root {
  --bg: #fefefe;
  --txt: #1a202c;
  --pri: #2d5a87;
  --pri-light: #4a7ba7;
  --pri-dark: #1e3a52;
  --acc: #e67e22;
  --acc-light: #f39c12;
  --muted: #718096;
  --border: #e2e8f0;
  --shadow: rgba(45, 90, 135, 0.1);
  --shadow-hover: rgba(45, 90, 135, 0.15);
  --gradient: linear-gradient(135deg, var(--pri) 0%, var(--pri-light) 100%);
  --gradient-acc: linear-gradient(135deg, var(--acc) 0%, var(--acc-light) 100%);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif;
  color: var(--txt);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 400;
}

a {
  color: var(--pri);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--pri-dark);
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px var(--shadow);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo img {
  display: block;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
  align-items: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0 0 1rem 0;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero img {
  border-radius: 1rem;
  box-shadow: 0 10px 40px var(--shadow);
  transition: transform 0.3s ease;
}

.hero img:hover {
  transform: translateY(-5px);
}

.grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  background: white;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-hover);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h2 {
  color: var(--pri);
  margin-top: 0;
  font-weight: 600;
}

.btn {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--shadow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-hover);
  text-decoration: none;
  color: white;
}

.btn-secondary {
  background: var(--gradient-acc);
}

.site-footer {
  background: var(--pri-dark);
  color: white;
  margin-top: 4rem;
  padding: 3rem 0 1rem;
}

.site-footer a {
  color: #a0c4e8;
}

.site-footer a:hover {
  color: white;
}

.copy {
  text-align: center;
  color: #a0c4e8;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: var(--pri-dark);
  color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner a {
  color: #a0c4e8;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.cookie-actions button {
  border: 0;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

#cookie-yes {
  background: var(--gradient);
  color: white;
}

#cookie-partial {
  background: var(--gradient-acc);
  color: white;
}

#cookie-no {
  background: #dc3545;
  color: white;
}

.cookie-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 1rem 0 2rem 0;
  padding: 0.5rem 0;
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--pri);
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--txt);
}

input, textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--pri);
  box-shadow: 0 0 0 3px rgba(45, 90, 135, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Tables */
.table-scroll {
  overflow-x: auto;
  border-radius: 1rem;
  box-shadow: 0 4px 20px var(--shadow);
}

table {
  border-collapse: collapse;
  width: 100%;
  background: white;
}

th, td {
  border: 1px solid var(--border);
  padding: 1rem;
  text-align: left;
}

th {
  background: var(--pri);
  color: white;
  font-weight: 600;
}

tr:nth-child(even) {
  background: #f8fafc;
}

tr:hover {
  background: #e2e8f0;
}

/* Responsive improvements */
@media (max-width: 767px) {
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .site-nav ul {
    gap: 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .cookie-banner {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }
  
  .cookie-actions {
    flex-direction: column;
  }
  
  .cookie-actions button {
    width: 100%;
  }
}
