:root {
    --primary: #8B5CF6;
    --primary-rgb: 139, 92, 246;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --secondary: #10B981;
    --secondary-rgb: 16, 185, 129;
    --accent: #F59E0B;
    --accent-rgb: 245, 158, 11;
    --dark: #171717;
    --dark-rgb: 23, 23, 23;
    --darker: #0F0F0F;
    --darker-rgb: 15, 15, 15;
    --light: #F9FAFB;
    --light-rgb: 249, 250, 251;
    --gray: #374151;
    --gray-light: #4B5563;
    --gray-dark: #1F2937;
    --border-radius: 12px;
    --card-border-radius: 16px;
    --box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  /* Estilos base */
  body {
    font-family: 'Inter', sans-serif;
    background-color: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
  }

  /* Estilos para el cursor personalizado */
  .cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
  }

  .cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(var(--primary-rgb), 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  }

  /* Estilos para el hero section */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0;
  }

  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  .hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(var(--primary-rgb), 0.15), transparent 70%),
                radial-gradient(circle at 70% 70%, rgba(var(--secondary-rgb), 0.1), transparent 70%);
    z-index: -1;
  }

  .hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
  }

  .hero-content {
    position: relative;
    z-index: 1;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .hero-badge i {
    margin-right: 8px;
  }

  .hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
  }

  .hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
  }

  .btn-hero {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  .btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    z-index: -1;
    transition: all 0.3s ease;
  }

  .btn-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.4);
  }

  .btn-hero:hover::after {
    opacity: 1;
  }

  .btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
  }

  .btn-hero-secondary::before,
  .btn-hero-secondary::after {
    display: none;
  }

  .btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  .hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
  }

  .hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .hero-image-container {
    position: relative;
    z-index: 1;
  }

  .hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.5s ease;
  }

  .hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  }

  .hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
  }

  .hero-image-floating {
    animation: float 6s ease-in-out infinite;
  }

  @keyframes float {
    0% {
      transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0px);
    }
    50% {
      transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(-20px);
    }
    100% {
      transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0px);
    }
  }

  /* Sección de características */
  .features {
    position: relative;
    padding: 120px 0;
    background-color: var(--dark);
    overflow: hidden;
  }

  .features-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .features-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(var(--primary-rgb), 0.1), transparent 70%);
    z-index: 0;
  }

  .section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
  }

  .section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
  }

  .section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-card {
    position: relative;
    background: rgba(var(--darker-rgb), 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    height: 100%;
    transition: all 0.5s ease;
    overflow: hidden;
    z-index: 1;
  }

  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), transparent);
    z-index: -1;
  }

  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(var(--primary-rgb), 0.3);
  }

  .feature-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
  }

  .feature-card:hover .feature-icon-container {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: scale(1.1) rotate(10deg);
  }

  .feature-icon {
    font-size: 32px;
    color: var(--primary);
    transition: all 0.3s ease;
  }

  .feature-card:hover .feature-icon {
    color: white;
  }

  .feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
  }

  .feature-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
  }

  /* Sección de comandos */
  .commands {
    position: relative;
    padding: 120px 0;
    background-color: var(--darker);
    overflow: hidden;
  }

  .commands-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .commands-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(var(--primary-rgb), 0.1), transparent 70%);
    z-index: 0;
  }

  .command-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
  }

  .command-tab {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
  }

  .command-tab:first-child {
    border-radius: 12px 0 0 12px;
  }

  .command-tab:last-child {
    border-radius: 0 12px 12px 0;
  }

  .command-tab.active {
    background: rgba(var(--primary-rgb), 0.2);
    color: white;
  }

  .command-tab:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: white;
  }

  .command-content {
    display: none;
    position: relative;
    z-index: 1;
  }

  .command-content.active {
    display: block;
  }

  .command-card {
    background: rgba(var(--dark-rgb), 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
  }

  .command-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .command-name {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }

  .command-name i {
    color: var(--primary);
    margin-right: 10px;
  }

  .command-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 15px;
  }

  .command-usage {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    font-family: monospace;
    color: var(--primary-light);
    font-size: 14px;
    margin-bottom: 0;
  }

  .command-more {
    text-align: center;
    margin-top: 40px;
  }

  .btn-more {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .btn-more:hover {
    background: rgba(var(--primary-rgb), 0.2);
    color: white;
    transform: translateY(-3px);
  }

  /* Sección de estadísticas */
  .stats {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    overflow: hidden;
  }

  .stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: 0;
  }

  .stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 1;
  }

  .stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }

  /* Sección de CTA */
  .cta {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--dark), var(--darker));
    overflow: hidden;
    text-align: center;
  }

  .cta-bg {
    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: radial-gradient(circle at 50% 50%, rgba(var(--primary-rgb), 0.15), transparent 70%);
    z-index: 0;
  }

  .cta-content {
    position: relative;
    z-index: 1;
  }

  .cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .btn-cta {
    padding: 16px 40px;
    font-weight: 700;
    font-size: 18px;
    border-radius: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .btn-cta-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
  }

  .btn-cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.3);
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    color: white;
  }

  .btn-cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
  }

  .btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    color: white;
  }

  /* Animaciones */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .fade-up.active {
    opacity: 1;
    transform: translateY(0);
  }

  .fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
  }

  .fade-in.active {
    opacity: 1;
  }

  /* Responsive */
  @media (max-width: 1200px) {
    .hero-title {
      font-size: 3.5rem;
    }
    .cta-title {
      font-size: 3rem;
    }
    .section-title {
      font-size: 2.5rem;
    }
  }

  @media (max-width: 992px) {
    .hero-title {
      font-size: 3rem;
    }
    .hero-description {
      font-size: 1.1rem;
    }
    .hero-stats {
      gap: 20px;
    }
    .hero-stat-value {
      font-size: 2rem;
    }
    .section {
      padding: 80px 0;
    }
    .cta-title {
      font-size: 2.5rem;
    }
  }

  @media (max-width: 768px) {
    .hero-title {
      font-size: 2.5rem;
    }
    .hero-description {
      font-size: 1rem;
    }
    .hero-buttons {
      flex-direction: column;
    }
    .hero-stats {
      flex-wrap: wrap;
      justify-content: center;
    }
    .hero-stat {
      width: 50%;
      margin-bottom: 30px;
    }
    .section-title {
      font-size: 2rem;
    }
    .cta-title {
      font-size: 2rem;
    }
    .cta-description {
      font-size: 1rem;
    }
    .cta-buttons {
      flex-direction: column;
    }
  }

  @media (max-width: 576px) {
    .hero-title {
      font-size: 2rem;
    }
    .section-title {
      font-size: 1.8rem;
    }
    .hero-stat {
      width: 100%;
    }
    .command-tabs {
      flex-direction: column;
      gap: 10px;
    }
    .command-tab:first-child,
    .command-tab:last-child {
      border-radius: 12px;
    }
  }