/* Web Architecture Learning Board */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0e17;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Intro Screen */
#intro {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a0e17;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#intro.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-content {
    text-align: center;
    z-index: 1;
}

.intro-icon {
    margin-bottom: 30px;
    animation: iconPulse 2s ease-in-out infinite;
}

.intro-icon svg {
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.6)) drop-shadow(0 0 30px rgba(191, 0, 255, 0.4));
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

#intro h1 {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #00f5ff, #bf00ff, #00f5ff, #bf00ff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 4s ease infinite;
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.5)) drop-shadow(0 0 40px rgba(191, 0, 255, 0.4));
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.intro-subtitle {
    font-size: 14px;
    letter-spacing: 6px;
    color: #64748b;
    margin-bottom: 30px;
}

.intro-desc {
    font-size: 16px;
    color: #94a3b8;
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 40px;
}

#start-btn {
    background: transparent;
    border: 1px solid #00f5ff;
    color: #00f5ff;
    padding: 15px 40px;
    font-family: inherit;
    font-size: 14px;
    letter-spacing: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

#start-btn:hover {
    background: rgba(0, 245, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4), 
                0 0 40px rgba(0, 245, 255, 0.2),
                0 0 60px rgba(191, 0, 255, 0.2),
                inset 0 0 15px rgba(0, 245, 255, 0.1);
}

.intro-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Main Layout */
#viewport {
    width: 100vw;
    height: calc(100vh - 64px);
    min-height: 600px;
    overflow: hidden;
    position: relative;
    background: #0a0e17;
    margin-top: 64px;
}

#viewport.grabbing {
    cursor: grabbing;
}

#canvas {
    width: 1300px;
    height: 800px;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    transition: transform 0.6s ease;
}

#canvas.no-transition {
    transition: none;
}

/* Connection Lines */
#connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 8 4;
    animation: flowDash 1s linear infinite;
}

@keyframes flowDash {
    to { stroke-dashoffset: -12; }
}

.connection-blue { stroke: #00f5ff; }
.connection-purple { stroke: #bf00ff; }
.connection-green { stroke: #00ff88; }
.connection-orange { stroke: #ff9500; }
.connection-red { stroke: #ff3366; }

.connection-label {
    font-size: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}

.connection-label.blue { fill: #00f5ff; }
.connection-label.purple { fill: #bf00ff; }
.connection-label.green { fill: #00ff88; }
.connection-label.orange { fill: #ff9500; }
.connection-label.red { fill: #ff3366; }

/* Nodes - Base */
.node {
    position: absolute;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 5;
    border-radius: 8px;
}

.node:hover {
    transform: scale(1.03);
    z-index: 10;
}

.node-inner {
    background: rgba(17, 24, 39, 0.95);
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.node-header {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.node-subheader {
    font-size: 10px;
    color: #64748b;
    margin-bottom: 15px;
}

.node-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-top: 12px;
}

.node-sublabel {
    font-size: 10px;
    color: #64748b;
    margin-top: 4px;
}

.node-detail {
    font-size: 9px;
    color: #64748b;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.node-icon {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-icon svg {
    width: 100%;
    height: 100%;
}

/* Neon Glow Effects */
.node-glow, .node-corner {
    display: none;
}

/* Node Neon Glow Animations */
.node-user .node-inner {
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3), 
                0 0 30px rgba(0, 245, 255, 0.2), 
                0 0 45px rgba(0, 245, 255, 0.1),
                inset 0 0 15px rgba(0, 245, 255, 0.05);
    animation: neonPulseBlue 3s ease-in-out infinite;
}

.node-browser .node-inner {
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3), 
                0 0 30px rgba(0, 245, 255, 0.2), 
                0 0 45px rgba(0, 245, 255, 0.1),
                inset 0 0 15px rgba(0, 245, 255, 0.05);
    animation: neonPulseBlue 3s ease-in-out infinite 0.5s;
}

.node-dns .node-inner {
    box-shadow: 0 0 15px rgba(191, 0, 255, 0.3), 
                0 0 30px rgba(191, 0, 255, 0.2), 
                0 0 45px rgba(191, 0, 255, 0.1),
                inset 0 0 15px rgba(191, 0, 255, 0.05);
    animation: neonPulsePurple 3s ease-in-out infinite 1s;
}

.node-http .node-inner {
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3), 
                0 0 30px rgba(0, 255, 136, 0.2), 
                0 0 45px rgba(0, 255, 136, 0.1),
                inset 0 0 15px rgba(0, 255, 136, 0.05);
    animation: neonPulseGreen 3s ease-in-out infinite 1.5s;
}

.node-webserver .node-inner {
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3), 
                0 0 30px rgba(0, 255, 136, 0.2), 
                0 0 45px rgba(0, 255, 136, 0.1),
                inset 0 0 15px rgba(0, 255, 136, 0.05);
    animation: neonPulseGreen 3s ease-in-out infinite 2s;
}

.node-filesystem .node-inner {
    box-shadow: 0 0 15px rgba(255, 149, 0, 0.3), 
                0 0 30px rgba(255, 149, 0, 0.2), 
                0 0 45px rgba(255, 149, 0, 0.1),
                inset 0 0 15px rgba(255, 149, 0, 0.05);
    animation: neonPulseOrange 3s ease-in-out infinite 2.5s;
}

.node-database .node-inner {
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.3), 
                0 0 30px rgba(255, 51, 102, 0.2), 
                0 0 45px rgba(255, 51, 102, 0.1),
                inset 0 0 15px rgba(255, 51, 102, 0.05);
    animation: neonPulseRed 3s ease-in-out infinite 3s;
}

@keyframes neonPulseBlue {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 245, 255, 0.3), 
                    0 0 30px rgba(0, 245, 255, 0.2), 
                    0 0 45px rgba(0, 245, 255, 0.1),
                    inset 0 0 15px rgba(0, 245, 255, 0.05);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 245, 255, 0.5), 
                    0 0 40px rgba(0, 245, 255, 0.35), 
                    0 0 60px rgba(0, 245, 255, 0.2),
                    inset 0 0 20px rgba(0, 245, 255, 0.1);
    }
}

@keyframes neonPulsePurple {
    0%, 100% {
        box-shadow: 0 0 15px rgba(191, 0, 255, 0.3), 
                    0 0 30px rgba(191, 0, 255, 0.2), 
                    0 0 45px rgba(191, 0, 255, 0.1),
                    inset 0 0 15px rgba(191, 0, 255, 0.05);
    }
    50% {
        box-shadow: 0 0 20px rgba(191, 0, 255, 0.5), 
                    0 0 40px rgba(191, 0, 255, 0.35), 
                    0 0 60px rgba(191, 0, 255, 0.2),
                    inset 0 0 20px rgba(191, 0, 255, 0.1);
    }
}

@keyframes neonPulseGreen {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.3), 
                    0 0 30px rgba(0, 255, 136, 0.2), 
                    0 0 45px rgba(0, 255, 136, 0.1),
                    inset 0 0 15px rgba(0, 255, 136, 0.05);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5), 
                    0 0 40px rgba(0, 255, 136, 0.35), 
                    0 0 60px rgba(0, 255, 136, 0.2),
                    inset 0 0 20px rgba(0, 255, 136, 0.1);
    }
}

@keyframes neonPulseOrange {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 149, 0, 0.3), 
                    0 0 30px rgba(255, 149, 0, 0.2), 
                    0 0 45px rgba(255, 149, 0, 0.1),
                    inset 0 0 15px rgba(255, 149, 0, 0.05);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 149, 0, 0.5), 
                    0 0 40px rgba(255, 149, 0, 0.35), 
                    0 0 60px rgba(255, 149, 0, 0.2),
                    inset 0 0 20px rgba(255, 149, 0, 0.1);
    }
}

@keyframes neonPulseRed {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 51, 102, 0.3), 
                    0 0 30px rgba(255, 51, 102, 0.2), 
                    0 0 45px rgba(255, 51, 102, 0.1),
                    inset 0 0 15px rgba(255, 51, 102, 0.05);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 51, 102, 0.5), 
                    0 0 40px rgba(255, 51, 102, 0.35), 
                    0 0 60px rgba(255, 51, 102, 0.2),
                    inset 0 0 20px rgba(255, 51, 102, 0.1);
    }
}

/* Enhanced hover glow */
.node:hover .node-inner {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2), 
                0 0 50px rgba(255, 255, 255, 0.1) !important;
}

/* Node Positions & Colors */
.node-user {
    left: 80px;
    top: 320px;
    width: 140px;
    height: 160px;
}
.node-user .node-inner { border: 2px solid #00f5ff; }
.node-user .node-icon { color: #00f5ff; }
.node-user .node-label { color: #00f5ff; }

.node-browser {
    left: 300px;
    top: 290px;
    width: 180px;
    height: 180px;
}
.node-browser .node-inner { border: 2px solid #00f5ff; }
.node-browser .node-icon { color: #00f5ff; width: 100px; height: 80px; }
.node-browser .node-label { color: #00f5ff; }

.node-dns {
    left: 300px;
    top: 60px;
    width: 200px;
    height: 170px;
}
.node-dns .node-inner { border: 2px solid #bf00ff; }
.node-dns .node-icon { color: #bf00ff; }
.node-dns .node-header { color: #bf00ff; }

.node-http {
    left: 300px;
    top: 530px;
    width: 200px;
    height: 150px;
}
.node-http .node-inner { border: 2px solid #00ff88; }
.node-http .node-icon { color: #00ff88; width: 90px; height: 55px; }
.node-http .node-label { color: #00ff88; }

.node-webserver {
    left: 620px;
    top: 260px;
    width: 180px;
    height: 240px;
}
.node-webserver .node-inner { border: 2px solid #00ff88; }
.node-webserver .node-icon { color: #00ff88; width: 70px; height: 100px; }
.node-webserver .node-header { color: #00ff88; }

.node-filesystem {
    left: 920px;
    top: 80px;
    width: 280px;
    height: 260px;
}
.node-filesystem .node-inner { 
    border: 2px solid #ff9500;
    padding: 15px;
}
.node-filesystem .node-header { color: #ff9500; margin-bottom: 12px; }

.node-database {
    left: 920px;
    top: 410px;
    width: 280px;
    height: 240px;
}
.node-database .node-inner { 
    border: 2px solid #ff3366;
    padding: 15px;
}
.node-database .node-header { color: #ff3366; margin-bottom: 12px; }

/* File System Styles */
.filesystem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.fs-folder {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #ff9500;
    background: rgba(255, 149, 0, 0.1);
    padding: 6px 8px;
    border-radius: 4px;
}

.fs-folder svg {
    width: 16px;
    height: 14px;
    flex-shrink: 0;
}

.filesystem-files {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.fs-file {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    padding: 6px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fs-file-icon { font-size: 12px; }
.fs-file.html { color: #ff9500; }
.fs-file.css { color: #00f5ff; }
.fs-file.js { color: #ffcc00; }
.fs-file.php { color: #bf00ff; }

/* Database Styles */
.db-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.db-cylinder {
    color: #ff3366;
    width: 60px;
    height: 80px;
}

.db-cylinder svg {
    width: 100%;
    height: 100%;
}

.db-table {
    flex: 1;
    font-size: 9px;
    border: 1px solid rgba(255, 51, 102, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.db-row {
    display: grid;
    grid-template-columns: 25px 50px 1fr;
    padding: 4px 6px;
    border-bottom: 1px solid rgba(255, 51, 102, 0.1);
}

.db-row.header {
    background: rgba(255, 51, 102, 0.15);
    color: #ff3366;
    font-weight: 600;
}

.db-row:last-child { border-bottom: none; }

/* UI Elements */
#title {
    position: fixed;
    top: 84px;
    left: 20px;
    z-index: 50;
}

#title h1 {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 4px;
    background: linear-gradient(90deg, #00f5ff, #bf00ff, #00f5ff, #bf00ff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 4s ease infinite;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.4)) drop-shadow(0 0 20px rgba(191, 0, 255, 0.3));
    margin-bottom: 4px;
}

#title p {
    font-size: 10px;
    letter-spacing: 2px;
    color: #64748b;
}

#current-view {
    position: fixed;
    top: 84px;
    right: 80px;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 11px;
    z-index: 50;
}

#current-view .label {
    color: #64748b;
    letter-spacing: 1px;
}

#view-label {
    color: #00f5ff;
    letter-spacing: 2px;
}

/* Navigation */
#nav-controls {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 50;
}

.nav-btn {
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.nav-btn:hover:not(:disabled) {
    background: rgba(0, 245, 255, 0.1);
    border-color: #00f5ff;
    color: #00f5ff;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Zoom */
#zoom-controls {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 50;
}

.zoom-btn {
    width: 36px;
    height: 36px;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.zoom-btn:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: #00f5ff;
    color: #00f5ff;
}

#zoom-level {
    font-size: 9px;
    color: #64748b;
    padding: 4px 0;
}

/* Legend */
#legend {
    position: fixed;
    bottom: 30px;
    left: 20px;
    display: flex;
    gap: 16px;
    z-index: 50;
    font-size: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
}

.legend-color {
    width: 20px;
    height: 2px;
    border-radius: 1px;
}

.legend-color.blue { background: #00f5ff; }
.legend-color.purple { background: #bf00ff; }
.legend-color.green { background: #00ff88; }
.legend-color.orange { background: #ff9500; }
.legend-color.red { background: #ff3366; }

/* Help Panel */
#help-panel {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    z-index: 50;
    min-width: 180px;
}

.help-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 10px;
    letter-spacing: 2px;
    color: #64748b;
    transition: all 0.2s ease;
}

.help-header:hover { color: #00f5ff; }

.help-icon { opacity: 0.6; }

.help-chevron {
    margin-left: auto;
    transition: transform 0.3s ease;
}

#help-panel.collapsed .help-chevron {
    transform: rotate(-90deg);
}

.help-content {
    padding: 0 14px 12px;
}

#help-panel.collapsed .help-content {
    display: none;
}

.help-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 10px;
    color: #94a3b8;
}

.help-row kbd {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 7px;
    border-radius: 3px;
    font-family: inherit;
    font-size: 9px;
    color: #00f5ff;
    min-width: 20px;
    text-align: center;
}

.help-row span:last-child { color: #64748b; }

/* Info Panel */
#info-panel {
    position: fixed;
    top: 64px;
    right: -450px;
    width: 450px;
    height: calc(100vh - 64px);
    background: linear-gradient(180deg, #111827 0%, #0a0e17 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    overflow-y: auto;
    transition: right 0.5s ease;
    z-index: 100;
}

#info-panel.open { right: 0; }

#close-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s ease;
}

#close-panel:hover {
    background: rgba(255, 51, 102, 0.1);
    border-color: #ff3366;
    color: #ff3366;
}

#panel-content h2 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

#panel-content .subtitle {
    color: #64748b;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#panel-content .section {
    margin-bottom: 25px;
}

#panel-content .section h3 {
    font-size: 11px;
    letter-spacing: 2px;
    color: #00f5ff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#panel-content .section p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 13px;
}

#panel-content .related {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

#panel-content .related-link {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

#panel-content .related-link:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: #00f5ff;
    color: #00f5ff;
}

/* Learn Button */
.learn-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #000;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.learn-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}

.learn-btn svg {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    #legend { display: none; }
    #title h1 { font-size: 12px; }
    #info-panel { width: 100%; right: -100%; }
    .nav-btn span { display: none; }
    .nav-btn { padding: 10px 14px; }
}

/* ==================== NAVIGATION ==================== */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav-logo {
    height: 64px;
    width: auto;
}

.nav-brand-icon {
    color: #00f0ff;
}

.nav-brand-text {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.25rem;
            font-weight: 700;
            background: linear-gradient(90deg, #00F0FF, #AB2CFF);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

.nav-links {
            display: none;
            gap: 2rem;
            list-style: none;
        }

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #00f5ff;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.nav-cta {
           display: none;
            background: #00F0FF;
            color: #000;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s;
        }


@media (min-width: 640px) {
    .nav-cta {
        display: block;
    }
}

.nav-cta:hover {
    background: rgba(0, 245, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(180deg, #0a0e17 0%, #111827 50%, #0a0e17 100%);
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.3), rgba(191, 0, 255, 0.3), transparent);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-box {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00f5ff, #bf00ff);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.cta-icon {
    margin-bottom: 1.5rem;
    color: #00f5ff;
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.5));
    animation: iconPulse 2s ease-in-out infinite;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #00f5ff, #bf00ff, #00f5ff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 4s ease infinite;
}

.cta-description {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(90deg, #00f5ff, #00d4e8);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.5), 0 0 60px rgba(191, 0, 255, 0.3);
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: #0a0e17;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 1.5rem 2rem;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-content {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    color: #00f5ff;
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.5));
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #00f5ff, #bf00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-subtitle {
    color: #64748b;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-link-group {
    text-align: left;
}

.footer-link-group h4 {
    color: #00f5ff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-link-group a {
    display: block;
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.35rem 0;
    transition: all 0.3s ease;
}

.footer-link-group a:hover {
    color: #00f5ff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.footer-disclaimer {
    color: #4b5563;
    font-size: 0.7rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.footer-disclaimer strong {
    color: #64748b;
}

/* Responsive adjustments for nav with page */
@media (max-width: 768px) {
    .footer-links {
        gap: 2rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
}