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

body {
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    background-color: #000000;
}

/* Starfield Background */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 3px white;
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    padding: 60px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
}

/* Header / Logo */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.header-logo {
    width: auto;
    height: auto;
}

/* Newsletter Section */
.newsletter-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    padding: 2.8125em;
    gap: 0.5625em;
}

.newsletter-top-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 7.4375em;
    width: 100%;
}

.cta-container {
    display: flex;
    flex-direction: column;
    gap: 3.5625em;
}

.bf-text-header {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.bf-hero-title {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2em;
    color: #ffffff;
    word-wrap: break-word;
    text-align: start;
}

.card-container {
    background: #101010;
    border-radius: 24px;
    border: 2px solid #c3491333;
}

/* Timer Container */
.timer-container {
    display: flex;
    gap: 17.202px;
    align-items: center;
    justify-content: space-around;
    padding: 30px 40px;
    width: 100%;
}

.timer-box {
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-number {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 41.791px;
    line-height: 1.2;
    color: #c34913;
    text-align: center;
    text-shadow: #1f1a5a52 0px 2.612px 1.741px;
}

.timer-label {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 11.793px;
    line-height: 1.5;
    color: #d9dbe9;
    text-align: center;
    margin: 0;
}

.timer-separator {
    width: 2px;
    height: 40px;
    background-color: #c3491333;
}

.bf-subtitle {
    font-weight: 600;
    font-size: 24px;
    color: #ffffff;
    word-wrap: break-word;
}

.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.form-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.email-input {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 24px;
    padding: 12px 120px 12px 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #4b5563cc;
    outline: none;
    transition: border-color 0.2s;
}

.email-input:focus {
    border-color: #c34913;
}

.submit-button {
    position: absolute;
    right: 6px;
    background-color: #c34913;
    color: #ffffff;
    border: none;
    border-radius: 18px;
    padding: 6px 20px;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    cursor: pointer;
    box-shadow: 1px 1px 2px 0px #8787871a;
    transition:
        background-color 0.2s,
}

.submit-button:hover {
    background-color: #a33d0f;
}

.submit-button:active {
    transform: translateY(0);
}

.disclaimer-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #ffffff;
    margin: 0;
    word-wrap: break-word;
}

/* Zoho Form Specific Styles */
.zoho-form-wrapper {
    width: 100%;
}

.zoho-success-container {
    position: relative;
}

.zoho-success-message {
    display: none;
    position: absolute;
    margin-left: 4%;
    width: 90%;
    background-color: white;
    padding: 3px;
    border: 3px solid rgb(194, 225, 154);
    margin-top: 10px;
    margin-bottom: 10px;
    word-break: break-all;
}

.success-text {
    color: rgb(73, 140, 132);
    font-size: 14px;
    word-break: break-word;
}

.zoho-error-message {
    background-color: transparent;
    padding: 5px 0;
    color: #ff0000;
    font-size: 13px;
    font-weight: bold;
    margin: 5px 0 0 0;
    border: none;
    opacity: 1;
    display: none;
    text-align: left;
}

.zoho-overlay {
    display: none;
    text-align: center;
    background-color: rgb(0, 0, 0);
    opacity: 0.5;
    z-index: 100;
    position: fixed;
    width: 100%;
    top: 0px;
    left: 0px;
    height: 100vh;
}

.zoho-success-popup {
    display: none;
    z-index: 9999;
    width: 800px;
    height: 40%;
    top: 84px;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border-color: #e6e6e6;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 10px #424242;
    padding: 35px;
}

.zoho-close-button {
    position: absolute;
    top: -16px;
    right: -14px;
    z-index: 99999;
    cursor: pointer;
}

@media (max-width: 1440px) {
    .bf-hero-title {
        font-size: 40px;
    }

    .newsletter-section {
        width: 90%;
    }
}

@media (max-width: 1024px) {
    .bf-hero-title {
        font-size: 32px;
    }

    .bf-subtitle {
        font-size: 20px;
    }

    .timer-container {
        padding: 10px 20px;
    }

}

@media (max-width: 854px) {
    .zoho-success-popup {
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
    }

    .bf-subtitle {
        font-size: 18px;
    }

    .bf-hero-title {
        font-size: 26px;
    }

    .timer-number {
        font-size: 32px;
    }

    .newsletter-section {
        padding: 1.5em;
        gap: 0.5625em;
    }

    .newsletter-top-container {
        gap: 0;
    }
}

.bf-hero-title-mobile {
    display: none;
}


@media (max-width: 590px) {
    .picture {
        display: none;
    }

    .newsletter-section.card-container {
        background: none;
        border-radius: 0;
        border: none;
        padding: 0;
        width: 90%;
    }

    .container {
        padding: 40px 0px;
    }

    .header {
        margin-bottom: 20px;
    }

    .bf-hero-title {
        display: none;
    }

    .bf-hero-title-mobile {
        display: block;
        font-weight: 700;
        font-size: 32px;
        line-height: 1.2em;
        color: #ffffff;
        word-wrap: break-word;
        text-align: center;
    }

    .newsletter-section {
        flex-direction: column-reverse;
        gap: 2em;
    }

    .newsletter-top-container {
        background: #101010;
        border-radius: 24px;
        border: 2px solid #c3491333;
        flex-direction: row;
        align-items: flex-start;
        gap: 1em;
        padding: 2em 1.5em;
    }

    .newsletter-top-container picture {
        flex-shrink: 0;
        width: 60px;
        height: auto;
    }

    .newsletter-top-container picture img {
        width: 100%;
        height: auto;
    }

    .cta-container {
        gap: 1.5em;
        width: 100%;
        flex: 1;
        align-items: center;
    }

    .bf-text-header {
        gap: 0.5em;
    }

    .bf-subtitle {
        font-size: 20px;
        font-weight: 600;
        text-align: center;
        color: #ffffff;
    }

    .timer-container {
        padding: 1.5em;
        gap: 10px;
    }

    .timer-number {
        font-size: 36px;
    }

    .timer-label {
        font-size: 12px;
    }

    .timer-separator {
        height: 50px;
    }

    .email-input {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 24px;
    }

    .submit-button {
        position: static;
        width: 100%;
        border-radius: 24px;
        padding: 12px 20px;
        font-size: 14px;
        font-weight: 500;
        line-height: 24px;
        margin-top: 12px;
        word-wrap: break-word;
    }

    .form-container {
        flex-direction: column;
        gap: 2px;
    }

    .disclaimer-text {
        font-size: 12px;
        text-align: center;
    }
}