/* ================================================================
   THE SCENE WITHIN — Legal Experience Styles (Ultra 2.0 Dark Mode)
   ================================================================ */

.legal-experience {
    padding: 160px 0 120px;
    min-height: 100vh;
    background: #030308;
    position: relative;
    overflow: hidden;
    color: #fff;
    font-family: var(--font-body);
}

/* Background Decorations */
.legal-bg-visuals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.legal-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
}

.legal-orb-1 {
    width: 600px;
    height: 600px;
    top: -150px;
    left: -150px;
    background: radial-gradient(circle, var(--color-accent), transparent);
}

.legal-orb-2 {
    width: 500px;
    height: 500px;
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, #4a3f6b, transparent);
}

.legal-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.legal-header {
    text-align: center;
    margin-bottom: 80px;
}

.legal-eyebrow {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(124, 92, 191, 0.1);
    border: 1px solid rgba(124, 92, 191, 0.2);
    color: var(--color-accent-light);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.legal-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* Glass Card */
.legal-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 48px;
    padding: clamp(40px, 8vw, 100px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.legal-card-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Content Typography */
.legal-prose section {
    margin-bottom: 64px;
    position: relative;
    z-index: 2;
}

.legal-prose section:last-child {
    margin-bottom: 0;
}

.legal-prose h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
}

.legal-prose h2 .step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-prose p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    font-weight: 300;
}

.legal-prose strong {
    color: #fff;
    font-weight: 500;
}

.legal-prose ul {
    margin: 24px 0;
    padding-left: 0;
    list-style: none;
}

.legal-prose li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.legal-prose li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent);
}

/* Infobox */
.legal-infobox {
    margin-top: 48px;
    padding: 32px;
    background: rgba(124, 92, 191, 0.1);
    border: 1px solid rgba(124, 92, 191, 0.2);
    border-radius: 24px;
}

.legal-infobox h3 {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.legal-infobox p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Card Footer */
.legal-card-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.legal-meta {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

/* Footer Action */
.legal-action {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.legal-action p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.legal-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out-expo);
    text-decoration: none;
}

.legal-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-experience {
        padding: 120px 0 80px;
    }
    .legal-card {
        padding: 40px 24px;
        border-radius: 32px;
    }
    .legal-prose h2 {
        font-size: 1.6rem;
    }
    .legal-card-footer {
        flex-direction: column;
        text-align: center;
    }
}
