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

body {
    font-family: 'Montserrat', sans-serif;
    background: url('IRONKALE_Gradient_RGB.png') center/cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding-top: 40px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 40px;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    max-width: 100%;
    animation: fadeIn 0.8s ease-in;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    width: 75px;
    height: auto;
    margin-bottom: auto;
    display: block;
}

h1 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    margin-top: auto;
    letter-spacing: -0.5px;
    max-width: 520px;
}

.tagline {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    opacity: 0.95;
    max-width: 520px;
}

.subtext {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 520px;
}

.footnote {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.bottom-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: auto;
}

.bottom-image {
    width: 300px;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
    z-index: 10;
}

@media (max-width: 768px) {
    .bottom-image {
        position: static;
        width: 100%;
        max-width: 400px;
        margin-top: 40px;
    }
}

.form-group {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
}

input[type="email"] {
    flex: 0 1 260px;
    padding: 16px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #2d6f6b;
    outline: none;
    transition: background 0.2s ease;
}

input[type="email"]::placeholder {
    color: rgba(45, 111, 107, 0.5);
}

input[type="email"]:focus {
    background: #ffffff;
}

.submit-btn {
    padding: 16px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 140px;
}

.submit-btn:hover {
    background: #ffffff;
    color: #2d6f6b;
}

.submit-btn:active {
    transform: scale(0.98);
}

.form-message {
    font-size: 12px;
    font-weight: 500;
    padding: 8px 0;
    min-height: 16px;
}

.form-message.success {
    color: #c4edde;
}

.form-message.error {
    color: #ff6b6b;
}

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

    .content {
        max-width: 100%;
        height: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    h1 {
        font-size: 32px;
    }

    .logo {
        width: 36px;
        margin-bottom: 40px;
    }

    .form-group {
        flex-direction: column;
        gap: 10px;
    }

    input[type="email"] {
        flex: 1;
        padding: 14px 16px;
        font-size: 16px;
        width: 100%;
    }

    .submit-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }

    .bottom-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .bottom-image {
        width: 100%;
        max-width: 300px;
    }

    .footnote {
        text-align: left;
    }
}

@media (min-width: 769px) {
    .bottom-section {
        position: fixed;
        bottom: 40px;
        right: 40px;
        margin-top: 0;
    }

    .bottom-image {
        position: static;
        width: 300px;
    }

    .footnote {
        position: fixed;
        bottom: 40px;
        left: 40px;
        margin: 0;
    }
}
