:root {
  --primary-color: #4169E1;
  --primary-dark: #1a3a99;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --border-light: #e0e0e0;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 1.09rem;
  line-height: 1.66;
  color: var(--text-dark);
  background-color: var(--white);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all 0.28s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
}

.logo img {
  height: 40px;
  margin-right: 0.75rem;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: color 0.28s ease;
}

nav a:hover {
  color: var(--primary-color);
}

main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  font-size: 2.74rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h2 {
  font-size: 2.04rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.66;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.28s ease;
}

a:hover {
  color: var(--primary-dark);
}

.hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
  padding: 4rem 2rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text h1 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(65, 105, 225, 0.12);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(65, 105, 225, 0.15);
}

.card img {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.blog-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.28s ease;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(65, 105, 225, 0.15);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-content h3 {
  margin-bottom: 0.5rem;
}

.blog-card-content p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.cta-read {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  transition: gap 0.28s ease;
  gap: 0.5rem;
}

.cta-read:hover {
  gap: 1rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.faq-answer {
  color: var(--text-light);
  line-height: 1.66;
}

.button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.28s ease;
  font-family: inherit;
}

.button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(65, 105, 225, 0.3);
}

.button-secondary {
  background-color: var(--bg-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.28s ease;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-info {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 500px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

input,
textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.28s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

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

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  border: 1px solid #c3e6cb;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  border: 1px solid #f5c6cb;
}

.disclaimer-box {
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.disclaimer-box strong {
  color: var(--text-dark);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: var(--white);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 999;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.28s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  flex: 1;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-accept {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.28s ease;
}

.cookie-accept:hover {
  background-color: var(--primary-dark);
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    gap: 1rem;
    width: 100%;
    justify-content: center;
  }

  header {
    position: relative;
  }

  main {
    margin-top: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 2rem 1rem;
  }
}
