/* ================= CORE VARIABLES & RESET ================= */
:root {
    --primary: #c5a059; /* Gold */
    --primary-dark: #9e7f45;
    --text-dark: #2b2b2b; /* Graphite */
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #0a1128; /* Dark Navy */
    --white: #ffffff;
    --radius: 16px;
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', sans-serif; 
}
html.smooth-scroll { scroll-behavior: smooth; }
body { 
    color: var(--text-dark); 
    background-color: var(--bg-light); 
    line-height: 1.6; 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased; 
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { color: var(--bg-dark); font-weight: 600; line-height: 1.2; }

/* ================= GLOBAL ANIMATIONS ================= */
@keyframes heroFadeUp { 
    from { opacity: 0; transform: translateY(40px); } 
    to { opacity: 1; transform: translateY(0); } 
}
.reveal { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); 
    will-change: opacity, transform; 
}
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 100ms; } 
.delay-200 { transition-delay: 200ms; } 
.delay-300 { transition-delay: 300ms; }

/* ================= BUTTONS ================= */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 14px 30px; 
    border-radius: 30px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    border: none; 
    font-size: 15px; 
    position: relative; 
    overflow: hidden; 
    z-index: 1; 
}
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { 
    background-color: var(--primary-dark); 
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3); 
    transform: translateY(-2px); 
    color: var(--white); 
}
.btn-outline { 
    border: 1px solid rgba(255,255,255,0.2); 
    background: transparent; 
    color: var(--white); 
}
.btn-outline:hover { 
    background: var(--white); 
    color: var(--bg-dark); 
    transform: translateY(-2px); 
}

/* ================= NAVIGATION (HEADER) ================= */
header { 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    padding: 20px 0; 
    z-index: 100; 
    animation: heroFadeUp 0.8s ease-out forwards; 
}
.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(16px); 
    padding: 10px 20px; 
    border-radius: 50px; 
    box-shadow: 0 8px 32px rgba(0,0,0,0.04); 
    border: 1px solid rgba(255,255,255,0.4); 
}
.logo { 
    font-size: 24px; 
    font-weight: 700; 
    color: var(--primary); 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}
.logo span { color: var(--text-dark); }
.nav-links { display: flex; gap: 25px; }
.nav-links a { 
    font-size: 14px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    position: relative;
}
.nav-links a::after { 
    content: ''; 
    position: absolute; 
    width: 0; 
    height: 2px; 
    bottom: -4px; 
    left: 0; 
    background-color: var(--primary); 
    transition: width 0.3s ease; 
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; gap: 15px; align-items: center; }

/* ================= POST HERO SECTION ================= */
.post-hero { 
    background-color: var(--bg-dark); 
    color: var(--white); 
    padding: 220px 0 100px; 
    text-align: center; 
    position: relative; 
    overflow: hidden; 
    border-bottom-left-radius: 40px; 
    border-bottom-right-radius: 40px;
}
.post-hero::before { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px); 
    background-size: 24px 24px; 
    pointer-events: none; 
}
.post-hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }

.post-meta-top { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 20px; 
    font-size: 13px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    opacity: 0; 
    animation: heroFadeUp 0.8s ease-out 0.1s forwards;
}
.post-category { 
    color: var(--primary); 
    background: rgba(197, 160, 89, 0.1); 
    padding: 6px 16px; 
    border-radius: 20px; 
    border: 1px solid rgba(197, 160, 89, 0.3);
}
.post-date { color: rgba(255,255,255,0.6); }

.post-hero h1 { 
    color: var(--white); 
    font-size: 3.5rem; 
    margin-bottom: 1.5rem; 
    letter-spacing: -1px; 
    line-height: 1.1; 
    opacity: 0; 
    animation: heroFadeUp 0.8s ease-out 0.2s forwards; 
}

.post-author-block { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 30px; 
    opacity: 0; 
    animation: heroFadeUp 0.8s ease-out 0.4s forwards;
}
.author-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.1);}
.author-details { text-align: left; }
.author-name { display: block; font-weight: 700; color: var(--white); font-size: 1rem; }
.author-role { display: block; font-size: 0.85rem; color: var(--primary); }

/* ================= FEATURED IMAGE ================= */
.post-featured-image { 
    max-width: 1000px; 
    margin: -60px auto 60px; 
    position: relative; 
    z-index: 10; 
    padding: 0 20px; 
    opacity: 0; 
    animation: heroFadeUp 0.8s ease-out 0.6s forwards;
}
.post-featured-image img { 
    width: 100%; 
    height: 500px; 
    object-fit: cover; 
    border-radius: 24px; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.15); 
    border: 4px solid var(--white);
}

/* ================= POST BODY LAYOUT & TYPOGRAPHY ================= */
.post-layout { 
    display: grid; 
    grid-template-columns: 1fr 300px; 
    gap: 60px; 
    align-items: start; 
    padding-bottom: 100px;
}

.post-body { 
    background: var(--white); 
    padding: 60px; 
    border-radius: 24px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
    border: 1px solid rgba(0,0,0,0.02);
}

.post-body p { font-size: 1.15rem; color: var(--text-light); line-height: 1.8; margin-bottom: 1.8rem; }
.post-body h2 { font-size: 2rem; margin: 3rem 0 1.5rem; letter-spacing: -0.5px; }
.post-body h3 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.post-body ul, .post-body ol { margin-bottom: 2rem; padding-left: 20px; }
.post-body li { font-size: 1.1rem; color: var(--text-light); line-height: 1.8; margin-bottom: 10px; }
.post-body li::marker { color: var(--primary); font-weight: 700;}

.post-body blockquote { 
    border-left: 4px solid var(--primary); 
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.05) 0%, transparent 100%);
    padding: 30px 40px; 
    margin: 3rem 0; 
    border-radius: 0 16px 16px 0;
}
.post-body blockquote p { 
    font-size: 1.4rem; 
    font-style: italic; 
    color: var(--bg-dark); 
    font-weight: 500; 
    margin-bottom: 0; 
    line-height: 1.6;
}

.post-body img { 
    border-radius: 16px; 
    margin: 2rem 0; 
    width: 100%; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
}

/* ================= STICKY SIDEBAR ================= */
.post-sidebar { position: sticky; top: 120px; }
.sidebar-widget { 
    background: var(--white); 
    padding: 30px; 
    border-radius: 20px; 
    border: 1px solid #eaeaea; 
    margin-bottom: 30px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.02); 
}
.sidebar-widget h4 { 
    font-size: 1.1rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 20px; 
    padding-bottom: 15px; 
    border-bottom: 1px solid #eaeaea; 
    color: var(--bg-dark);
}

.share-buttons { display: flex; flex-direction: column; gap: 10px; }
.share-btn { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding: 12px 20px; 
    border-radius: 12px; 
    font-weight: 600; 
    font-size: 14px; 
    transition: var(--transition); 
    border: 1px solid #eaeaea; 
    color: var(--text-dark);
}
.share-btn:hover { background: var(--bg-dark); color: var(--white); border-color: var(--bg-dark);}
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }

.tags-container { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { 
    background: var(--bg-light); 
    color: var(--text-dark); 
    padding: 6px 15px; 
    border-radius: 20px; 
    font-size: 13px; 
    font-weight: 600; 
    transition: var(--transition); 
    border: 1px solid transparent; 
}
.tag:hover { background: transparent; border-color: var(--primary); color: var(--primary); }

/* ================= RELATED INSIGHTS SECTION ================= */
.related-section { padding: 100px 0; border-top: 1px solid #eaeaea; background: var(--white);}
.related-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
.related-header h2 { font-size: 2.5rem; font-weight: 800; color: var(--bg-dark); letter-spacing: -1px; }

.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.insight-card { 
    background: var(--bg-light); 
    border-radius: 20px; 
    overflow: hidden; 
    border: 1px solid #eaeaea; 
    transition: var(--transition); 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    cursor: pointer; 
}
.insight-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
    border-color: rgba(197, 160, 89, 0.3); 
}
.insight-img-wrap { height: 220px; overflow: hidden; position: relative; }
.insight-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.insight-card:hover .insight-img-wrap img { transform: scale(1.08); }

.insight-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.insight-meta { font-size: 12px; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: flex; gap: 10px; }
.insight-meta span.date { color: var(--text-light); }
.insight-content h4 { font-size: 1.3rem; color: var(--bg-dark); margin-bottom: 15px; line-height: 1.4; transition: color 0.3s; }
.insight-card:hover .insight-content h4 { color: var(--primary-dark); }
.insight-read { 
    font-weight: 600; 
    font-size: 13px; 
    color: var(--bg-dark); 
    margin-top: auto; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    transition: var(--transition); 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}
.insight-read span { transition: transform 0.3s ease; color: var(--primary); }
.insight-card:hover .insight-read { color: var(--primary); }
.insight-card:hover .insight-read span { transform: translateX(5px); }

/* ================= CTA (CALL TO ACTION) ================= */
.cta { 
    background: linear-gradient(135deg, var(--bg-dark) 0%, #152243 100%); 
    background-size: 200% 200%; 
    animation: gradientShift 8s ease infinite; 
    color: var(--white); 
    padding: 100px 20px; 
    text-align: center; 
    margin: 0 auto 80px; 
    width: calc(100% - 40px); 
    max-width: 1160px; 
    border-radius: 40px; 
    position: relative; 
    overflow: hidden; 
    box-shadow: 0 25px 50px rgba(10, 17, 40, 0.2); 
}
.cta h2 { font-size: 2.8rem; margin-bottom: 25px; position: relative; z-index: 2; color: var(--primary);}
.cta p { max-width: 700px; margin: 0 auto 40px; position: relative; z-index: 2; opacity: 0.8; font-size: 1.1rem; color: var(--white); font-weight: 300;}
.cta-shape { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.shape1 { 
    width: 600px; 
    height: 600px; 
    bottom: -300px; 
    right: -100px; 
    background: radial-gradient(circle, rgba(197, 160, 89, 0.5) 0%, transparent 70%); 
    animation: floatShape1 15s infinite ease-in-out; 
}
.shape2 { 
    width: 400px; 
    height: 400px; 
    top: -150px; left: -100px; 
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%); 
    animation: floatShape2 12s infinite ease-in-out reverse; 
}

@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes floatShape1 { 
    0% { transform: translate(0, 0) scale(1); } 
    33% { transform: translate(-40px, -40px) scale(1.1); } 
    66% { transform: translate(20px, -20px) scale(0.9); } 
    100% { transform: translate(0, 0) scale(1); } 
}
@keyframes floatShape2 { 
    0% { transform: translate(0, 0) scale(1); } 
    33% { transform: translate(30px, 30px) scale(1.2); } 
    66% { transform: translate(-20px, 20px) scale(0.85); } 
    100% { transform: translate(0, 0) scale(1); } 
}

/* ================= FOOTER ================= */
footer { padding: 80px 0 20px; text-align: center; background: #fff;}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; text-align: left; margin-bottom: 60px;}
.footer-col h4 { margin-bottom: 25px; font-size: 0.85rem; color: var(--bg-dark); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700;}
.footer-col ul { display: flex; flex-direction: column; gap: 15px; }
.footer-col a { color: var(--text-light); font-size: 0.95rem; transition: var(--transition); position: relative; display: inline-block;}
.footer-col a:hover { color: var(--primary-dark); transform: translateX(5px); }
.footer-regulatory { text-align: left; font-size: 0.8rem; color: var(--text-light); padding: 35px 0; border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; margin-bottom: 35px; line-height: 1.8;}
.footer-regulatory strong { color: var(--bg-dark); display: block; margin-bottom: 10px; font-size: 0.9rem;}
.footer-bottom { display: flex; justify-content: space-between; color: var(--text-light); font-size: 0.9rem; align-items: center;}
.big-text { font-size: 11vw; font-weight: 800; color: #f4f6f8; line-height: 0.8; margin-top: 50px; letter-spacing: -2px; user-select: none; text-transform: uppercase; text-align: center;}

/* ================= RESPONSIVE BREAKPOINTS ================= */
@media (max-width: 992px) {
    .post-layout { grid-template-columns: 1fr; }
    .post-sidebar { position: relative; top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px;}
    .insights-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
}
@media (max-width: 768px) {
    .post-hero { padding: 160px 20px 80px; border-radius: 0 0 20px 20px;}
    .post-hero h1 { font-size: 2.2rem; }
    .post-featured-image { margin: -40px auto 40px; }
    .post-featured-image img { height: 300px; border-width: 2px;}
    .post-body { padding: 30px 20px; }
    .post-body h2 { font-size: 1.6rem; }
    .post-body blockquote p { font-size: 1.15rem; }
    .post-sidebar { grid-template-columns: 1fr; gap: 0;}
    
    .insights-grid { grid-template-columns: 1fr; }
    .related-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .related-header h2 { font-size: 2.2rem; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .cta { padding: 80px 20px; margin: 0 auto 40px; width: calc(100% - 30px); }
    .cta h2 { font-size: 2.2rem; }
    .footer-bottom { flex-direction: column; gap: 20px; }
}