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

body {
    background-color: #1a1718;
    color: #28fe14;
    font-family: 'JetBrains Mono', monospace;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

/* Top-Left Logo Increased by 75% */
.top-left .logo {
    max-height: 150px; /* Original ~50px scaled up ~75% */
    width: auto;
}

/* Top-Right Telemetry */
.top-right-telemetry {
    position: absolute;
    top: 30px;
    right: 30px;
    text-align: right;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Center Stage Content */
.center-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: -40px;
}

.services-list {
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.7;
}

/* Transmission Form Controls */
.transmission-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 350px;
}

.terminal-input, .terminal-button {
    background-color: transparent;
    border: 1px solid #28fe14;
    color: #28fe14;
    font-family: 'JetBrains Mono', monospace;
    padding: 12px 20px;
    font-size: 1rem;
    text-align: center;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.terminal-input::placeholder {
    color: rgba(40, 254, 20, 0.6);
}

.terminal-input:focus {
    background-color: rgba(40, 254, 20, 0.05);
    box-shadow: 0 0 10px rgba(40, 254, 20, 0.2);
}

.terminal-button {
    cursor: pointer;
    background-color: rgba(40, 254, 20, 0.05);
}

.terminal-button:hover {
    background-color: #28fe14;
    color: #1E1E1E;
}

/* Bottom Footer & Blinking Terminal Cursor Animation */
.bottom-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-right {
    text-align: right;
    line-height: 1.3;
}

.terminal-cursor {
    animation: blink 1s infinite;
    font-weight: bold;
}

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

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(30, 30, 30, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #1E1E1E;
    border: 1px solid #28fe14;
    padding: 30px;
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 0 20px rgba(40, 254, 20, 0.2);
}

.modal-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: center;
}

.modal-content label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
}

.modal-content input[type="checkbox"] {
    accent-color: #28fe14;
    width: 18px;
    height: 18px;
}

.modal-content {
    position: relative; /* Required to anchor the absolute position of the X */
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #28fe14;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    cursor: pointer;
}

.modal-close-btn:hover {
    text-shadow: 0 0 8px #28fe14;
}

/* On-theme transmission status message (replaces browser pop-ups) */
.transmission-form {
    position: relative;
}

.transmission-status {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
    text-shadow: 0 0 8px rgba(40, 254, 20, 0.4);
}

.transmission-status.visible {
    opacity: 1;
}

.transmission-status {
    counter-reset: ln;
}

.status-line {
    display: flex;
    gap: 14px;
    white-space: pre-wrap;
}

.status-line::before {
    counter-increment: ln;
    content: counter(ln, decimal-leading-zero);
    flex-shrink: 0;
    width: 1.6em;
    text-align: right;
    opacity: 0.45;
    text-shadow: none;
}

.status-line:last-child::after {
    content: '_';
    animation: blink 1s infinite;
}

.transmission-status.error {
    color: #ff4d4d;
    text-shadow: 0 0 8px rgba(255, 77, 77, 0.4);
}

.terminal-button:disabled {
    opacity: 0.5;
    cursor: wait;
}

.terminal-input.invalid {
    border-color: #ff4d4d;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.25);
}
