/* --- ESTILOS GENERALES Y VARIABLES DE COLOR --- */
:root {
    --primary-blue: #007bff;
    --dark-blue: #1a2a4a;
    --accent-purple: #6a1b9a;
    --light-grey-bg: #f4f7f6;
    --white: #ffffff;
    --text-color: #333;
    --text-light: #555;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.main-container, .top-bar-content, .hero-section-container, .footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

/* --- HEADER / BARRA DE NAVEGACIÓN --- */
.top-bar {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-nav .nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s;
}

.main-nav .nav-link:hover, .main-nav .nav-link.active {
    color: var(--primary-blue);
}

.btn-account {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-account:hover {
    background-color: #3c4f76;
}

/* --- SECCIÓN HERO (PÁGINA DE INICIO) --- */
.hero-section-container {
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.discount-banner {
    background-color: #e6f2ff;
    color: var(--primary-blue);
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
    line-height: 1.2;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.benefits-list li {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list .fa-check-circle {
    color: #28a745;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-purple);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.2s;
    margin-bottom: 20px;
}

.btn-primary:hover {
    background-color: #4a148c;
    transform: translateY(-3px);
}

.guarantee {
    font-size: 0.9rem;
    color: #777;
}

.hero-image-placeholder {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    max-width: 550px;
    max-height: 500px;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* --- PÁGINA DE PRECIOS --- */
.main-container {
    padding-top: 50px;
    padding-bottom: 50px;
}
.page-header {
    text-align: center;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--dark-blue);
}

/* --- ESTILOS PARA INTERRUPTOR DE PRECIOS --- */
.pricing-toggle {
    display: flex;
    justify-content: center;
    background-color: #e9ecef;
    border-radius: 30px;
    padding: 5px;
    margin: 0 auto 50px auto;
    width: fit-content;
    border: 1px solid #dee2e6;
}

.toggle-btn {
    border: none;
    background-color: transparent;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background-color: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.pricing-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    padding: 30px;
    text-align: center;
    width: 260px;
    border: 2px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.highlighted {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h2 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-top: 0;
}

.pricing-card .description {
    color: #666;
    min-height: 40px;
    margin-bottom: 20px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    color: var(--primary-blue);
    margin: 5px 0 25px 0;
    height: 20px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}

.annual-price {
    display: none;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    color: #444;
    flex-grow: 1;
}

.features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cta-button {
    display: inline-block;
    background-color: var(--dark-blue);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #3c4f76;
}


.pricing-card.highlighted .cta-button {
    background-color: var(--primary-blue);
}

.pricing-card.highlighted .cta-button:hover {
    background-color: #0056b3;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #f8faff;
    color: var(--text-light);
    padding: 5px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-logo-payment .logo-text {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-icons img {
    height: 28px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #555;
    font-size: 1.2rem;
    background-color: #e0e6f0;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.social-icons a:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: #e0e6f0;
    margin: 10px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #777;
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 992px) {
    .hero-section-container {
        flex-direction: column;
        text-align: center;
    }
    .benefits-list {
        display: inline-block;
        text-align: left;
    }
    .footer-top, .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-nav { display: none; } /* Simplificación para ejemplo */
    .hero-content h1 { font-size: 2.5rem; }
    .pricing-card.highlighted { transform: scale(1); }
}

/* --- COMPLEMENTOS (ADD-ONS) --- */
.addons-section {
    margin-top: 25px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.addons-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-blue);
}

.addons-header i {
    transition: transform 0.3s ease;
}

.addons-header .fa-chevron-up {
    transform: rotate(180deg);
}

.addons-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    margin-top: 0;
}

.addons-content.show {
    max-height: 300px; /* Altura suficiente para mostrar las opciones */
    margin-top: 15px;
}

.addon-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
    position: relative;
}

.addon-option:hover {
    background-color: #f8f9fa;
}

/* Ocultar el radio button real */
.addon-option input[type="radio"] {
    display: none;
}

.addon-info {
    font-size: 0.9rem;
    color: var(--text-light);
}

.addon-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-blue);
}

/* Estilo para la opción seleccionada */
.addon-option input[type="radio"]:checked + .addon-info {
    font-weight: 600;
    color: var(--primary-blue);
}

.addon-option input[type="radio"]:checked + .addon-info + .addon-price {
    color: var(--primary-blue);
}

.addon-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-blue);
    background-color: #e6f2ff;
}

/* --- PÁGINAS DE CONTENIDO LEGAL --- */
.legal-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.legal-container h1 {
    color: var(--dark-blue);
    margin-bottom: 25px;
    text-align: center;
}

.legal-container h2 {
    color: var(--dark-blue);
    margin-top: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.legal-container p, .legal-container li {
    line-height: 1.8;
    color: var(--text-light);
}

/* --- PÁGINA DE SOPORTE --- */
.support-header {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 30px;
    border-radius: 15px;
    margin-bottom: 50px;
}

.support-header h1 {
    color: var(--white);
    font-size: 2.8rem;
}

.support-header p {
    color: #e0e6f0;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 10px auto 30px auto;
}

.search-bar-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 8px;
    padding: 5px;
}

.search-bar-container input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 10px 15px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.search-bar-container button {
    border: none;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
}

.support-categories {
    text-align: center;
    margin-bottom: 50px;
}

.support-categories h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 40px;
}

.category-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: #f8faff;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    text-decoration: none;
    border: 1px solid #e0e6f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.category-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin: 0 0 10px 0;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-support-section {
    text-align: center;
    background-color: #e6f2ff;
    padding: 50px 30px;
    border-radius: 15px;
}

.contact-support-section h2 {
    font-size: 1.8rem;
    color: var(--dark-blue);
}

/* --- PÁGINA DE SERVICIOS --- */
.services-hero {
    padding: 40px 0;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: #f8faff;
    border-radius: 10px;
    border: 1px solid #e0e6f0;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.included-section {
    background-color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.included-section h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 40px;
}

.included-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    text-align: left;
}

.included-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.included-grid li {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.included-grid .fa-check-circle {
    color: #28a745;
}

.cta-section {
    text-align: center;
    background-color: var(--dark-blue);
    padding: 60px 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2rem;
}

.cta-section p {
    color: #e0e6f0;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-section .btn-primary:hover {
    background-color: #5a148c; /* Un morado ligeramente más claro */
}