:root {
    /* Light Theme - clean, clinical, "White Hat" aesthetic */
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-primary: #1f2937; /* Dark Grey */
    --text-secondary: #4b5563; /* Medium Grey */
    
    /* Deep Meaning Colors */
    --accent-primary: #2563eb; /* Cobalt Blue - Trust & Intelligence */
    --accent-secondary: #0891b2; /* Cyan/Teal - Technology & Data Flow */
    --accent-alert: #dc2626; /* Crimson - Threat/Offensive */
    --success-green: #059669; /* Emerald - Safe/Secure */
    
    --font-heading: 'SF Mono', 'Courier New', Courier, monospace;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --border-color: #e5e7eb;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 0 4px 6px -2px rgba(37, 99, 235, 0.05);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    
    /* Subtle "Blueprint" Grid Pattern - Represents structure underlying the surface */
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

a {
    text-decoration: none;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

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

/* --- Layout & Container --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--accent-primary);
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
    position: relative;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    /* Deep gradient text */
    background: linear-gradient(135deg, var(--accent-primary), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    /* Underline accent */
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-secondary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 14px 35px;
    background: var(--bg-color);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button:hover {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-primary);
    z-index: -1;
    transition: width 0.3s ease;
}

.cta-button:hover::before {
    width: 100%;
}

/* --- Grid System for Responsiveness --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px; /* Softer corners */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px; /* Top border instead of side */
    background: var(--text-secondary); /* Neutral default */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.card:hover::before {
    transform: scaleX(1);
}

.card.defensive:hover { border-color: transparent; }
.card.defensive::before { background: var(--accent-primary); } /* Blue for defensive */

.card.offensive:hover { border-color: transparent; }
.card.offensive::before { background: var(--accent-alert); } /* Red for offensive */

.card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    font-weight: 700;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Responsive Media Queries --- */

/* Mobile Devices */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .logo {
        height: 40px; /* Smaller logos on mobile */
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        background: var(--card-bg);
        padding: 1rem 0;
        border: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        width: 95%;
    }
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
