/* Variables CSS */
:root {
  --primary-color: #007bff;
  --primary-dark: #0056b3;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-medium: 0 5px 25px rgba(0,0,0,0.15);
  --shadow-heavy: 0 10px 40px rgba(0,0,0,0.2);
}

/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Container y Grid System */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-12,
.col-md-6,
.col-lg-3,
.col-lg-4,
.col-lg-6,
.col-lg-8 {
  padding: 0 15px;
}

.col-12 {
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-6 {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-3 {
    width: 25%;
  }
  
  .col-lg-4 {
    width: 33.333333%;
  }
  
  .col-lg-6 {
    width: 50%;
  }
  
  .col-lg-8 {
    width: 66.666667%;
  }
}

/* Utilidades */
.text-center {
  text-align: center;
}

.text-md-right {
  text-align: right;
}

@media (max-width: 767px) {
  .text-md-right {
    text-align: center;
  }
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mr-3 {
  margin-right: 1rem;
}

.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.bg-light {
  background-color: var(--light-color);
}

.min-vh-100 {
  min-height: 100vh;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.hero-section {
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,100 1000,0"/></svg>');
  background-size: cover;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  margin-top: 2rem;
}

.hero-image {
  position: relative;
  height: 400px;
}

.floating-card {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  animation: float 3s ease-in-out infinite;
  color: white;
}

.floating-card:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  top: 50%;
  right: 20%;
  animation-delay: 1s;
}

.floating-card:nth-child(3) {
  bottom: 20%;
  left: 30%;
  animation-delay: 2s;
}

.floating-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.floating-card h5 {
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Secciones generales */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 0;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.service-card p {
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.service-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

.service-features i {
  color: var(--success-color);
  margin-right: 0.5rem;
  width: 16px;
}

/* Feature Cards */
.feature-card {
  padding: 2rem 1rem;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon i {
  font-size: 1.8rem;
  color: white;
}

.feature-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.feature-card p {
  color: var(--secondary-color);
  margin: 0;
}

/* Pricing Cards */
.pricing-card {
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
  width: 120px;
  text-align: center;
  z-index: 10;
}

.pricing-header {
  background: var(--light-color);
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}

.pricing-header h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0.25rem;
}

.period {
  font-size: 1rem;
  color: var(--secondary-color);
}

.pricing-body {
  padding: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f8f9fa;
}

.pricing-features i {
  color: var(--success-color);
  margin-right: 0.75rem;
  width: 16px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
}

.btn-outline-light {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
  text-decoration: none;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-secondary);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  margin-bottom: 2rem;
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 1rem;
}

.cta-guarantee i {
  margin-right: 0.5rem;
}

/* Footer */
.footer-section {
  background: var(--dark-color);
  color: white;
}

.footer-section h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-text {
  color: #adb5bd;
  margin-bottom: 0;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-link {
  color: #adb5bd;
  text-decoration: none;
  margin-right: 1.5rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
  text-decoration: none;
}

.footer-copyright {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .pricing-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .cta-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .floating-card {
    position: relative;
    margin: 1rem auto;
    width: 200px;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }
  
  .hero-image {
    height: auto;
    margin-top: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
}

