:root {
  --primary-color: #2F80ED; /* Azul oscuro */
  --secondary-color: #27AE60; /* Verde claro */
  --accent-color: #1F743E; /* Verde oscuro (ajustado para contraste, derivado del verde claro) */
  --light-color: #FFFFFF; /* Blanco */
  --dark-color: #000000; /* Negro */
  --gray-light: #e9ecef; /* Gris muy claro (mantengo el mismo para contraste) */
  --success-color: #27AE60; /* Verde claro para éxito (igual que secondary) */
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.7;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

h2 {
  font-size: 2rem;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  color: var(--dark-color);
}

p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: #555;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

/* Header */
header {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo i {
  margin-right: 0.5rem;
}

nav {
  display: flex;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

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

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(47,128,237,0.9) 0%, rgba(39,174,96,0.9) 100%), url('https://yutuveo.com/img/yt-hero.png') no-repeat center center/cover;
  color: var(--light-color);
  padding: 5rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero h1 {
  color: var(--light-color);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--light-color);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--light-color);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--light-color);
  margin-left: 1rem;
}

.btn-outline:hover {
  background: var(--light-color);
  color: var(--primary-color);
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

/* Plans Grid */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.plan {
  background: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-color);
  position: relative;
}

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

.plan.pro {
  border-top-color: var(--secondary-color);
}

.plan.pro .price {
  background: var(--secondary-color);
}

.plan-header {
  padding: 1.5rem;
  text-align: center;
  background: var(--light-color);
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-color);
  background: var(--primary-color);
  padding: 0.5rem;
  border-radius: 4px;
  margin: 1rem 0;
  display: inline-block;
}

.plan-features {
  padding: 1.5rem;
}

.plan-features ul {
  list-style: none;
  margin-bottom: 2rem;
}

.plan-features ul li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.plan-features ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

.plan-button {
  text-align: center;
  padding: 0 1.5rem 1.5rem;
}

/* Features Section */
.features {
  background: var(--light-color);
  padding: 4rem 0;
  margin: 4rem 0;
}

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

.feature {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  color: var(--light-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: #adb5bd;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-color);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

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

/* Badge */
.badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--secondary-color);
  color: var(--light-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .plans {
    grid-template-columns: 1fr;
  }
}