/* ==================== LANDING PAGE ==================== */
.landing-page {
    background: white;
}

.landing-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    z-index: 1000;
}

.landing-navbar .navbar-brand img {
    height: 40px;
}

.landing-navbar .nav-link {
    color: #374151 !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem !important;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.landing-navbar .nav-link:hover {
    color: #9393c9 !important;
    background: #f4f4fa;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, white 0%, #f4f4fa 100%);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #111827 0%, #6969a3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.btn-xl {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 16px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image {
    background: white;
    padding: 0.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Blobs */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: #aeaed8;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
    border-radius: 50%;
}

.blob-1 {
    top: -100px;
    right: -100px;
}

.blob-2 {
    bottom: -100px;
    left: -100px;
    background: #c084fc;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: white;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 24px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    transition: all 0.2s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #aeaed8;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #9393c9;
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(147, 147, 201, 0.35);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-text {
    color: #6b7280;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: #9393c9;
    border-radius: 24px;
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: -60px;
    box-shadow: 0 4px 14px rgba(147, 147, 201, 0.35);
}

.cta-section h2,
.cta-section p {
    color: white !important;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Footer (Landing Specific) */
.footer {
    background: #111827 !important;
    padding: 120px 0 40px;
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer h5 {
    color: white !important;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer a:hover {
    color: white !important;
}

.footer-logo {
    height: 32px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-image-wrapper {
        margin-top: 3rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* ==================== HERO SLIDER ==================== */
.hero-slider-section {
    margin-top: 72px;
    /* navbar height */
}

.hero-slide {
    height: 90vh;
    min-height: 560px;
    max-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Slide backgrounds */
.slide-1 {
    background: linear-gradient(135deg, #2d2b5a 0%, #6969a3 60%, #9393c9 100%);
}

.slide-2 {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #059669 100%);
}

.slide-3 {
    background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #d97706 100%);
}

.slide-4 {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

/* Blob decorations per slide */
.slide-blob {
    position: absolute;
    width: 450px;
    height: 450px;
    filter: blur(90px);
    opacity: 0.2;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.slide-1 .slide-blob-1 {
    background: #9393c9;
    top: -80px;
    right: -80px;
}

.slide-1 .slide-blob-2 {
    background: #c084fc;
    bottom: -80px;
    left: -80px;
}

.slide-2 .slide-blob-1 {
    background: #34d399;
    top: -80px;
    right: -80px;
}

.slide-2 .slide-blob-2 {
    background: #6ee7b7;
    bottom: -80px;
    left: -80px;
}

.slide-3 .slide-blob-1 {
    background: #fbbf24;
    top: -80px;
    right: -80px;
}

.slide-3 .slide-blob-2 {
    background: #f59e0b;
    bottom: -80px;
    left: -80px;
}

.slide-4 .slide-blob-1 {
    background: #475569;
    top: -80px;
    right: -80px;
}

.slide-4 .slide-blob-2 {
    background: #94a3b8;
    bottom: -80px;
    left: -80px;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

/* Slide badges — white/semi-transparent on dark backgrounds */
.slide-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
    backdrop-filter: blur(6px);
}

.slide-badge-green,
.slide-badge-orange,
.slide-badge-dark {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Title color variants — all slides use white text on dark backgrounds */
.slide-1 .hero-title,
.slide-title-green,
.slide-title-orange,
.slide-title-dark {
    background: none !important;
    -webkit-text-fill-color: white !important;
    color: white !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* Check badges below subtitle */
.slide-badges-row {
    flex-wrap: wrap;
    gap: 0.75rem !important;
}

/* Subtitle white on dark slides */
.slide-1 .hero-subtitle,
.slide-2 .hero-subtitle,
.slide-3 .hero-subtitle,
.slide-4 .hero-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
}

.slide-check-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6969a3;
}

.slide-check-badge i {
    font-size: 1rem;
}

/* All check badges white on dark slides */
.slide-check-badge,
.slide-check-green,
.slide-check-orange,
.slide-check-dark {
    color: rgba(255, 255, 255, 0.85);
}

/* Large icon display on the right */
.slide-icon-display {
    width: 260px;
    height: 260px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    animation: floatIcon 4s ease-in-out infinite;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.slide-icon-main {
    background: linear-gradient(135deg, #9393c9, #6969a3);
    color: white;
}

.slide-icon-green {
    background: linear-gradient(135deg, #34d399, #059669);
    color: white;
}

.slide-icon-orange {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.slide-icon-dark {
    background: linear-gradient(135deg, #475569, #1e293b);
    color: white;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0px) rotate(-2deg);
    }

    50% {
        transform: translateY(-16px) rotate(2deg);
    }
}

/* Carousel controls */
.hero-carousel-btn {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    font-size: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.hero-carousel-btn:hover {
    background: #9393c9;
    color: white;
    box-shadow: 0 6px 20px rgba(147, 147, 201, 0.4);
}

.carousel-control-prev {
    left: 1.5rem;
}

.carousel-control-next {
    right: 1.5rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
    opacity: 1;
}

/* Custom indicators */
.hero-slider-section .carousel-indicators {
    bottom: 1.5rem;
    gap: 0.35rem;
}

.hero-slider-section .carousel-indicators button {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.18);
    border: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-slider-section .carousel-indicators button.active {
    width: 48px;
    background: #9393c9;
}

/* Slide-in animations for active item */
.carousel-item.active .slide-up {
    animation: slideUpFade 0.7s ease forwards;
}

.carousel-item.active .slide-up-delay {
    animation: slideUpFade 0.7s 0.15s ease both;
}

.carousel-item.active .slide-up-delay2 {
    animation: slideUpFade 0.7s 0.3s ease both;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-slide {
        height: auto;
        min-height: auto;
        padding: 100px 0 80px;
        text-align: center;
    }

    .slide-badges-row {
        justify-content: center;
    }

    .hero-slider-section .carousel-indicators {
        bottom: 1rem;
    }

    .carousel-control-prev {
        left: 0.5rem;
    }

    .carousel-control-next {
        right: 0.5rem;
    }
}