/**
 * Slide-specific styles — hero, problem, etc.
 */

/* ─── Generic slide ─── */
.slide-content {
    width: 100%;
}
.slide-centered {
    text-align: center;
}
.slide-header {
    margin-bottom: 28px;
}
.slide-title {
    font-family: var(--font-display);
    font-size: 32px; font-weight: 800;
    line-height: 1.2; margin-bottom: 14px;
}
.slide-desc {
    color: var(--text-soft);
    font-size: 15px; line-height: 1.7;
    margin-bottom: 28px;
    max-width: 600px;
}
.slide-centered .slide-desc {
    margin-left: auto; margin-right: auto;
}

/* ─── Hero ─── */
.slide-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap;
}
.hero-title {
    font-family: var(--font-display);
    font-size: 42px; font-weight: 800;
    line-height: 1.15; margin-bottom: 18px;
}
.hero-gradient {
    background: linear-gradient(135deg, var(--accent), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 16px; line-height: 1.7;
    color: var(--text-soft); margin-bottom: 28px;
}
.hero-desc strong { color: var(--text); }

.hero-actions {
    display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px;
}

.hero-trust {
    display: flex; gap: 24px; flex-wrap: wrap;
}
.hero-trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--text-dim);
}
.hero-trust-item i { font-size: 14px; }

/* Hero mockup */
.hero-visual {
    display: flex; justify-content: center;
}
.hero-mockup {
    width: 100%; max-width: 400px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: mockup-float 6s ease-in-out infinite;
}
@keyframes mockup-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.mockup-bar {
    display: flex; gap: 6px; padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}
.mockup-dot {
    width: 8px; height: 8px; border-radius: 50%;
}
.mockup-dot.red  { background: var(--red); }
.mockup-dot.gold { background: var(--gold); }
.mockup-dot.teal { background: var(--teal); }

.mockup-body {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 12px; padding: 24px 16px;
}
.mockup-stat { text-align: center; }
.mockup-stat-icon { font-size: 22px; margin-bottom: 8px; }
.mockup-stat-val {
    font-family: var(--font-display); font-size: 28px; font-weight: 800;
}
.mockup-stat-label {
    font-size: 10px; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: .5px; margin-top: 4px;
}

/* ─── Light theme: hero gradient ─── */
[data-theme="light"] .hero-gradient {
    background: linear-gradient(135deg, #3570d4, #009b82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .slide-hero {
        grid-template-columns: 1fr; gap: 20px; text-align: center;
        overflow: hidden;
    }
    .hero-content { max-width: 100%; overflow: hidden; }
    .hero-title { font-size: 24px; word-break: break-word; overflow-wrap: break-word; }
    .hero-desc { font-size: 13px; margin-bottom: 16px; word-break: break-word; overflow-wrap: break-word; }
    .hero-actions { justify-content: center; flex-direction: column; align-items: stretch; gap: 10px; }
    .hero-actions .wcr-btn-lg { justify-content: center; padding: 12px 18px; font-size: 13px; }
    .hero-trust { justify-content: center; gap: 12px; flex-wrap: wrap; }
    .hero-trust-item { font-size: 11px; }
    .hero-trust-item i { font-size: 12px; }
    .hero-badge { justify-content: center; }
    .hero-badge .badge { font-size: 10px; padding: 4px 10px; }
    .hero-visual { display: none; }
    .slide-title { font-size: 22px; word-break: break-word; }
    .slide-desc { font-size: 13px; word-break: break-word; }
    .slide-header { margin-bottom: 18px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 20px; }
    .hero-desc { font-size: 12px; }
    .hero-trust { flex-direction: column; align-items: center; gap: 6px; }
    .slide-title { font-size: 19px; }
    .slide-desc { font-size: 12px; }
}
