/* ----- RESET & VARIABLES ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #059669;        /* emerald green */
    --primary-hover: #047857;
    --accent-gold: #f59e0b;
    --bg-light: #f8fafc;
    --card-white: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --radius: 20px;
    --font-family: 'Inter', sans-serif;
}

body {
    font-family: var(--font-family);
    background: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
    padding-top: 0;
}

a {
    text-decoration: none;
    color: var(--primary);
}

/* ----- HEADER / NAV ----- */
.site-header {
    background: var(--card-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-icon {
    color: var(--accent-gold);
    font-size: 1.8rem;
}

.logo-text .highlight {
    color: var(--primary);
}

.logo-domain {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}
.nav-cta:hover {
    background: var(--primary-hover) !important;
    color: #fff !important;
}

.mobile-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* ----- HERO SECTION ----- */
.hero-section {
    padding: 3rem 0 2rem 0;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight-gold {
    background: linear-gradient(135deg, #f7971e, #ffd200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-pulse {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 90%;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.benefits-grid i {
    margin-right: 8px;
    color: var(--primary);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-light);
}

.trust-badges span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.trust-badges i {
    color: var(--primary);
    margin-right: 4px;
}

/* ----- SWEEPSTAKES CARD (bright white) ----- */
.sweepstakes-card {
    background: var(--card-white);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    transition: all 0.2s;
}

.sweepstakes-header .card-prize {
    font-weight: 900;
    font-size: 2.2rem;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
}

.sweepstakes-header .card-subhead {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1rem;
}

/* ----- FORM STYLES (bright) ----- */
.form-label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control,
.form-select {
    background: #f1f5f9;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-control:focus,
.form-select:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
    color: var(--text-dark);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}

.form-select option {
    background: #fff;
    color: var(--text-dark);
}

/* Terms Checkbox */
.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0;
}

.terms-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
}

.terms-check label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.terms-check label a {
    color: var(--primary);
    text-decoration: underline;
}

/* Pro Tip */
.pro-tip {
    font-size: 0.85rem;
    background: #fefce8;
    border-left: 4px solid var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: #92400e;
    margin-bottom: 1rem;
}

/* ----- BUTTONS ----- */
.btn-sweepstakes {
    background: linear-gradient(135deg, #059669, #047857);
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    width: 100%;
    transition: all 0.25s;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-sweepstakes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
    color: #fff;
}

.btn-sweepstakes:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ----- STEP INDICATOR ----- */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s;
}

.step-dot.active {
    background: var(--primary);
    box-shadow: 0 0 12px rgba(5, 150, 105, 0.4);
    transform: scale(1.2);
}

.step-dot.done {
    background: #22c55e;
}

/* ----- FORM STEPS (show/hide) ----- */
.form-step {
    display: none;
    animation: fadeSlide 0.35s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeSlide {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ----- SUCCESS ----- */
.success-message {
    text-align: center;
    padding: 1.5rem 0.5rem;
}

.success-message i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.success-message h3 {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-dark);
}

.success-message p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ----- FEATURES SECTION ----- */
.features-section {
    padding: 4rem 0;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
}

.section-tag {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.2rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--text-dark);
}

.feature-card {
    background: var(--bg-light);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.25s;
    height: 100%;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: #ffffff;
    border-color: var(--border-light);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.feature-card h5 {
    font-weight: 700;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ----- FOOTER ----- */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 2rem 0;
    border-top: 1px solid #1e293b;
}

.footer-link {
    color: #94a3b8;
    margin: 0 0.5rem;
    transition: color 0.2s;
}
.footer-link:hover {
    color: #ffffff;
}

.logo-footer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}
.logo-footer .highlight {
    color: #34d399;
}
.logo-footer .logo-domain {
    color: #64748b;
}

/* ----- RESPONSIVE TWEAKS ----- */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-desc {
        max-width: 100%;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .sweepstakes-card {
        padding: 1.5rem 1rem;
    }
    .hero-text h1 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .logo a {
        font-size: 1.3rem;
    }
    .logo-domain {
        font-size: 0.8rem;
    }
    .step-indicator {
        margin-bottom: 0.8rem;
    }
}

/* ----- MISC ----- */
.small-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
}

.dob-group .col {
    padding: 0 4px;
}
.dob-group .col:first-child { padding-left: 0; }
.dob-group .col:last-child { padding-right: 0; }

.spinner-border-sm {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 0.2em;
}