/* DsecOS Enterprise - Consolidated Stylesheet */
/* Blue theme with reduced brightness for better readability */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #162447 50%, #1f4068 100%);
    color: #e0e0e0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Header Styles (for main index page) */
.header {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, #000000 0%, #0a1931 25%, #185adb 75%, #00BFFF 100%);
    border-bottom: 3px solid #00BFFF;
    box-shadow: 0 10px 40px rgba(0, 191, 255, 0.2);
}

.header h1 {
    font-size: 3.5em;
    background: linear-gradient(135deg, #00BFFF, #1E90FF, #4169E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

.header .subtitle {
    font-size: 1.3em;
    color: #87CEEB;
    font-weight: 300;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Briefing Grid (for main index page) */
.briefings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.briefing-card {
    background: linear-gradient(145deg, #0d1117 0%, #1a1f35 100%);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 191, 255, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.08);
}

.briefing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00BFFF, #1E90FF);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.briefing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 191, 255, 0.2);
    border-color: rgba(0, 191, 255, 0.5);
}

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

.briefing-card h2 {
    color: #00BFFF;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 600;
}

.briefing-card .tagline {
    color: #87CEEB;
    font-style: italic;
    font-size: 0.95em;
    margin-bottom: 15px;
    min-height: 40px;
}

.briefing-card .description {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.briefing-card .metrics {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.metric-badge {
    background: rgba(0, 191, 255, 0.08);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    color: #00BFFF;
    border: 1px solid rgba(0, 191, 255, 0.25);
}

.briefing-card .link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #00BFFF, #1E90FF);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.2);
}

.briefing-card .link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.3);
}

.footer {
    text-align: center;
    padding: 40px 20px;
    color: #87CEEB;
    margin-top: 60px;
}

/* Presentation Styles (for briefing pages) */
.presentation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.slide {
    background: linear-gradient(145deg, #0d1117 0%, #1a1f35 100%);
    border-radius: 20px;
    padding: 60px;
    margin: 40px 0;
    box-shadow: 0 20px 60px rgba(0, 191, 255, 0.15), 0 0 100px rgba(30, 144, 255, 0.08);
    border: 1px solid rgba(0, 191, 255, 0.3);
    animation: slideIn 0.6s ease-out;
    position: relative;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-slide {
    text-align: center;
    padding: 100px 60px;
    background: linear-gradient(135deg, #000000 0%, #0a1931 25%, #185adb 75%, #00BFFF 100%);
    border: 3px solid rgba(0, 191, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.title-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 191, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(30, 144, 255, 0.12) 0%, transparent 40%);
    animation: pulse 8s linear infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: rotate(0deg); }
    50% { opacity: 0.5; transform: rotate(180deg); }
}

.title-slide h1 {
    font-size: 3.5em;
    background: linear-gradient(135deg, #00BFFF, #1E90FF, #4169E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

.title-slide .subtitle {
    font-size: 1.5em;
    color: #87CEEB;
    margin-bottom: 15px;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.title-slide .tagline {
    font-size: 1.3em;
    color: #FFD700;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

h2 {
    color: #00BFFF;
    font-size: 2.5em;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(0, 191, 255, 0.5);
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

h3 {
    color: #1E90FF;
    font-size: 1.8em;
    margin: 30px 0 20px 0;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.08), rgba(30, 144, 255, 0.08));
    border-left: 5px solid rgba(0, 191, 255, 0.6);
    padding: 25px;
    margin: 25px 0;
    border-radius: 10px;
    box-shadow: inset 0 0 20px rgba(0, 191, 255, 0.08);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.metric-card {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.12), rgba(30, 144, 255, 0.12));
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.2) 0%, transparent 70%);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
    border-color: rgba(0, 191, 255, 0.6);
}

.metric-card:hover::before {
    top: -25%;
    right: -25%;
}

.metric-value {
    font-size: 2.5em;
    color: #00BFFF;
    font-weight: bold;
    margin: 10px 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.3);
}

.metric-label {
    color: #87CEEB;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Banner Styles */
.pharma-banner,
.classified-banner,
.soc-banner,
.defense-banner,
.classification-banner,
.quantum-banner,
.defi-banner,
.logistics-banner,
.space-banner,
.bio-banner,
.hft-banner,
.rwa-banner,
.sovereign-banner,
.enterprise-banner,
.energy-banner {
    background: linear-gradient(90deg, rgba(30, 144, 255, 0.8), rgba(0, 191, 255, 0.8), rgba(30, 144, 255, 0.8));
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: 700;
    font-size: 1.1em;
    letter-spacing: 4px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
    border-bottom: 2px solid rgba(255, 215, 0, 0.5);
}

.alert-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.8), rgba(30, 144, 255, 0.8));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 5px;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
}

th {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.8), rgba(30, 144, 255, 0.8));
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 191, 255, 0.15);
}

tr:hover {
    background: rgba(0, 191, 255, 0.06);
}

.diagram-container {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border: 1px solid rgba(0, 191, 255, 0.25);
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.1);
}

code {
    background: rgba(0, 191, 255, 0.1);
    padding: 3px 8px;
    border-radius: 5px;
    color: #87CEEB;
    font-family: 'Courier New', monospace;
}

pre {
    background: #000000;
    padding: 25px;
    border-radius: 10px;
    overflow-x: auto;
    border: 1px solid rgba(0, 191, 255, 0.4);
    margin: 20px 0;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.15);
}

pre code {
    background: none;
    padding: 0;
    color: #87CEEB;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 15px 15px 15px 45px;
    margin: 10px 0;
    background: rgba(0, 191, 255, 0.04);
    border-radius: 8px;
    position: relative;
    border-left: 3px solid rgba(0, 191, 255, 0.5);
}

.feature-list li:before {
    content: "◆";
    position: absolute;
    left: 15px;
    color: #00BFFF;
    font-weight: bold;
    font-size: 1.3em;
}

.quote {
    font-size: 1.2em;
    font-style: italic;
    color: #FFD700;
    padding: 20px 40px;
    border-left: 4px solid rgba(0, 191, 255, 0.5);
    margin: 30px 0;
    background: rgba(0, 191, 255, 0.04);
}

.navigation {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 1000;
}

.nav-btn {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.9), rgba(30, 144, 255, 0.9));
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

.slide-number {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(0, 191, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    color: #00BFFF;
    border: 1px solid rgba(0, 191, 255, 0.4);
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(0, 191, 255, 0.08));
    border: 2px solid rgba(255, 215, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.warning-box strong {
    color: #FFD700;
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 191, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(0, 191, 255, 0.25);
}

.stats-bar .stat {
    text-align: center;
}

.stats-bar .stat-value {
    font-size: 2em;
    color: #00BFFF;
    font-weight: bold;
}

.stats-bar .stat-label {
    color: #87CEEB;
    font-size: 0.9em;
}

.mermaid {
    background: transparent;
}

/* Domain Grid Styles */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.domain-card {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.12), rgba(30, 144, 255, 0.12));
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
    border-color: rgba(0, 191, 255, 0.6);
}

.domain-icon {
    font-size: 3.5em;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
}

.domain-label {
    color: #87CEEB;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ooda-highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(0, 191, 255, 0.12));
    border: 2px solid rgba(255, 215, 0, 0.5);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

/* Color theme classes - all use blue theme now */
.card-c2,
.card-drone,
.card-fintech,
.card-threat,
.card-ai,
.card-defi,
.card-ev,
.card-hft,
.card-initial,
.card-quantum,
.card-rwa,
.card-sat,
.card-sovereign,
.card-supply,
.card-synthetic {
    --card-color: #00BFFF;
    --card-color-light: #1E90FF;
}

