/* CLUSTER THEME - Visual Architecture */

.topology-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Master Control Header */
.master-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--line-color);
    position: sticky;
    top: 0;
    background: rgba(6, 7, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.node-id {
    font-family: var(--font-mono);
    color: var(--node-active);
    font-weight: bold;
}

.stream-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--node-active);
}

/* Nodes / Sections */
.replica-node {
    padding: 8rem 0;
    border-left: 2px solid var(--line-color);
    margin-left: 20px;
    padding-left: 40px;
    position: relative;
}

.replica-node::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 8.5rem;
    width: 12px;
    height: 12px;
    background: var(--core-bg);
    border: 2px solid var(--line-color);
    border-radius: 50%;
}

.active-node::before {
    border-color: var(--node-active);
    box-shadow: 0 0 10px var(--node-active);
}

.node-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--node-active);
    text-shadow: 0 0 20px rgba(0, 209, 255, 0.3);
}

.node-lead {
    font-size: 1.2rem;
    max-width: 600px;
    color: var(--text-dim);
    margin-bottom: 3rem;
}

.status-indicators {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.status-pill {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    font-family: var(--font-mono);
    border: 1px solid rgba(255,255,255,0.1);
}

.status-pill.ok { color: #00ff88; border-color: #00ff8844; }
.status-pill.sync { color: var(--node-active); border-color: #00d1ff44; }

/* Visuals */
.main-visual {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    filter: saturate(0.8) contrast(1.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.side-visual {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Grid Cell Architecture */
.node-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.grid-cell h3 {
    color: var(--node-active);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.grid-cell p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Curriculum List */
.curriculum-list {
    list-style: none;
    margin-top: 2rem;
}

.curriculum-list li {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line-color);
    display: flex;
    gap: 2rem;
    align-items: center;
}

.module-id {
    color: var(--node-active);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    min-width: 80px;
}

/* Plan Matrix */
.plan-matrix {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
}

.plan-card {
    flex: 1;
    background: rgba(255,255,255,0.03);
    padding: 3rem;
    border: 1px solid var(--line-color);
    transition: transform 0.3s ease;
}

.plan-card.featured {
    border-color: var(--node-active);
    background: rgba(0, 209, 255, 0.05);
}

.plan-header {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.plan-details {
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.cta-trigger {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--node-active);
    color: var(--core-bg);
    font-weight: bold;
    font-family: var(--font-mono);
    text-transform: uppercase;
    transition: filter 0.3s ease;
}

.cta-trigger:hover {
    filter: brightness(1.2);
}

/* Footer Layer */
.footer-layer {
    border-top: 1px solid var(--line-color);
    margin-top: 10rem;
    padding-top: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.system-form {
    display: flex;
    gap: 1rem;
}

.system-form input {
    flex: 1;
    background: transparent;
    border: 1px solid var(--line-color);
    color: white;
    padding: 1rem;
    font-family: var(--font-mono);
}

.submit-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--node-active);
    color: var(--node-active);
    font-family: var(--font-mono);
    cursor: pointer;
}

.registry-ledger {
    padding: 3rem 0;
    border-top: 1px solid var(--line-color);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.legal-nav {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.legal-page .replica-node {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
}

.legal-content h3 {
    margin: 2.5rem 0 1rem;
    color: var(--node-active);
}

.legal-content p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .node-title { font-size: 2.5rem; }
    .contact-grid, .plan-matrix { grid-template-columns: 1fr; flex-direction: column; }
    .master-control { flex-direction: column; gap: 1rem; text-align: center; }
}
