/* CSS Variables for SentinelOne themed styling */
:root {
    --color-s1-purple: #7B4FFF;
    --color-s1-purple-dark: #5a3fb5;
    --color-s1-purple-light: #9B7BFF;
    --color-s1-purple-lighter: #B3A1FF;
    --color-s1-fuchsia: #FF1E66;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #E0E0E0;
    --color-bg-dark: #0A001F;
    --color-bg-section: #1a0a3e;
    --color-bg-lighter: #2a1a4e;
    --color-accent: #00D9FF;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', sans-serif;
    background: linear-gradient(135deg, #0A001F 0%, #1a0a3e 50%, #0A001F 100%);
    color: var(--color-text-primary);
    line-height: 1.8;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(123, 79, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 30, 102, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Header styles */
header {
    background: linear-gradient(135deg, var(--color-s1-purple), var(--color-s1-fuchsia));
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(123, 79, 255, 0.4);
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

header h1 {
    font-size: 3em;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

header h2 {
    font-size: 1.5em;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Banner */
.banner {
    height: 200px;
    background: 
        url('assets/Converge.png') center/contain no-repeat,
        url('banner.png') center/cover no-repeat;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    position: relative;
    z-index: 2;
}

/* Navigation menu */
nav {
    background: var(--color-bg-section);
    padding: 30px;
    border-radius: 12px;
    margin: 0 auto 40px;
    max-width: 900px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(123, 79, 255, 0.2);
    position: relative;
    z-index: 2;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

nav li {
    background: rgba(123, 79, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

nav li:hover {
    background: rgba(123, 79, 255, 0.2);
    border-left-color: var(--color-s1-purple);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(123, 79, 255, 0.3);
}

nav a {
    color: var(--color-s1-purple-lighter);
    text-decoration: none;
    display: block;
    padding: 15px 20px;
    font-size: 1.1em;
    transition: color 0.3s ease;
    font-weight: 500;
}

nav a:hover {
    color: white;
}

/* Slide content */
.slide-content {
    background: var(--color-bg-section);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-left: 5px solid var(--color-purple-accent);
    margin-bottom: 30px;
}

.slide-content h3 {
    color: var(--color-matrix-green);
    font-size: 1.8em;
    margin-bottom: 20px;
}

.slide-content p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.slide-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.slide-content li {
    margin-bottom: 10px;
}

.slide-content em {
    display: block;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(123, 79, 255, 0.2);
    color: var(--color-matrix-accent);
    font-style: italic;
}

.slide-content strong {
    color: var(--color-purple-accent);
}

/* Back link */
.back-link {
    margin-top: 30px;
    text-align: center;
}

.back-link a {
    color: var(--color-matrix-accent);
    text-decoration: none;
    font-size: 1.1em;
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(90deg, rgba(123, 79, 255, 0.1), rgba(0, 208, 48, 0.05));
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(123, 79, 255, 0.3);
}

.back-link a:hover {
    background: linear-gradient(90deg, rgba(123, 79, 255, 0.2), rgba(0, 208, 48, 0.1));
    color: var(--color-matrix-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(123, 79, 255, 0.3);
}

/* Content sections for detailed pages */
.content-section {
    background: var(--color-bg-section);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(123, 79, 255, 0.1);
    border-left: 5px solid var(--color-purple-accent);
    margin-bottom: 30px;
}

.content-section h1 {
    color: var(--color-purple-accent);
    font-size: 2.2em;
    border-bottom: 2px solid var(--color-purple-dark);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.content-section h2 {
    color: var(--color-matrix-green);
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section h3 {
    color: var(--color-purple-glow);
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-section ol,
.content-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content-section li {
    margin-bottom: 10px;
}

/* Table of Contents */
.toc {
    background: var(--color-bg-section);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 5px solid var(--color-matrix-green);
    box-shadow: 0 0 20px rgba(0, 208, 48, 0.1);
}

.toc h2 {
    color: var(--color-matrix-green);
    margin-bottom: 20px;
    font-size: 1.8em;
    text-shadow: 0 0 10px rgba(0, 208, 48, 0.3);
}

.toc ul {
    list-style: none;
}

.toc a {
    color: var(--color-matrix-accent);
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 10px;
    border-radius: 5px;
}

.toc a:hover {
    color: white;
    background: linear-gradient(90deg, var(--color-purple-accent), var(--color-matrix-dark-green));
    box-shadow: 0 0 10px rgba(123, 79, 255, 0.3);
}

/* Footer */
footer, .signature {
    text-align: center;
    padding: 30px 20px;
    color: var(--color-matrix-accent);
    font-size: 0.95em;
    margin-top: 50px;
}

.heart-symbol {
    color: var(--color-purple-accent);
    font-size: 1.2em;
    text-shadow: 0 0 10px rgba(123, 79, 255, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    header h2 {
        font-size: 1.2em;
    }
    
    .container {
        padding: 0 15px 30px;
    }
    
    .slide-content, .content-section {
        padding: 20px;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
