:root {
    /* Brand Color Pattern */
    --pma-primary: #4b7ed1;
    --pma-primary-soft: rgba(75, 126, 209, 0.08);
    --pma-primary-dark: #3a63a5;

    --pma-navy: #090909;
    --pma-secondary: #ffb800;
    --pma-light-bg: #fdfdfd;
    --pma-border: #e5e7eb;
    --pma-error: #ef4444;
}

/* Modern Hero Section */
.modern-hero-section {
    position: relative;
    margin-top: 140px;
    padding: 100px 0 80px;
    overflow: hidden;
    background-color: var(--pma-navy);
    min-height: 400px;
    display: flex;
    align-items: center;
}

@keyframes cinematicZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(9, 9, 9, 0.95) 0%,
        rgba(9, 9, 9, 0.7) 50%,
        rgba(9, 9, 9, 0.3) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-breadcrumb-wrapper {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--pma-primary);
    padding: 8px 20px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 8px;
}

.breadcrumb-item a,
.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breadcrumb-item a i {
    color: var(--pma-primary);
    margin-right: 6px;
}

.breadcrumb-item.separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
}

/* --- Legal Document Styles --- */
.legal-wrapper {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.legal-sidebar {
    position: sticky;
    top: 120px;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--pma-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.legal-nav-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--pma-navy);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-nav-list a {
    color: #64748b;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.legal-nav-list a i {
    font-size: 14px;
    transition: transform 0.3s ease;
    opacity: 0;
}

.legal-nav-list a:hover,
.legal-nav-list a.active {
    background: var(--pma-primary-soft);
    color: var(--pma-primary);
}

.legal-nav-list a:hover i,
.legal-nav-list a.active i {
    opacity: 1;
    transform: translateX(4px);
}

.legal-content-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    border: 1px solid var(--pma-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.legal-section {
    margin-bottom: 50px;
    scroll-margin-top: 140px;
}

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

.legal-section h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--pma-navy);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section h3::before {
    content: "";
    display: block;
    width: 24px;
    height: 4px;
    background: var(--pma-secondary);
    border-radius: 2px;
}

.legal-section p,
.legal-section li {
    font-size: 1.2rem;
    color: #374151;
    line-height: 1.85;
    margin-bottom: 20px;
}

.legal-section ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.legal-section li {
    margin-bottom: 12px;
    position: relative;
}

.legal-section li::marker {
    color: var(--pma-primary);
    font-size: 1.3rem;
}

.legal-highlight {
    background: var(--pma-primary-soft);
    border-left: 5px solid var(--pma-primary);
    padding: 24px;
    border-radius: 0 8px 8px 0;
    margin: 30px 0;
}

.legal-highlight p {
    margin: 0;
    color: var(--pma-primary-dark);
    font-weight: 700;
    font-size: 1.15rem;
}

.last-updated {
    font-size: 15px;
    color: #9ca3af;
    font-weight: 600;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 991px) {
    .legal-content-card {
        padding: 30px 20px;
    }

    .legal-sidebar {
        display: none;
    }

    .modern-hero-section {
        margin-top: 100px;
        padding: 60px 0;
    }

    .legal-section p,
    .legal-section li {
        font-size: 1.1rem;
    }
}
