/* --- CSS Reset and Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif; /* Applied Google Font */
    background-color: #f6f8f9; /* Light grey background outside the white box */
    line-height: 1.5;
    color: #333;
}

/* --- Notification Bar --- */
.notification-bar {
    background-color: #d1122a; /* Costco-like blue */
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
}

#notification-text {
    transition: opacity 0.5s ease-in-out;
}

.fade-out {
    opacity: 0;
}

/* --- Main Offer Layout --- */
.offer-container {
    display: flex;
    justify-content: center;
    /* Remove the fixed calc height */
    align-items: flex-start; /* Aligns the card to the top instead of middle */
    padding: 40px 20px;      /* Adds 40px space at top/bottom and 20px on sides */
    background-color: #f6f8f9; /* Ensures background fills the rest of the page */
    min-height: 100vh;       /* Keeps the background color full-screen even if content is short */
}

.offer-card {
    background-color: white;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    /* The height is now determined by the content inside this box */
}

/* --- Content Styling Inside the Card --- */
.logo-container {
    margin-bottom: 25px;
}

.cos-logo {
    max-height: 70px; /* Controls the size of the first required image */
}

.headline-container {
    text-align: center;
    margin-bottom: 30px;
    /* Sets the base style for the top and bottom text */
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.1;
}

.highlight {
    font-size: 80px;
    color: #d1122a;
    font-weight: 700;
    
    /* ADJUST THESE NUMBERS TO CHANGE SPACING */
    margin-top: 5px;    /* Pulls "Get Your Exclusive" closer */
    margin-bottom: -10px; /* Pulls "Towards Shopping..." closer */
    
    display: block;
}

.headline-bottom {
    /* Optional: if you want the bottom text slightly smaller or different */
    display: block;
    margin-top: 30px;
}

/* --- Steps List Styling --- */
.steps-list {
    list-style: none;
    max-width: 400px;
    margin: 0 auto 35px; /* Centers the list block */
    text-align: left;
}

.steps-list li {
    font-size: 16px;
    color: #000000;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 500;
}

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #d1122a; /* Red color matching image */
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%; /* Perfect circle */
    font-weight: 700;
    margin-right: 15px;
    font-size: 15px;
}

/* --- Call to Action Button --- */
.cta-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #d1122a; /* Primary Red */
    color: white;
    text-decoration: none;
    width: 100%;
    padding: 18px 25px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    cursor: pointer;
}

.cta-button:hover{
background-color:#0076a3;
}

.feather-arrow-right {
    width: 20px;
    height: 20px;
    margin-left: 8px; /* Adds space before the arrow icon */
}

/* --- Urgency and Footer Text --- */
.timer-text {
    font-size: 13px;
    color: #777;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feather-clock {
    margin-right: 5px; /* Adds space before the clock icon */
}

.divider {
    border-top: 1px solid #eee; /* Light divider line */
    margin-bottom: 25px;
}

/* --- Trustpilot Rating Section --- */
.t-section {
    font-size: 14px;
    color: #555;
}

.t-brand {
    color: #444; /* Dark gray for the word Trustpilot */
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.s-container {
    margin-bottom: 5px;
}

/* Styling for the second required image (T Stars) */
.stars-image {
    max-width: 150px;
}

.t-score {
    color: #777; /* Subtle text for the score */
}

.score-bold {
    font-weight: 700;
    color: #444; /* Bolder part of the score */
}