/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}

/* Header */
header {
    width: 100%;
    text-align: center;
    padding-bottom: 2rem;
}

.header-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

h1 {
    margin-top: 1.5rem;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main Content */
main {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    flex: 1;
}

/* Form Styles */
.cyber-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

input,
textarea {
    background-color: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 1rem;
    font-size: 1rem;
    font-family: inherit;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #fff;
}

button {
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    margin-top: 1rem;
}

button:hover {
    opacity: 0.9;
}

/* Footer */
footer {
    width: 100%;
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    main {
        padding: 1.5rem;
        max-width: 100%;
    }

    .header-image {
        height: auto !important;
        /* Force natural height */
        width: 100%;
        max-height: none;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
        margin-top: 1rem;
    }

    /* .header-image handled in 768px query */

    main {
        padding: 1rem;
    }

    button {
        width: 100%;
        padding: 1rem;
    }

    input,
    textarea {
        font-size: 16px;
        /* Prevent zoom on iOS */
    }
}