/* =========================================
   LCR PROJ25 - Dedicated Styles (Refactored)
   Namespace: lcr-proj25-*
   ========================================= */

/* --- Typography Imports --- */
@font-face {
    font-family: 'Akrobat';
    src: url('../fonts/Akrobat-Black.woff2') format('woff2');
    font-weight: 900;
}

@font-face {
    font-family: 'Akrobat';
    src: url('../fonts/Akrobat-Bold.woff2') format('woff2');
    font-weight: 700;
}

@font-face {
    font-family: 'Outfit';
    src: url('https://fonts.gstatic.com/s/outfit/v11/QGYyz_MVcBeNP4NjuGObqx1XmO1I4TC0C4G-6rWx.woff2') format('woff2');
    font-weight: 400;
}

/* Base Body (Reset Only) */
body.lcr-proj25-body {
    background-color: #0E1116 !important;
    /* Updated to .webp for performance */
    background-image: linear-gradient(to bottom, rgba(14, 17, 22, 0.85), rgba(14, 17, 22, 0.95)), url('../img/bg_investment_value.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    margin: 0;
    min-height: 100vh;
    font-family: 'Akrobat', 'Outfit', sans-serif;
    color: #e9edf1;
    font-size: 16px;
}

/* Force Font Family Globally for this namespace */
.lcr-proj25-body,
.lcr-proj25-body button,
.lcr-proj25-body input,
.lcr-proj25-body select,
.lcr-proj25-body textarea,
.lcr-proj25-section-title,
.lcr-proj25-tier-title-group span,
.lcr-proj25-item-title,
.lcr-proj25-modal-box h2 {
    font-family: 'Akrobat', 'Outfit', sans-serif !important;
}

/* Specific Font Weights */
.lcr-proj25-title-main {
    font-weight: 900 !important;
}

.lcr-proj25-item-meta {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 400 !important;
}

/* --- Container (Background Removed - Handled by Body now) --- */
.lcr-proj25-section {
    width: 100%;
    /* Background Styles moved to BODY to cover full page */
    background: transparent;

    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* --- Header --- */
.lcr-proj25-header {
    text-align: center;
    max-width: 1000px;
    margin: 40px auto 60px !important;
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding-top: 0px;
}

.lcr-proj25-header-text-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lcr-proj25-title-main {
    display: block;
    font-family: 'Akrobat', 'Outfit', sans-serif !important;
    font-size: clamp(3rem, 6vw, 6rem) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    margin: 0 !important;
    letter-spacing: 2px !important;
    text-align: center !important;

    /* Shimmer Effect */
    background: linear-gradient(90deg, #fff 0%, #efd7a0 20%, #fff 50%, #efd7a0 80%, #fff 100%);
    background-size: 200% auto;
    animation: lcrProj25Shimmer 4s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

@keyframes lcrProj25Shimmer {
    to {
        background-position: 200% center;
    }
}

.lcr-proj25-subtitle {
    display: block;
    font-family: 'Akrobat', 'Outfit', sans-serif !important;
    font-size: 1.5rem !important;
    color: #efd7a0 !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 5px !important;
    font-weight: 700;
    text-align: center !important;
}

/* --- Intro Text --- */
.lcr-proj25-intro {
    text-align: center;
    max-width: 700px;
    margin: 40px auto;
    color: #8b9bb4;
    font-size: 1.2rem;
    padding: 0 20px;
    line-height: 1.6;
}

/* --- Section Title --- */
.lcr-proj25-section-title {
    font-family: 'Akrobat', 'Outfit', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    margin: 0 0 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 3px solid #efd7a0;
}

/* --- Tiers / Accordion Styles --- */
.lcr-proj25-tier-card {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 24px;
    background: rgba(22, 25, 30, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.lcr-proj25-tier-card:hover {
    border-color: rgba(239, 215, 160, 0.3);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.lcr-proj25-tier-header {
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    user-select: none;
}

.lcr-proj25-tier-title-group span {
    font-family: 'Akrobat', 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.lcr-proj25-tier-badge {
    margin-left: auto;
    font-size: 0.85rem;
    background: rgba(0, 229, 153, 0.1);
    border: 1px solid #00c16a;
    color: #00c16a;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
}

.lcr-proj25-arrow {
    width: 24px;
    height: 24px;
    fill: #fff;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.lcr-proj25-tier-header[aria-expanded="true"] .lcr-proj25-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Accordion Content - Smooth Transition */
.lcr-proj25-tier-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    opacity: 0;
    transition: max-height 0.4s ease-out, padding 0.4s ease, opacity 0.3s ease;
    display: block;
}

.lcr-proj25-tier-content.active {
    max-height: 2000px;
    padding: 30px;
    opacity: 1;
    animation: none !important;
}

/* Options/Cards inside Accordion */
.lcr-proj25-tier-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lcr-proj25-tier-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.lcr-proj25-tier-item:hover {
    background: rgba(239, 215, 160, 0.1);
    border-color: rgba(239, 215, 160, 0.3);
    transform: translateX(5px);
}

.lcr-proj25-item-thumb {
    display: none;
    width: 90px;
    height: 120px;
}

.lcr-proj25-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lcr-proj25-tier-item:hover .lcr-proj25-thumb-img {
    transform: scale(1.1);
}

.lcr-proj25-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lcr-proj25-item-title {
    font-family: 'Akrobat', 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #e9edf1;
    letter-spacing: 0.5px;
}

.lcr-proj25-item-meta {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #8b9bb4;
}

.lcr-proj25-item-action {
    background: transparent;
    color: #efd7a0;
    font-family: 'Akrobat', 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 8px 16px;
    border: 1px solid #efd7a0;
    border-radius: 4px;
    transition: all 0.2s;
}

.lcr-proj25-tier-item:hover .lcr-proj25-item-action {
    background: #efd7a0;
    color: #000;
}

/* --- Year Grouping --- */
.lcr-proj25-year-group {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
    padding: 0 10px;
}

.lcr-proj25-year-group:last-of-type {
    margin-bottom: 20px;
}

.lcr-proj25-year-title {
    font-family: 'Akrobat', 'Outfit', sans-serif !important;
    font-size: 2.2rem;
    font-weight: 700 !important;
    color: #efd7a0;
    text-align: left;
    margin: 0 0 25px 0;
    padding-left: 15px;
    border-left: 4px solid #efd7a0;
    line-height: 1.1;
    z-index: 0;
    letter-spacing: 1px;
}

.lcr-proj25-year-title span {
    font-family: 'Akrobat', 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* --- Action Buttons (Global) --- */
.lcr-proj25-global-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 0 60px;
    flex-wrap: wrap;
    padding: 0 20px;
    width: 100%;
}

body .lcr-proj25-btn-primary {
    background: linear-gradient(135deg, #c5a059 0%, #efd7a0 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #000 !important;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: 'Akrobat', 'Outfit', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(239, 215, 160, 0.4);
}

.lcr-proj25-btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.6);
}

/* --- Modals --- */
.lcr-proj25-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 11, 16, 0.6);
    backdrop-filter: blur(8px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lcr-proj25-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.lcr-proj25-modal-box {
    background: #0E1116;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(239, 215, 160, 0.15);
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
}

.lcr-proj25-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.3s;
}

.lcr-proj25-modal-close:hover {
    color: #fff;
}

/* Inputs */
.lcr-proj25-input {
    width: 100%;
    padding: 15px;
    background: #1d2127;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.lcr-proj25-input:focus {
    outline: none;
    border-color: #efd7a0;
    background: rgba(255, 255, 255, 0.1);
}

/* --- PDF Viewer Controls (UPDATED) --- */
.lcr-proj25-pdf-ctrl {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3010;
    background: rgba(22, 25, 30, 0.95);
    padding: 8px 25px;
    border-radius: 50px;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.lcr-proj25-pdf-zoom {
    display: flex;
    gap: 10px;
}

.lcr-proj25-icon-btn {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    cursor: pointer;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 300 !important;
    font-size: 1.5rem !important;
    /* Larger symbol */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    appearance: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.lcr-proj25-icon-btn:hover {
    background-color: #efd7a0 !important;
    color: #000 !important;
    border-color: #efd7a0 !important;
    transform: scale(1.1);
}

#lcrProj25PdfClose {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    cursor: pointer !important;
    font-family: 'Akrobat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    height: 40px !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

#lcrProj25PdfClose:hover {
    background: #efd7a0 !important;
    color: #000 !important;
    border-color: #efd7a0 !important;
    transform: translateY(-2px);
}

.lcr-proj25-loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #efd7a0;
    z-index: 3005;
}

.lcr-proj25-pdf-container {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    padding-bottom: 50px;
    gap: 20px;
}

/* --- Search --- */
.lcr-proj25-search-container {
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .lcr-proj25-header {
        margin-top: 40px !important;
        flex-direction: column;
        text-align: center !important;
    }

    .lcr-proj25-title-main {
        font-size: 3rem !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .lcr-proj25-subtitle {
        text-align: center !important;
        margin-left: 0;
    }

    .lcr-proj25-tier-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .lcr-proj25-item-action {
        width: 100%;
        text-align: center;
    }
}

/* Ripple */
.lcr-proj25-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: lcrProj25Ripple 600ms linear;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

@keyframes lcrProj25Ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.lcr-proj25-btn-primary,
.lcr-proj25-tier-item {
    position: relative;
    overflow: hidden;
}

/* --- Success Animation --- */
.lcr-proj25-checkmark-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #efd7a0;
    position: relative;
    margin-bottom: 20px;
    animation: lcrScaleUp 0.5s ease-out forwards;
}

.lcr-proj25-checkmark-circle::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 10px;
    width: 15px;
    height: 30px;
    border: solid #efd7a0;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    opacity: 0;
    animation: lcrCheckDraw 0.3s 0.4s ease-out forwards;
}

/* Remove old separate stems if present in HTML, or hide them via CSS */
.lcr-proj25-checkmark-kick,
.lcr-proj25-checkmark-stem {
    display: none;
}

@keyframes lcrScaleUp {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes lcrCheckDraw {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }

    50% {
        height: 30px;
        width: 0;
        opacity: 1;
    }

    /* Draw Down */
    100% {
        height: 30px;
        width: 15px;
        opacity: 1;
    }

    /* Draw Right */
}