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

body {
    background: #303948;
    font-family: 'Courier New', monospace;
    color: #FFFFFF;
    overflow-x: hidden;
    line-height: 1.6;
}

.matrix-container {
    min-height: 100vh;
    background: 
        radial-gradient(circle at 20% 50%, rgba(60, 190, 242, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(60, 190, 242, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, #303948 0%, #2a323d 100%);
    position: relative;
}

.matrix-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(60, 190, 242, 0.03) 2px,
            rgba(60, 190, 242, 0.03) 4px
        );
    pointer-events: none;
    z-index: 1;
}

.terminal {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 20px;
    border: 1px solid rgba(60, 190, 242, 0.3);
    margin: 10px;
    background: rgba(48, 57, 72, 0.8);
    box-shadow: 
        0 0 50px rgba(60, 190, 242, 0.1),
        inset 0 0 50px rgba(60, 190, 242, 0.05);
}

.header {
    border-bottom: 1px solid #3cbef2;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    width: 165px;
    height: 60px;
    filter: invert(1) brightness(2);
    opacity: 0.9;
}

.status-line {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.prompt {
    color: #3cbef2;
}

.command {
    color: #FFFFFF;
}

.cursor {
    color: #3cbef2;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.content {
    max-width: 1400px;
    margin: 0 auto;
}

.ascii-art {
    text-align: center;
    margin-bottom: 40px;
    color: #3cbef2;
    font-size: 12px;
    text-shadow: 0 0 10px rgba(60, 190, 242, 0.5);
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 20px;
    margin-bottom: 40px;
}

.grid-item {
    border: 1px solid rgba(60, 190, 242, 0.5);
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #3cbef2;
    box-shadow: 0 0 10px #3cbef2;
}

.info-panel {
    grid-column: 1;
    grid-row: 1;
}

.links-panel {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.warning-panel {
    grid-column: 1;
    grid-row: 2;
}

.history-panel {
    grid-column: 1;
    grid-row: 3;
}

.features-panel {
    grid-column: 2;
    grid-row: 3;
}

.workflow-panel {
    grid-column: 1;
    grid-row: 4;
}

.rules-panel {
    grid-column: 2;
    grid-row: 4;
}

.assessment-panel {
    grid-column: 1 / span 2;
    grid-row: 5;
}

.legacy-panel {
    grid-column: 1 / span 2;
    grid-row: 6;
}

.panel-title {
    color: #3cbef2;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 14px;
    border-bottom: 1px solid rgba(60, 190, 242, 0.3);
    padding-bottom: 5px;
}

.info-line {
    margin-bottom: 8px;
    font-size: 13px;
}

.accent {
    color: #3cbef2;
}

.link-item {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.link-bullet {
    color: #3cbef2;
    font-weight: bold;
}

.mirror-link {
    color: #FFFFFF;
    text-decoration: none;
    word-break: break-all;
    transition: all 0.3s ease;
    border-bottom: 1px dotted rgba(60, 190, 242, 0.3);
    font-size: 13px;
}

.mirror-link:hover {
    color: #3cbef2;
    border-bottom-color: #3cbef2;
    text-shadow: 0 0 10px rgba(60, 190, 242, 0.5);
}

.warning-text {
    color: #FFFFFF;
    font-size: 12px;
    line-height: 1.4;
    text-align: justify;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
}

.history-content, .workflow-content, .rules-content, .legacy-content {
    font-size: 13px;
    line-height: 1.5;
}

.history-content p, .workflow-content p, .rules-content p, .legacy-content p {
    margin-bottom: 12px;
}

.history-content strong, .workflow-content strong, .rules-content strong {
    color: #3cbef2;
}

.features-list {
    font-size: 13px;
}

.feature-item {
    margin-bottom: 8px;
    display: flex;
}

.feature-name {
    color: #3cbef2;
    min-width: 120px;
    font-weight: bold;
}

.feature-value {
    flex: 1;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    font-size: 13px;
}

.pros h4, .cons h4 {
    color: #3cbef2;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(60, 190, 242, 0.3);
    padding-bottom: 5px;
}

.pros ul, .cons ul {
    list-style: none;
    padding-left: 0;
}

.pros li, .cons li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.pros li::before {
    content: '+';
    color: #3cbef2;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cons li::before {
    content: '-';
    color: #FFFFFF;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.footer {
    border-top: 1px solid rgba(60, 190, 242, 0.3);
    padding-top: 20px;
    position: relative;
}

.scan-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #3cbef2, transparent);
    margin-bottom: 15px;
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-text {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .grid-item {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .terminal {
        margin: 5px;
        padding: 10px;
    }
    
    .feature-item {
        flex-direction: column;
    }
    
    .feature-name {
        min-width: auto;
        margin-bottom: 5px;
    }
}

.technical-panel {
    grid-column: 1;
    grid-row: 7;
}

.comparison-panel {
    grid-column: 2;
    grid-row: 7;
}

.link-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    padding: 10px;
    border: 1px solid rgba(60, 190, 242, 0.2);
    background: rgba(0, 0, 0, 0.2);
    line-height: 1.4;
}

.technical-content, .comparison-content {
    font-size: 13px;
    line-height: 1.5;
}

.technical-content p, .comparison-content p {
    margin-bottom: 12px;
}

.technical-content strong, .comparison-content strong {
    color: #3cbef2;
}

.assessment-panel {
    grid-column: 1 / span 2;
    grid-row: 5;
}

.legacy-panel {
    grid-column: 1 / span 2;
    grid-row: 6;
}

.technical-panel {
    grid-column: 1;
    grid-row: 7;
}

.comparison-panel {
    grid-column: 2;
    grid-row: 7;
}

@media (max-width: 768px) {
    .technical-panel, .comparison-panel {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}