﻿/* site.css - Custom styles for WaiBot (Enhanced) */

/* --- Base & Typography --- */

:root {
    --bs-dark: #10151a;
    --bs-body-bg: #10151a;
    /* Define custom color properties if needed, or rely on Bootstrap overrides */
    /* Example: --waibot-primary: #6366f1; */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Use Bootstrap's dark background */
    background-color: var(--bs-dark);
    color: var(--bs-body-secondary); /* Default text color */
}

/* Ensure html/body take full height */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto; /* Push footer down */
}

/* --- Headings & Links --- */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--bs-body-emphasis); /* Higher contrast for headings */
}

a {
    color: var(--bs-primary); /* Use Bootstrap primary for links */
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

    a:hover {
        color: var(--bs-primary-text-emphasis);
        text-decoration: underline;
    }

    a.navbar-brand {
        white-space: normal;
        text-align: center;
        word-break: break-all;
        text-decoration:none;
    }


/* --- Buttons --- */
.btn {
    font-weight: 500;
    border-radius: 0.375rem; /* Standard Bootstrap radius */
    padding: 0.6rem 1.2rem; /* Slightly larger padding */
    transition: all 0.2s ease-in-out;
}

.btn-lg {
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
}

.btn-primary {
    /* Use Bootstrap's default primary or override */
    /* background-color: var(--waibot-primary); */
    /* border-color: var(--waibot-primary); */
}

    .btn-primary:hover {
        filter: brightness(1.1); /* Slightly brighten on hover */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.25);
    }

.btn-outline-secondary {
    border-color: var(--bs-secondary);
    color: var(--bs-secondary);
}

    .btn-outline-secondary:hover {
        background-color: var(--bs-secondary);
        color: var(--bs-light); /* Ensure text is readable */
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(var(--bs-secondary-rgb), 0.15);
    }

.btn-link {
    font-weight: 500;
    color: var(--bs-primary);
}

    .btn-link:hover {
        color: var(--bs-primary-text-emphasis);
    }


/* --- Navigation Bar --- */
.main-nav.navbar {
    background-color: rgba(var(--bs-dark-rgb), 0.85) !important; /* Slightly transparent dark */
    backdrop-filter: blur(10px); /* Blur effect for modern feel */
    border-bottom: 1px solid var(--bs-border-color-translucent);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-brand span {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.05em;
}

.navbar .nav-link {
    color: var(--bs-body-secondary);
    font-weight: 500;
    padding-left: 1rem;
    padding-right: 1rem;
}

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color: var(--bs-body-emphasis);
    }

.navbar .dropdown-menu {
    /* Ensure dropdown matches dark theme */
    --bs-dropdown-link-active-bg: var(--bs-primary);
}


/* --- Hero Section --- */
.hero-section {
    /* Optional gradient background */
    /* background: linear-gradient(180deg, var(--bs-dark) 0%, #1a1d20 100%); */
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero-visual {
    min-height: 350px; /* Ensure visual has height */
    /* Add subtle gradient or pattern if desired */
    background-image: linear-gradient(145deg, rgba(var(--bs-primary-rgb), 0.05), rgba(var(--bs-dark-rgb), 0) 50%);
    border: 1px solid var(--bs-border-color-translucent);
}

/* --- Trusted By Section --- */
.trusted-by-section {
    border-top: 1px solid var(--bs-border-color-translucent);
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

    .trusted-by-section i {
        opacity: 0.6;
        transition: opacity 0.2s ease-in-out;
    }

        .trusted-by-section i:hover {
            opacity: 0.9;
        }

/* --- Feature Sections --- */
.feature-section {
    margin-bottom: 4rem; /* Space between feature sections */
}

.feature-visual {
    min-height: 300px; /* Ensure visual has height */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Slightly different background for contrast */
    background-color: var(--bs-gray-900);
    border: 1px solid var(--bs-border-color-translucent);
    /* Optional: Add subtle pattern or gradient */
    background-image: radial-gradient(circle at top left, rgba(var(--bs-primary-rgb), 0.08), transparent 40%);
}

.feature-section .lead {
    font-size: 1.1rem; /* Slightly smaller lead */
    font-weight: 400;
}

.feature-section .list-unstyled i {
    vertical-align: middle;
}

/* --- Integrations Section --- */
.integrations-section {
    background-color: var(--bs-gray-900); /* Distinct background */
    border: 1px solid var(--bs-border-color-translucent);
}

    .integrations-section i {
        opacity: 0.7;
        transition: opacity 0.2s ease-in-out, color 0.2s ease-in-out;
    }

        .integrations-section i:hover {
            opacity: 1;
            color: var(--bs-primary) !important; /* Use !important carefully */
        }

/* --- Pricing Section --- */
#pricing .card {
    background-color: var(--bs-gray-900); /* Card background */
    border: 1px solid var(--bs-border-color-translucent);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    #pricing .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

#pricing .card-header {
    background-color: transparent; /* Cleaner look */
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

#pricing .border-primary {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 15px rgba(var(--bs-primary-rgb), 0.2); /* Subtle glow for highlighted plan */
}

#pricing .text-bg-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

#pricing .card-body ul li {
    margin-bottom: 0.5rem;
}

#pricing .card-body ul i {
    color: var(--bs-success); /* Checkmark color */
    margin-right: 0.5rem;
}

/* --- Final CTA Section --- */
.final-cta {
    border-top: 1px solid var(--bs-border-color-translucent);
    padding-top: 4rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--bs-gray-900); /* Slightly different footer bg */
    font-size: 0.9rem;
}

    .footer h5 {
        font-size: 1rem;
        font-weight: 500;
        color: var(--bs-body-emphasis);
        margin-bottom: 1rem;
    }

    .footer a.link-secondary {
        color: var(--bs-body-secondary); /* Ensure default footer link color */
    }

        .footer a.link-secondary:hover {
            color: var(--bs-primary);
            text-decoration: underline !important;
        }

    .footer .bi { /* Footer icons */
        transition: color 0.2s ease-in-out;
    }

    .footer a:hover .bi {
        color: var(--bs-primary);
    }

/* --- Responsive Adjustments --- */

@media (max-width: 991.98px) {
    .hero-visual {
        margin-top: 3rem; /* Space between text and visual on medium screens */
        min-height: 250px; /* Adjust height */
    }

    .feature-section {
        text-align: center; /* Center text on smaller screens */
    }

        /* Stack visual below text by default */
/*        .feature-section .row {
            flex-direction: column-reverse;   
        }
*/
            /* Ensure consistent stacking */
            /*.feature-section .row.flex-row-reverse {
                flex-direction: column-reverse; 
            }
*/
    .feature-visual {
        margin-bottom: 2rem; /* Space below visual when stacked */
        min-height: 200px;
    }

    .navbar-nav {
        align-items: center; /* Center nav items in collapsed menu */
        padding-top: 1rem;
    }

    .navbar .d-flex {
        justify-content: center; /* Center login/signup buttons */
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1, .display-4 {
        font-size: 2.5rem; /* Smaller heading on mobile */
    }

    .trusted-by-section .fs-2 {
        font-size: 1.5rem !important; /* Smaller logos */
    }

    .integrations-section .fs-2 {
        font-size: 1.5rem !important; /* Smaller logos */
    }

    .footer {
        text-align: center;
    }

        .footer .row > div {
            margin-bottom: 2rem;
        }

        .footer .d-inline-flex {
            justify-content: center; /* Center footer brand */
        }

        .footer div[class*="col-lg-2"] { /* Target footer link columns */
            text-align: center;
        }
}


/*svg logo*/
.logo {
    height: 35px;
    display: inline;
}

.logo-text {
    /*height: 24px;*/
    width: 110px;
    display: inline;
}
