/* =========================
   Shared – section badges
   (if you already have these in another file,
   you can remove this block)
   ========================= */

.display-none {
	display: none !important;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.18);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-badge {
	display: none !important;
}

div:has(> .section-badge) {
	text-align: center;
}

/* Center the badge within its WP paragraph wrapper */
.has-text-align-center.section-badge {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: 19px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 48px;
}


/* =========================
   Video demo section
   ========================= */

.section-video {
    padding: 100px 0;
    background: var(--white);
}

.section-video h2 {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.video-wrapper {
    max-width: 860px;
    margin: 0 auto 32px;
}

.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: var(--dark);
    box-shadow: 0 24px 64px rgba(0, 24, 48, 0.12);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Placeholder shown until a real video embed is added */
.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    height: 100%;
    color: var(--gray-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.video-placeholder:hover {
    color: var(--accent);
}

.video-placeholder span {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.video-caption {
    font-size: 16px;
    color: var(--gray-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================
   Relances section
   ========================= */

.section-relances {
    padding: 100px 0;
    background: var(--light-2);
}

.section-relances h2 {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.relances-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 16px;
}

.relances-problems {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.relances-problems h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--dark);
}

.pain-point {
    padding: 14px 0;
    border-bottom: 1px solid var(--light);
}

.pain-point p {
    font-size: 16px;
    color: var(--dark-3);
    margin: 0;
    padding-left: 28px;
    position: relative;
}

.pain-point p::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 700;
    font-size: 14px;
}

.pain-point:last-of-type {
    border-bottom: none;
}

.pain-result {
    margin-top: 24px;
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    font-style: italic;
}

.relances-solution {
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.relances-solution h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.relances-solution p {
    font-size: 17px;
    color: var(--gray-light);
    line-height: 1.8;
}

.relances-solution .solution-highlight {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.6;
}


/* =========================
   Legaltech section
   ========================= */

.section-legaltech {
    padding: 100px 0;
    background: var(--dark);
}

.section-legaltech .section-badge.badge-dark {
    background: rgba(38, 226, 174, 0.12);
    border-color: rgba(38, 226, 174, 0.2);
    color: var(--accent);
}

.legaltech-heading {
    color: var(--white) !important;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.legaltech-intro {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 19px;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 56px;
}

.legaltech-intro strong {
    color: var(--white);
}

.legaltech-cards {
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    flex-wrap: nowrap;
	align-items: stretch;
}

.lt-card {
    flex: 1;
    min-width: 260px;
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 36px 28px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.lt-card:hover {
    transform: translateY(-4px);
    border-color: rgba(38, 226, 174, 0.2);
}

.lt-card-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.lt-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.lt-card p:not(.lt-card-icon) {
    font-size: 15px;
    color: var(--gray-light);
    line-height: 1.7;
}


/* =========================
   Responsive
   ========================= */

@media (max-width: 1024px) {
    .section-video h2,
    .section-relances h2,
    .legaltech-heading {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .section-video,
    .section-relances,
    .section-legaltech {
        padding: 72px 0;
    }

    .section-video h2,
    .section-relances h2,
    .legaltech-heading {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .section-subtitle {
        font-size: 17px;
        margin-bottom: 36px;
    }

    .video-embed {
        border-radius: 14px;
    }

    .relances-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .relances-problems,
    .relances-solution {
        padding: 28px;
    }

    .legaltech-intro {
        font-size: 17px;
        margin-bottom: 40px;
    }

    .legaltech-cards {
        flex-direction: column;
    }

    .lt-card {
        min-width: auto;
    }
}
