:root {
  --primary-color: #1e88e5;
  --secondary-color: #00acc1;
  --accent-color: #ff5722;
  --text-color: #263238;
  --light-color: #eceff1;
  --dark-color: #263238;
  --gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: var(--light-color);
  color: var(--text-color);
  line-height: 1.6;
}

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

header {
  background: var(--dark-color);
  color: white;
  padding: 15px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.logo svg {
  width: 36px;
  height: 36px;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

.banner {
  background: var(--gradient);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50,0 L100,50 L50,100 L0,50 Z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  animation: rotate 60s linear infinite;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.banner h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.banner p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: white;
  opacity: 0.9;
}

.button {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.button:hover {
  background-color: #f4511e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.features {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient);
}

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

.feature-box {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--light-color);
}

.steps {
  padding: 60px 0;
  background-color: var(--dark-color);
  color: white;
}

.step-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.step-box {
  text-align: center;
  position: relative;
}

.step-box::before {
  content: "";
  position: absolute;
  top: 40px;
  right: -20px;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
  display: none;
}

@media (min-width: 768px) {
  .step-box:not(:last-child)::before {
    display: block;
  }
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
  color: white;
}

.step-box h3 {
  margin-bottom: 15px;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.faq {
  padding: 60px 0;
  background-color: white;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

.faq-question {
  padding: 18px 20px;
  background-color: #f9f9f9;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 20px;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question {
  background-color: var(--primary-color);
  color: white;
}

.faq-item.active .faq-answer {
  padding: 20px;
  height: auto;
  border-top: 1px solid #e0e0e0;
}

footer {
  background: var(--dark-color);
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  margin-bottom: 20px;
  color: var(--secondary-color);
}

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

.footer-links li {
  margin-bottom: 10px;
}

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

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

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Animaciones */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  .nav-menu {
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .banner h1 {
    font-size: 2rem;
  }
  
  .feature-grid, .step-container {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .banner h1 {
    font-size: 1.8rem;
  }
  
  .button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
