
/* Reset and base styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a365d;
  background-color: #f7fafc;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  color: #2d3748;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #2b6cb0;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.menu a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.menu a:hover {
  color: #2b6cb0;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2b6cb0;
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
}

.burger:hover {
  background: #f7fafc;
  border-color: #2b6cb0;
}

/* Top bar */
.topbar {
  background: linear-gradient(135deg, #2b6cb0, #3182ce);
  color: #fff;
  padding: 8px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Hero section */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px 0;
  margin: 24px 0;
}

.hero img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.hero img:hover {
  transform: scale(1.02);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 24px;
}

/* Cards */
.card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

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

.card h2, .card h3 {
  color: #2d3748;
  margin-bottom: 12px;
}

.card h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

/* CTA buttons */
.cta {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  border: 2px solid #2b6cb0;
  color: #2b6cb0;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.cta:hover {
  background: #2b6cb0;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.3);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: #f7fafc;
  color: #4a5568;
  margin: 4px 8px 4px 0;
}

.badges {
  margin: 16px 0;
}

/* Forms */
form.card {
  margin-top: 24px;
}

form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
  color: #2d3748;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  margin-top: 4px;
  background: #ffffff;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: #2b6cb0;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

form button {
  background: #2b6cb0;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

form button:hover {
  background: #2c5282;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.3);
}

/* Footer */
.site-footer {
  margin-top: 60px;
  border-top: 1px solid #e2e8f0;
  padding: 40px 0;
  background: #f7fafc;
}

.site-footer h3 {
  color: #2d3748;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 600;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: #4a5568;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #2b6cb0;
}

.copy {
  text-align: center;
  color: #718096;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #2d3748;
  color: #fff;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-actions button {
  border: 1px solid #4a5568;
  background: transparent;
  padding: 8px 16px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.cookie-actions button:hover {
  background: #4a5568;
  border-color: #2b6cb0;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid #2b6cb0;
  padding-left: 16px;
  margin: 16px 0;
  font-style: italic;
  color: #4a5568;
}

blockquote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 600;
  color: #2d3748;
  font-size: 0.9rem;
}

/* Utility classes */
.table {
  overflow: auto;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .menu {
    display: none;
  }
  
  .burger {
    display: inline-block;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .card {
    padding: 16px;
  }
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto;
}
