:root {
    --brand-primary: #2952e3;
    --brand-primary-dark: #1c3aa9;
    --brand-accent: #ff7a3d;
    --brand-dark: #0f172a;
    --brand-light: #f5f7ff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fff;
}

.top-bar {
    background: var(--brand-dark);
    color: #fff;
}

.text-primary-brand { color: var(--brand-primary) !important; }

.btn-primary-brand {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}
.btn-primary-brand:hover { background: var(--brand-primary-dark); border-color: var(--brand-primary-dark); color: #fff; }

.btn-outline-primary-brand {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}
.btn-outline-primary-brand:hover { background: var(--brand-primary); color: #fff; }

.btn-brand-accent {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #fff;
}
.btn-brand-accent:hover { background: #e8621f; border-color: #e8621f; color: #fff; }

/* ============ HERO / SLIDER ============ */
.hero-slide {
    min-height: 480px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,.82) 0%, rgba(15,23,42,.55) 55%, rgba(15,23,42,.25) 100%);
    pointer-events: none; /* purely decorative - must never intercept clicks on the button beneath it */
    z-index: 0;
}
.hero-slide .hero-inner {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 620px;
}
.hero-slide h1 { font-weight: 800; font-size: 2.6rem; line-height: 1.2; }
.hero-slide p { font-size: 1.1rem; color: #e2e8f0; }

.carousel-indicators button { background-color: #fff !important; }
.carousel-item:not(.active) { pointer-events: none; }

/* ============ SECTIONS ============ */
.section-title {
    font-weight: 800;
    font-size: 2rem;
    color: var(--brand-dark);
}
.section-subtitle {
    color: #64748b;
    max-width: 620px;
    margin: 0 auto;
}
.badge-soft {
    background: rgba(41,82,227,.1);
    color: var(--brand-primary);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .75rem;
    padding: .4rem .9rem;
    border-radius: 50px;
}

/* ============ SERVICE CARDS ============ */
.service-card {
    border: 1px solid #edf0f7;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all .25s ease;
    background: #fff;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(41,82,227,.12);
    border-color: transparent;
}
.service-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: var(--brand-light);
    color: var(--brand-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

/* ============ HOW IT WORKS ============ */
.step-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

/* ============ CTA ============ */
.cta-band {
    background: linear-gradient(120deg, var(--brand-primary), #4b6dff);
    border-radius: 20px;
    color: #fff;
}

/* ============ AUTH CARDS ============ */
.auth-card {
    max-width: 460px;
    margin: 3rem auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(15,23,42,.08);
    border: 1px solid #edf0f7;
}

/* ============ FOOTER ============ */
.footer-dark { background: var(--brand-dark); }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: #cbd5e1; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: #fff; }

.social-icon-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all .2s ease;
}
.social-icon-link:hover {
    background: var(--brand-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ============ FLOATING WHATSAPP BUTTON ============ */
.whatsapp-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 6px 20px rgba(37,211,102,.45);
    z-index: 1040;
    transition: transform .2s ease;
    animation: whatsapp-pulse 2.2s infinite;
}
.whatsapp-fab:hover {
    color: #fff;
    transform: scale(1.08);
}
@keyframes whatsapp-pulse {
    0%   { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
    70%  { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 576px) {
    .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 1.5rem; }
}

/* ============ UPLOAD ZONE (used in Dashboard) ============ */
.upload-zone {
    border: 2px dashed #c7cff5;
    border-radius: 14px;
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    background: var(--brand-light);
    transition: all .2s ease;
}
.upload-zone:hover { background: #eef1ff; border-color: var(--brand-primary); }
