/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c3e94;
  color: white;
  padding: 20px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-popup.show {
  transform: translateY(0);
}

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

.cookie-content p {
  flex: 1;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn-accept, .btn-decline {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-accept {
  background: #fff;
  color: #2c3e94;
}

.btn-accept:hover {
  background: #f0f0f0;
}

.btn-decline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-decline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-link {
  color: #fff;
  text-decoration: underline;
}

/* Header */
.header {
  background: #2c3e94;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-brand a {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-menu a:hover {
  opacity: 0.8;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: #2c3e94;
  color: white;
  padding: 140px 0 80px;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

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

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.btn-primary {
  background: white;
  color: #2c3e94;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Tarife Section */
.tarife {
  padding: 80px 0;
  background: #f8f9ff;
}

.tarife h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #2c3e94;
}

.tarife-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tarife-card {
  background: #2c3e94;
  color: white;
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  flex: 1;
  max-width: 350px;
  min-width: 280px;
  transition: transform 0.3s;
}

.tarife-card.featured {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(44, 62, 148, 0.3);
}

.tarife-card:hover {
  transform: translateY(-5px);
}

.tarife-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.card-icon {
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 60px;
  height: 60px;
}

.tarife-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tarife-card p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 1rem;
}

/* About Section */
.about {
  padding: 80px 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-text {
  flex: 1;
}

.about h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #2c3e94;
}

.about p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: #f8f9ff;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #2c3e94;
}

.features-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-card {
  background: #2c3e94;
  color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  flex: 1;
  max-width: 280px;
  min-width: 250px;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-image {
  width: 100%;
  margin: 0 auto 1.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card p {
  opacity: 0.9;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: #2c3e94;
  color: white;
}

.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: opacity 0.3s;
}

.faq-question:hover {
  opacity: 0.8;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  opacity: 0.9;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #f8f9ff;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #2c3e94;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #2c3e94;
  padding: 3rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: #1a237e;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand a {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-social img {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
      position: fixed;
      top: 70px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 70px);
      background: #2c3e94;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      padding-top: 2rem;
      transition: left 0.3s;
  }

  .nav-menu.active {
      left: 0;
  }

  .nav-toggle {
      display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
      opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
  }

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

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

  .tarife-grid {
      flex-direction: column;
      align-items: center;
  }

  .tarife-card.featured {
      transform: none;
  }

  .about-content {
      flex-direction: column;
      text-align: center;
  }

  .features-grid {
      flex-direction: column;
      align-items: center;
  }

  .footer-content {
      flex-direction: column;
      text-align: center;
  }

  .footer-links {
      justify-content: center;
  }

  .cookie-content {
      flex-direction: column;
      text-align: center;
  }

  .cookie-buttons {
      justify-content: center;
      flex-wrap: wrap;
  }

  .contact-form {
      margin: 0 1rem;
      padding: 2rem;
  }

  .container {
      padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero {
      padding: 120px 0 60px;
  }

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

  .tarife h2,
  .features h2,
  .faq h2,
  .contact h2 {
      font-size: 1.8rem;
  }

  .about h2 {
      font-size: 1.5rem;
  }

  .tarife-card,
  .feature-card {
      min-width: auto;
      width: 100%;
  }

  .contact-form {
      padding: 1.5rem;
  }

  .faq-question h3 {
      font-size: 1rem;
  }
}

.legal {
  padding: 120px 0 60px;
}