:root {
    --bg-color: #0a0e17;
    /* Dark Security Blue */
    --text-color: #a0c0e0;
    --primary-color: #00f3ff;
    /* Neon Cyan */
    --secondary-color: #0066ff;
    /* Shield Blue */
    --accent-color: #ff3333;
    /* Alert Red */
    --success-color: #00ff66;
    /* Safe Green */
    --font-main: 'Orbitron', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.presentation-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Security Grid Background */
.security-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.security-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 90%);
}

.lock-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2300f3ff" stroke-width="0.5" opacity="0.05"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>') no-repeat center center;
    z-index: 0;
}

/* Slide Styles */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 1;
    transform: scale(1.1);
    filter: blur(5px);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transform: scale(1);
    filter: blur(0);
}

/* Vault Door Styling */
.vault-door {
    border: 4px solid var(--primary-color);
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.2), inset 0 0 20px rgba(0, 243, 255, 0.1);
    width: 700px;
    position: relative;
}

.vault-door::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed var(--secondary-color);
    border-radius: 25px;
    z-index: -1;
}

.lock-mechanism {
    color: var(--primary-color);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px var(--primary-color));
    animation: pulse 3s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    letter-spacing: 4px;
}

.section-header h1 {
    font-size: 6rem;
    color: white;
    -webkit-text-stroke: 2px var(--primary-color);
    text-shadow: 5px 5px 0 var(--secondary-color);
}

h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

p {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: center;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-family: var(--font-mono);
    letter-spacing: 2px;
}

.security-level {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-weight: bold;
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1rem;
    display: inline-block;
    margin-top: 2rem;
    animation: blink 2s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.5;
    }
}

/* Code Blocks */
pre {
    background-color: #011627;
    padding: 1.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    max-width: 1000px;
    width: 100%;
    overflow-x: auto;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

code {
    font-family: var(--font-mono);
    font-size: 1.2rem;
}

/* Protocol List */
.protocol-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
}

.protocol-item {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    padding: 1rem 2rem;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
    transition: all 0.3s;
}

.protocol-item:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateX(20px);
}

/* Security Table */
.security-table {
    width: 100%;
    max-width: 900px;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 1.4rem;
    margin-top: 2rem;
    border: 1px solid var(--primary-color);
}

.security-table th,
.security-table td {
    padding: 1rem;
    border: 1px solid rgba(0, 243, 255, 0.3);
    text-align: center;
}

.security-table th {
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary-color);
    text-transform: uppercase;
}

.access-public {
    color: var(--success-color);
    font-weight: bold;
}

.access-protected {
    color: var(--primary-color);
    font-weight: bold;
}

.access-private {
    color: var(--accent-color);
    font-weight: bold;
}

/* Comparison */
.comparison {
    display: flex;
    gap: 2rem;
    width: 100%;
    max-width: 1100px;
}

.code-block {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
}

.code-block h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Components */
.section-number {
    font-size: 12rem;
    font-weight: 900;
    position: absolute;
    right: 5%;
    bottom: 0;
    opacity: 0.1;
    color: var(--primary-color);
    font-family: var(--font-main);
}

/* Controls */
.controls {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
    background: rgba(10, 14, 23, 0.9);
    padding: 0.8rem 2rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    color: white;
    text-shadow: 0 0 10px var(--primary-color);
}

.progress-container {
    width: 300px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.slide-number {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    font-family: var(--font-mono);
    color: var(--primary-color);
    font-size: 1.2rem;
    background: rgba(10, 14, 23, 0.8);
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p,
    ul {
        font-size: 1rem;
    }

    .vault-door {
        width: 95%;
        padding: 2rem;
    }

    .security-table {
        font-size: 1rem;
    }

    .comparison {
        flex-direction: column;
    }

    .progress-container {
        width: 100px;
    }
}