/* saas-landing.css - Modern SaaS Theme */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --surface-glass: rgba(255, 255, 255, 0.7);
    --surface-glass-dark: rgba(17, 24, 39, 0.7);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: rgba(226, 232, 240, 0.8);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* Utilities */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--primary-gradient);
}

.bg-gradient-soft {
    background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 100%);
}

.glass-card {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Navbar Rewrite */
.navbar-saas {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.3s ease;
}

.navbar-saas.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.nav-link-saas {
    font-weight: 500;
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.nav-link-saas:hover {
    color: #6366f1 !important;
}

/* Hero Section */
.hero-saas {
    position: relative;
    padding-top: 11rem;
    /* Increased from 8rem to prevent header overlap */
    padding-bottom: 6rem;
    overflow: hidden;
}

.hero-saas::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

/* ... existing styles ... */

/* Features Grid (Bento) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    width: 100%;
    /* Ensure full width */
}

/* Add row gap explicitly for mobile stack */
.bento-item {
    grid-column: span 12;
    margin-bottom: 0;
    /* Let grid gap handle it, but redundant for safety */
}

@media (min-width: 768px) {
    .bento-item-4 {
        grid-column: span 4;
    }

    .bento-item-6 {
        grid-column: span 6;
    }

    .bento-item-8 {
        grid-column: span 8;
    }
}

/* Trust Logip Strip */
.trust-strip {
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.trust-strip:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Pricing Cards */
.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 1rem;
    right: -3rem;
    background: var(--accent-gradient);
    color: white;
    padding: 0.25rem 3rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

/* Custom Footer */
.footer-saas {
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 5rem;
    padding-bottom: 3rem;
    position: relative;
    font-size: 0.95rem;
    color: #94a3b8;
}

.footer-heading {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.825rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: #38bdf8;
    text-decoration: none;
    margin-bottom: 0.75rem;
    display: block;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: #0ea5e9;
    padding-left: 4px;
    /* Subtle shift */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.footer-links-multi-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.4);
}

/* Partner/Trusted By Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    /* 6 per row as requested option */
}

/* Mobile Slider Behavior */
@media (max-width: 767px) {
    .partners-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        /* Space for scrollbar if visible */
        gap: 2rem;
        justify-items: unset;
    }

    .partners-grid::-webkit-scrollbar {
        height: 4px;
    }

    .partners-grid::-webkit-scrollbar-thumb {
        background: #e2e8f0;
        border-radius: 4px;
    }

    .partner-item {
        scroll-snap-align: center;
        flex: 0 0 140px;
        /* Fixed width for slider items */
    }
}

.partner-item {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.partner-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.partner-logo-placeholder {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.partner-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-saas {
        padding-top: 6rem;
        text-align: center;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Team Cards */
.team-item {
    position: relative;
    padding: 2px;
    /* For gradient border */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-item:hover {
    transform: translateY(-5px);
    background: var(--primary-gradient);
}

.team-card-inner {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: calc(var(--radius-lg) - 2px);
    /* fit inside padding */
    padding: 2rem;
    height: 100%;
}

.team-img-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 1rem;
}

.faq-accordion .accordion-button {
    background: white;
    border-radius: 1rem !important;
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid transparent;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: white;
    color: #6366f1;
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.2);
}

.faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.faq-accordion .accordion-body {
    padding: 1.25rem;
    color: var(--text-secondary);
    background: white;
    margin-top: 0.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

/* Section Headings */
.section-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Review Cards */
.review-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* Benefit List */
.benefit-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-weight: 500;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    margin-right: 0.75rem;
    font-size: 0.75rem;
}

/* Trust Badges */
.trust-badge-container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.trust-badge-icon {
    color: #6366f1;
}