/* Variables y Reset */
:root {
    --primary: #00ff30;
    --primary-dark: #073000;
    --black: #000000;
    --white: #ffffff;
    --gray: #f5f5f5;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
}
#main{
    position: relative;
    width: 100%;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: var(--black);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
}

.logo {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a:hover {
    color: var(--primary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu {
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background-color: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
    
}

.hero .fondo-inicio{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.2;
}

.grid-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    margin-top: -50px;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--primary), #ff4b2b, white, var(--primary));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 6s ease infinite;
    position: relative;
    margin-top: -100px;
}

@keyframes gradientShift {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--black);
}

.btn-primary:hover {
    background-color: #00cc28;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 48, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--black);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    z-index: 1;
    text-align: center;
    z-index: 1001;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    filter: drop-shadow( 0px 0px 10px var(--primary-dark));
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--black);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 48, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--black);
}

.service-card p {
    color: var(--dark-gray);
}

.platforms {
    margin-top: 50px;
    text-align: center;
}

.platform-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.platform-icons i {
    font-size: 2.5rem;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.platform-icons i:hover {
    color: var(--primary);
    transform: scale(1.2);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.grid-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.skills {
    margin-top: 30px;
}

.skill {
    margin-bottom: 20px;
}

.skill h4 {
    margin-bottom: 10px;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary);
    border-radius: 5px;
    transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1); /* Efecto de aceleración-deceleración */
    width: 0; /* Estado inicial */
}
.skill-percent{
    font-weight: bold;
}
/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.507);
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--black);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    position: relative;
}

.social-links a {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-dark);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.social-links a i{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.social-links a:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.301);
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.404);
}

.form-group {
    margin-bottom: 20px;
}
.contact-form button{
    background-color: var(--primary-dark);
    color: var(--white);
    border: none;
    cursor: pointer;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 255, 48, 0.1);
  
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo .logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3,
.footer-services h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
/* Estilos para la sección demo */
.demo {
    padding: 20px 0;
    background-color: transparent; 
    position: relative;
    margin-top: -180px;
}

.parent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto; 
    padding: 0 20px; 
}

.box { 
    background-color: #ffffff; 
    display: flex;
    flex-direction: column; /* Para que el texto se apile */
    justify-content: center;
    align-items: center;
    padding: 40px 0; /* Espacio interno para que el texto respire */
    box-shadow: 4px 10px 20px rgba(2, 41, 15, 0.993);
    color: #02290f; /* Cambiar a oscuro porque el fondo es blanco */
    font-size: 1rem; /* Ajuste para que el texto no se salga */
    font-weight: bold;
    text-align: center; /* Centrado horizontal del texto */
    border-radius: 8px;
    position: relative;
    padding-bottom: 40px;
}

.box h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #02290f;
    position: relative;
    font-weight: bold;
    margin-top: -40px;
}

.box p {
    font-size: 0.95rem;
    margin: 5px 0;
    color: #333;
}
.box i{
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    margin-top: 20px;
    background-color: rgb(0, 0, 0);
    padding: 12px;
    border-radius: 7px;
    
}
.box .netflix{
    width: 40px;
    height: 40px;
}
.price {
    color: #e63946;
    font-weight: bold;
    
}
#cuentas-text{
    position: relative;
    margin-top: -100px;
}
.whatsapp-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #25D366;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: var(--primary-dark);
}
/* Responsive para tablets */
@media (max-width: 900px) {
    .parent {
        grid-template-columns: repeat(2, 1fr);
    }
  
}

/* Responsive para móviles */
@media (max-width: 1210px) {
   .demo{
    margin-top: -100px;
   }
   .box h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #02290f;
    position: relative;
    font-weight: bold;
    margin-top: 0px;
    
}

}
@media (max-width: 600px) {
    .parent {
        grid-template-columns: 1fr; /* 1 columna */
      
    }
    
    .box {
        aspect-ratio: 2/1;
       
    }
}
@media (max-width: 500px) {
    .box {
        aspect-ratio: 1/1; /* Cambia a rectángulo en móviles (opcional) */
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
        position: relative;
        margin-top: -50px;
    }
    .demo{
        margin-top: -80px;
       }
    .img-fluid{
        max-width: 65%;
    }
    .header{
        z-index: 1002;
        background-color: transparent;
    }
    .grid-hero,
    .grid-about,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-image,
    .about-image {
        order: -1;
    }
    
    .hero-content,
    .about-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
        z-index: 1003;
    }
    .demo{
        margin-top: -50px;
       }
    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--black);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    #cuentas-text{
        position: relative;
        margin-top: -20px;
    }
    .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}