/* Demo landing pages - UI/UX moderna e foco em conversão */
:root {
    --demo-bg: #0f172a;
    --demo-bg-elevated: #1e293b;
    --demo-text: #f8fafc;
    --demo-text-muted: #94a3b8;
    --demo-border: rgba(248, 250, 252, 0.1);
    --demo-card: rgba(248, 250, 252, 0.05);
    --demo-radius: 16px;
    --demo-radius-sm: 12px;
    --demo-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    --demo-transition: 0.2s ease;
}

.demo-body {
    margin: 0;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--demo-bg);
    color: var(--demo-text);
    line-height: 1.6;
    min-height: 100vh;
}

.demo-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Link voltar */
.demo-back-link {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100;
    font-size: 0.8rem;
    color: var(--demo-text-muted);
    text-decoration: none;
    padding: 0.5rem 0.875rem;
    border: 1px solid var(--demo-border);
    border-radius: var(--demo-radius-sm);
    background: var(--demo-bg-elevated);
    backdrop-filter: blur(8px);
    transition: color var(--demo-transition), border-color var(--demo-transition), background var(--demo-transition);
}
.demo-back-link:hover {
    color: var(--demo-text);
    border-color: rgba(248, 250, 252, 0.2);
    background: rgba(30, 41, 59, 0.9);
}

/* ========== HERO ========== */
.demo-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1.5rem 4rem;
    overflow: hidden;
}

.demo-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--demo-hero-from, rgba(37, 99, 235, 0.15)) 0%, var(--demo-bg) 50%);
    pointer-events: none;
}
.demo-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(248, 250, 252, 0.06), transparent);
    pointer-events: none;
}

.demo-hero-inner {
    position: relative;
    z-index: 1;
    animation: demoFadeIn 0.6s ease-out;
}

.demo-hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--demo-accent, #60a5fa);
    margin: 0 0 1.25rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(248, 250, 252, 0.15);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.06);
}

.demo-hero-title {
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.demo-hero-destaque {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    color: var(--demo-text-muted);
    margin: 0 auto 2rem;
    max-width: 520px;
    line-height: 1.5;
}

.demo-hero-cta-wrap {
    margin-bottom: 1.25rem;
}

.demo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--demo-radius-sm);
    transition: transform var(--demo-transition), box-shadow var(--demo-transition), background var(--demo-transition);
    border: none;
    cursor: pointer;
}

.demo-cta-icon {
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
}

.demo-cta-primary {
    background: var(--demo-accent, #2563eb);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.4);
}
.demo-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(37, 99, 235, 0.45);
}

.demo-cta-secondary {
    background: var(--demo-bg-elevated);
    color: var(--demo-text);
    border: 1px solid var(--demo-border);
}
.demo-cta-secondary:hover {
    border-color: rgba(248, 250, 252, 0.25);
    background: rgba(30, 41, 59, 0.8);
}

.demo-cta-large {
    padding: 1.125rem 2rem;
    font-size: 1.1rem;
}

.demo-hero-trust {
    font-size: 0.875rem;
    color: var(--demo-text-muted);
    margin: 0;
}

/* Temas de cor */
.tema-azul {
    --demo-accent: #2563eb;
    --demo-hero-from: rgba(37, 99, 235, 0.18);
}
.tema-verde {
    --demo-accent: #059669;
    --demo-hero-from: rgba(5, 150, 105, 0.18);
}
.tema-vermelho {
    --demo-accent: #dc2626;
    --demo-hero-from: rgba(220, 38, 38, 0.18);
}
.tema-roxo {
    --demo-accent: #7c3aed;
    --demo-hero-from: rgba(124, 58, 237, 0.18);
}

/* ========== SEÇÕES ========== */
.demo-section {
    padding: 4.5rem 0;
}

.demo-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
    color: var(--demo-text);
}

.demo-section-lead {
    font-size: 1rem;
    color: var(--demo-text-muted);
    margin: 0 0 2.5rem;
    max-width: 480px;
}

/* Benefícios */
.demo-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.demo-benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--demo-card);
    border: 1px solid var(--demo-border);
    border-radius: var(--demo-radius-sm);
    transition: border-color var(--demo-transition), background var(--demo-transition);
    animation: demoFadeIn 0.5s ease-out backwards;
}
.demo-benefit-item:nth-child(1) { animation-delay: 0.05s; }
.demo-benefit-item:nth-child(2) { animation-delay: 0.1s; }
.demo-benefit-item:nth-child(3) { animation-delay: 0.15s; }
.demo-benefit-item:hover {
    border-color: rgba(248, 250, 252, 0.15);
    background: rgba(248, 250, 252, 0.07);
}

.demo-benefit-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.15);
    color: var(--demo-accent, #60a5fa);
}
.tema-verde .demo-benefit-icon { background: rgba(5, 150, 105, 0.15); color: #34d399; }
.tema-vermelho .demo-benefit-icon { background: rgba(220, 38, 38, 0.15); color: #f87171; }
.tema-roxo .demo-benefit-icon { background: rgba(124, 58, 237, 0.15); color: #a78bfa; }

.demo-benefit-text {
    font-size: 1.05rem;
    font-weight: 500;
}

/* Como funciona (steps) */
.demo-how-section {
    padding: 4rem 0;
}

.demo-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.demo-step {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: var(--demo-radius-sm);
    background: var(--demo-card);
    border: 1px solid var(--demo-border);
    transition: border-color var(--demo-transition), transform var(--demo-transition);
    animation: demoFadeIn 0.5s ease-out backwards;
}
.demo-step:nth-child(1) { animation-delay: 0.1s; }
.demo-step:nth-child(2) { animation-delay: 0.2s; }
.demo-step:nth-child(3) { animation-delay: 0.3s; }
.demo-step:hover {
    border-color: rgba(248, 250, 252, 0.15);
    transform: translateY(-2px);
}

.demo-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--demo-accent, #2563eb);
    background: rgba(37, 99, 235, 0.15);
    border-radius: 50%;
    margin-bottom: 1rem;
}
.tema-verde .demo-step-num { background: rgba(5, 150, 105, 0.15); color: #34d399; }
.tema-vermelho .demo-step-num { background: rgba(220, 38, 38, 0.15); color: #f87171; }
.tema-roxo .demo-step-num { background: rgba(124, 58, 237, 0.15); color: #a78bfa; }

.demo-step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--demo-text);
}

.demo-step-desc {
    font-size: 0.9rem;
    color: var(--demo-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* CTA final (banner) */
.demo-cta-section {
    padding: 4rem 0;
}

.demo-cta-banner {
    background: var(--demo-bg-elevated);
    border: 1px solid var(--demo-border);
    border-radius: var(--demo-radius);
    padding: 3rem 1.5rem;
    box-shadow: var(--demo-shadow);
}

.demo-cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
    color: var(--demo-text);
}

.demo-cta-desc {
    font-size: 1rem;
    color: var(--demo-text-muted);
    margin: 0 0 1.75rem;
}

.demo-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.demo-footer {
    padding: 2.5rem 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--demo-text-muted);
    border-top: 1px solid var(--demo-border);
}

.demo-footer p {
    margin: 0 0 0.35rem;
}

.demo-footer a {
    color: var(--demo-text-muted);
    text-decoration: none;
    font-weight: 500;
}
.demo-footer a:hover {
    color: var(--demo-text);
}

/* Acessibilidade: só para leitores de tela */
.demo-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Prova social (Confecção) */
.demo-social-proof {
    padding: 3.5rem 0;
}

.demo-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.demo-stat {
    padding: 1rem;
}

.demo-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--demo-accent, #60a5fa);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}
.tema-verde .demo-stat-value { color: #34d399; }
.tema-vermelho .demo-stat-value { color: #f87171; }
.tema-roxo .demo-stat-value { color: #a78bfa; }

.demo-stat-label {
    font-size: 0.875rem;
    color: var(--demo-text-muted);
}

.demo-testimonial {
    max-width: 560px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
    background: var(--demo-card);
    border: 1px solid var(--demo-border);
    border-radius: var(--demo-radius-sm);
    text-align: center;
}

.demo-testimonial-quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--demo-text);
    margin: 0 0 1rem;
    line-height: 1.6;
}

.demo-testimonial footer {
    font-size: 0.9rem;
    color: var(--demo-text-muted);
}

.demo-testimonial-author {
    font-style: normal;
    font-weight: 600;
    color: var(--demo-text);
}

.demo-testimonial-context {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.85rem;
}

/* Grid coleção (Confecção) */
.demo-collection-section {
    padding: 4rem 0;
}

.demo-collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.demo-collection-card {
    background: var(--demo-card);
    border: 1px solid var(--demo-border);
    border-radius: var(--demo-radius-sm);
    overflow: hidden;
    transition: border-color var(--demo-transition), box-shadow var(--demo-transition), transform var(--demo-transition);
}
.demo-collection-card:hover {
    border-color: rgba(248, 250, 252, 0.15);
    box-shadow: var(--demo-shadow);
    transform: translateY(-4px);
}

.demo-collection-card-image {
    aspect-ratio: 3/4;
    background: var(--demo-bg-elevated);
    overflow: hidden;
}

.demo-collection-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-collection-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    padding: 1rem 1rem 0.25rem;
    color: var(--demo-text);
}

.demo-collection-card-subtitle {
    font-size: 0.8rem;
    color: var(--demo-text-muted);
    margin: 0;
    padding: 0 1rem 1rem;
}

/* Animação */
@keyframes demoFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo */
@media (max-width: 640px) {
    .demo-hero {
        min-height: 80vh;
        padding: 4rem 1rem 3rem;
    }
    .demo-section {
        padding: 3rem 0;
    }
    .demo-cta-banner {
        padding: 2rem 1rem;
    }
    .demo-cta-buttons {
        flex-direction: column;
    }
    .demo-cta {
        width: 100%;
    }
    .demo-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .demo-collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .demo-collection-grid {
        grid-template-columns: 1fr;
    }
}
