/* LeadFlow — Design System */

/* Base */
html { scroll-behavior: smooth; }
body { font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11'; }

/* Hero — dark, clean, no flashy gradients */
.hero-bg {
    background: #0f172a;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(139, 92, 246, 0.08), transparent);
}

/* Subtle grid pattern overlay */
.grid-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0H0v60' fill='none' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1'/%3E%3C/svg%3E");
}

/* Card interactions */
.card-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Subtle border glow on hover */
.border-glow {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.border-glow:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.06);
}

/* Gradient text — used sparingly */
.text-gradient {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stat number — solid color, not gradient */
.stat-number {
    color: #4f46e5;
}

/* Fade-in on scroll */
.fade-up {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section divider */
.section-line::before {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #4f46e5;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}
.section-line-center::before {
    margin-left: auto;
    margin-right: auto;
}

/* Badge pill */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Input focus ring */
input:focus, select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Table row hover */
.table-row-hover:hover {
    background: #f8fafc;
}

/* Smooth link underline */
.link-underline {
    text-decoration: none;
    background-image: linear-gradient(#4f46e5, #4f46e5);
    background-size: 0% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
}
.link-underline:hover {
    background-size: 100% 1px;
}
