/* Global Styles */
:root {
    --costco-red: #E31837;
    --costco-red-hover: #c2142d;
    --costco-blue: #005DAA;
    --costco-blue-light: #e6eff7;
    --costco-red-light: #fce8eb;
    --dark-text: #1a1a1a;
    --light-bg: #f4f4f4;
    --white: #FFFFFF;
    --alert-green: #0a8a3c;
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    background-image: radial-gradient(circle at top, #ffffff, #f4f4f4);
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background-color: var(--white);
    padding: 12px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.secure-badge {
    color: var(--costco-blue);
    font-size: 1.05rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}

/* Container */
.container {
    max-width: 480px; /* Mobile focused max-width */
    margin: 0 auto;
    padding: 16px 16px 30px;
}

/* Hero Section */
.hero-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 20px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    border-top: 6px solid var(--costco-blue);
}

.brand-logo {
    width: 140px;
    margin-bottom: 16px;
}

.headline {
    font-size: 2rem;
    color: var(--costco-red);
    margin-bottom: 8px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.sub-headline {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 24px;
    padding: 0 10px;
}

/* Choice Buttons */
.choice-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 24px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
    background-color: var(--costco-red);
    color: var(--white);
    box-shadow: 0 6px 15px rgba(227, 24, 55, 0.25);
}

.cta-button:active {
    transform: scale(0.98);
}

.cta-button:hover {
    background-color: var(--costco-red-hover);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.cta-value {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-text {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Social Proof Ticker */
.social-proof-ticker {
    background-color: var(--white);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    border-radius: 12px;
}

.ticker-content {
    display: inline-block;
    animation: ticker 380s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 24px;
    color: #555;
    font-size: 0.95rem;
    font-weight: 600;
}

.ticker-item strong {
    color: var(--costco-blue);
}

.ticker-time {
    color: #999;
    font-size: 0.85rem;
    margin-left: 6px;
    font-weight: 400;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Info Section */
.info-section {
    margin-bottom: 40px;
}

.info-section h3,
.faq-section h3 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--costco-blue);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.3px;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.step-card {
    background: var(--white);
    padding: 22px;
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.step-number {
    background-color: var(--costco-blue-light);
    color: var(--costco-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    flex-shrink: 0;
    font-size: 1.2rem;
    border: 2px solid var(--costco-blue);
}

.step-card h4 {
    margin-bottom: 6px;
    font-size: 1.15rem;
    color: var(--dark-text);
    font-weight: 800;
}

.step-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 40px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--costco-blue);
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg); /* Forms an X */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 20px;
    background-color: #fafafa;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
    border-top: 1px solid #f0f0f0;
}

.faq-answer p {
    font-size: 0.95rem;
    color: #555;
    margin-top: 16px;
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 0.8rem;
    color: #888;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background-color: var(--white);
    color: var(--dark-text);
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid var(--alert-green);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast strong {
    color: var(--costco-blue);
    font-weight: 800;
}

.toast-time {
    color: #999;
    font-size: 0.85rem;
    margin-left: auto;
    font-weight: 600;
}