/* transactology.net - Network Operations Display */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --teal: #30A090;
    --bright-green: #60C088;
    --dark-forest: #142820;
    --text-light: #E0F0E8;
    --mid-green: #2A8058;
    --soft-sage: #B0D0C0;
    --void: #0A1410;
    --active-green: #40C078;
    --fish-orange: #F0A060;
}

body {
    background: var(--void);
    color: var(--text-light);
    font-family: 'Recursive', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

/* Network SVG Background */
.network-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    opacity: 0.4;
}
.net-line {
    stroke: var(--teal);
    stroke-width: 1;
    opacity: 0.5;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 1.5s ease forwards;
}
.net-line:nth-child(2) { animation-delay: 0.1s; }
.net-line:nth-child(3) { animation-delay: 0.2s; }
.net-line:nth-child(4) { animation-delay: 0.3s; }
.net-line:nth-child(5) { animation-delay: 0.4s; }
.net-line:nth-child(6) { animation-delay: 0.5s; }
.net-line:nth-child(7) { animation-delay: 0.6s; }
.net-line:nth-child(8) { animation-delay: 0.7s; }
@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.net-node {
    fill: var(--active-green);
    transform-origin: center;
    opacity: 0;
    animation: nodeAppear 0.3s ease forwards;
}
.net-node:nth-of-type(1) { animation-delay: 0.8s; }
.net-node:nth-of-type(2) { animation-delay: 0.85s; }
.net-node:nth-of-type(3) { animation-delay: 0.9s; }
.net-node:nth-of-type(4) { animation-delay: 0.95s; }
.net-node:nth-of-type(5) { animation-delay: 1.0s; }
.net-node:nth-of-type(6) { animation-delay: 1.05s; }
.net-node:nth-of-type(7) { animation-delay: 1.1s; }
@keyframes nodeAppear {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 0.8; transform: scale(1); }
}

.fish { opacity: 0.7; }

/* Diagonal Sections */
.diag-section {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
    clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 calc(100% - 30px));
    margin-top: -30px;
    background: var(--void);
}
.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
    margin-top: 0;
}
.diag-section:nth-child(even) {
    background: var(--dark-forest);
}

.diag-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    position: relative;
    z-index: 2;
}

/* Section Layout */
.section-layout {
    display: flex;
    max-width: 960px;
    margin: 0 auto;
    gap: 2rem;
}

/* Sidebar */
.sidebar {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.5rem;
}
.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mid-green);
}
.status-dot.active {
    background: var(--active-green);
    box-shadow: 0 0 8px var(--active-green);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.status-label {
    font-family: 'Recursive', monospace;
    font-variation-settings: 'MONO' 1, 'CASL' 0;
    font-size: 0.75rem;
    color: var(--soft-sage);
    letter-spacing: 0.04em;
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 720px;
}

.net-title {
    font-family: 'Recursive', sans-serif;
    font-variation-settings: 'MONO' 1, 'CASL' 0.5;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--active-green);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}
@keyframes fadeIn {
    to { opacity: 1; }
}
.net-sub {
    font-family: 'Recursive', sans-serif;
    font-variation-settings: 'MONO' 0, 'CASL' 0;
    font-size: 1.125rem;
    color: var(--soft-sage);
    margin-bottom: 0.75rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2s;
}
.net-meta {
    font-family: 'Recursive', monospace;
    font-variation-settings: 'MONO' 1, 'CASL' 0;
    font-size: 0.75rem;
    color: var(--teal);
    letter-spacing: 0.06em;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2.5s;
}

/* Section Styles */
.section-title {
    font-family: 'Recursive', sans-serif;
    font-variation-settings: 'MONO' 0, 'CASL' 0.5;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}
.section-body {
    font-family: 'Recursive', sans-serif;
    font-variation-settings: 'MONO' 0, 'CASL' 0;
    font-size: 1rem;
    color: var(--soft-sage);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.section-data {
    font-family: 'Recursive', monospace;
    font-variation-settings: 'MONO' 1, 'CASL' 0;
    font-size: 0.75rem;
    color: var(--bright-green);
    letter-spacing: 0.04em;
}

/* Content Section Reveal */
.diag-section .section-layout {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.diag-section.visible .section-layout {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--void);
}
.footer-text {
    font-family: 'Recursive', monospace;
    font-variation-settings: 'MONO' 1, 'CASL' 0;
    font-size: 0.75rem;
    color: var(--teal);
    letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 768px) {
    .section-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .network-svg { display: none; }
}
