:root {
  --primary: #2c3e50;
  --secondary: #34495e;
  --accent: #3498db;
  --light: #ecf0f1;
  --dark: #1a252f;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --success: #27ae60;
  --error: #e74c3c;
  --warning: #f39c12;
  
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.brand:hover {
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

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

nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

main {
  min-height: 60vh;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: var(--space-xl) 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto var(--space-md);
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--light);
}

section {
  padding: var(--space-lg) 0;
}

section:nth-child(even) {
  background: var(--light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.card {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.card p {
  color: var(--text-light);
  line-height: 1.8;
}

.icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.content-split img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.disclaimer {
  background: #fff3cd;
  border-left: 4px solid var(--warning);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  border-radius: var(--radius-sm);
}

.disclaimer p {
  color: #856404;
  font-size: 0.95rem;
}

footer {
  background: var(--dark);
  color: var(--light);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-section h4 {
  margin-bottom: var(--space-sm);
  color: var(--white);
}

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

.footer-section a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: var(--space-xs);
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--secondary);
  color: var(--text-light);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  z-index: 2000;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.cookie-settings {
  display: none;
  margin-top: var(--space-md);
}

.cookie-settings.active {
  display: block;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm);
  border-bottom: 1px solid var(--light);
}

.toggle {
  position: relative;
  width: 50px;
  height: 24px;
  background: var(--text-light);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle.active {
  background: var(--success);
}

.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.toggle.active::after {
  transform: translateX(26px);
}

.toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--light);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--error);
}

.error-message {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: var(--space-xs);
  display: none;
}

.form-group.error .error-message {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

.thank-you {
  text-align: center;
  padding: var(--space-xl) 0;
}

.thank-you h1 {
  font-size: 3rem;
  color: var(--success);
  margin-bottom: var(--space-md);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-sm);
}

.policy-content h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.policy-content h2 {
  font-size: 1.75rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.policy-content h3 {
  font-size: 1.25rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--secondary);
}

.policy-content p,
.policy-content ul {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.policy-content ul {
  padding-left: var(--space-md);
}

.policy-content li {
  margin-bottom: var(--space-xs);
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  nav.active {
    max-height: 500px;
  }
  
  nav ul {
    flex-direction: column;
    padding: var(--space-sm);
    gap: var(--space-sm);
  }
  
  nav a::after {
    display: none;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .card h3 {
    font-size: 1.25rem;
  }
  
  .card p {
    font-size: 0.9rem;
  }
  
  .content-split {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-buttons {
    justify-content: stretch;
  }
  
  .cookie-buttons .btn {
    flex: 1;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
  
  .cookie-banner p {
    font-size: 0.9rem;
  }
  
  .form-group label {
    font-size: 0.95rem;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 0.95rem;
  }
  
  .btn {
    font-size: 0.95rem;
  }
  
  .footer-section h4 {
    font-size: 1.1rem;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.9rem;
  }
  
  .disclaimer p {
    font-size: 0.85rem;
  }
}
