:root {
  --primary-color: #7c3aed;
  --primary-dark: #6d28d9;
  --secondary-color: #a78bfa;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

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

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

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

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

.hero-section {
  position: relative;
  min-height: 500px;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(124, 58, 237, 0.8), rgba(167, 139, 250, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

.bg-primary {
  background-color: var(--primary-color) !important;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.shadow-sm {
  box-shadow: var(--shadow) !important;
}

.shadow {
  box-shadow: var(--shadow-md) !important;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.5rem 0;
  z-index: 9999;
  display: none;
}

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

.cookie-banner a {
  color: var(--white);
  text-decoration: underline;
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--secondary-color) !important;
  text-decoration: none;
}

.page-header {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e0e7ff 100%);
}

.consultation-step,
.faq-item,
.approach-card {
  transition: transform 0.3s ease;
}

.consultation-step:hover,
.faq-item:hover,
.approach-card:hover {
  transform: translateX(5px);
}

.success-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkmark {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: bold;
}

.thank-you-content {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-content h2 {
  color: var(--text-dark);
  font-size: 1.75rem;
}

.legal-content h4 {
  color: var(--text-dark);
  font-size: 1.25rem;
}

.legal-content a {
  color: var(--primary-color);
  font-weight: 600;
}

.legal-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

@media (max-width: 991px) {
  .hero-section {
    min-height: 400px;
  }

  .hero-image-container {
    height: 400px;
  }

  .navbar-collapse {
    background-color: var(--white);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 767px) {
  .display-4 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .cookie-banner .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}
