/* --- Variables & Reset --- */
:root {
    --primary: #6366f1; /* Modern Indigo/Purple */
    --secondary: #4f46e5;
    --accent: #f59e0b; /* Amber for urgency */
    --dark: #111827;
    --gray: #f3f4f6;
    --white: #ffffff;
    --font: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background-color: #f9fafb;
    color: var(--dark);
    line-height: 1.6;
}

a { text-decoration: none; }

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.highlight { color: var(--primary); }

.status-badge {
    background: #dcfce7;
    color: #166534;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
    padding: 80px 0 60px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-main {
    background: var(--white);
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: inline-block;
    transition: transform 0.2s;
}

.btn-main:hover {
    transform: scale(1.05);
}

/* --- Steps Section --- */
.steps { margin-bottom: 50px; }

.step-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    text-align: center;
}

.step-item {
    flex: 1;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--gray);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
}

/* --- Offers Grid (CPA Logic) --- */
.offers-section { padding-bottom: 60px; }

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.live-dot {
    color: #ef4444;
    font-size: 0.8rem;
    vertical-align: middle;
    animation: blink 2s infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.offer-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid #e5e7eb;
    transition: 0.3s;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

.card-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

.offer-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.offer-card p {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 15px;
}

.progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: var(--primary);
}

.left-count {
    display: block;
    font-size: 0.75rem;
    color: #ef4444;
    margin-bottom: 15px;
    font-weight: 600;
}

.btn-claim {
    width: 100%;
    padding: 10px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-claim:hover {
    background: var(--primary);
}

/* --- Footer --- */
footer {
    background: var(--white);
    padding: 40px 0;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
}

.footer-links a {
    color: var(--dark);
    margin: 0 10px;
    font-weight: 600;
}

.disclaimer {
    margin: 20px auto;
    max-width: 800px;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* --- Mobile Responsive --- */
@media (max-width: 600px) {
    .step-grid { flex-direction: column; }
    .hero h1 { font-size: 1.8rem; }
    .hero { border-radius: 0; padding: 60px 0 40px; }
}
