/* === Variables & Setup === */
:root {
    --primary-color: #0F172A; /* Slate 900 */
    --primary-light: #1E293B; /* Slate 800 */
    --secondary-color: #FFFFFF;
    --accent-color: #D97706; /* Amber 600 - Governmental/Premium Feel */
    --accent-hover: #B45309; /* Amber 700 */
    --text-main: #334155;
    --text-light: #94A3B8;
    --bg-light: #F8FAFC;
    --bg-dark: #0B1120;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--secondary-color);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; font-size: 1.125rem; }
.lead-text { font-size: 1.25rem; color: #475569; }

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); }
.text-white { color: var(--secondary-color); }
.text-white h2, .text-white h3, .text-white h4, .text-white p { color: var(--secondary-color); }
.text-accent { color: var(--accent-color) !important; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 2rem; }

.divider { height: 3px; width: 50px; background-color: var(--accent-color); margin-top: 1rem; margin-bottom: 1.5rem; }
.section-title { margin-bottom: 3.5rem; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.875rem 1.75rem; font-family: var(--font-body);
    font-weight: 600; font-size: 1rem; border-radius: 0.25rem;
    transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--accent-color); color: white; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-secondary { background: var(--primary-light); color: white; border: 1px solid var(--primary-light); }
.btn-secondary:hover { background: var(--primary-color); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-outline:hover { background: var(--primary-color); color: white; }

/* === Header === */
#main-header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(10px);
    z-index: 1000; padding: 1.25rem 0; border-bottom: 1px solid #E2E8F0;
    transition: var(--transition);
}
#main-header.scrolled { padding: 0.75rem 0; box-shadow: var(--shadow-md); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--primary-color); display: flex; align-items: center; gap: 0.5rem; }
.logo i { color: var(--accent-color); }
.main-nav .nav-links { display: flex; gap: 2.5rem; }
.main-nav a { font-weight: 600; font-size: 1rem; transition: var(--transition); }
.main-nav a:hover { color: var(--accent-color); }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary-color); }

/* === Hero === */
.hero {
    position: relative; height: 100vh; min-height: 700px;
    display: flex; align-items: center; color: white;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(30,41,59,0.8) 100%), url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    z-index: 0;
}
.hero-container { position: relative; z-index: 2; }
.hero-content { max-width: 800px; }
.badge { display: inline-block; padding: 0.5rem 1rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 2rem; font-size: 0.875rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.5rem; background: rgba(0,0,0,0.2); }
.hero h1 { color: white; }
.hero p { font-size: 1.25rem; color: #CBD5E1; margin-bottom: 2.5rem; }
.hero-buttons { display: flex; gap: 1rem; }

/* === Stats Section (Risk Landscape) === */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; margin-top: 3rem; }
.stat-card { background: white; padding: 3rem 2rem; text-align: center; border-radius: 0.5rem; box-shadow: var(--shadow-md); border-top: 4px solid var(--accent-color); transition: var(--transition); }
.stat-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

/* CSS Circle Progress */
.progress-circle {
    width: 120px; height: 120px; margin: 0 auto 1.5rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 700; color: var(--primary-color);
    position: relative; background: #E2E8F0;
}
.progress-circle::before {
    content: ''; position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px;
    background: white; border-radius: 50%;
}
.progress-circle span { position: relative; z-index: 1; }
/* Conic gradients for percentages */
.p-39 { background: conic-gradient(var(--accent-color) 39%, #E2E8F0 0); }
.p-34 { background: conic-gradient(var(--accent-color) 34%, #E2E8F0 0); }
.p-28 { background: conic-gradient(var(--accent-color) 28%, #E2E8F0 0); }

/* === About Section === */
.about-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: 0.5rem; box-shadow: var(--shadow-lg); }
.image-caption { position: absolute; bottom: -20px; right: -20px; background: white; padding: 1.5rem; box-shadow: var(--shadow-lg); border-left: 4px solid var(--accent-color); font-weight: 600; font-family: var(--font-heading); color: var(--primary-color); }

/* === Pillars === */
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.pillar-card { background: var(--primary-light); padding: 3rem; border-radius: 0.5rem; position: relative; }
.pillar-number { position: absolute; top: -30px; left: 30px; font-size: 4rem; font-family: var(--font-heading); font-weight: 700; color: rgba(255,255,255,0.05); line-height: 1; }
.pillar-list { margin-top: 2rem; }
.pillar-list li { margin-bottom: 1rem; display: flex; gap: 1rem; align-items: flex-start; }
.pillar-list i { color: var(--accent-color); margin-top: 0.25rem; font-size: 1.25rem; }

/* === Podcast === */
.podcast-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.podcast-details { margin-top: 2rem; }
.detail-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.detail-item i { font-size: 1.5rem; margin-top: 0.25rem; }
.detail-item h4 { margin-bottom: 0.25rem; font-size: 1.125rem; }
.detail-item p { font-size: 1rem; color: #64748B; margin: 0; }

.podcast-card { background: white; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-lg); }
.podcast-cover { width: 100%; height: 300px; object-fit: cover; }
.podcast-player-ui { padding: 2rem; background: var(--primary-color); color: white; text-align: center; }
.track-info h5 { color: white; margin-bottom: 0.25rem; }
.track-info p { font-size: 0.875rem; color: #94A3B8; margin-bottom: 1.5rem; }
.progress-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; margin-bottom: 1.5rem; position: relative; }
.progress-fill { height: 100%; background: var(--accent-color); border-radius: 2px; position: relative; }
.progress-fill::after { content:''; position:absolute; right:-4px; top:-3px; width:10px; height:10px; background:white; border-radius:50%; }
.player-controls { display: flex; justify-content: center; align-items: center; gap: 2rem; }
.player-controls button { background: none; border: none; color: white; font-size: 1.25rem; cursor: pointer; transition: color 0.3s; }
.player-controls button:hover { color: var(--accent-color); }
.play-btn { width: 50px; height: 50px; border-radius: 50%; background: var(--accent-color) !important; display: flex; align-items: center; justify-content: center; font-size: 1.5rem !important; }

/* === Event === */
.event-section { position: relative; padding: 8rem 0; background: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat; color: white; }
.event-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(15,23,42,0.85); }
.event-container { position: relative; z-index: 2; max-width: 800px; }
.event-desc { font-size: 1.25rem; margin-bottom: 2rem; }
.coming-soon { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; background: rgba(255,255,255,0.1); border-radius: 2rem; margin-bottom: 3rem; font-weight: 600; }
.pulse-dot { width: 12px; height: 12px; background: var(--accent-color); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(217, 119, 6, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); } }

.event-notify-form { display: flex; max-width: 500px; margin: 0 auto; background: white; padding: 0.5rem; border-radius: 0.5rem; }
.event-notify-form input { flex: 1; border: none; padding: 0 1rem; font-family: inherit; font-size: 1rem; outline: none; border-radius: 0.25rem; }
.event-notify-form button { border-radius: 0.25rem; }

/* === Footer === */
.main-footer { padding: 4rem 0 2rem; border-top: 1px solid #1E293B; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--text-light); max-width: 300px; margin-top: 1rem; font-size: 1rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-light); font-weight: 600; transition: var(--transition); }
.footer-links a:hover { color: var(--secondary-color); }
.footer-bottom { text-align: center; border-top: 1px solid #1E293B; padding-top: 2rem; color: var(--text-light); font-size: 0.875rem; }

/* === Media Queries === */
@media (max-width: 992px) {
    .about-wrapper, .pillars-grid, .podcast-wrapper { grid-template-columns: 1fr; }
    .about-image { order: -1; margin-bottom: 2rem; }
}

@media (max-width: 768px) {
    .main-nav {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: white; padding: 2rem 0; box-shadow: var(--shadow-md);
        display: none;
    }
    .main-nav.active { display: block; }
    .main-nav .nav-links { flex-direction: column; align-items: center; gap: 1.5rem; }
    .cta-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .footer-top { flex-direction: column; text-align: center; }
    .footer-links { flex-direction: column; gap: 1rem; }
    .event-notify-form { flex-direction: column; background: transparent; padding: 0; gap: 1rem; }
    .event-notify-form input { padding: 1rem; border-radius: 0.25rem; }
}