/* 
   PROFESSIONAL COMMAND CENTER INTERFACE 
   Contact Hub Redesign - HalalCortex 
*/

/* 
    Author: Ashan M
    Project: HalalPoint / HalalCortex
    Comment By - Ashan M
*/

:root {
    --cyber-cyan: #00f2ff;
    --cyber-gold: #ffcf00;
    --os-bg: #030712;
    --glass-panel: rgba(13, 25, 48, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

.contact-hub-hero {
    min-height: 100vh;
    background: var(--os-bg);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
}

@keyframes slowScroll {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 1000px 1000px;
    }
}

/* --- HUD Elements (Professional Tweak) --- */
.hud-line {
    position: absolute;
    background: var(--cyber-cyan);
    opacity: 0.2;
    z-index: 5;
}

.hud-v {
    width: 1px;
    height: 100px;
    left: 40px;
}

.hud-h {
    height: 1px;
    width: 100px;
    top: 40px;
}

.system-stats {
    position: absolute;
    top: 40px;
    right: 40px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--cyber-cyan);
    font-size: 0.65rem;
    letter-spacing: 2px;
    z-index: 50;
    opacity: 0.4;
    text-align: right;
}

/* --- Professional Layout Grid --- */
.command-deck {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* --- Left Side: Header & Tiles --- */
.deck-controls {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    max-width: 500px;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.proto-tile {
    background: var(--glass-panel);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.proto-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--cyber-cyan);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proto-tile:hover,
.proto-tile.active {
    background: rgba(0, 242, 255, 0.05);
    border-color: rgba(0, 242, 255, 0.3);
    transform: translateY(-5px);
}

.proto-tile.active::before {
    opacity: 1;
}

.tile-icon {
    font-size: 1.5rem;
    color: var(--cyber-cyan);
    margin-bottom: 1rem;
    display: block;
}

.proto-tile h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.proto-tile p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* --- Right Side: Secure Form --- */
.secure-datalink-form {
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    padding: 3.5rem;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.secure-datalink-form::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.2), transparent, rgba(255, 207, 0, 0.1));
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
}

.form-header-os {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.protocol-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--cyber-cyan);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.form-group-hub {
    margin-bottom: 2rem;
    position: relative;
}

.form-input-hub {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 0;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-input-hub:focus {
    outline: none;
    border-color: var(--cyber-cyan);
}

.form-label-hub {
    position: absolute;
    top: 1.2rem;
    left: 0;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-input-hub:focus~.form-label-hub,
.form-input-hub:not(:placeholder-shown)~.form-label-hub {
    top: -1rem;
    font-size: 0.75rem;
    color: var(--cyber-cyan);
}

.btn-transmit {
    width: 100%;
    background: linear-gradient(90deg, #00f2ff, #0096ff);
    color: #030712;
    border: none;
    padding: 1.2rem;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-transmit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 242, 255, 0.4);
}

/* --- Mobile Adaptability --- */
@media (max-width: 991px) {
    .command-deck {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}