/* =========================================
   VARIABLES
========================================= */

:root {
    --white: #FFFFFF;

    --blue: #0481C1;
    --blue-dark: #036A9E;
    --blue-soft: #EAF7FD;

    --green: #70B800;
    --green-dark: #5D9900;
    --green-soft: #F1F8E8;

    --text-dark: #123047;
    --text: #385466;
    --text-light: #718594;

    --border: #E3EDF2;
    --background: #F7FBFD;

    --shadow-sm: 0 8px 25px rgba(3, 75, 110, 0.07);
    --shadow-lg: 0 25px 70px rgba(3, 75, 110, 0.12);

    --radius: 18px;
}


/* =========================================
   RESET
========================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", sans-serif;
    color: var(--text-dark);
    background: var(--background);
    line-height: 1.6;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input {
    font: inherit;
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================
   NAVIGATION
========================================= */

.campaign-nav {
    position: relative;
    z-index: 10;

    background: rgba(255, 255, 255, 0.94);

    border-bottom: 1px solid rgba(4, 129, 193, 0.08);

    backdrop-filter: blur(12px);
}


.nav-inner {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    display: inline-flex;
    align-items: center;
}


.campaign-logo {
    display: block;
    width: 145px;
    height: auto;
    object-fit: contain;
}


.back-link {
    display: inline-flex;
    align-items: center;

    color: var(--text);
    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}


.back-link:hover {
    color: var(--blue);
}


/* =========================================
   CONTINUE SECTION
========================================= */

.continue-section {
    position: relative;
    overflow: hidden;

    min-height: calc(100vh - 78px);

    display: flex;
    align-items: center;

    padding: 80px 0;
}


.continue-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(5px);

    pointer-events: none;
}


.continue-glow-one {
    width: 360px;
    height: 360px;

    top: -160px;
    left: -100px;

    background: rgba(4, 129, 193, 0.10);
}


.continue-glow-two {
    width: 300px;
    height: 300px;

    bottom: -140px;
    right: -80px;

    background: rgba(112, 184, 0, 0.09);
}


/* =========================================
   LAYOUT
========================================= */

.continue-layout {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 500px;

    align-items: center;

    gap: 90px;
}


/* =========================================
   INTRO
========================================= */

.continue-intro {
    max-width: 560px;
}


.section-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--blue);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}


.continue-intro h1 {
    max-width: 600px;

    margin-bottom: 22px;

    color: var(--text-dark);

    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}


.continue-intro h1 span {
    color: var(--blue);
}


.continue-intro > p {
    max-width: 510px;

    margin-bottom: 35px;

    color: var(--text);

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================
   OFFER SUMMARY
========================================= */

.offer-summary {
    display: inline-flex;
    align-items: center;

    padding: 18px 22px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 16px;

    box-shadow: var(--shadow-sm);
}


.summary-price {
    color: var(--blue);

    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
}


.summary-price span {
    font-size: 22px;
}


.summary-divider {
    width: 1px;
    height: 40px;

    margin: 0 20px;

    background: var(--border);
}


.summary-text {
    display: flex;
    flex-direction: column;
}


.summary-text strong {
    color: var(--text-dark);

    font-size: 13px;
}


.summary-text span {
    color: var(--text-light);

    font-size: 12px;
}


/* =========================================
   CONTINUE CARD
========================================= */

.continue-card {
    position: relative;

    padding: 34px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 24px;

    box-shadow: var(--shadow-lg);
}


.card-header {
    display: flex;
    align-items: center;

    gap: 15px;

    padding-bottom: 25px;

    margin-bottom: 25px;

    border-bottom: 1px solid var(--border);
}


.card-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 13px;

    background: var(--green-soft);
    color: var(--green-dark);

    font-size: 18px;
    font-weight: 800;
}


.card-eyebrow {
    display: block;

    margin-bottom: 3px;

    color: var(--blue);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}


.card-header h2 {
    color: var(--text-dark);

    font-size: 21px;
    line-height: 1.3;
}


/* =========================================
   ACCOUNT STATE
========================================= */

.account-state {
    width: 100%;
}


.state-label {
    display: block;

    margin-bottom: 8px;

    color: var(--green-dark);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}


.state-intro h3,
.welcome-message h3 {
    margin-bottom: 8px;

    color: var(--text-dark);

    font-size: 21px;
    line-height: 1.35;
}


.state-intro p,
.welcome-message p {
    color: var(--text-light);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================
   FORM
========================================= */

.form-group {
    margin-top: 24px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--text-dark);

    font-size: 13px;
    font-weight: 600;
}


.form-group input {
    width: 100%;

    padding: 15px 16px;

    color: var(--text-dark);

    background: #FBFDFE;

    border: 1px solid #D8E5EB;
    border-radius: 12px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.form-group input::placeholder {
    color: #9AABB5;
}


.form-group input:focus {
    background: var(--white);

    border-color: var(--blue);

    box-shadow: 0 0 0 4px rgba(4, 129, 193, 0.10);
}


/* =========================================
   ERROR
========================================= */

.form-error {
    display: block;

    min-height: 18px;

    margin-top: 6px;

    color: #C43D3D;

    font-size: 12px;
}


/* =========================================
   ACCOUNT EMAIL
========================================= */

.account-email {
    padding: 15px 16px;

    margin: 20px 0 24px;

    background: var(--blue-soft);

    border: 1px solid rgba(4, 129, 193, 0.10);
    border-radius: 12px;
}


.account-email span {
    display: block;

    margin-bottom: 4px;

    color: var(--text-light);

    font-size: 11px;
}


.account-email strong {
    display: block;

    color: var(--text-dark);

    font-size: 14px;

    word-break: break-word;
}


/* =========================================
   BUTTON
========================================= */

.continue-button {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 15px 20px;

    margin-top: 24px;

    border: none;
    border-radius: 12px;

    background: var(--blue);
    color: var(--white);

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 10px 25px rgba(4, 129, 193, 0.20);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.continue-button:hover {
    background: var(--blue-dark);

    transform: translateY(-1px);

    box-shadow: 0 14px 30px rgba(4, 129, 193, 0.25);
}


.continue-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


/* =========================================
   NEW USER NOTE
========================================= */

.new-user-note {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 5px;

    margin-top: 22px;

    color: var(--text-light);

    font-size: 12px;
}


.new-user-note a {
    color: var(--blue);

    font-weight: 700;
}


.new-user-note a:hover {
    text-decoration: underline;
}

/* =========================================
   OTP VERIFICATION
========================================= */

#campaignOtp {
    text-align: center;

    letter-spacing: 0.28em;

    font-size: 20px;
    font-weight: 700;
}


#campaignOtp::placeholder {
    letter-spacing: 0.08em;

    font-size: 13px;
    font-weight: 400;
}


.resend-button {
    padding: 0;

    border: none;

    background: transparent;
    color: var(--blue);

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


.resend-button:hover {
    text-decoration: underline;
}


.resend-button:disabled {
    opacity: 0.55;

    cursor: not-allowed;
}

/* =========================================
   STATUS
========================================= */

.campaign-status {
    padding: 13px 15px;

    margin-top: 18px;

    border-radius: 10px;

    font-size: 13px;
    line-height: 1.5;
}


.campaign-status.success {
    background: var(--green-soft);
    color: var(--green-dark);
}


.campaign-status.error {
    background: #FFF1F1;
    color: #B83232;
}


.campaign-status.info {
    background: var(--blue-soft);
    color: var(--blue-dark);
}


/* =========================================
   TRUST
========================================= */

.continue-trust {
    padding: 35px 0;

    background: var(--white);

    border-top: 1px solid var(--border);
}


.trust-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}


.trust-item {
    display: flex;
    align-items: center;

    gap: 12px;
}


.trust-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: var(--green-soft);
    color: var(--green-dark);

    font-size: 14px;
    font-weight: 800;
}


.trust-item strong,
.trust-item span {
    display: block;
}


.trust-item strong {
    color: var(--text-dark);

    font-size: 12px;
}


.trust-item div span {
    color: var(--text-light);

    font-size: 11px;
}


/* =========================================
   FOOTER
========================================= */

.campaign-footer {
    padding: 35px 0;

    background: #F1F7FA;

    border-top: 1px solid var(--border);
}


.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.campaign-footer-logo {
    display: block;

    width: 125px;
    height: auto;

    object-fit: contain;
}


.footer-inner p {
    color: var(--text-light);

    font-size: 12px;
}


.copyright {
    color: #8A9BA5;

    font-size: 11px;
}


/* =========================================
   HIDDEN
========================================= */

[hidden] {
    display: none !important;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .continue-layout {
        grid-template-columns: 1fr;

        gap: 45px;

        max-width: 650px;

        margin: 0 auto;
    }


    .continue-intro {
        max-width: none;

        text-align: center;
    }


    .continue-intro > p {
        margin-left: auto;
        margin-right: auto;
    }


    .offer-summary {
        text-align: left;
    }


    .continue-section {
        padding: 65px 0;
    }

}


@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, 1120px);
    }


    .nav-inner {
        min-height: 70px;
    }


    .campaign-logo {
        width: 125px;
    }


    .back-link {
        font-size: 12px;
    }


    .continue-section {
        padding: 50px 0;
    }


    .continue-intro h1 {
        font-size: 42px;
    }


    .continue-intro > p {
        font-size: 15px;
    }


    .offer-summary {
        width: 100%;

        justify-content: center;
    }


    .continue-card {
        padding: 25px 20px;

        border-radius: 20px;
    }


    .trust-items {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .footer-inner {
        flex-direction: column;

        text-align: center;
    }


    .campaign-footer-logo {
        width: 115px;
    }

}