/* Estilos específicos para el Home */

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #ffcc00;
  color: #333;
  border: 2px solid #333;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #333;
  border: 2px solid #333;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #333;
  color: #fff;
}

/* Certificate Preview */
.certificate-preview {
  background: white;
  border: 2px solid #ddd;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.certificate-preview:hover {
  transform: rotate(0deg);
}

.cert-header {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #ffcc00;
  padding-bottom: 20px;
}

.cert-logo {
  width: 50px;
  height: 50px;
  background: #ffcc00;
  border-radius: 50%;
  margin: 0 auto 15px;
}

.cert-header h3 {
  color: #333;
  font-size: 1.5rem;
  font-weight: 600;
}

.cert-body {
  text-align: center;
  margin-bottom: 30px;
}

.cert-body p {
  color: #666;
  margin: 5px 0;
}

.cert-body h2 {
  color: #333;
  font-size: 1.8rem;
  margin: 15px 0;
  font-weight: 700;
}

.cert-body h3 {
  color: #ffcc00;
  font-size: 1.3rem;
  margin: 15px 0;
  font-weight: 600;
}

.cert-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.signature-line {
  width: 120px;
  height: 2px;
  background: #333;
  margin-bottom: 5px;
}

.cert-signature p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.seal {
  width: 60px;
  height: 60px;
  background: #ffcc00;
  border-radius: 50%;
  border: 3px solid #333;
}

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

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 50px;
  font-weight: 600;
}

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

.feature-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 15px;
  background: #f8f9fa;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* How it Works */
.how-it-works {
  padding: 80px 0;
  background: #f8f9fa;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 50px;
  font-weight: 600;
}

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

.step {
  text-align: center;
  padding: 30px 20px;
}

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

.step h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.step p {
  color: #666;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #333 0%, #555 100%);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ccc;
}

.cta .btn-primary {
  background: #ffcc00;
  color: #333;
  border: 2px solid #ffcc00;
  padding: 18px 35px;
  font-size: 18px;
}

.cta .btn-primary:hover {
  background: #e6b800;
  border-color: #e6b800;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .certificate-preview {
    transform: rotate(0deg);
    padding: 25px;
  }
  
  .features h2,
  .how-it-works h2,
  .cta h2 {
    font-size: 2rem;
  }
  
  .features-grid,
  .steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero {
    padding: 50px 0;
  }
  
  .features,
  .how-it-works,
  .cta {
    padding: 60px 0;
  }
}