:root {
  --primary: #5b21b6;
  --primary-dark: #4c1d95;
  --primary-light: #7c3aed;
  --secondary: #2d3748;
  --text-dark: #1a202c;
  --text-muted: #718096;
  --bg-light: #f7fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  --success: #38a169;
  --warning: #dd6b20;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-text {
  color: var(--primary);
}

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

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary);
}

.navbar-nav .nav-item.active .nav-link {
  color: var(--primary);
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.85) 0%, rgba(76, 29, 149, 0.75) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  text-align: center;
  width: 100%;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content .lead {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--white);
  opacity: 0.95;
}

.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header .lead {
  color: var(--white);
  opacity: 0.9;
  font-size: 1.1rem;
}

.content-section {
  padding: 4rem 0;
}

.content-section.bg-light {
  background: var(--bg-light);
}

.content-section h2 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.content-section h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.card {
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.card-body {
  padding: 1.5rem;
}

.cta-link {
  color: var(--primary);
  font-weight: 500;
  display: inline-block;
  margin-top: 0.5rem;
}

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

.video-placeholder {
  background: var(--secondary);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1rem;
}

.video-placeholder p {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.video-placeholder span {
  opacity: 0.8;
}

.faq-section {
  margin-top: 2rem;
}

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

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

.faq-item h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section .lead {
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91, 33, 182, 0.3);
}

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

.cta-section .btn-primary:hover {
  background: var(--bg-light);
  border-color: var(--bg-light);
  color: var(--primary-dark);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

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

.contact-info {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.contact-form-wrapper {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
}

.form-control {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(91, 33, 182, 0.15);
}

.legal-content {
  font-size: 0.95rem;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.legal-content ul {
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

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

.site-footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

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

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 2rem 0 1rem;
}

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

.footer-legal {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
}

.footer-legal li {
  margin: 0 0.75rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--primary);
  padding: 1.5rem 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.cookie-banner h5 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.cookie-banner p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cookie-banner .btn {
  margin: 0.25rem;
}

.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-settings-content {
  background: var(--white);
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-settings-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-settings-header h4 {
  margin: 0;
  color: var(--text-dark);
}

.close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
}

.close-modal:hover {
  color: var(--text-dark);
}

.cookie-settings-body {
  padding: 1.5rem;
}

.cookie-option {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option .form-check-label {
  cursor: pointer;
}

.cookie-option .form-check-label strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.cookie-option .form-check-label p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.cookie-settings-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .lead {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .content-section {
    padding: 3rem 0;
  }

  .cookie-banner .col-lg-4 {
    text-align: center;
    margin-top: 1rem;
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
  }

  .footer-legal li {
    margin: 0.25rem 0;
  }
}

@media (max-width: 767px) {
  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .page-header {
    padding: 3rem 0 2rem;
  }
}
