/* CSS No Crítico - Below the Fold (Disclaimers, Sections, Cards, Footer, etc.) */

/* Disclaimer Section */
.disclaimer {
    background: var(--warning-bg);
    border-top: 5px solid var(--warning-border);
    border-bottom: 5px solid var(--warning-border);
    padding: 2rem 0;
}

.disclaimer__content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.disclaimer__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--warning-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer__icon svg {
    width: 100%;
    height: 100%;
}

.disclaimer__text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f2a1f2;
}

.disclaimer__text p {
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.7;
}

.disclaimer__text strong {
    color: #f2a1f2;
}

.disclaimer__text p:last-child {
    margin-bottom: 0;
}

.disclaimer__text strong {
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section--alt {
    background: var(--bg-secondary);
}

.section--dark {
    background: var(--primary-color);
    color: white;
}

.section--gradient {
    background: linear-gradient(to bottom, var(--secondary-color) 0%, #ffffff 100%);
}

.section--gradient-reverse {
    background: linear-gradient(to bottom, #ffffff 0%, var(--secondary-color) 100%);
}

.section--gradient-secondary-to-primary {
    background: linear-gradient(to bottom, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.section--cta {
    background: var(--gradient-hero);
    color: white;
}

.section--gradient-secondary-to-primary {
    color: white;
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: inherit;
}

.section--dark .section__title {
    color: white;
}

.section__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.section--dark .section__subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.section--cta .section__subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card__icon svg {
    width: 100%;
    height: 100%;
}

.card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    text-align: center;
}

.card__text {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

/* Steps */
.steps {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step__number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.section--dark .step__number {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.step__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.section--dark .step__title {
    color: white;
}

.step__text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.section--dark .step__text {
    color: rgba(255, 255, 255, 0.9);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.feature:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.feature__icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature__icon svg {
    width: 100%;
    height: 100%;
}

.feature__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    text-align: center;
}

.feature__text {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 3rem 0;
}

.cta__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta__note {
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.8;
}

/* FAQ */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq__question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.faq__question:hover {
    background: var(--bg-secondary);
}

.faq__question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq__toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.2s;
}

.faq__item.active .faq__toggle {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq__item.active .faq__answer {
    max-height: 500px;
}

.faq__answer p, .faq__answer small {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: block;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer__section h3,
.footer__section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer__section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer__section ul {
    list-style: none;
}

.footer__section ul li {
    margin-bottom: 0.5rem;
}

.footer__section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__section ul li a:hover {
    color: white;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* Legal Content Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.legal-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content ol li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.legal-content code {
    background-color: var(--bg-alt);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s;
}

.legal-content a:hover {
    color: var(--primary-dark);
}

.legal-date {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    font-style: italic;
    color: var(--text-secondary);
}

/* Botones adicionales */
.btn--chrome {
    background: var(--primary-color);
}

.btn--chrome:hover {
    background: var(--primary-dark);
}

/* Responsive - No crítico */
@media (max-width: 768px) {
    .disclaimer__content {
        flex-direction: column;
    }

    .disclaimer__icon {
        font-size: 2rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .section__subtitle {
        font-size: 1.125rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step__number {
        align-self: center;
    }

    .cta__title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }
}
