/* =========================================================
   LeadGenLite – Premium Professional CSS (Single File)
   ========================================================= */

/* =======================
   Design System Variables
   ======================= */
:root {
    /* Brand */
    --primary: #1e3a5f;
    --primary-hover: #162d4a;
    --primary-soft: #e8eef5;

    /* Accent (very limited use) */
    --accent: #2563eb;

    /* Backgrounds */
    --bg-main: #ffffff;
    --bg-soft: #f8fafc;
    --bg-section: #f1f5f9;

    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;

    /* States */
    --success: #15803d;
    --warning: #b45309;
    --danger: #b91c1c;

    /* Borders & Shadows */
    --border: #e5e7eb;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* =======================
   Global
   ======================= */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
}

/* =======================
   Typography Helpers
   ======================= */
.text-muted {
    color: var(--text-muted);
}

.text-secondary {
    color: var(--text-secondary);
}

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

/* =======================
   Backgrounds
   ======================= */
.gradient-bg {
    background: var(--bg-section);
}

/* =======================
   Buttons
   ======================= */
.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: #ffffff;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: var(--bg-soft);
}

/* =======================
   Cards
   ======================= */
.card-hover,
.pricing-card,
.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover,
.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.pricing-card {
    padding: 2rem;
}

.testimonial-card {
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

/* =======================
   Feature Icons
   ======================= */
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* =======================
   CTA Section
   ======================= */
.cta-section {
    background: var(--bg-section);
    border-radius: 28px;
    padding: 4rem 2rem;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease-out;
}

/* =======================
   Mobile Adjustments
   ======================= */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        color: var(--text-secondary);
    }
}

/* =======================
   Loading States
   ======================= */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 2px solid var(--border);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
