/* ==========================================================================
   SECGOD MASTER STYLE SHEET
   ========================================================================== */

/* 1. VARIABLES & RESET
   ========================================================================== */
:root {
    --bg-dark: #0a0b10;
    --card-bg: #161b22;
    --accent-blue: #00d2ff;
    --accent-purple: #7a5ccc;
    --text-main: #e6edf3;
    --text-dim: #8b949e;
    --border: #30363d;
    --critical: #ff4b4b;
    --header-height: 90px;
    --header-height-mobile: 75px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 2. HEADER & LOGO FIX
   ========================================================================== */
header {
    background: rgba(10, 11, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-container img {
    /* Fixed logo sizing: increased to show the shield detail */
    height: 75px; 
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

/* 3. NAVIGATION & MOBILE MENU
   ========================================================================== */
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s, border-bottom 0.3s;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    header { height: var(--header-height-mobile); }
    .logo-container img { height: 55px; } /* Slightly smaller for mobile */
    
    .menu-toggle { display: block; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border);
        padding: 20px 5%;
        gap: 15px;
    }
    
    .nav-links.active {
        display: flex;
    }
}

/* 4. LAYOUT & CONTAINERS
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 3rem auto;
}

.hero {
    background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect for hero */
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,210,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 8px;
    transition: border-color 0.3s, transform 0.3s;
}

.card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

/* 5. COMPONENTS
   ========================================================================== */
.badge {
    background: var(--critical);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.why-care {
    background: rgba(0, 210, 255, 0.08);
    border-left: 4px solid var(--accent-blue);
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: #fff;
}

/* Responsive Table */
.table-wrapper {
    overflow-x: auto;
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    min-width: 600px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-blue);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* 6. FOOTER
   ========================================================================== */
footer {
    background: #0d1117;
    border-top: 1px solid var(--border);
    padding: 4rem 5% 2rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

footer h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 10px;
}

footer a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
}

footer a:hover {
    color: var(--accent-blue);
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-dim);
}
