:root {
    /* Colors */
    --primary: #6366F1;
    --primary-hover: #4F46E5;
    --primary-light: rgba(99, 102, 241, 0.1);
    
    --success: #10B981;
    --success-light: #D1FAE5;
    --error: #EF4444;
    --error-light: #FEE2E2;
    
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-700: #334155;
    --slate-800: #1E293B;
    --slate-900: #0F172A;
    
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.8);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: radial-gradient(circle at top right, #EEF2FF, #F8FAFC);
    background-color: var(--slate-50);
    color: var(--slate-800);
    min-height: 100vh;
    line-height: 1.5;
}

/* ===== Main Container ===== */
.main-container {
    max-width: 1200px;
    margin: 5px auto;
    padding: 15px 20px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 10;
}

/* Background Decorations */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.blob-1 { top: -100px; right: -100px; opacity: 0.5; }
.blob-2 { bottom: -100px; left: -100px; opacity: 0.3; }

/* ===== Hero Grid ===== */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
    margin-bottom: 20px;
}

/* ===== Stat Cards ===== */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-item {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    padding: 16px;
    border-radius: 12px;
    text-align: left;
}

.stat-item i {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.stat-item .val {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--slate-900);
}

.stat-item .lbl {
    font-size: 12px;
    color: var(--slate-500);
    font-weight: 600;
}

/* ===== Header ===== */
.site-header {
    text-align: center;
    margin-bottom: 12px;
}

.site-header h1 {
    font-size: 34px;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.025em;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--slate-900), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--success-light);
    color: #065F46;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 24px;
}

/* ===== Auth Buttons ===== */
.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn-login, .btn-create {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-login {
    background-color: var(--white);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
}

.btn-login:hover {
    background-color: var(--slate-50);
    border-color: var(--slate-300);
    transform: translateY(-1px);
}

.btn-create {
    background-color: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.btn-create:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

/* ===== Dashboard Sections ===== */
.dashed-section, .federal-section {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.dashed-section:hover, .federal-section:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.dashed-section h2, .federal-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 16px;
}

/* ===== Upload Area ===== */
.upload-area {
    background: var(--slate-50);
    border: 2px dashed var(--slate-200);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-area:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.upload-area .or-text {
    color: var(--slate-400);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin: 12px 0;
}

.btn-select-file {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-check-number {
    background-color: var(--success);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.btn-check-number:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* ===== Single Phone Check ===== */
.phone-check-row {
    display: flex;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.phone-check-row input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s;
    background: var(--slate-50);
}

.phone-check-row input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* ===== FAQ Section ===== */
.faq-section {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
}

.faq-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 24px;
}

.faq-item {
    margin-bottom: 24px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 4px;
}

.faq-item p {
    font-size: 14px;
    color: var(--slate-600);
}

/* ===== Sponsored Banner ===== */
.sponsored-banner {
    display: block;
    padding: 16px;
    background: linear-gradient(135deg, #FF4B8B, #F83871);
    color: var(--white);
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
}

.sponsored-banner:hover {
    transform: rotate(-0.5deg) scale(1.01);
}

/* ===== Footer ===== */
.site-footer {
    padding: 80px 0;
    background: var(--slate-900);
    border-top: 1px solid var(--slate-800);
    margin-top: 80px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--primary);
}

/* ===== Animations ===== */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive Grid ===== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .main-container {
        margin: 20px;
        padding: 24px;
        border-radius: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .site-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Full-width Check Responsive */
    div[style*="justify-content: space-between"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
        text-align: center;
    }
    div[style*="justify-content: space-between"] > div {
        justify-content: center;
    }
}
