/* --- GLOBAL VARIABLES & RESET --- */
:root {
    --bg-dark: #050508;
    --panel-bg: #0a0a0f;
    --text-white: #FFFFFF;
    --text-grey: #888888;
    --cyan: #00F0FF;
    --border-color: #333333;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.accent { color: var(--cyan); }

.back-link {
    color: var(--text-grey);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.back-link:hover { color: var(--cyan); }

/* --- HOMEPAGE SPECIFIC STYLES --- */
.home-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    text-align: center;
    z-index: 1;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to right, white, #d0d0d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-text {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-grey);
    max-width: 650px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.cta-button:hover {
    background: var(--cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

/* --- CONTACT PAGE STYLES --- */
.split-container {
    display: flex;
    height: 100vh;
    padding-top: 80px;
}

.info-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    border-right: 1px solid var(--border-color);
    position: relative;
}

.info-panel h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.subtitle {
    color: var(--text-grey);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 450px;
    margin-bottom: 60px;
}

.contact-details { display: grid; gap: 30px; }
.label {
    display: block;
    color: var(--cyan);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.detail-item a, .detail-item p {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1rem;
}

.form-panel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--panel-bg);
    padding: 50px;
    overflow-y: auto; /* SAFETY FIX: Allows scrolling on small screens */
}

.tech-form { width: 100%; max-width: 500px; }
.input-group { margin-bottom: 30px; }

.input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-grey);
    margin-bottom: 10px;
}

.row { display: flex; gap: 20px; }

input, textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 15px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

/* --- MODERN SYSTEM FOOTER --- */
.brand-footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 5;
    pointer-events: none;
}

.footer-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3); 
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.signature-line {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #FFFFFF;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyan);
    animation: pulse 2s infinite;
}

.legal-line {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.65rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.5; transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    
    .split-container {
        flex-direction: column;
        height: auto;
    }
    
    .info-panel, .form-panel {
        padding: 60px 30px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Mobile Footer Adjustments */
    .info-panel .brand-footer {
        position: relative;
        margin-top: 40px;
        bottom: 0;
        text-align: left;
    }
    .info-panel .footer-container {
        align-items: flex-start;
        padding: 0;
        background: none;
        border: none;
    }
}