/* ==========================================
   VARIABLES Y ESTILOS GLOBALES
   ========================================== */
:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #00ff88; /* Verde neón */
    --secondary-text: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Contenedor general usado en todas las páginas */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* ==========================================
   NAVEGACIÓN (NAVBAR) - Todas las páginas
   ========================================== */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

.nav-logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-text);
    font-size: 0.9rem;
    transition: 0.3s;
}

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

/* Indicador de página activa */
.nav-link.active {
    color: var(--accent-color);
    font-weight: 700;
}

.contact-btn {
    border: 1px solid var(--accent-color);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--accent-color) !important;
}

/* ==========================================
   SECCIÓN HERO - Página de Inicio (Index)
   ========================================== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text h1 span {
    color: var(--accent-color);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--secondary-text);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Botón de Llamada a la Acción (CTA) */
.cta-button {
    background-color: var(--accent-color);
    color: black;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

/* ==========================================
   CARACTERÍSTICAS / SERVICIOS - Página de Inicio
   ========================================== */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.section-title span {
    color: var(--accent-color);
}

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

.feature-card {
    background: #151515;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #222;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--secondary-text);
    font-size: 1rem;
}

/* ==========================================
   PÁGINA: NOSOTROS
   ========================================== */
.about-hero {
    padding-top: 150px; 
    text-align: left;
}

.subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.about-hero h1 {
    font-size: 3.5rem;
    max-width: 800px;
    margin-bottom: 30px;
}

.about-values {
    background-color: #0f0f0f;
    margin-top: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.value-item h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
}

.value-item p {
    color: var(--secondary-text);
    font-size: 1.1rem;
}

/* ==========================================
   PÁGINA: CLIENTES
   ========================================== */
.section-header {
    margin-top: 100px;
    margin-bottom: 60px;
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.client-item {
    background: #111;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #222;
    transition: 0.4s;
}

.client-item img {
    max-width: 60%;
    filter: grayscale(1) opacity(0.5);
    transition: 0.4s;
}

.client-item:hover {
    border-color: var(--accent-color);
    background: #161616;
}

.client-item:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

.testimonial-card {
    background: linear-gradient(145deg, #151515, #0a0a0a);
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #222;
}

.testimonial-card p {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.4;
}

.testimonial-author strong {
    display: block;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* ==========================================
   PÁGINA: PRECIOS
   ========================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
    margin-top: 50px;
}

.pricing-card {
    background: #111;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #222;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

.pricing-card.featured {
    background: #161616;
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: black;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.price {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 30px;
}

.price span {
    font-size: 3rem;
    color: white;
    font-weight: 700;
    display: block;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.features-list li {
    margin-bottom: 15px;
    color: var(--secondary-text);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.features-list li::before {
    content: "✓";
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: bold;
}

.price-btn {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    border: 1px solid #333;
    transition: 0.3s;
    font-weight: 600;
}

.featured-btn {
    background: var(--accent-color);
    color: black;
    border: none;
}

.price-btn:hover {
    background: white;
    color: black;
}

/* ==========================================
   PÁGINA: PREGUNTAS (FAQ)
   ========================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #222;
}

.faq-question {
    width: 100%;
    padding: 25px 10px;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question span {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: transparent;
}

.faq-answer p {
    padding: 0 10px 25px 10px;
    color: var(--secondary-text);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

/* ==========================================
   PÁGINA: CONTACTO
   ========================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    margin-top: 40px;
}

.contact-info .info-item {
    margin-bottom: 40px;
}

.contact-info h3 {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 1.5rem;
    font-weight: 400;
}

.social-links a {
    color: var(--secondary-text);
    text-decoration: none;
    margin-right: 20px;
    transition: 0.3s;
}

.social-links a:hover {
    color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--secondary-text);
}

.form-group input, 
.form-group textarea {
    background: #111;
    border: 1px solid #222;
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #161616;
}

.contact-form .cta-button {
    width: fit-content;
    cursor: pointer;
    border: none;
}

/* ==========================================
   MENÚ HAMBURGUESA Y RESPONSIVE (Global)
   ========================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

@media screen and (max-width: 768px) {
    /* Responsive general */
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 80px;
        left: -100%;
        background-color: #0a0a0a;
        transition: 0.5s;
        text-align: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    #mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu.is-active .bar:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    #mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

    /* Ajustes Grid Móvil */
    .values-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }
}

/* ==========================================
   FOOTER (Pie de página) - Todas las páginas
   ========================================== */
.main-footer {
    background-color: #050505;
    padding: 60px 0;
    border-top: 1px solid #111;
    margin-top: 100px;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    letter-spacing: -1px;
}

.footer-logo p {
    color: var(--secondary-text);
    font-size: 0.85rem;
    margin-top: 15px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0;
        margin-top: 60px;
    }
}


/* ==========================================
   ESTILOS DE SOPORTE DIRECTO (WHATSAPP)
   ========================================== */

   /* Estilo para el aviso de WhatsApp debajo del form */
.whatsapp-prompt {
    margin-top: 30px;
    text-align: left;
    padding: 20px;
    background: #111; /* Fondo un poco más claro que el principal */
    border-radius: 12px;
    border: 1px dashed #333; /* Borde punteado sutil */
}

.whatsapp-prompt p {
    font-size: 0.95rem;
    color: var(--secondary-text);
}

.whatsapp-prompt a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 5px;
    transition: 0.3s;
}

.whatsapp-prompt a span {
    transition: margin-left 0.3s;
}

.whatsapp-prompt a:hover {
    text-decoration: underline;
}

.whatsapp-prompt a:hover span {
    margin-left: 8px; /* Animación de la flechita */
}

/* Ajuste para móvil */
@media (max-width: 768px) {
    .whatsapp-prompt {
        text-align: center;
    }
}

/* ===================================================
   DETALLES DESPLEGABLES DE PERCIOS (MÁS INFORMACIÓN)
   =================================================== */

   .more-info {
    margin: 15px 0;
    cursor: pointer;
    text-align: left;
    font-size: 0.9rem;
    color: #00ff88; /* El verde neón que usás */
}

.more-info summary {
    list-style: none; /* Quita la flecha aburrida de Chrome */
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.more-info summary:hover {
    opacity: 0.8;
}

.details-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    color: #ccc;
    line-height: 1.4;
}

.details-content p {
    margin-bottom: 8px;
}

/* Animación opcional cuando se abre */
.more-info[open] summary {
    margin-bottom: 10px;
}

/* ==========================================
   BOTONES DE VISTA PREVIA / DEMO LINKS (PLANES)
   ========================================== */

   /* Estilo para el link de Demo en los planes */
.demo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px; /* Espacio antes del botón de Elegir Plan */
    padding: 10px 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%; /* Para que ocupe el mismo ancho que el botón de abajo */
}

.demo-link:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
}

.demo-link i {
    font-size: 0.8rem;
}