:root {
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --dark: #1f2937;
  --light: #f3f4f6;
  --white: #ffffff;
  --text-muted: #6b7280;
  --border: #e5e7eb;
}

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

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main,
section {
  flex: 1;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--dark);
}

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

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

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

.btn-outline-light {
  color: var(--white);
  border-color: var(--white);
  transition: all 0.3s ease;
}

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

.hero-section {
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.hero-section h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

.hero-section .lead {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.feature-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
}

.features-section {
  background-color: var(--white);
}

.why-section {
  background-color: var(--light);
}

.checkbox-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-weight: bold;
  flex-shrink: 0;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
}

.cta-section .lead {
  color: rgba(255, 255, 255, 0.9);
}

footer {
  background-color: var(--dark);
  margin-top: auto;
}

footer h5 {
  color: var(--white);
}

footer a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.contact-icon {
  font-size: 3rem;
}

.contact-form .form-control {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem;
}

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

.contact-form label {
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-check-label a {
  color: var(--primary);
  text-decoration: underline;
}

.success-icon {
  font-size: 4rem;
  color: var(--primary);
}

.cookie-banner {
  background-color: var(--dark);
  color: var(--white);
  padding: 1.5rem 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.9);
}

.legal-content {
  line-height: 1.8;
}

.alert-warning {
  background-color: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}

.alert-warning strong {
  font-weight: 700;
}

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

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

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

  .feature-icon {
    font-size: 2.5rem;
  }

  .contact-icon {
    font-size: 2.5rem;
  }

  .success-icon {
    font-size: 3rem;
  }

  .cookie-banner {
    padding: 1rem 0;
  }

  .cookie-banner .container {
    flex-direction: column;
  }

  .cookie-banner p {
    margin-bottom: 1rem;
  }

  .cookie-banner div {
    width: 100%;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.75rem;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  .btn-primary {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}
