:root {
  --primary-color: #263238;
  --primary-light: #4f5b62;
  --primary-dark: #000a12;
  --accent-color: #00bcd4;
  --accent-dark: #008ba3;
  --text-light: #eceff1;
  --text-muted: #b0bec5;
  --card-bg: rgba(255, 255, 255, 0.05);
  --gradient-1: linear-gradient(135deg, #263238 0%, #37474f 100%);
  --gradient-2: linear-gradient(135deg, #00bcd4 0%, #008ba3 100%);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: var(--primary-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background: rgba(38, 50, 56, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding-top: 5px;
  padding-bottom: 5px;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  position: relative;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  background:
    radial-gradient(circle at 20% 80%, rgba(0, 188, 212, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(38, 50, 56, 0.3) 0%, transparent 50%),
    var(--gradient-1),
    url('/img/fondo.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  color: white;
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2300bcd4' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.btn-glow {
  background: var(--gradient-2);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 188, 212, 0.6);
  color: white;
}

.btn-outline-glow {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-glow:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

/* Feature Icons */
.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 10px 20px rgba(0, 188, 212, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.feature-icon:hover::before {
  left: 100%;
}

.feature-icon:hover {
  transform: translateY(-10px) rotate(5deg);
  box-shadow: 0 15px 30px rgba(0, 188, 212, 0.5);
}

.feature-icon i {
  color: white;
  font-size: 32px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

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

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background: var(--gradient-1);
  position: relative;
}

.service-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 188, 212, 0.2);
}

.service-card h4 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-muted);
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  background: var(--primary-dark);
  position: relative;
}

.pricing-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 188, 212, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 188, 212, 0.2);
}

.pricing-card.featured {
  border: 2px solid var(--accent-color);
  position: relative;
  transform: scale(1.05);
}

.pricing-card.featured::after {
  content: "Más Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-2);
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.pricing-card h4 {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  margin: 1.5rem 0;
  color: var(--accent-color);
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--gradient-1);
  position: relative;
}

.about-img {
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.about-img:hover {
  transform: scale(1.02);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.feature-list i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: var(--primary-dark);
  position: relative;
}

.contact-form {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 12px 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25);
  color: var(--text-light);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 5s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .pricing-card.featured {
    transform: scale(1);
    margin: 20px 0;
  }
}
