/* ========================================
   FINAL POLISH & REFINEMENTS
   Desktop Layout + Brand Showcase + Professional Balance
   NO REDESIGN - ONLY REFINEMENT
   ======================================== */

/* ==========================================
   1. DESKTOP LAYOUT - CONTAINER CONSISTENCY
   ========================================== */

/* Ensure consistent max-width across all sections */
.container {
    max-width: 1280px !important;
    width: 100%;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Prevent horizontal overflow */
body,
html {
    overflow-x: hidden !important;
    max-width: 100vw;
}

/* All sections consistent width */
.section .container,
.hero .container,
.navbar .container,
footer .container,
.brand-showcase-band .container {
    max-width: 1280px !important;
}

/* ==========================================
   2. BRAND SHOWCASE - LOGO REFINEMENT
   ========================================== */

/* Brand showcase section - clean structure */
.brand-showcase-band {
    background: linear-gradient(135deg, #272147 0%, #3a316a 100%);
    padding: 4rem 0 !important;
    position: relative;
    overflow: hidden;
}

.brand-showcase-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo - REDUCED SIZE for balance */
.brand-showcase-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-showcase-logo img {
    height: 65px !important; /* Further reduced from 70px */
    width: auto !important;
    max-width: 100%;
    filter: brightness(0) invert(1) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

/* Text section - balanced */
.brand-showcase-text {
    flex: 1;
    color: white;
    padding: 0 1.5rem;
}

.brand-showcase-text h3 {
    font-size: 1.9rem !important; /* Proportional to logo */
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.3;
}

.brand-showcase-text p {
    font-size: 1.05rem !important;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

/* CTA section */
.brand-showcase-cta {
    flex: 0 0 auto;
}

/* ==========================================
   3. INVESTMENT OUTLOOK - FINAL POLISH
   ========================================== */

/* Ensure all cards are visible and complete */
.stat-highlight-card,
.insight-block,
.outlook-card,
.framework-step {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Stat cards - refined proportions */
.stat-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin: 3rem 0 !important;
}

.stat-highlight-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.25rem 1.75rem !important;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #4d6db8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    min-height: 200px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Insight blocks - consistent styling */
.insight-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
    margin: 3rem 0 !important;
}

.insight-block {
    background: #ffffff;
    padding: 2rem !important;
    border-radius: 8px;
    border-left: 4px solid #4d6db8;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    min-height: 220px !important;
    display: flex;
    flex-direction: column;
}

.insight-block h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #272147;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.insight-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.insight-block ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.85rem;
    color: #495057;
    line-height: 1.7;
    font-size: 0.95rem;
}

.insight-block ul li:before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4d6db8;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Outlook cards (dark section) */
.outlook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin: 3rem 0 !important;
}

.outlook-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 2.25rem !important;
    border-radius: 10px;
    border-left: 4px solid #96a9d5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-height: 240px !important;
    transition: all 0.3s ease;
}

.outlook-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.outlook-card ul.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.outlook-card ul.bullet-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    font-size: 0.95rem;
}

.outlook-card ul.bullet-list li:before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #96a9d5;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Framework steps */
.framework-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
    margin: 3rem 0 !important;
}

.framework-step {
    background: #ffffff;
    padding: 2.25rem !important;
    border-radius: 10px;
    border-left: 4px solid #4d6db8;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    min-height: 280px !important;
    display: flex;
    flex-direction: column;
}

.framework-step .step-number-large {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #4d6db8, #728bc7);
    color: #ffffff;
    font-size: 1.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(77, 109, 184, 0.3);
}

.framework-step h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #272147;
    margin-bottom: 1.25rem;
}

.framework-step ul.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.framework-step ul.bullet-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.85rem;
    color: #495057;
    line-height: 1.7;
    font-size: 0.95rem;
}

.framework-step ul.bullet-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4d6db8;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ==========================================
   4. SECTION SPACING - PROFESSIONAL RHYTHM
   ========================================== */

/* Consistent section padding */
.section {
    padding: 5rem 0 !important;
}

.section-xl {
    padding: 6rem 0 !important;
}

/* Chart sections */
.chart-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(77, 109, 184, 0.1);
    border-radius: 12px;
    padding: 2.5rem !important;
    margin: 3rem 0 !important;
}

.chart-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #272147;
    margin-bottom: 2rem;
    text-align: center;
}

.chart-wrapper-large {
    position: relative;
    height: 320px !important;
    max-width: 100%;
}

/* Data panels */
.data-panel {
    background: linear-gradient(135deg, #272147 0%, #3a316a 100%);
    padding: 3rem 2.5rem !important;
    border-radius: 12px;
    margin: 3rem 0 !important;
    box-shadow: 0 6px 25px rgba(39, 33, 71, 0.3);
}

.data-panel-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2.5rem;
    text-align: center;
}

.data-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem !important;
}

.data-metric {
    text-align: center;
    padding: 2rem !important;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    min-height: 160px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.data-metric:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.data-metric-value {
    font-size: 2.6rem !important;
    font-weight: 800;
    color: #96a9d5;
    margin-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.data-metric-label {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.data-metric-note {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ==========================================
   5. INFOGRAPHIC SECTIONS
   ========================================== */

.infographic-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2.5rem !important;
    border-radius: 12px;
    margin: 3rem 0 !important;
    backdrop-filter: blur(10px);
}

.infographic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
}

.info-block {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem !important;
    border-radius: 10px;
    border-left: 3px solid #96a9d5;
    text-align: center;
    transition: all 0.3s ease;
}

.info-block:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.info-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #728bc7, #96a9d5);
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 15px rgba(114, 139, 199, 0.4);
}

.info-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.info-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* ==========================================
   6. CTA SECTIONS
   ========================================== */

.outlook-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid rgba(77, 109, 184, 0.15);
    border-radius: 14px;
    padding: 3.5rem 3rem !important;
    text-align: center;
    margin: 4rem 0 !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.outlook-cta h3 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #272147;
    margin-bottom: 1.25rem;
}

.outlook-cta p {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.8;
    max-width: 950px;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   7. RESPONSIVE BREAKPOINTS
   ========================================== */

/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .container,
    .brand-showcase-content {
        max-width: 1400px !important;
    }
}

/* Standard Desktop (1440-1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .container,
    .brand-showcase-content {
        max-width: 1280px !important;
    }
}

/* Laptop (1200-1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .container,
    .brand-showcase-content {
        max-width: 1140px !important;
    }
    
    .brand-showcase-logo img {
        height: 60px !important;
    }
    
    .brand-showcase-text h3 {
        font-size: 1.75rem !important;
    }
}

/* Tablet Landscape (992-1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container,
    .brand-showcase-content {
        max-width: 960px !important;
    }
    
    .stat-highlight-grid,
    .data-panel-grid,
    .outlook-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .infographic-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .brand-showcase-logo img {
        height: 55px !important;
    }
    
    .brand-showcase-text h3 {
        font-size: 1.6rem !important;
    }
}

/* Tablet Portrait (768-991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .container,
    .brand-showcase-content {
        max-width: 720px !important;
        padding: 0 1.5rem !important;
    }
    
    .section {
        padding: 4rem 0 !important;
    }
    
    .stat-highlight-grid,
    .insight-blocks,
    .data-panel-grid,
    .outlook-grid,
    .framework-grid,
    .infographic-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .brand-showcase-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem !important;
    }
    
    .brand-showcase-logo img {
        height: 50px !important;
    }
    
    .brand-showcase-text {
        padding: 0;
    }
    
    .brand-showcase-text h3 {
        font-size: 1.5rem !important;
    }
}

/* Mobile (< 767px) */
@media (max-width: 767px) {
    .container,
    .brand-showcase-content {
        padding: 0 1.25rem !important;
    }
    
    .section {
        padding: 3.5rem 0 !important;
    }
    
    .brand-showcase-band {
        padding: 3rem 0 !important;
    }
    
    .brand-showcase-logo img {
        height: 45px !important;
    }
    
    .brand-showcase-text h3 {
        font-size: 1.35rem !important;
    }
    
    .brand-showcase-text p {
        font-size: 0.95rem !important;
    }
    
    .stat-highlight-card,
    .insight-block,
    .outlook-card,
    .framework-step {
        padding: 1.75rem !important;
        min-height: auto !important;
    }
    
    .data-panel,
    .chart-section,
    .infographic-section {
        padding: 2rem 1.5rem !important;
    }
    
    .outlook-cta {
        padding: 2.5rem 1.75rem !important;
    }
}

/* ==========================================
   8. PREVENT ANY EMPTY/BROKEN ELEMENTS
   ========================================== */

/* Hide any truly empty elements */
.stat-highlight-card:empty,
.insight-block:empty,
.outlook-card:empty,
.framework-step:empty {
    display: none !important;
}

/* Ensure all text is readable */
h1, h2, h3, h4, h5, h6, p, li, span {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Images stay within bounds */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* ==========================================
   FINAL POLISH - NO DESIGN CHANGES
   ========================================== */

/* Brand colors preserved: #272147, #3a316a, #4d6db8, #728bc7, #96a9d5, #ffffff */
/* Montserrat typography preserved */
/* Existing structure maintained */
/* Only refinement and balance applied */
