/* ============================================================
    Reset & Base Styles
    ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #2a0000 100%);
    color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================================
    Container & Layout
    ============================================================ */
.container {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
    width: 100%;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
    Logo
    ============================================================ */
.logo {
    margin-bottom: 40px;
    animation: scaleIn 0.6s ease-out;
}

.logo img {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(220, 38, 38, 0.3));
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================================
    Typography
    ============================================================ */
h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
    color: #b0b0b0;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

/* ============================================================
    Form Section
    ============================================================ */
.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 500;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

input[type="email"],
input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    background-color: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

input[type="email"]::placeholder,
input[type="text"]::placeholder {
    color: #707070;
}

input[type="email"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #dc2626;
    background-color: #242424;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* ============================================================
    Buttons
    ============================================================ */
.button-group {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

@media (max-width: 480px) {
    .button-group {
        flex-direction: column;
    }
}

button {
    flex: 1;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background-color: #dc2626;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #ef4444;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #404040;
}

.btn-secondary:hover {
    background-color: #333333;
    border-color: #505050;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ============================================================
    Footer Text
    ============================================================ */
.copyright {
    margin-top: 50px;
    font-size: 0.85rem;
    color: #707070;
    font-weight: 400;
}

/* ============================================================
    Responsive Design
    ============================================================ */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }

    h1 {
        margin-bottom: 16px;
    }

    .logo {
        margin-bottom: 32px;
    }

    .logo img {
        max-width: 120px;
    }

    .subtitle {
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 16px;
    }

    .logo img {
        max-width: 100px;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .copyright {
        margin-top: 40px;
        font-size: 0.8rem;
    }
}