/* ================================================================
   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-orb-3 {
    width: 400px;
    height: 400px;
    top: 40%;
    right: -200px;
    background: radial-gradient(circle, var(--color-accent-light), transparent);
    opacity: 0.1;
}

.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.05;
    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-intro {
    font-size: 1.2rem !important;
    color: #fff !important;
    line-height: 1.6 !important;
    margin-bottom: 48px !important;
    font-weight: 400 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 32px;
}

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

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

.legal-list 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-list 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);
}

.legal-note {
    font-size: 0.9rem !important;
    margin-top: 24px;
    padding: 16px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.legal-sub-section {
    margin: 32px 0 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border-left: 4px solid var(--color-accent);
}

.legal-sub-section h4 {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-sub-section p, 
.legal-sub-section .legal-list {
    margin-bottom: 0;
}

/* Disclaimer & Emergency Boxes */
.legal-disclaimer-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 24px;
}

.legal-emergency-callout {
    background: rgba(255, 100, 100, 0.05);
    border: 1px solid rgba(255, 100, 100, 0.1);
    border-radius: 24px;
    padding: 32px;
}

.legal-emergency-callout p,
.legal-emergency-box p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 0;
}

.legal-emergency-box {
    background: rgba(255, 100, 100, 0.05);
    border: 1px solid rgba(255, 100, 100, 0.1);
    border-radius: 24px;
    padding: 32px;
}

/* Policy Box */
.legal-policy-box {
    margin-top: 32px;
    padding: 32px;
    background: rgba(124, 92, 191, 0.05);
    border: 1px solid rgba(124, 92, 191, 0.1);
    border-radius: 24px;
}

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

.legal-policy-box .legal-list {
    margin: 0;
}

/* Contact Card */
.legal-contact-section {
    margin-top: 80px;
}

.legal-contact-card {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 24px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
}

.contact-handle {
    color: var(--color-accent-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-handle:hover {
    color: #fff;
}

/* 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-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 32px;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out-expo);
    text-decoration: none;
}

.legal-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

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