/* ========================================
   MEJORAS ESTÉTICAS UNIFY BOT
   ======================================== */

/* Variables adicionales */
:root {
  --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-green: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --gradient-orange: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --gradient-pink: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-cyan: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Hero Section Enhancements */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, rgba(114, 137, 218, 0.05) 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.2);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease-out;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.hero-image-wrapper {
  position: relative;
  animation: floating 3s ease-in-out infinite;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

@keyframes floating {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Button Enhancements */
.btn-glow {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.btn-glow:hover {
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
  transform: translateY(-2px);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-glow:hover .btn-shine {
  left: 100%;
}

/* Section Headers */
.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(88, 101, 242, 0.1);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Feature Cards */
.feature-card {
  position: relative;
  padding: 2rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .feature-card {
  background: var(--card);
  border-color: var(--border-color);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  background: var(--gradient-primary);
  box-shadow: 0 8px 16px rgba(114, 137, 218, 0.2);
}

[data-theme="dark"] .feature-icon {
  box-shadow: 0 8px 16px rgba(114, 137, 218, 0.3);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.gradient-purple { background: var(--gradient-purple); }
.gradient-blue { background: var(--gradient-blue); }
.gradient-green { background: var(--gradient-green); }
.gradient-orange { background: var(--gradient-orange); }
.gradient-pink { background: var(--gradient-pink); }
.gradient-cyan { background: var(--gradient-cyan); }

.feature-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(88, 101, 242, 0.1);
  border-radius: 50%;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Command Cards */
.command-card {
  position: relative;
  padding: 1.5rem;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.command-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.command-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.command-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 8px;
  color: white;
  font-size: 1.25rem;
}

.command-usage {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(88, 101, 242, 0.05);
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
}

.command-usage code {
  color: var(--primary);
  font-weight: 600;
}

.usage-label {
  color: var(--text-secondary);
  font-weight: 600;
  margin-right: 0.5rem;
}

/* CTA Section */
.cta {
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, rgba(114, 137, 218, 0.05) 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 20px;
  color: white;
  font-size: 2rem;
  margin: 0 auto 2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.trust-item i {
  color: var(--success-color, #3BA55C);
}

/* Footer Enhancements */
.footer {
  position: relative;
  background: linear-gradient(135deg, #2f3136 0%, #202225 100%);
  color: #dcddde;
  padding-top: 4rem;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  fill: var(--bg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.footer-brand h3 {
  color: white;
  margin: 1rem 0;
}

.footer-brand p {
  color: #b9bbbe;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-links h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #b9bbbe;
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-newsletter h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-newsletter p {
  color: #b9bbbe;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.newsletter-form input::placeholder {
  color: #b9bbbe;
}

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  text-align: center;
}

.footer-copyright {
  color: #b9bbbe;
  font-size: 0.875rem;
}

/* Logo Text */
.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  margin-left: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav Links with Icons */
.nav-link i {
  margin-right: 0.5rem;
  font-size: 0.875rem;
}

/* Terms & Privacy Enhancements */
.terms-icon,
.privacy-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 20px;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 12px;
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.section-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-right: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-left: 0;
}

.feature-list li i {
  margin-top: 0.25rem;
  font-size: 1.125rem;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .cta-trust {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-links a {
    justify-content: center;
  }
}
