/* =========================================
   SITE.CSS - ResultManager (Improved v3)
   ========================================= */

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
}

/* ==================== HERO PRODUCT LOGO ==================== */
.hero-product-logo {
    height: 68px;
    width: auto;
    max-width: 280px;
}

@media (max-width: 768px) {
    .hero-product-logo {
        height: 58px;
    }
}

/* ==================== HERO ACTIONS ==================== */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .hero-actions .btn {
        min-width: 180px; /* Prevents buttons from becoming too narrow */
        text-align: center;
        white-space: nowrap;
    }

/* Better mobile spacing */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

        .hero-actions .btn {
            width: 100%;
            max-width: 320px;
        }
}

/* ==================== GLOBAL SPACING FIX ==================== */
.section {
    padding: 120px 0; /* Increased top/bottom padding */
}

.section-light {
    background: var(--light-bg);
}

/* Much stronger gutter and margin to prevent hover overlap */
.row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 3.5rem !important; /* Increased vertical gap */
}

.info-card,
.feature-card,
.step-card,
.pricing-card {
    margin-bottom: 30px !important; /* Extra safety margin */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    /* Reduced hover lift slightly + stronger shadow */
    .info-card:hover,
    .feature-card:hover,
    .step-card:hover,
    .pricing-card:hover {
        transform: translateY(-12px); /* Slightly less aggressive lift */
        box-shadow: 0 30px 70px rgba(15, 23, 42, 0.13) !important;
    }

/* ==================== OUTPUTS CARDS ==================== */
.output-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

    .output-card:hover {
        transform: translateY(-12px);
        border-color: var(--primary);
        box-shadow: 0 25px 60px rgba(37, 99, 235, 0.12);
    }

.output-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    display: block;
    line-height: 1;
}

.output-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* ==================== HOW IT WORKS ==================== */
.step-card {
    text-align: center;
    padding: 40px 24px;
}

    .step-card span {
        display: inline-flex;
        width: 70px;
        height: 70px;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #2563eb, #1e3a8a);
        color: white;
        font-size: 1.7rem;
        font-weight: 700;
        border-radius: 50%;
        margin-bottom: 26px;
        box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
        border: 5px solid rgba(255,255,255,0.25);
    }

    .step-card:hover span {
        transform: scale(1.1);
    }

/* ==================== PRICING ==================== */
.pricing-card {
    position: relative;
    padding: 42px 35px;
    height: 100%;
    margin-bottom: 30px !important;
}

    .pricing-card.recommended {
        border: 2px solid var(--primary);
        transform: scale(1.03);
    }

        .pricing-card.recommended::before {
            content: "RECOMMENDED";
            position: absolute;
            top: -14px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary);
            color: white;
            font-size: 13px;
            font-weight: 700;
            padding: 6px 26px;
            border-radius: 50px;
            box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
        }

/* Other styles remain the same... */
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

@media (max-width: 992px) {
    .pricing-card.recommended {
        transform: none;
    }

    .section {
        padding: 90px 0;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background: #102033;
    color: #ffffff;
    padding: 18px 0 8px;
    margin-top: auto;
}

    .footer h6 {
        font-weight: 700;
        margin-bottom: 6px;
        font-size: 15px;
    }

    .footer p {
        margin-bottom: 3px;
        color: #d7dee9;
        font-size: 13px;
        line-height: 1.35;
    }

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .footer-links li {
        margin-bottom: 2px;
        line-height: 1.2;
    }

    .footer-links a {
        color: #d7dee9;
        text-decoration: none;
        font-size: 13px;
    }

        .footer-links a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    padding-top: 6px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ==================== FOOTER LOGO ==================== */
.footer-logo {
    height: 55px;
    width: auto;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

    .footer-logo:hover {
        transform: scale(1.05);
        filter: brightness(1.2);
    }

@media (max-width: 768px) {
    .footer-logo {
        height: 48px;
    }
}

/* ==================== DEMO SECTION LOGO ==================== */
.demo-logo {
    height: 85px;
    width: auto;
    opacity: 0.95;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .demo-logo {
        height: 70px;
    }
}

/* ==================== NAVBAR LOGO & TEXT ==================== */
.navbar-brand {
    font-weight: 400 !important; /* Normal font weight */
}

.navbar-brand-text {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-left: 8px;
}

.navbar-logo {
    height: 42px;
    width: auto;
    transition: all 0.3s ease;
}

    .navbar-logo:hover {
        transform: scale(1.05);
    }

@media (max-width: 768px) {
    .navbar-logo {
        height: 36px;
    }

    .navbar-brand-text {
        font-size: 21px;
    }
}
/* ==================== MOBILE NAVBAR ==================== */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: left !important;
    }

        .navbar-nav .nav-item {
            text-align: left;
        }

        /* Optional: Add some padding for better mobile feel */
        .navbar-nav .nav-link {
            padding: 12px 16px !important;
        }
}