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

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #1b1b1b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Header Bar --- */
header {
    background: #0d2240;
    padding: 12px 0;
    text-align: center;
}

header nav {
    display: flex;
    justify-content: center;
    gap: 32px;
}

header nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

header nav a:hover {
    color: #c41230;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #0d2240 0%, #183d6e 50%, #0d2240 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(196, 18, 48, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(196, 18, 48, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-image {
    max-width: 714px;
    width: 90%;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.hero-name {
    color: #ffffff;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
}

.hero-tagline {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.red-divider {
    width: 80px;
    height: 4px;
    background: #c41230;
    margin: 24px auto 0;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

/* --- Signup Section --- */
.signup-section {
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 50%, #e8e8e8 100%);
    padding: 60px 20px;
}

.signup-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.signup-image {
    flex-shrink: 0;
    max-width: 288px;
    width: 40%;
}

.signup-image img {
    width: 100%;
    height: auto;
}

.signup-content {
    flex: 1;
    text-align: left;
}

.signup-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0d2240;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.signup-section p {
    font-size: 16px;
    color: #555;
    max-width: 500px;
    margin: 0 0 20px;
    line-height: 1.6;
}

.signup-form {
    display: flex;
    gap: 0;
    max-width: 520px;
    margin-bottom: 20px;
}

.signup-form input[type="email"] {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    font-family: 'Montserrat', Arial, sans-serif;
    border: 2px solid #ddd;
    border-right: none;
    border-radius: 6px 0 0 6px;
    outline: none;
    transition: border-color 0.2s;
}

.signup-form input[type="email"]:focus {
    border-color: #0d2240;
}

.signup-form button {
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: #c41230;
    color: #ffffff;
    border: 2px solid #c41230;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.signup-form button:hover {
    background: #a00e28;
    border-color: #a00e28;
}

.signup-form button:disabled {
    background: #999;
    border-color: #999;
    cursor: not-allowed;
}

.signup-email {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.signup-email a {
    color: #0d2240;
    font-weight: 600;
    text-decoration: none;
}

.signup-email a:hover {
    color: #c41230;
    text-decoration: underline;
}

#signup-status {
    max-width: 520px;
    margin: 16px 0 0;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: none;
}

#signup-status.success {
    background: #e6f9f0;
    color: #0a7c42;
    display: block;
}

#signup-status.error {
    background: #fde8e8;
    color: #c41230;
    display: block;
}

/* --- Footer --- */
footer {
    background: #0d2240;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 24px 20px;
    font-size: 13px;
    margin-top: auto;
}

footer span {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .hero {
        padding: 40px 16px 36px;
    }

    .hero-image {
        max-width: 320px;
    }

    .hero-name {
        font-size: 26px;
        letter-spacing: 3px;
    }

    .hero-tagline {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .signup-wrapper {
        flex-direction: column;
        gap: 32px;
    }

    .signup-image {
        max-width: 280px;
        width: 70%;
    }

    .signup-content {
        text-align: center;
    }

    .signup-section h2 {
        font-size: 22px;
    }

    .signup-form {
        flex-direction: column;
        gap: 12px;
    }

    .signup-form input[type="email"] {
        border-right: 2px solid #ddd;
        border-radius: 6px;
    }

    .signup-form input[type="email"]:focus {
        border-color: #0d2240;
    }

    .signup-form button {
        border-radius: 6px;
        padding: 16px;
    }
}
