/* VAINEXX SUBPAGE HEADER */
.subpage-header {
    width: 100%;
    padding: 4rem 0 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sub-main-logo {
    width: clamp(300px, 40vw, 500px); /* Kleiner als auf der Hero-Seite */
    height: auto;
    filter: none;
    transition: opacity 0.3s ease;
}

.sub-main-logo:hover {
    opacity: 0.8;
}

/* TERMINAL WRAPPER */
.terminal-wrapper {
    min-height: 60vh; /* Reduziert, da Header nun Platz einnimmt */
    width: 100%;
    max-width: 850px;
    margin: 2vh auto 8vh auto; /* Margin oben verringert */
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.terminal-header {
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--accent);
    padding-left: 25px;
}

.terminal-title {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    letter-spacing: 4px;
    color: #fff;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
}

.terminal-status {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    margin-top: 10px;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}

.form-container {
    background: rgba(15, 12, 22, 0.85);
    border: 1px solid rgba(139, 92, 191, 0.25);
    padding: 4rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(139, 92, 191, 0.03) 1px, transparent 1px);
    background-size: 100% 3px;
    pointer-events: none;
}

.input-group {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.input-group label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--nav-gray);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.input-group input, 
.input-group textarea {
    background: rgba(5, 5, 5, 0.8);
    border: 1px solid #2a2a2a;
    padding: 1.2rem;
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    transition: all 0.4s ease;
    border-radius: 0;
}

.input-group textarea {
    resize: vertical;
    min-height: 150px;
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(139, 92, 191, 0.05);
    box-shadow: 0 0 25px rgba(139, 92, 191, 0.2);
}

.transmit-btn {
    width: 100%;
    padding: 1.8rem;
    background: rgba(139, 92, 191, 0.02);
    border: 1px solid rgba(139, 92, 191, 0.4);
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.transmit-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 191, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.transmit-btn:hover {
    background: rgba(139, 92, 191, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(139, 92, 191, 0.3), inset 0 0 15px rgba(139, 92, 191, 0.2);
    letter-spacing: 11px;
    color: #ffffff; /* Bleibt hart weiß */
    text-shadow: none; /* Glow von der Schrift entfernt */
}

.transmit-btn:hover::after {
    left: 100%;
}

.back-link {
    margin: 3rem auto 0 auto;
    color: var(--nav-gray);
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 3px;
    font-weight: 600;
    transition: all 0.4s ease;
    opacity: 0.7;
    border-bottom: 1px solid transparent;
    padding-bottom: 5px;
    text-align: center;
}

.back-link:hover {
    color: #fff;
    opacity: 1;
    border-bottom: 1px solid var(--accent);
    text-shadow: 0 0 15px var(--accent);
    transform: translateY(-2px);
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
    .form-container { padding: 2.5rem 1.5rem; }
    .terminal-title { font-size: 1.6rem; }
    .sub-main-logo { width: 250px; }
}