/* Lander AFF V1 - CSS */
/* Mobile-first approach */

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

body {
    font-family: 'Public Sans', Arial, sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    color: #000000;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url(../images/ford150/fordbg-mob.png) center top / cover no-repeat;
}

.main {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* Header */
.header {
    text-align: center;
    padding: 11px 0;
    position: relative;
    z-index: 1;
}

.logo-inner img {
    height: 14px;
    width: auto;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    padding: 0 16px;
}

/* Hero Section */
.hero-section {
    text-align: center;
}

.hero-title {
    margin-top: 3px;
    margin-bottom: 12px;
}

.hero-title .title-line {
    display: block;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -1.6px;
    line-height: normal;
    background: linear-gradient(180deg, #2851E1 0%, #132D54 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.title-line:nth-child(2){
    margin-top: -1px;
}

/* Badges */
.badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-icon {
    width: 20px;
    height: 20px;
    background-color: #E8E8E8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon svg {
    width: 20px;
    height: 20px;
}

.badge-text {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

/* Gift Box */
.giftbox-container {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.giftbox-image {
    width: 141px;
    height: auto;
    object-fit: contain;
}

/* Form Card */
.form-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.24);
    padding: 16px;
    margin: 0 auto 180px;
    max-width: 328px;
}

.form-title {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #000000;
    margin-bottom: 16px;
}

/* Form Field */
.form-field {
    margin-bottom: 8px;
}

.email-input {
    width: 100%;
    height: 50px;
    border: 1px solid #878787;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 16px;
    font-family: 'Public Sans', Arial, sans-serif;
    font-weight: 500;
    color: #333333;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding-right: 35px;
}

.email-input::placeholder {
    color: #727272;
    font-weight: 400;
}

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

.email-input.error {
    border-color: #DA291C;
}
.email-input.validated {
    border-color: #48c005;
    background: #fff url(../images/advertiser/validated.svg) no-repeat right;
}

/* Consent Section */
.consent-section {
    margin-bottom: 12px;
}

.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.consent-item input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-top: 2px;
    flex-shrink: 0;
    border: 1px solid #767676;
    border-radius: 2px;
    cursor: pointer;
    accent-color: #0033A0;
}

.consent-item label {
    font-size: 10px;
    line-height: 12px;
    color: #000000;
    font-weight: 400;
}

.consent-item label a {
    color: #2851E1;
    text-decoration: underline;
}

.consent-item label a:hover {
    text-decoration: none;
}

/* CTA Button */
.cta-button {
    width: 100%;
    height: 60px;
    border: none;
    background: linear-gradient(180deg, #2851E1 0%, #132D54 100%);
    border-radius: 30px;
    cursor: pointer;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .2s,box-shadow .2s;
    position: relative;
    overflow: hidden
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40,81,225,.4)
}

.cta-button .cta-inner {
    color: #ffffff;
    font-weight: 800;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Public Sans";
    text-shadow: 1px 1px 1px rgba(0,0,0,.3)
}

.cta-button svg,#landerform .playtowin svg {
    width: 32px;
    height: 32px;
    position: absolute;
    right: 25px
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,transparent,rgb(255 255 255 / 75%),transparent);
    animation: btnShine 3s ease-in-out infinite
}

@keyframes btnShine {
    0% {
        left: -100%
    }

    100%,50% {
        left: 150%
    }
}

/* Footer */
footer {
    background: #fff;
    padding-top: 0
}

footer .footer-disclaimer {
    font-weight: 400;
    font-size: 10px;
    line-height: 14px;
    color: #000;
    text-align: center;
    padding: 12px 10px 16px;
    background: #f6f6f6
}

footer .footer-disclaimer a {
    text-decoration: underline
}

footer .footer-logo {
    text-align: center;
}

footer .footer-logo img {
    height: 14px;
    width: auto
}

footer .listing-wrap {
    background: #e8e8e8;
    padding: 12px 18px;
    margin-top: 0
}

footer .listing-wrap img {
    display: flex;
    margin: 0 auto 12px;
    width: auto;
    height: 14px
}

footer .listing-wrap ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
    font-size: 10px;
    line-height: 19px;
    letter-spacing: -.3px
}

footer .footer-disclaimer p:not(:last-child) {
    margin-bottom: 10px
}

footer .listing-wrap ul li {
    display: contents
}

footer .listing-wrap ul li a {
    color: #000;
    text-decoration: underline
}

footer .listing-wrap ul li::after {
    content: "|";
    margin: 0 3px
}

footer .listing-wrap ul li:last-child::after {
    content: ""
}

/* Desktop Styles */
@media (min-width: 768px) {
    .header {
        padding: 16px 0;
    }
    .wrapper {
        background: url(../images/ford150/fordbg.png) center top / cover no-repeat;
    } 
    .main-content {
        padding: 0 40px;
    }
    .hero-title{
        margin-top: 11px;
        margin-bottom: 14px;
    }
    .title-line:nth-child(2){
        margin-top: -4px;
    }
    .consent-section{
        margin-botton: 12px;
    }

    .hero-title .title-line {
        font-size: 48px;
        letter-spacing: -2.24px;
    }

    .badges {
        gap: 32px;
        margin-bottom: 16px;
    }

    .badge-text {
        font-size: 14px;
    }

    .giftbox-container {
        margin-bottom: 12px;
    }

    .giftbox-image {
        width: 141px;
    }

    .form-card {
        max-width: 328px;
        padding: 20px 16px;
        border-radius: 24px;
    }

    .form-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .email-input {
        height: 50px;
        font-size: 16px;
    }
    .form-field{
        margin-bottom: 12px;
    }
    .consent-item label {
        font-size: 10px;
        line-height: 12px;
    }

    .cta-button {
        height: 60px;
    }

    .cta-text {
        font-size: 22px;
    }

    footer .footer-disclaimer {
        max-width:100%;
        margin: 0 auto;
        padding: 16px 20px 16px
    }

    footer .footer-disclaimer p {
        max-width: 816px;
        margin: 0 auto
    }

    footer .listing-wrap img {
        width: auto;
        height: 14px;
        margin: 0 auto 20px
    }

    footer .footer-logo img {
        height: 16px
    }

    footer .listing-wrap {
        padding: 24px 16px
    }

    footer .listing-wrap ul {
        margin: 0 auto
    }

    footer .footer-disclaimer a:hover {
        text-decoration: none
    }

    footer .listing-wrap ul li a:hover {
        text-decoration: none
    }
}

@media screen and (max-width: 359px) {
    .hero-title .title-line{
        font-size: 32px;
    }
    .badges{
        gap: 12px;
    }
    
    .badge-icon svg, .badge-icon{
        width: 16px;
        height: 16px;
    }
    .badge-text{
        font-size: 12px;
    }
}