:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #0ea5e9;
  --accent: #06b6d4;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --bg-dark: #111827;
  --border: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  font-family: var(--font-heading);
  transition: var(--transition);
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

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

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

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

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

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

main {
  margin-top: 70px;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  font-family: var(--font-heading);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: white;
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

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

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

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

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

section {
  padding: var(--space-2xl) var(--space-md);
}

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

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  color: white;
}

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

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

.bg-alt {
  background: var(--bg-alt);
}

.feature-list {
  list-style: none;
  margin-top: var(--space-md);
}

.feature-list li {
  padding: var(--space-sm) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-light);
}

.feature-list li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
  font-size: 1.25rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  text-align: center;
  border-radius: var(--radius-xl);
  margin: var(--space-xl) var(--space-md);
  padding: var(--space-2xl);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  opacity: 0.95;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.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-sm);
}

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

.checkbox-group label {
  margin: 0;
  font-weight: 400;
  font-size: 0.875rem;
}

footer {
  background: var(--bg-dark);
  color: white;
  padding: var(--space-xl) var(--space-md) var(--space-md);
}

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

.footer-section h3 {
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

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

.footer-section ul li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: var(--shadow-xl);
  padding: var(--space-md);
  z-index: 2000;
  display: none;
  border-top: 3px solid var(--primary);
}

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

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

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text p {
  color: var(--text);
  margin-bottom: var(--space-xs);
}

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

.cookie-buttons .btn {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.875rem;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-content h2 {
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.cookie-category {
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-alt);
  border-radius: var(--radius-md);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.cookie-category h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.cookie-category p {
  font-size: 0.875rem;
  color: var(--text-light);
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border);
  transition: var(--transition);
  border-radius: 26px;
}

.toggle-slider::before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  transition: var(--transition);
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.modal-buttons .btn {
  flex: 1;
}

.thank-you-container {
  text-align: center;
  padding: var(--space-2xl);
  max-width: 600px;
  margin: var(--space-2xl) auto;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2.5rem;
  color: white;
}

.thank-you-container h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.thank-you-container p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

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

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

.policy-content h2 {
  font-size: 1.75rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.policy-content h3 {
  font-size: 1.25rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
}

.policy-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
  color: var(--text-light);
}

.policy-content ul,
.policy-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  color: var(--text-light);
}

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

.policy-content strong {
  color: var(--text);
}

.disclaimer {
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  border-radius: var(--radius-md);
}

.disclaimer p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    padding: var(--space-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    align-items: flex-start;
  }

  nav ul.active {
    left: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-buttons .btn {
    flex: 1;
  }

  .modal-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .card {
    padding: var(--space-md);
  }
}
