/* ═══════════════════════════════════════════════════════════════════════════
   Rozwiązania Hub Landing Page — Supplementary Stylesheet
   Classes specific to rozwiazania.php (hub segmentowy)
   Extends landing.css — uses var(--csl-...) custom properties
   CSS prefix: csl-rozw__
   Mobile-first responsive (640px, 768px, 1024px, 1280px)
   ═══════════════════════════════════════════════════════════════════════════ */


/* ── 1. BADGE EXTENSIONS ─────────────────────────────────────────────────── */

.csl-badge--teal-outline {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(140, 210, 217, 0.2);
    color: #00695C;
    font-size: 0.625rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(0, 191, 165, 0.2);
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.csl-badge--teal-sm {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    background: #E0F2F1;
    color: #00695C;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ── 2. HERO ─────────────────────────────────────────────────────────────── */

.csl-hero--rozw {
    position: relative;
    overflow: hidden;
    background: var(--csl-white);
    padding-top: 120px;
    padding-bottom: 64px;
    text-align: left;
}

@media (min-width: 768px) {
    .csl-hero--rozw {
        padding-top: 160px;
        padding-bottom: 96px;
    }
}

.csl-rozw__hero-bg-teal {
    position: absolute;
    top: 80px;
    right: 0;
    width: 600px;
    height: 600px;
    background: rgba(140, 210, 217, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    transform: translateX(33%);
    z-index: 0;
}

.csl-rozw__hero-bg-purple {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: rgba(82, 15, 125, 0.05);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    transform: translateX(-33%);
    z-index: 0;
}

.csl-rozw__hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .csl-rozw__hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.csl-rozw__hero-content {
    max-width: 640px;
}

.csl-rozw__hero-heading {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--csl-dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    text-align: left;
}

@media (min-width: 640px) {
    .csl-rozw__hero-heading {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .csl-rozw__hero-heading {
        font-size: 3.5rem;
    }
}

.csl-show-md {
    display: none;
}

@media (min-width: 768px) {
    .csl-show-md {
        display: block;
    }
}

.csl-rozw__hero-desc {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--csl-muted);
    line-height: 1.7;
    margin: 0 0 16px;
}

@media (min-width: 768px) {
    .csl-rozw__hero-desc {
        font-size: 1.125rem;
    }
}

.csl-rozw__hero-highlight {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--csl-purple);
    background: rgba(82, 15, 125, 0.05);
    border: 1px solid rgba(82, 15, 125, 0.1);
    border-radius: var(--csl-radius-md);
    padding: 16px;
    margin: 0 0 32px;
    line-height: 1.6;
}

/* Hero CTAs */
.csl-rozw__hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .csl-rozw__hero-ctas {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 16px;
    }
}

.csl-rozw__cta-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.csl-rozw__cta-col--video {
    margin-top: 4px;
}

@media (min-width: 640px) {
    .csl-rozw__cta-col--video {
        margin-top: 0;
        margin-left: 8px;
    }
}

.csl-rozw__cta-hint {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--csl-muted);
    text-align: center;
    padding: 0 4px;
}

.csl-rozw__video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--csl-purple);
    transition: opacity var(--csl-transition);
    cursor: pointer;
    text-decoration: none;
}

.csl-rozw__video-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

.csl-rozw__video-link .csl-icon {
    flex-shrink: 0;
}

/* Trust badges strip */
.csl-rozw__hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
}

.csl-rozw__hero-badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--csl-dark);
}

.csl-rozw__check-icon {
    color: #00695C;
    flex-shrink: 0;
}


/* ── 3. HERO — ANIMATED CARD STACK ──────────────────────────────────────── */

.csl-rozw__hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding-top: 24px;
}

@media (min-width: 1024px) {
    .csl-rozw__hero-visual {
        padding-top: 0;
    }
}

.csl-rozw__cards-stack {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 380px;
}

/* All cards: shared positioning */
.csl-rozw__seg-card {
    position: absolute;
    left: 0;
    right: 0;
    background: var(--csl-white);
    border: 1px solid var(--csl-border);
    border-radius: var(--csl-radius-lg);
    padding: 24px;
    transition: transform 0.7s ease, opacity 0.7s ease, box-shadow 0.7s ease;
    transform-origin: bottom center;
    will-change: transform, opacity;
}

@media (min-width: 640px) {
    .csl-rozw__seg-card {
        padding: 32px;
    }
}

/* Active card (front) */
.csl-rozw__seg-card--active {
    z-index: 30;
    transform: translateY(64px) scale(1) rotate(0deg);
    opacity: 1;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.15);
    cursor: default;
}

/* Second card (back-right) */
.csl-rozw__seg-card--back1 {
    z-index: 20;
    transform: translateY(32px) translateX(48px) scale(0.95) rotate(6deg);
    opacity: 0.7;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    cursor: pointer;
}

.csl-rozw__seg-card--back1:hover {
    opacity: 0.9;
}

/* Third card (back-left) */
.csl-rozw__seg-card--back2 {
    z-index: 10;
    transform: translateY(0px) translateX(-48px) scale(0.9) rotate(-6deg);
    opacity: 0.5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    cursor: pointer;
}

.csl-rozw__seg-card--back2:hover {
    opacity: 0.7;
}

/* Hidden cards */
.csl-rozw__seg-card--hidden {
    z-index: 0;
    transform: translateY(-32px) scale(0.75) rotate(0deg);
    opacity: 0;
    pointer-events: none;
}

/* Card header */
.csl-rozw__seg-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

/* Segment icon */
.csl-rozw__seg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    flex-shrink: 0;
    transition: all 0.7s;
}

.csl-rozw__seg-icon--purple {
    background: rgba(82, 15, 125, 0.1);
    color: var(--csl-purple);
}

.csl-rozw__seg-icon--teal {
    background: rgba(140, 210, 217, 0.2);
    color: #00695C;
}

.csl-rozw__seg-icon--lg {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    margin-bottom: 24px;
}

.csl-rozw__seg-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--csl-dark);
    margin: 0 0 12px;
    line-height: 1.25;
}

/* Body (visible only on active card) */
.csl-rozw__seg-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.7s ease, opacity 0.7s ease;
    margin-top: 0;
}

.csl-rozw__seg-card--active .csl-rozw__seg-body {
    max-height: 200px;
    opacity: 1;
    margin-top: 8px;
}

.csl-rozw__seg-desc {
    font-size: 0.875rem;
    color: var(--csl-muted);
    line-height: 1.6;
    margin: 0 0 24px;
}

.csl-rozw__seg-status {
    background: #F8FAFC;
    border: 1px solid var(--csl-border);
    border-radius: var(--csl-radius-md);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.csl-rozw__seg-status-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--csl-muted);
}

.csl-rozw__seg-status-val {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--csl-purple);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Skeleton lines (visible only on back cards) */
.csl-rozw__seg-lines {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.7s ease, opacity 0.7s ease;
    margin-top: 0;
}

.csl-rozw__seg-card--back1 .csl-rozw__seg-lines,
.csl-rozw__seg-card--back2 .csl-rozw__seg-lines {
    max-height: 40px;
    opacity: 1;
    margin-top: 12px;
}

.csl-rozw__seg-line {
    height: 6px;
    background: #F0F0F0;
    border-radius: 4px;
    margin-bottom: 8px;
}

.csl-rozw__seg-line--full { width: 100%; }
.csl-rozw__seg-line--two-thirds { width: 66%; }


/* ── 4. CHAOS SECTION ────────────────────────────────────────────────────── */

.csl-rozw__chaos {
    background: #F8FAFC;
    border-top: 1px solid var(--csl-border);
    border-bottom: 1px solid var(--csl-border);
}

.csl-rozw__chaos-inner {
    max-width: 1200px;
}

.csl-rozw__chaos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .csl-rozw__chaos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.csl-rozw__chaos-card {
    text-align: center;
    padding: 32px 24px;
    align-items: center;
}

.csl-rozw__chaos-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--csl-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-width: 1px;
    border-style: solid;
}

.csl-rozw__chaos-icon--red {
    background: #FFF5F5;
    color: #E53E3E;
    border-color: #FED7D7;
}

.csl-rozw__chaos-icon--orange {
    background: #FFFAF0;
    color: #DD6B20;
    border-color: #FEEBC8;
}

.csl-rozw__chaos-icon--purple {
    background: rgba(82, 15, 125, 0.05);
    color: var(--csl-purple);
    border-color: rgba(82, 15, 125, 0.1);
}


/* ── 5. SEGMENTS SECTION (6 full cards) ─────────────────────────────────── */

.csl-rozw__segments {
    background: var(--csl-white);
}

.csl-rozw__segments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px 32px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .csl-rozw__segments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .csl-rozw__segments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.csl-rozw__seg-full-card {
    background: var(--csl-white);
    border: 1px solid var(--csl-border);
    border-radius: var(--csl-radius-lg);
    box-shadow: 0 4px 20px -4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.csl-rozw__seg-full-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -4px rgba(0,0,0,0.1);
    border-color: rgba(82, 15, 125, 0.3);
}

.csl-rozw__seg-full-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .csl-rozw__seg-full-body {
        padding: 32px;
    }
}

.csl-rozw__seg-full-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--csl-dark);
    margin: 0 0 12px;
}

.csl-rozw__seg-full-desc {
    font-size: 0.875rem;
    color: var(--csl-muted);
    line-height: 1.65;
    flex: 1;
    margin: 0 0 32px;
}

.csl-rozw__seg-full-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.csl-rozw__seg-video-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--csl-muted);
    text-decoration: none;
    transition: color var(--csl-transition);
    cursor: pointer;
}

.csl-rozw__seg-video-link:hover {
    color: var(--csl-purple);
    text-decoration: none;
}

.csl-rozw__seg-full-badge {
    background: #F8FAFC;
    border-top: 1px solid var(--csl-border);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--csl-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (min-width: 1024px) {
    .csl-rozw__seg-full-badge {
        padding: 10px 32px;
    }
}

.csl-rozw__badge-icon {
    color: rgba(140, 210, 217, 0.9);
    flex-shrink: 0;
}

.csl-rozw__segments-note {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(82, 15, 125, 0.05);
    border: 1px solid rgba(82, 15, 125, 0.1);
    border-radius: var(--csl-radius-lg);
    padding: 20px 24px;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--csl-purple);
}


/* ── 6. CORE MODULES STRIP ───────────────────────────────────────────────── */

.csl-rozw__core-modules {
    background: #F8FAFC;
    border-top: 1px solid var(--csl-border);
    border-bottom: 1px solid var(--csl-border);
    padding-top: 48px;
    padding-bottom: 48px;
}

.csl-rozw__core-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--csl-dark);
    margin: 0 0 8px;
    text-align: center;
}

.csl-rozw__core-subtitle {
    font-size: 0.875rem;
    color: var(--csl-muted);
    text-align: center;
    margin: 0 0 40px;
}

.csl-rozw__core-strip {
    display: flex;
    gap: 16px 24px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 4px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.csl-rozw__core-strip::-webkit-scrollbar {
    height: 3px;
}

.csl-rozw__core-strip::-webkit-scrollbar-thumb {
    background: var(--csl-border);
    border-radius: 2px;
}

@media (min-width: 1024px) {
    .csl-rozw__core-strip {
        justify-content: center;
        overflow-x: visible;
        padding-bottom: 0;
    }
}

.csl-rozw__core-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    scroll-snap-align: center;
    padding: 4px 4px 0;
    transition: transform 0.2s ease;
}

.csl-rozw__core-item:hover {
    transform: translateY(-4px);
    text-decoration: none;
}

.csl-rozw__core-item-icon {
    width: 48px;
    height: 48px;
    background: var(--csl-white);
    border: 1px solid var(--csl-border);
    border-radius: var(--csl-radius-md);
    box-shadow: var(--csl-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--csl-purple);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.csl-rozw__core-item:hover .csl-rozw__core-item-icon {
    border-color: rgba(82, 15, 125, 0.3);
    box-shadow: 0 4px 12px rgba(82,15,125,0.1);
}

.csl-rozw__core-item-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--csl-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s ease;
}

.csl-rozw__core-item:hover .csl-rozw__core-item-label {
    color: var(--csl-purple);
}


/* ── 7. TRUST LAYER ──────────────────────────────────────────────────────── */

.csl-rozw__trust {
    background: #F8FAFC;
}

.csl-rozw__trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1024px) {
    .csl-rozw__trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.csl-rozw__trust-card {
    text-align: center;
    padding: 32px 24px;
    align-items: center;
    border-transition: border-color 0.2s ease;
}

.csl-rozw__trust-card:hover {
    border-color: rgba(140, 210, 217, 0.6);
}

.csl-rozw__trust-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.csl-rozw__trust-icon--teal {
    background: rgba(140, 210, 217, 0.1);
    color: #00695C;
}

.csl-rozw__trust-icon--purple {
    background: rgba(82, 15, 125, 0.1);
    color: var(--csl-purple);
}

.csl-rozw__trust-icon--dark {
    background: #F0F0F0;
    color: var(--csl-dark);
}


/* ── 8. HOW TO START ─────────────────────────────────────────────────────── */

.csl-rozw__start {
    background: var(--csl-white);
    border-top: 1px solid var(--csl-border);
    border-bottom: 1px solid var(--csl-border);
}

.csl-rozw__start-steps {
    position: relative;
    margin-bottom: 48px;
}

.csl-rozw__start-line {
    display: none;
}

@media (min-width: 768px) {
    .csl-rozw__start-line {
        display: block;
        position: absolute;
        top: 40px;
        left: 12%;
        right: 12%;
        height: 2px;
        background: var(--csl-border);
        z-index: 0;
    }
}

.csl-rozw__start-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .csl-rozw__start-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.csl-rozw__start-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.csl-rozw__start-num {
    width: 80px;
    height: 80px;
    background: var(--csl-white);
    border: 4px solid var(--csl-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--csl-purple);
    margin-bottom: 24px;
    box-shadow: var(--csl-shadow-sm);
    flex-shrink: 0;
}

.csl-rozw__start-step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--csl-dark);
    margin: 0 0 8px;
}

.csl-rozw__start-step-desc {
    font-size: 0.875rem;
    color: var(--csl-muted);
    line-height: 1.6;
    margin: 0;
}

.csl-rozw__start-video-cta {
    text-align: center;
}

.csl-rozw__start-video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--csl-purple);
    background: #F8F9FA;
    border: 1px solid var(--csl-border);
    border-radius: var(--csl-radius-md);
    padding: 12px 24px;
    text-decoration: none;
    transition: background var(--csl-transition);
    cursor: pointer;
}

.csl-rozw__start-video-link:hover {
    background: var(--csl-white);
    text-decoration: none;
}


/* ── 9. FAQ ──────────────────────────────────────────────────────────────── */

.csl-rozw__faq {
    background: #F8FAFC;
}

.csl-rozw__faq-inner {
    max-width: 768px;
}

.csl-rozw__faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.csl-rozw__faq-item {
    background: var(--csl-white);
    border: 1px solid var(--csl-border);
    border-radius: var(--csl-radius-lg);
    overflow: hidden;
    box-shadow: var(--csl-shadow-sm);
    transition: border-color 0.2s ease;
}

.csl-rozw__faq-item:hover,
.csl-rozw__faq-item.is-open {
    border-color: rgba(82, 15, 125, 0.3);
}

.csl-rozw__faq-btn {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    gap: 16px;
    font-family: inherit;
}

.csl-rozw__faq-btn span {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--csl-dark);
    flex: 1;
}

@media (min-width: 640px) {
    .csl-rozw__faq-btn span {
        font-size: 1rem;
    }
}

.csl-rozw__faq-chevron {
    color: var(--csl-muted);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.csl-rozw__faq-item.is-open .csl-rozw__faq-chevron {
    transform: rotate(180deg);
}

.csl-rozw__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.csl-rozw__faq-answer p {
    font-size: 0.875rem;
    color: var(--csl-muted);
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
}

.csl-rozw__faq-item.is-open .csl-rozw__faq-answer {
    max-height: 400px;
    padding: 0 24px 20px;
}


/* ── 10. BOFU CTA ─────────────────────────────────────────────────────────── */

.csl-rozw__bofu {
    background: var(--csl-purple);
    position: relative;
    overflow: hidden;
    padding: 64px 16px;
    text-align: center;
}

@media (min-width: 1024px) {
    .csl-rozw__bofu {
        padding: 96px 16px;
    }
}

.csl-rozw__bofu-bg-teal {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: rgba(140, 210, 217, 1);
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(100px);
    opacity: 0.3;
    transform: translate(33%, -33%);
    pointer-events: none;
}

.csl-rozw__bofu-bg-teal2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 500px;
    height: 500px;
    background: rgba(140, 210, 217, 1);
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(100px);
    opacity: 0.2;
    transform: translate(-33%, 33%);
    pointer-events: none;
}

.csl-rozw__bofu-inner {
    position: relative;
    z-index: 1;
    max-width: 768px;
}

.csl-rozw__bofu-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--csl-white);
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .csl-rozw__bofu-title {
        font-size: 3rem;
    }
}

.csl-rozw__bofu-desc {
    font-size: 1.0625rem;
    font-weight: 500;
    color: rgba(233, 216, 255, 0.9);
    margin: 0 0 48px;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .csl-rozw__bofu-desc {
        font-size: 1.1875rem;
    }
}

.csl-rozw__bofu-ctas {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .csl-rozw__bofu-ctas {
        flex-direction: row;
    }
}

/* White button variant for dark BG */
.csl-btn--white {
    background: var(--csl-white);
    color: var(--csl-purple);
    border: 2px solid transparent;
}

.csl-btn--white:hover {
    background: #F0F0F0;
    color: var(--csl-purple);
}

/* Ghost button variant */
.csl-btn--ghost {
    background: transparent;
    color: var(--csl-white);
    border: 2px solid rgba(255,255,255,0.3);
}

.csl-btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    color: var(--csl-white);
    border-color: rgba(255,255,255,0.5);
}

/* Full-width button */
.csl-btn--full {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
}


/* ── 11. FORMS (shared modal forms) ─────────────────────────────────────── */

.csl-rozw__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.csl-rozw__form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .csl-rozw__form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.csl-rozw__form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.csl-rozw__form-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--csl-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.csl-rozw__form-req {
    color: #E53E3E;
}

.csl-rozw__form-opt {
    font-weight: 400;
    text-transform: none;
    color: var(--csl-muted);
    font-size: 0.7rem;
}

.csl-rozw__form-input,
.csl-rozw__form-select,
.csl-rozw__form-textarea {
    width: 100%;
    border: 1px solid var(--csl-border);
    border-radius: var(--csl-radius-md);
    padding: 12px 16px;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--csl-dark);
    background: var(--csl-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.csl-rozw__form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.csl-rozw__form-input:focus,
.csl-rozw__form-select:focus,
.csl-rozw__form-textarea:focus {
    outline: none;
    border-color: var(--csl-purple);
    box-shadow: 0 0 0 3px rgba(82, 15, 125, 0.1);
}

.csl-rozw__form-textarea {
    resize: none;
    line-height: 1.6;
}


/* ── 12. VIDEO MODAL BODY ─────────────────────────────────────────────────── */

.csl-rozw__video-body {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0a0a14;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.csl-rozw__video-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(82,15,125,0.4) 0%, rgba(140,210,217,0.2) 100%);
    opacity: 0.5;
}

.csl-rozw__video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.csl-rozw__video-play-icon {
    color: rgba(255,255,255,0.8);
    transition: transform 0.2s ease;
}

.csl-rozw__video-body:hover .csl-rozw__video-play-icon {
    transform: scale(1.1);
}

.csl-rozw__video-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    padding: 0 24px;
}


/* ── 13. BUDDYBOSS OVERRIDES ─────────────────────────────────────────────── */

#buddypress .csl-rozw__hero-heading,
#buddypress .csl-rozw__bofu-title {
    font-size: unset;
}

.bb-grid .csl-rozw__seg-full-card {
    float: none;
    width: auto;
}
