/* DCloud Tailwind — overrides de bloques legacy (hero, pricing, features…)
   Solo aplica dentro de .xt-theme, después de content.css */

/* ── Global legacy ── */

.xt-theme .btn {
    border-radius: var(--radius);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.xt-theme .btn:hover {
    transform: translateY(-1px);
}

.xt-theme .btn-primary:hover {
    transform: translateY(-1px);
}

.xt-theme .section {
    padding: var(--section-py) 0;
}

.xt-theme .section-plans {
    background: var(--surface-muted);
}

.xt-theme .section-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--heading);
    margin-bottom: 1rem;
}

.xt-theme .section-desc {
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    line-height: 1.75;
    color: var(--text);
    max-width: 48rem;
}

.xt-theme .section-label {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 10%, var(--site-bg));
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Hero legacy ── */

.xt-theme .hero {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    background: var(--hero-bg);
}

.xt-theme .hero-inner {
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.xt-theme .hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--heading);
    margin: 0 0 1rem;
}

.xt-theme .hero-subtitle,
.xt-theme .hero-tagline {
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 600;
    color: var(--accent);
    margin: 0.5rem 0;
}

.xt-theme .hero-line {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.75;
    color: var(--text);
    margin: 0.65rem 0;
}

.xt-theme .hero-image img {
    max-width: 100%;
    width: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.xt-theme .hero--bg-image .hero-title,
.xt-theme .hero--bg-video .hero-title,
.xt-theme .hero--bg-image .hero-subtitle,
.xt-theme .hero--bg-video .hero-subtitle {
    color: var(--white);
    text-shadow: 0 2px 16px rgb(0 0 0 / 0.25);
}

/* ── Pricing legacy ── */

.xt-theme .plans-grid {
    gap: 1.5rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 900px) {
    .xt-theme .plans-grid {
        gap: 1.75rem;
    }
}

.xt-theme .pricing-card {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.xt-theme .pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.xt-theme .pricing-card--featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.xt-theme .pricing-card--featured:hover {
    transform: translateY(-6px);
}

.xt-theme .pricing-header {
    background: var(--heading);
    padding: 2rem 1.5rem;
}

.xt-theme .pricing-card--featured .pricing-header {
    background: var(--accent);
}

.xt-theme .pricing-features {
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
}

.xt-theme .pricing-features li {
    border-bottom: none;
    padding: 0.35rem 0;
    gap: 0.65rem;
}

.xt-theme .pricing-card-footer {
    padding: 0 1.5rem 1.5rem;
}

.xt-theme .pricing-card-footer .btn {
    border-radius: var(--radius);
}

.xt-theme .check-icon {
    color: var(--accent);
}

/* ── Features grid legacy ── */

.xt-theme .features-grid {
    gap: 1.5rem;
}

.xt-theme .feature-box,
.xt-theme .feature-card {
    padding: clamp(1.75rem, 3vw, 2.25rem);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    background: var(--white);
    text-align: center;
    transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.xt-theme .feature-box:hover,
.xt-theme .feature-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--accent) 20%, var(--border));
    box-shadow: var(--shadow-md);
}

.xt-theme .feature-box .feature-icon,
.xt-theme .feature-card .feature-icon,
.xt-theme .feature-box button.feature-icon.cms-ve-icon-picker {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    border: 2px solid color-mix(in srgb, var(--accent) 25%, var(--border));
    border-radius: 50%;
    font-size: 1.75rem;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 6%, var(--white));
}

.xt-theme .feature-box h4,
.xt-theme .feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 0.65rem;
}

.xt-theme .feature-box p,
.xt-theme .feature-card p {
    font-size: 0.975rem;
    line-height: 1.7;
    color: var(--text);
}

/* ── CTA legacy ── */

.xt-theme .section-cta-business {
    padding: var(--section-py) 0;
    background: var(--heading);
    color: var(--white);
}

.xt-theme .section-cta-business .container {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
    border-radius: var(--radius-xl);
    text-align: center;
}

.xt-theme .section-cta-business h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 1.5rem;
}

.xt-theme .section-cta-business .btn-primary {
    background: var(--white);
    color: var(--heading);
}

.xt-theme .section-cta-business .btn-primary:hover {
    background: color-mix(in srgb, var(--white) 92%, var(--accent));
    color: var(--heading);
}

/* ── CTA split / features split ── */

.xt-theme .cta-split,
.xt-theme .features-split {
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.xt-theme .register-split,
.xt-theme .features-split {
    align-items: center;
}

.xt-theme .register-image img,
.xt-theme .features-split img {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.xt-theme .feature-row .feature-icon,
.xt-theme .feature-row button.feature-icon.cms-ve-icon-picker {
    width: 3rem;
    height: 3rem;
    border: 2px solid color-mix(in srgb, var(--accent) 30%, var(--border));
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--accent);
    background: var(--white);
}

/* ── Accordion / FAQ legacy ── */

.xt-theme .accordion-item {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 0.875rem;
    overflow: hidden;
    background: var(--white);
}

.xt-theme .accordion-header {
    padding: 1.15rem 1.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading);
}

.xt-theme .accordion-content {
    padding: 0 1.35rem 1.25rem;
    line-height: 1.75;
    color: var(--text);
}

/* ── Text block ── */

.xt-theme .section-text {
    padding: var(--section-py) 0;
}

.xt-theme .section-text .container {
    max-width: 48rem;
}

.xt-theme .section-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

/* ── Stats legacy ── */

.xt-theme .stat-box {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.xt-theme .stat-value {
    color: var(--heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}
