/* Modern Landing Page Styling */

/* Discover Section Styling */
.discover-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Unified Badge Style with Side Lines */
.section-title .badge,
.discover-section .section-title .badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: transparent !important;
    color: var(--primary-color) !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 20px !important;
    width: auto !important;
    border-radius: 0 !important;
}

.section-title .badge::before,
.section-title .badge::after,
.discover-section .section-title .badge::before,
.discover-section .section-title .badge::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 1;
    margin: 0 !important;
}

.discover-section .section-title h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.discover-section .section-title p {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.8;
}

.discover-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.discover-card .card-body {
    padding: 3rem 2rem !important;
    z-index: 2;
    position: relative;
}

.discover-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color), transparent 95%) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Hover effects restored as requested (like feature-card) */
.discover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
/* .discover-card:hover::after { ... } removed */

/* Icon styles restored and improved */
.discover-card .discover-icon-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color), transparent 92%) 0%, color-mix(in srgb, var(--primary-color), transparent 85%) 100%);
    border-radius: 20px; /* Rounded square */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
}

/* Hover icon styles removed */

.discover-card .discover-icon-box img {
    max-width: 50%;
    max-height: 50%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3)); /* Ensure icon is visible against light background */
}

/* Hover image white effect removed */

.discover-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    transition: color 0.3s ease;
    position: relative;
    z-index: 3;
}

/* Hover text color removed */

.discover-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 3;
}

/* Dark Mode Overrides */
.landing-dark .discover-section {
    background: #0f172a;
}

.landing-dark .discover-section .section-title h2 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-dark .discover-section .section-title p {
    color: #94a3b8;
}

.landing-dark .discover-card {
    background: #1e293b;
    border-color: #334155;
}

/* Dark mode hover removed */

.landing-dark .discover-card h4 {
    color: #f8fafc;
}

.landing-dark .discover-card p {
    color: #94a3b8;
}

/* Dark mode icon styles restored */
.landing-dark .discover-card .discover-icon-box {
    background: rgba(255, 255, 255, 0.05);
}

/* Dark mode icon hover removed */

.landing-dark .discover-card .discover-icon-box img {
    filter: brightness(0) invert(1);
}



:root {
    --primary-color: #0EA5E9;
    --secondary-color: #4CAF50;
    --text-color: #2d3748;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --footer-bg: #ffffff;
    --footer-text: #4a5568;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Navbar */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.btn-auth {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login {
    border: 1px solid var(--text-color);
    color: var(--text-color);
    background: transparent;
}

.btn-login:hover {
    background: var(--text-color);
    color: #fff;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border: none;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
    color: #fff;
}

@media (max-width: 991.98px) {
    #navbarTogglerDemo01.mobile-nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: 60vw !important;
        max-width: 60vw !important;
        min-width: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
        background: #fff;
        padding: 22px 20px !important;
        overflow-y: auto !important;
        z-index: 9999;
        transform: translateX(105%) !important;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        display: flex;
        flex-direction: column;
        border-radius: 0;
    }

    #navbarTogglerDemo01.mobile-nav.collapse {
        display: flex !important;
        height: 100vh !important;
        visibility: hidden;
        pointer-events: none;
    }

    #navbarTogglerDemo01.mobile-nav.collapsing {
        height: 100vh !important;
        overflow-y: auto !important;
    }

    #navbarTogglerDemo01.mobile-nav.show {
        transform: translateX(0) !important;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
    }

    #navbarTogglerDemo01.mobile-nav .navbar-nav {
        align-items: flex-start !important;
        width: 100%;
        gap: 6px;
        margin-left: 0 !important;
        flex: 1;
    }

    #navbarTogglerDemo01.mobile-nav .nav-link {
        margin: 0;
        padding: 12px 0;
        width: 100%;
        font-weight: 700;
        color: #0f172a;
        border-bottom: 1px solid #eef2f7;
    }

    #navbarTogglerDemo01.mobile-nav .nav-link.active {
        color: var(--primary-color);
    }

    #navbarTogglerDemo01.mobile-nav .nav-item {
        width: 100%;
    }

    #navbarTogglerDemo01.mobile-nav .btn-auth {
        width: 100%;
        justify-content: center;
    }

    #navbarTogglerDemo01.mobile-nav .btn-login {
        margin-top: 10px;
    }

    #navbarTogglerDemo01.show + .mobile-nav-overlay {
        display: block;
    }

    .mobile-nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.08);
        z-index: 9998;
    }

    .mobile-nav-top {
        position: relative;
        padding-right: 44px;
    }

    .mobile-nav-close {
        position: absolute;
        top: 0;
        right: 0;
        width: 36px;
        height: 36px;
        border: none;
        background: #fff;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        color: #0f172a;
        padding: 0;
    }

    #navbarTogglerDemo01.mobile-nav.show {
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    }


@media (min-width: 768px) and (max-width: 991.98px) {
    #navbarTogglerDemo01.mobile-nav {
        width: 60vw !important;
        max-width: 60vw !important;
        min-width: 0 !important;
    }
}

@media (max-width: 575.98px) {
    #navbarTogglerDemo01.mobile-nav {
        width: 60vw !important;
        max-width: 60vw !important;
        min-width: 0 !important;
    }
}

    .mobile-nav-brand {
        margin-bottom: 12px;
    }

    .mobile-nav-logo {
        height: 48px;
        width: auto;
        display: block;
    }

    .mobile-nav-desc {
        margin: 0 0 14px;
        color: #475569;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .mobile-nav-social {
        display: flex;
        gap: 12px;
        margin-bottom: 16px;
    }

    .mobile-social-link {
        width: 40px;
        height: 40px;
        border-radius: 9999px;
        background: transparent;
        border: 1px solid var(--primary-color);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        box-shadow: none;
        text-decoration: none;
        transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .mobile-social-link i {
        font-size: 18px;
        line-height: 1;
        color: currentColor;
    }

    .mobile-social-link:hover {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: #fff !important;
        transform: translateY(-1px);
        box-shadow: 0 14px 35px rgba(94, 96, 206, 0.18);
    }

    .mobile-social-link:hover i,
    .mobile-social-link:hover i::before {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }

    .mobile-nav-divider {
        height: 1px;
        background: #eef2f7;
        margin: 10px 0 12px;
        width: 100%;
    }
}

/* Hero Section */
.main-banner {
    padding-top: 160px;
    padding-bottom: 80px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.2rem; /* Reduced from 3.5rem */
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: #718096;
    margin-bottom: 2rem;
}

.hero-btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border: none;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(118, 75, 162, 0.3);
    color: #fff;
}

.preview-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Trusted By Marquee */
.trusted-section {
    overflow: hidden;
    padding: 60px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.trusted-title {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trusted-slider-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.trusted-slider {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.trusted-slider:hover {
    animation-play-state: paused;
}

.trusted-item {
    display: inline-block;
    margin: 0 40px;
    vertical-align: middle;
}

.trusted-item img {
    height: 40px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.trusted-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* Features Section */
.features-section {
    padding: 100px 0;
    background: #fff;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

/* Removed redundant badge styles to use unified style above */
/* .section-title .badge styles merged with unified block */
/* .section-title .badge::after styles merged with unified block */

.section-title h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section-title p {
    font-size: 1.1rem;
    color: #718096;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .section-title p {
        font-size: 1rem;
    }
    .pricing-card-modern {
        padding: 2rem;
    }
}

/* Footer Logo Fix */
.footer-logo img {
    max-width: 180px;
    height: auto;
    max-height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #edf2f7;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon img {
    width: 30px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Pricing Section Modern */
.pricing-section {
    padding: 100px 0;
    background: #f7fafc;
}

.pricing-card-modern {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.pricing-card-modern.popular {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 2px solid var(--primary-color);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.price-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: top;
    position: relative;
    top: 10px;
    margin-right: 5px;
}

.price-duration {
    color: #a0aec0;
    font-size: 0.95rem;
    font-weight: 500;
}

.price-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.price-features ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #4a5568;
    font-size: 1rem;
}

.check-icon {
    color: var(--primary-color);
    margin-right: 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Testimonial Modern */
.testimonial-modern {
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 20px auto;
    max-width: 800px;
}

.testimonial-modern::before {
    content: '"';
    font-family: serif;
    font-size: 150px;
    color: rgba(102, 126, 234, 0.1);
    position: absolute;
    top: -30px;
    left: 20px;
    line-height: 1;
}

.testimonial-quote {
    font-size: 1.35rem;
    color: #4a5568;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.testimonial-user {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.testimonial-user img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    object-fit: cover;
}

.testimonial-user h5 {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
}

.testimonial-user span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Testimonial Slider */
.testimonial-slider-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-card-wrapper {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .testimonial-card-wrapper {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .testimonial-card-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* FAQ Section */
.accordion-button {
    font-size: 1.25rem !important;
    padding: 1.5rem !important;
}

.accordion-body {
    font-size: 1.15rem !important;
    line-height: 1.8;
}

/* Footer Light */
.site-footer-light {
    background: #fff;
    color: #4a5568;
    border-top: 1px solid #e2e8f0;
    padding: 80px 0 30px;
}

.site-footer-light h4 {
    color: var(--text-color);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.site-footer-light ul li {
    margin-bottom: 12px;
}

.site-footer-light a {
    color: #718096;
    transition: all 0.3s ease;
    text-decoration: none;
}

.site-footer-light a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: transparent;
    border: 1px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-social-link i {
    font-size: 18px;
    line-height: 1;
    color: currentColor;
}

.footer-social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 35px rgba(94, 96, 206, 0.18);
    padding-left: 0 !important;
}

.footer-social-link:hover i,
.footer-social-link:hover i::before {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* Footer Logo Rule Removed (Handled in Global Fix) */

/* Newsletter Form Fix */
.newsletter-form-light .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
    align-items: stretch !important;
    position: relative;
}

.newsletter-form-light .input-group .form-control {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    flex: 1 1 auto;
    width: 1%;
    margin: 0 !important;
    height: 50px !important;
    min-height: 50px !important;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    box-shadow: none !important;
    font-size: 1rem;
}

.newsletter-form-light .input-group .btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    margin-left: -1px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: 50px !important;
    min-height: 50px !important;
    z-index: 2;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom-light {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.9rem;
    color: #a0aec0;
}

/* Dark Mode Override for Landing */
body.landing-dark {
    --bg-color: #1a202c;
    color: #e2e8f0;
}

body.landing-dark .main-header {
    background: rgba(26, 32, 44, 0.95);
}

body.landing-dark .main-banner,
body.landing-dark .features-section,
body.landing-dark .pricing-section,
body.landing-dark .site-footer-light,
body.landing-dark .testimonial-modern,
body.landing-dark .feature-card,
body.landing-dark .pricing-card-modern,
body.landing-dark .bg-white {
    background: #1a202c !important;
    border-color: #2d3748;
}

body.landing-dark .text-muted,
body.landing-dark .price-features ul li,
body.landing-dark .testimonial-quote,
body.landing-dark .site-footer-light a,
body.landing-dark .site-footer-light {
    color: #a0aec0 !important;
}

body.landing-dark .footer-social-link {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

body.landing-dark .footer-social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff !important;
    padding-left: 0 !important;
}

body.landing-dark .section-title h2,
body.landing-dark .price-value,
body.landing-dark .site-footer-light h4,
body.landing-dark .testimonial-user h5 {
    color: #f7fafc !important;
}

body.landing-dark .accordion-button {
    background: #2d3748 !important;
    color: #f7fafc !important;
}

body.landing-dark .accordion-button:not(.collapsed) {
    background: var(--primary-color) !important;
    color: #fff !important;
}

body.landing-dark .accordion-body {
    background: #2d3748 !important;
    color: #a0aec0 !important;
}

body.landing-dark .bg-light {
    background: #171923 !important;
}
