/* Modern Color Scheme */
:root {
    --primary: #4a6cf7;
    --primary-dark: #3a56d4;
    --primary-light: #eef2ff;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #F0F8FF;
    --gray: #64748b;
    --border: #e2e8f0;
}

/* Typography */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Cards */
.card {
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.category-card, .feature-card {
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover, .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Stats Bar */
.stats-bar {
    background-color: var(--dark);
    color: white;
    padding: 1rem 0;
}

.stats-bar p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Marquee */
.marquee-container {
    background-color: var(--primary-dark);
    color: white;
    padding: 0.75rem 0;
    overflow: hidden;
    font-size: 1.1rem;
    font-weight: 500;
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-scroll 25s linear infinite;
}

/* override default plugin styles */
.slider div {
    background-color: transparent !important;
}

.brand-logo {
    border: 2px #eee inset;
    border-radius: 6px;
    transform: scale(0.7, 0.9);
}

.custom-carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
}

.custom-carousel-track {
    display: flex;
    gap: 2rem;
    animation: scrollCarousel 30s linear infinite;
    width: max-content;
}

.custom-carousel-logo {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    text-align: center;
}

.custom-carousel-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid #eee;
    background-color: white;
    transition: transform 0.3s;
}

.custom-carousel-logo:hover img {
    transform: scale(1.05);
}

.rank-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    padding: 4px 6px;
    border-radius: 10px;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }

    /* Tune this based on number of logos */
}

#reviews {
    background: linear-gradient(to right, #87CEFA, #7B68EE);
    color: #191970;
    padding: 1.2em;
    width: 100%;
}

#feedback-carousel-autoplay {
    min-height: 200px;
    max-height: 500px;
    overflow: hidden;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Sections */
section {
    padding: 4rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .stats-bar .col-md-4 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        text-align: center;
    }

    .hero-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.cta-button {
    background: linear-gradient(to right, var(--oktoberfest-gold), var(--oktoberfest-red));
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: #fff;
    width: fit-content;
    margin: 0 auto;
}

.cta-button:hover {
    border: 1px #191970 inset;
    box-shadow: 4px 4px 8px #eee !important;
    transform: scale(1.10, 1.10);
    cursor: pointer;
}

/* sticky CTA for mobile */
.sticky-install {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1100;
    display: flex;
    gap: .5rem;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}
.sticky-install .btn {
    width: 100%;
    max-width: 540px;
    border-radius: 12px;
    padding: .8rem 1rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(20,20,60,0.12);
}

.dismiss-small {
    background: rgba(0,0,0,0.06);
    border-radius: 10px;
    padding: .6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}