:root {
    --bg-main: #02040a;
    --bg-card: #090e1a;
    --accent: #00e5ff;
    --text-pure: #ffffff;
    --text-body: #cbd5e1;
    --text-muted: #64748b;
    --border: #1e293b;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { background-color: var(--bg-main); color: var(--text-body); line-height: 1.8; font-size: 16px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Fixed Premium Header Layout */
header { border-bottom: 1px solid var(--border); position: fixed; width: 100%; top: 0; left: 0; background: rgba(2,4,10,0.98); backdrop-filter: blur(12px); z-index: 10000; }
nav { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo { font-size: 1.3rem; font-weight: 900; letter-spacing: 3px; color: var(--text-pure); text-transform: uppercase; }
.logo span { color: var(--accent); }
.nav-links { display: flex; list-style: none; gap: 2.2rem; align-items: center; }
.nav-links a { color: var(--text-body); text-decoration: none; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.btn-login { border: 2px solid var(--accent); color: var(--accent) !important; padding: 0.6rem 1.4rem; border-radius: 4px; font-weight: 700; transition: all 0.2s ease; }
.btn-login:hover { background: var(--accent); color: var(--bg-main) !important; box-shadow: 0 0 15px var(--accent); }

/* Hero Presentation Framework */
.hero { padding: 240px 0 140px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at 85% 50%, #0b1528 0%, var(--bg-main) 65%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.hero h1 { font-size: 3.8rem; font-weight: 800; line-height: 1.15; color: var(--text-pure); margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.3rem; color: var(--text-body); max-width: 650px; }
.chart-box { border: 1px solid var(--border); border-radius: 8px; background: #010206; padding: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.6); }

/* Comprehensive Informational Sections */
.section { padding: 140px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.section:nth-of-type(even) { background-color: #050811; }
.section-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 4px; color: var(--accent); margin-bottom: 1.5rem; font-weight: 800; }
.grid-2 { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 5rem; }
.section h2 { font-size: 2.6rem; color: var(--text-pure); font-weight: 800; line-height: 1.25; }
.content-block p { margin-bottom: 1.8rem; font-size: 1.1rem; text-align: justify; color: var(--text-body); }
.content-block ul { list-style: none; margin-top: 1.5rem; }
.content-block ul li { position: relative; padding-left: 1.5rem; margin-bottom: 1rem; font-size: 1.05rem; }
.content-block ul li::before { content: "¦"; position: absolute; left: 0; color: var(--accent); font-size: 0.8rem; top: 2px; }

/* Grid Portfolio Blocks */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 4rem; }
.card { background: var(--bg-card); border: 1px solid var(--border); padding: 2.5rem; border-radius: 6px; transition: all 0.3s ease; }
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card h3 { color: var(--text-pure); margin-bottom: 1.2rem; font-size: 1.35rem; font-weight: 700; }
.card p { color: var(--text-body); font-size: 1rem; line-height: 1.65; text-align: justify; }
.blog-date { font-size: 0.8rem; color: var(--accent); font-weight: 700; text-transform: uppercase; margin-bottom: 0.8rem; letter-spacing: 1px; }

/* Heavy Corporate Footer */
footer { background: #010205; padding: 120px 0 60px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 5rem; margin-bottom: 80px; }
.footer-brand p { margin-top: 1.5rem; color: #cbd5e1; line-height: 1.7; font-size: 1.05rem; }
.footer-col h4 { color: var(--text-pure); margin-bottom: 2.2rem; font-size: 0.95rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1.2rem; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; transition: color 0.2s; font-weight: 500; font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #141b29; padding-top: 50px; }
.footer-legal-title { font-weight: 700; color: #f1f5f9; margin-bottom: 1.2rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1.5px; }
.footer-legal-desc { font-size: 0.9rem; color: #475569; line-height: 1.7; text-align: justify; }

/* ==========================================
   PRODUCTION RESPONSIVE MOBILE LAYOUT PATTERNS
   ========================================== */
@media (max-width: 968px) {
    /* 1. Header Navigation Scaling */
    nav { 
        height: auto; 
        flex-direction: column; 
        padding: 1.5rem 0; 
        gap: 1.2rem; 
    }
    .nav-links { 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 1.2rem; 
    }
    .nav-links a { 
        font-size: 0.85rem; 
    }
    .btn-login { 
        padding: 0.4rem 1rem; 
    }

    /* 2. Hero Component Scaling */
    .hero { 
        padding: 260px 0 80px; 
    }
    .hero-grid { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
        text-align: center; 
    }
    .hero h1 { 
        font-size: 2.3rem; 
    }
    .hero p { 
        font-size: 1.1rem; 
        margin: 0 auto; 
    }
    .chart-box { 
        max-width: 100%; 
        overflow: hidden; 
    }
    #heroChart { 
        width: 100% !important; 
        height: auto !important; 
    }

    /* 3. Section Matrix Unstacking */
    .grid-2 { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    .grid-3 { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
        margin-top: 2rem; 
    }
    .section { 
        padding: 80px 0; 
    }
    .section h2 { 
        font-size: 1.8rem; 
    }
    .content-block p { 
        text-align: left; 
        font-size: 1rem; 
    }

    /* 4. Institutional Footer Re-alignment */
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 2.5rem; 
        margin-bottom: 40px; 
    }
    .footer-col h4 { 
        margin-bottom: 1rem; 
    }
    .footer-col ul li { 
        margin-bottom: 0.8rem; 
    }
}


/* ==========================================
   HAMBURGER INTERACTIVE NAVIGATION LAYOUTS 
   ========================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100001;
}
.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-pure);
    transition: all 0.3s ease;
}

@media (max-width: 968px) {
    nav { height: 80px; flex-direction: row; padding: 0; gap: 0; }
    .menu-toggle { display: flex; } /* Show hamburger on mobile */

    /* Hide menu links off-screen by default */
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(2, 4, 10, 0.98);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 0;
        transform: translateY(-120%);
        transition: transform 0.3s ease-in-out;
        z-index: 9999;
    }
    
    /* When active, menu slides down smoothly */
    .nav-links.active {
        transform: translateY(0);
    }
    .nav-links a { font-size: 1rem; width: 100%; text-align: center; display: block; }
    
    /* Animate Hamburger into an 'X' icon when clicked */
    .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
}

