:root {
    --primary: #0F172A;
    --secondary: #F59E0B;
    --accent: #F59E0B;
    --bg-main: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-slate: #F1F5F9;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --success: #10B981;
    --danger: #EF4444;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --container-width: 1280px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.1;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utility Classes */
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.rounded { border-radius: 1rem; }
.rounded-lg { border-radius: 1.5rem; }
.img-responsive { width: 100%; height: auto; display: block; }
.lead { font-size: clamp(1rem, 2vw, 1.25rem); color: #94A3B8; margin-bottom: 2rem; }

/* Typography & Links */
a { color: inherit; text-decoration: none; transition: var(--transition); }
.text-secondary, .text-gold, .text-amber { color: var(--secondary); }
.text-navy, .text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.max-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.max-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.align-center { align-items: center; }

/* Grid System */
.grid { display: grid; gap: 4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Header & Nav */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid var(--border);
}

.main-header nav { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex; align-items: center; gap: 0.75rem;
    font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem;
    letter-spacing: -0.02em; color: var(--primary); z-index: 2002;
}
.logo-icon { color: var(--secondary); }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
    font-size: 0.9rem; font-weight: 600; color: var(--primary);
    display: flex; align-items: center; gap: 0.35rem; position: relative; padding: 0.5rem 0;
}
.nav-links li > a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--secondary); transition: var(--transition);
}
.nav-links li > a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--secondary); }

.nav-live-indicator { display: flex; align-items: center; gap: 0.5rem; }
.nav-live-indicator::before {
    content: ''; width: 8px; height: 8px; background: var(--success);
    border-radius: 50%; animation: pulse-green 2s infinite;
}

/* Dropdown */
.dropdown { position: relative; padding-bottom: 0.5rem; margin-bottom: -0.5rem; }
.dropdown-menu {
    position: absolute; top: calc(100% + 5px); left: 50%; transform: translateX(-50%) translateY(15px);
    background: var(--white); min-width: 250px; padding: 1.25rem 0;
    border-radius: 1.25rem; box-shadow: var(--shadow-premium); border: 1px solid var(--border);
    opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none; z-index: 2001;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a { padding: 0.75rem 1.75rem; display: block; font-size: 0.9rem; color: var(--text-main); }
.dropdown-menu li a:hover { background: var(--bg-slate); color: var(--secondary); padding-left: 2rem; }
.dropdown-menu li a::after { display: none; }

.mobile-menu-toggle { display: none; background: none; border: none; color: var(--primary); cursor: pointer; z-index: 2002; padding: 0.5rem; }

.btn-premium-nav {
    background: var(--primary); color: var(--white) !important;
    padding: 0.75rem 1.75rem !important; border-radius: 9999px;
    font-weight: 700 !important; box-shadow: var(--shadow-sm);
}
.btn-premium-nav:hover {
    background: var(--secondary); color: var(--primary) !important;
    transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-premium-nav::after { display: none !important; }

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Energy Deep-Dive Pages: Heroes */
.energy-hero {
    background-size: cover; background-position: center; background-attachment: fixed;
    padding: 12rem 0 8rem; color: var(--white); position: relative;
}
.energy-hero h1 {
    color: var(--white);
}
.hero-badge {
    display: inline-block; background: rgba(245, 158, 11, 0.2); color: var(--secondary);
    padding: 0.5rem 1.25rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Sections */
.section-premium { padding: 8rem 0; }
.bg-slate { background-color: var(--bg-slate); }
.bg-dark { background-color: var(--primary); }
.section-title { font-size: clamp(2.25rem, 4vw, 3.5rem); margin-bottom: 1.5rem; color: var(--primary); }
.text-white .section-title { color: var(--white); }

/* Components */
.card-premium, .premium-card {
    background: var(--white); padding: 3rem; border-radius: 2rem;
    border: 1px solid var(--border); transition: var(--transition); height: 100%;
}
.card-premium:hover, .premium-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-premium); border-color: var(--secondary); }

.card-icon {
    width: 60px; height: 60px; background: var(--bg-slate); color: var(--secondary);
    border-radius: 1.25rem; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem;
}

.feature-list { display: flex; flex-direction: column; gap: 1.5rem; }
.feature-item {
    display: flex; gap: 1.5rem; padding: 1.5rem;
    background: var(--bg-slate); border-radius: 1.25rem; border: 1px solid var(--border);
}
.feature-item i { flex-shrink: 0; width: 30px; height: 30px; }
.feature-item strong { display: block; font-size: 1.1rem; margin-bottom: 0.25rem; color: var(--primary); }
.feature-item p { font-size: 0.95rem; margin: 0; }

.info-rich-card {
    background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(20px);
    border: 1px solid var(--border); border-radius: 2rem; padding: 3.5rem;
    box-shadow: var(--shadow-premium);
}
.info-rich-card h3 { margin-bottom: 1.5rem; color: var(--primary); }

.data-table { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: 0.95rem; }
.data-table th, .data-table td { padding: 1.25rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { font-family: var(--font-heading); color: var(--primary); font-weight: 700; background: var(--bg-slate); }
.data-table tr:first-child th:first-child { border-top-left-radius: 1rem; }
.data-table tr:first-child th:last-child { border-top-right-radius: 1rem; }
.data-table tr:last-child td { border-bottom: none; }

.cta-box {
    background: var(--bg-slate); border-left: 4px solid var(--secondary);
    padding: 2rem; border-radius: 0 1.5rem 1.5rem 0;
}
.cta-box h4 { margin-bottom: 0.5rem; color: var(--primary); }

.project-timeline { list-style: none; margin-left: 1rem; border-left: 2px solid var(--secondary); padding-left: 2.5rem; }
.project-timeline li { position: relative; margin-bottom: 2.5rem; }
.project-timeline li::before {
    content: ''; position: absolute; left: -3rem; top: 0.25rem;
    width: 16px; height: 16px; background: var(--primary);
    border: 3px solid var(--secondary); border-radius: 50%;
}
.project-timeline li strong { display: block; font-size: 1.2rem; color: var(--primary); margin-bottom: 0.5rem; }

.tag {
    display: inline-block; padding: 0.25rem 0.75rem; background: var(--secondary);
    color: var(--primary); border-radius: 999px; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; margin-top: 1rem;
}

.image-frame { border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }

/* Buttons */
.btn {
    display: inline-block; padding: 1.1rem 2.75rem; border-radius: 9999px;
    font-weight: 700; font-size: 1rem; transition: var(--transition);
    border: 1px solid transparent; text-align: center; cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--white) !important; }
.btn-primary:hover { background: var(--secondary); color: var(--primary) !important; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--secondary); color: var(--primary) !important; }
.btn-secondary:hover { background: var(--primary); color: var(--white) !important; transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Animations */
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: var(--transition); }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1100px) { .nav-links { gap: 1.25rem; } }
@media (max-width: 992px) {
    .mobile-menu-toggle { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 80%; max-width: 400px; height: 100vh;
        background: var(--white); flex-direction: column; justify-content: flex-start;
        padding: 6rem 2rem 2rem; transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2001;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1); overflow-y: auto;
    }
    .nav-links.active { right: 0; }
    .nav-links li { width: 100%; }
    .nav-links a { font-size: 1.1rem; padding: 1rem 0; width: 100%; border-bottom: 1px solid var(--border); }
    .dropdown-menu {
        position: static; transform: none; box-shadow: none; border: none; opacity: 1; visibility: visible;
        display: none; padding: 0.5rem 0 0.5rem 1.5rem; background: var(--bg-slate);
        border-radius: 0.75rem; margin-top: 0.5rem; min-width: 0; width: 100%;
    }
    .dropdown.active .dropdown-menu { display: block; }
}
@media (max-width: 768px) {
    .grid { gap: 3rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .energy-hero { padding: 8rem 0 6rem; text-align: center; }
    .hero-badge { margin: 0 auto 1.5rem; }
    .section-premium { padding: 5rem 0; }
    .info-rich-card { padding: 2rem; }
}