:root {
    --primary: #FF4D4D;
    --secondary: #FFD700;
    --accent: #FFA500;
    --dark: #0a0a0a;
    --darker: #050505;
    --gray: #1a1a1a;
    --light: #f8f9fa;
    --transition: all 0.4s ease;
    --card-bg: rgba(30, 30, 30, 0.7);
}

* {  
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 77, 77, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 194, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(255, 158, 0, 0.03) 0%, transparent 40%);
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(255, 77, 77, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.language-selector {
    margin-left: auto;
    margin-right: 20px;
}

.language-selector select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .language-selector {
        margin: 10px 0;
        order: 3;
        width: 100%;
    }
    
    .language-selector select {
        width: 100%;
    }
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 25px rgba(255, 77, 77, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(0, 194, 255, 0.1);
    color: var(--light);
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.section-title p {
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

nav ul li a:hover {
    color: var(--accent);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--accent);
}

.hero {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 10, 10, 0.8) 0%, rgba(5, 5, 5, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #ddd;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-stats {
    display: flex;
    margin-top: 60px;
    gap: 50px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.8rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.1rem;
    color: #aaa;
    margin: 0;
}

.social-icons {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

a{
    text-decoration: none;
}

.social-icons a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    color: var(--light);
    font-size: 1.8rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icons a:hover {
    transform: translateY(-5px);
    background: var(--gray);
}

.social-icons .instagram { color: #E1306C; }
.social-icons .tiktok { color: #69C9D0; }
.social-icons .youtube { color: #1DA1F2; }
.social-icons .twitter { color: #1DA1F2; }

.services {
    background: var(--darker);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 77, 77, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(0, 194, 255, 0.05) 0%, transparent 20%);
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 77, 77, 0.2);
}

.service-icon {
    display: flex;
    gap: 30px;
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

.service-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 25px 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-price span {
    font-size: 1rem;
    color: #aaa;
    font-weight: 400;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    flex: 1;
    min-width: 250px;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 25px;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonials {
    background: var(--darker);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px 30px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(255, 77, 77, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    color: #ddd;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid var(--accent);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--light);
}

.author-info p {
    color: var(--accent);
    font-size: 0.9rem;
}

.social-stats {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #aaa;
}

.cta {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(5, 5, 5, 0.95)),
                url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ddd;
}

.whatsapp-float {
    text-decoration: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

footer {
    background: var(--darker);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
}

.footer-about p {
    color: #aaa;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--light);
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #aaa;
}

.footer-contact p i {
    color: var(--accent);
    margin-right: 10px;
    margin-top: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #777;
    font-size: 0.9rem;
}

/* Estilos generales para todos los modales */
.modal {
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    pointer-events: none;
}

.modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background: var(--card-bg);
    margin: auto;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 20px;
    position: relative;
    text-align: left;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    overflow-y: auto;
    color: #ddd;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary);
    text-decoration: none;
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* Estilos específicos para contenido de términos, privacidad y FAQ */
.terms-content, .privacy-content, .faq-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.terms-content h3, .privacy-content h3 {
    color: var(--accent);
    margin-top: 25px;
    margin-bottom: 10px;
}

.terms-content p, .privacy-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.terms-content ul, .privacy-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.terms-content li, .privacy-content li {
    margin-bottom: 8px;
}

/* Estilos para FAQ */
.faq-item {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faq-item p {
    margin-bottom: 10px;
}

.faq-item ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

/* Scroll personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        width: 95%;
        max-height: 85vh;
    }
    
    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 2rem;
    }
    
    .modal-content h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .terms-content, .privacy-content, .faq-content {
        max-height: 70vh;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 25px 15px;
        width: 100%;
        border-radius: 15px;
        max-height: 80vh;
    }
    
    .modal-content h2 {
        font-size: 1.6rem;
    }
    
    .terms-content h3, .privacy-content h3 {
        font-size: 1.2rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
    
    .terms-content, .privacy-content, .faq-content {
        font-size: 0.95rem;
    }
}

@media (max-width: 992px) {
    .hero{
        flex-direction: column;
    }

    .hero h1 {
        text-align: center;
        font-size: 3rem;
    }

    .hero p{
        text-align: center;
    }

    .hero-btns {
        align-items: center;
    }

    .footer-content {
        display: flex;
        justify-items: center;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        display: flex;
        margin-bottom: 20px;
        justify-content: center;
    }

    .social-icons {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 40px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        transition: var(--transition);
        z-index: 1000;
        overflow-y: auto;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        gap: 25px;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        font-size: 1.2rem;
        padding: 12px 0;
    }

    .logo {
        height: 40px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
    
    /* Mejoras para el modal en dispositivos móviles */
    .modal-content {
        padding: 30px 20px;
        width: 95%;
        max-height: 85vh;
    }
    
    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }
    
    .modal-content h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .header-container{
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    /* Mejoras adicionales para el modal en dispositivos muy pequeños */
    .modal-content {
        padding: 25px 15px;
        width: 100%;
        border-radius: 15px;
        max-height: 80vh;
    }
    
    .payment-info-box {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .total-price-box {
        padding: 12px;
    }
    
    .modal-form-group label {
        font-size: 0.95rem;
    }
    
    .modal-form-group input, .modal-form-group select {
        padding: 8px;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Estilos específicos para modales de compra (seguidores y likes) */
#followersModal .modal-content,
#likesModal .modal-content {
    max-width: 500px;
    text-align: center;
}

#followersModal .modal-content h2,
#likesModal .modal-content h2 {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Estilos específicos para modales de información (términos, privacidad, FAQ) */
#termsModal .modal-content,
#privacyModal .modal-content,
#faqModal .modal-content {
    max-width: 800px;
    text-align: left;
}

#termsModal .modal-content h2,
#privacyModal .modal-content h2,
#faqModal .modal-content h2 {
    color: var(--light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.modal-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.modal-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.modal-form-group input, .modal-form-group select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: var(--gray);
    color: var(--light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

/* Estilos para el selector de plataforma */
.platform-select {
    margin-bottom: 5px;
}

.modal-form-group input:focus, .modal-form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-error-message {
    color: var(--primary);
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    display: none;
}

/* NUEVO: Estilos para la información de pago */
.payment-info-box {
    background-color: #212121;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-info-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.payment-info-box p {
    margin: 0;
    color: #ccc;
}

/* Estilos para el precio total */
.total-price-box {
    background-color: #212121;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    font-size: 1.1rem;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.total-price-box p {
    margin: 0;
    color: #ddd;
}

#totalPrice {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--accent);
}