:root {
    --clr-primary: #111111;
    --clr-secondary: #3f3f46;
    --clr-white: #ffffff;
    --clr-black: #000000;
    --clr-dark: #111111;
    --clr-light: #525252;
    --clr-light-sm: #e5e5e5;
    --web-black: #111111;
    --web-ink: #1f1f1f;
    --web-muted: #666666;
    --web-line: #e5e5e5;
    --web-soft: #f5f5f5;
    --web-softer: #fafafa;
    --web-white: #ffffff;
}

body {
    color: var(--web-ink);
    background: var(--web-white);
}

a,
.nav-link,
.custom-clr-primary,
.text-primary {
    color: var(--web-black) !important;
}

a:hover,
.nav-link:hover,
.custom-clr-primary:hover {
    color: #4b4b4b !important;
}

p,
li,
.des,
.text-body-secondary,
.text-muted {
    color: var(--web-muted) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.modal-title {
    color: var(--web-black) !important;
}

.title-gradient {
    background: none !important;
    -webkit-text-fill-color: var(--web-black);
    color: var(--web-black) !important;
}

.custom-bg-primary,
.bg-primary,
.theme-btn,
.theme-btn:hover,
.custom-primary-btn,
.custom-primary-btn:hover,
.custom-outline-btn:hover,
.btn-primary,
.btn-primary:hover,
.btn-danger,
.btn-danger:hover,
.btn-outline-danger:hover,
.subscribe-plan,
.submit-btn,
.home-banner-section .custom-btn {
    background: var(--web-black) !important;
    border-color: var(--web-black) !important;
    color: var(--web-white) !important;
}

.custom-outline-btn,
.btn-outline-danger,
.btn-outline-primary {
    background: transparent !important;
    border-color: var(--web-black) !important;
    color: var(--web-black) !important;
}

.custom-outline-btn:hover,
.btn-outline-danger:hover,
.btn-outline-primary:hover {
    background: var(--web-black) !important;
    color: var(--web-white) !important;
}

.text-orange,
.text-danger,
.text-success,
.reset.text-primary,
.fa-check-circle,
.fa-times-circle {
    color: var(--web-black) !important;
}

.bg-danger,
.bg-success,
.badge.bg-danger,
.badge.bg-success,
.badge.bg-primary {
    background: var(--web-black) !important;
    color: var(--web-white) !important;
}

.home-banner-section {
    background-color: #f3f3f3;
}

.home-banner-section::before,
.home-banner-section::after {
    background: transparent !important;
}

.home-banner-section h1,
.home-banner-section h2,
.home-banner-section h3,
.home-banner-section p,
.home-banner-section span {
    color: var(--web-black) !important;
}

.navbar,
.web-header,
.header-section,
.common-header,
.offcanvas,
.mobile-menu {
    background: var(--web-white) !important;
    color: var(--web-black) !important;
}

.navbar .dropdown-menu,
.dropdown-menu,
.accordion,
.accordion-item,
.accordion-button {
    background: var(--web-white) !important;
    border-color: var(--web-line) !important;
    color: var(--web-black) !important;
}

.accordion-button:not(.collapsed),
.accordion-button:focus {
    background: var(--web-soft) !important;
    color: var(--web-black) !important;
    box-shadow: none !important;
}

.service-card,
.service-card[style],
.feature-card,
.price-card,
.pricing-card,
.single-blog,
.blog-card,
.testimonial-card,
.contact-info,
.contact-form,
.modal-content,
.card {
    background: var(--web-white) !important;
    border: 1px solid var(--web-line) !important;
    color: var(--web-black) !important;
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.07) !important;
}

.service-card p,
.feature-card p,
.price-card p,
.pricing-card p,
.single-blog p,
.blog-card p,
.testimonial-card p {
    color: var(--web-muted) !important;
}

.service-card img,
.feature-card img,
.compatible-logo img,
.footer img {
    filter: grayscale(1);
}

.pricing-plan-section,
.feature-section,
.service-section,
.interface-section,
.watch-demo-section,
.testimonial-section,
.blog-section,
.contact-section,
.about-section,
.policy-section,
.term-section {
    background: var(--web-white) !important;
}

.pricing-plan-section:nth-child(even),
.feature-section:nth-child(even),
.service-section:nth-child(even),
.interface-section:nth-child(even),
.watch-demo-section:nth-child(even),
.testimonial-section:nth-child(even),
.blog-section:nth-child(even) {
    background: var(--web-softer) !important;
}

.plan-list i,
.pricing-card i,
.price-card i {
    color: var(--web-black) !important;
}

.form-control,
.form-select,
textarea,
input {
    background: var(--web-white) !important;
    border-color: #d4d4d4 !important;
    color: var(--web-black) !important;
}

.form-control::placeholder,
textarea::placeholder,
input::placeholder {
    color: #8a8a8a !important;
}

.form-control:focus,
.form-select:focus,
textarea:focus,
input:focus {
    border-color: var(--web-black) !important;
    box-shadow: 0 0 0 0.2rem rgba(17, 17, 17, 0.12) !important;
}

.page-item .page-link {
    color: var(--web-black) !important;
    border-color: var(--web-line) !important;
    background: var(--web-white) !important;
}

.page-item.active .page-link,
.page-link:hover {
    color: var(--web-white) !important;
    border-color: var(--web-black) !important;
    background: var(--web-black) !important;
}

.slick-dots li button,
.swiper-pagination-bullet {
    background: #b5b5b5 !important;
}

.slick-dots li.slick-active button,
.swiper-pagination-bullet-active {
    background: var(--web-black) !important;
}

.footer,
footer {
    background-color: var(--web-black) !important;
    color: var(--web-white) !important;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6,
.footer p,
.footer li,
.footer a,
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer p,
footer li,
footer a {
    color: var(--web-white) !important;
}

.footer input,
footer input {
    background: #242424 !important;
    border-color: #3a3a3a !important;
    color: var(--web-white) !important;
}

.modal-header,
.modal-footer {
    border-color: var(--web-line) !important;
}

.btn-close {
    filter: grayscale(1);
}

/* Frontend contrast hardening: header and hero */
.header-section,
.header-section.home-header,
.header-section .navbar,
.home-header .navbar {
    background: var(--web-white) !important;
    color: var(--web-black) !important;
}

.header-section a,
.header-section.home-header a,
.header-section .nav-link,
.header-section.home-header .nav-link,
.header-section .nav-link.active,
.header-section .menu-dropdown > a,
.header-section .language-btn,
.header-section .lang-name,
.header-section .navbar-toggler,
.header-section .navbar-toggler i {
    color: var(--web-black) !important;
    -webkit-text-fill-color: var(--web-black) !important;
}

.header-section a:hover,
.header-section .nav-link:hover,
.header-section .menu-dropdown:hover > a,
.header-section .language-btn:hover {
    color: #4b4b4b !important;
    -webkit-text-fill-color: #4b4b4b !important;
}

.header-section .dropdown-content,
.header-section .dropdown-menu,
.header-section .mobile-menu,
.header-section .offcanvas-body,
.header-section .offcanvas-header,
.header-section .accordion-item,
.header-section .accordion-button,
.header-section .accordion-body,
.header-section .accordion-body li {
    background: var(--web-white) !important;
    color: var(--web-black) !important;
}

.header-section .dropdown-content a,
.header-section .dropdown-item,
.header-section .accordion-button,
.header-section .accordion-button.collapsed,
.header-section .accordion-body a,
.header-section .accordion-body .arrow {
    color: var(--web-black) !important;
    -webkit-text-fill-color: var(--web-black) !important;
}

.header-section .dropdown-item:hover,
.header-section .accordion-body li:hover,
.header-section .accordion-button:not(.collapsed),
.header-section .accordion-button:focus {
    background: var(--web-soft) !important;
    color: var(--web-black) !important;
}

.header-section .get-app-btn,
.header-section .get-app-btn.login-btn {
    background: var(--web-black) !important;
    border-color: var(--web-black) !important;
    color: var(--web-white) !important;
    -webkit-text-fill-color: var(--web-white) !important;
}

.header-section .get-app-btn svg path,
.header-section .get-app-btn.login-btn svg path {
    fill: var(--web-white) !important;
}

.home-banner-section {
    position: relative;
    isolation: isolate;
    background-color: #f3f3f3 !important;
}

.home-banner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.9) 44%,
        rgba(255, 255, 255, 0.72) 100%
    ) !important;
    pointer-events: none;
}

.home-banner-section .banner-content,
.home-banner-section .banner-content h1,
.home-banner-section .banner-content h1 span,
.home-banner-section .banner-content p,
.home-banner-section .banner-content .text-white,
.home-banner-section .banner-content .video-button,
.home-banner-section .banner-content .video-button span,
.home-banner-section .banner-content .banner-scan p,
.home-banner-section .banner-content .banner-checkMark span {
    color: var(--web-black) !important;
    -webkit-text-fill-color: var(--web-black) !important;
    opacity: 1 !important;
}

.home-banner-section .banner-content p,
.home-banner-section .banner-content .banner-scan p {
    color: #3f3f46 !important;
    -webkit-text-fill-color: #3f3f46 !important;
}

.home-banner-section .play-button {
    background: var(--web-black) !important;
    color: var(--web-white) !important;
}

.home-banner-section .play-button::before,
.home-banner-section .play-button::after {
    border-color: transparent transparent transparent var(--web-white) !important;
}

.home-banner-section .custom-btn,
.home-banner-section .custom-primary-btn,
.home-banner-section .theme-btn,
.home-banner-section .btn,
.home-banner-section .custom-btn *,
.home-banner-section .custom-primary-btn *,
.home-banner-section .theme-btn *,
.home-banner-section .btn * {
    color: var(--web-white) !important;
    -webkit-text-fill-color: var(--web-white) !important;
}

.home-banner-section .custom-btn i,
.home-banner-section .custom-primary-btn i,
.home-banner-section .theme-btn i,
.home-banner-section .btn i,
.home-banner-section .custom-btn svg path,
.home-banner-section .custom-primary-btn svg path,
.home-banner-section .theme-btn svg path,
.home-banner-section .btn svg path {
    color: var(--web-white) !important;
    fill: var(--web-white) !important;
}

.header-section.home-header a.get-app-btn,
.header-section.home-header a.get-app-btn.login-btn,
.header-section a.get-app-btn,
.header-section a.get-app-btn.login-btn,
.header-section.home-header a.get-app-btn *,
.header-section.home-header a.get-app-btn.login-btn *,
.header-section a.get-app-btn *,
.header-section a.get-app-btn.login-btn * {
    color: var(--web-white) !important;
    -webkit-text-fill-color: var(--web-white) !important;
}

.header-section.home-header a.get-app-btn svg path,
.header-section.home-header a.get-app-btn.login-btn svg path,
.header-section a.get-app-btn svg path,
.header-section a.get-app-btn.login-btn svg path {
    fill: var(--web-white) !important;
}

@media (max-width: 991.98px) {
    .home-banner-section::before {
        background: rgba(255, 255, 255, 0.94) !important;
    }

    .header-section .mobile-menu,
    .header-section .offcanvas-body,
    .header-section .accordion-button,
    .header-section .accordion-body a {
        color: var(--web-black) !important;
        -webkit-text-fill-color: var(--web-black) !important;
    }
}

/* Minimal SaaS refinement layer */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.header-section,
.header-section.home-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 1px 0 rgba(17, 17, 17, 0.04) !important;
}

.header-section .header-logo img {
    width: auto;
    max-height: 42px;
    object-fit: contain;
}

.header-section a,
.header-section .nav-link,
.header-section .menu-dropdown > a,
.header-section .language-btn {
    font-size: 15px;
    font-weight: 650;
    letter-spacing: 0;
}

.header-section .nav-link,
.header-section .menu-dropdown > a {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.header-section .dropdown-content,
.header-section .dropdown-menu {
    padding: 8px !important;
    border: 1px solid var(--web-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 20px 45px rgba(17, 17, 17, 0.1) !important;
}

.header-section .dropdown-content a,
.header-section .dropdown-item {
    border-radius: 6px !important;
    padding: 10px 12px !important;
}

.header-section .get-app-btn,
.header-section .get-app-btn.login-btn {
    min-height: 44px;
    padding: 0 18px !important;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.home-banner-section {
    min-height: calc(100svh - 72px);
    display: flex;
    align-items: center;
    padding-top: 96px !important;
    padding-bottom: 56px !important;
    background-position: center right !important;
    overflow: hidden;
}

.home-banner-section::before {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.94) 48%,
        rgba(255, 255, 255, 0.82) 100%
    ) !important;
}

.home-banner-section .banner-content {
    max-width: 660px;
}

.home-banner-section .banner-content h1 {
    max-width: 720px;
    margin-bottom: 20px !important;
    font-size: 64px !important;
    line-height: 1.04 !important;
    font-weight: 780 !important;
    letter-spacing: 0 !important;
}

.home-banner-section .banner-content p {
    max-width: 560px;
    font-size: 18px !important;
    line-height: 1.72 !important;
}

.home-banner-section .banner-content .demo-btn-group {
    gap: 14px !important;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 28px !important;
}

.home-banner-section .custom-btn,
.home-banner-section .custom-primary-btn,
.custom-primary-btn,
.theme-btn,
.submit-btn,
.btn-primary {
    min-height: 48px;
    border-radius: 8px !important;
    padding: 0 20px !important;
    font-weight: 750 !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.custom-outline-btn,
.btn-outline-primary,
.btn-outline-danger {
    min-height: 48px;
    border-radius: 8px !important;
    padding: 0 20px !important;
    font-weight: 750 !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
}

.home-banner-section .video-button {
    min-height: 48px;
    padding: 0 14px !important;
    border: 1px solid var(--web-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: none !important;
    gap: 10px;
}

.home-banner-section .play-button {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50% !important;
}

.home-banner-section .banner-content .banner-scan {
    width: max-content;
    max-width: 100%;
    margin-top: 22px !important;
    padding: 12px !important;
    border: 1px solid var(--web-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: none !important;
}

.home-banner-section .banner-content .play-store {
    gap: 10px !important;
    flex-wrap: wrap;
}

.home-banner-section .banner-content .play-store img {
    max-height: 44px;
    border-radius: 8px;
    filter: grayscale(1);
}

.home-banner-section .banner-img img,
.home-banner-section .banner-img .button-one,
.home-banner-section .banner-img .button-two,
.home-banner-section .banner-img .button-three {
    filter: grayscale(0.25) contrast(1.02);
}

.section-title {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.section-title h2,
.section-title .title,
.pricing-plan-section h2,
.feature-section h2,
.service-section h2,
.watch-demo-section h2,
.customer-section h2,
.blogs-section h2 {
    font-size: 44px !important;
    line-height: 1.14 !important;
    font-weight: 760 !important;
    letter-spacing: 0 !important;
}

.section-title p,
.section-description,
.service-card p,
.feature-card p,
.price-card p,
.pricing-card p,
.customer-card p,
.single-blog p,
.blog-card p {
    font-size: 16px;
    line-height: 1.72;
}

.feature-section,
.service-section,
.slick-slider-section,
.watch-demo-section,
.pricing-plan-section,
.customer-section,
.testimonial-section,
.blogs-section,
.blog-section,
.contact-section {
    padding-top: 84px !important;
    padding-bottom: 84px !important;
}

.service-card,
.service-card[style],
.feature-card,
.price-card,
.pricing-card,
.customer-card,
.single-blog,
.blog-card,
.testimonial-card,
.contact-info,
.contact-form,
.modal-content,
.card {
    border-radius: 8px !important;
    border-color: rgba(17, 17, 17, 0.1) !important;
    box-shadow: none !important;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover,
.feature-card:hover,
.price-card:hover,
.pricing-card:hover,
.customer-card:hover,
.single-blog:hover,
.blog-card:hover,
.testimonial-card:hover {
    border-color: rgba(17, 17, 17, 0.18) !important;
    box-shadow: 0 18px 48px rgba(17, 17, 17, 0.08) !important;
    transform: translateY(-2px);
}

.form-control,
.form-select,
textarea,
input {
    min-height: 46px;
    border-radius: 8px !important;
}

.badge,
.page-link,
.modal-content,
.accordion-item,
.accordion-button {
    border-radius: 8px !important;
}

.footer,
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1199.98px) {
    .home-banner-section .banner-content h1 {
        font-size: 54px !important;
    }

    .section-title h2,
    .section-title .title,
    .pricing-plan-section h2,
    .feature-section h2,
    .service-section h2,
    .watch-demo-section h2,
    .customer-section h2,
    .blogs-section h2 {
        font-size: 38px !important;
    }
}

@media (max-width: 991.98px) {
    .header-section,
    .header-section.home-header {
        position: sticky;
    }

    .header-section .mobile-menu {
        border-left: 1px solid var(--web-line);
    }

    .header-section .accordion-button {
        font-weight: 700;
    }

    .home-banner-section {
        min-height: auto;
        padding-top: 72px !important;
        padding-bottom: 48px !important;
        background-position: center !important;
    }

    .home-banner-section::before {
        background: rgba(255, 255, 255, 0.96) !important;
    }

    .home-banner-section .banner-content h1 {
        font-size: 42px !important;
        line-height: 1.08 !important;
    }

    .home-banner-section .banner-content p {
        font-size: 16px !important;
    }

    .feature-section,
    .service-section,
    .slick-slider-section,
    .watch-demo-section,
    .pricing-plan-section,
    .customer-section,
    .testimonial-section,
    .blogs-section,
    .blog-section,
    .contact-section {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }
}

@media (max-width: 575.98px) {
    .header-section .header-logo img {
        max-height: 36px;
    }

    .header-section .get-app-btn,
    .header-section .get-app-btn.login-btn {
        min-height: 40px;
        padding: 0 14px !important;
        font-size: 13px;
    }

    .home-banner-section {
        padding-top: 56px !important;
        padding-bottom: 40px !important;
    }

    .home-banner-section .banner-content h1 {
        font-size: 34px !important;
    }

    .home-banner-section .custom-btn,
    .home-banner-section .custom-primary-btn,
    .custom-primary-btn,
    .theme-btn,
    .submit-btn,
    .btn-primary,
    .custom-outline-btn,
    .btn-outline-primary,
    .btn-outline-danger {
        width: 100%;
        min-height: 46px;
    }

    .home-banner-section .video-button {
        width: 100%;
        justify-content: center;
    }

    .section-title h2,
    .section-title .title,
    .pricing-plan-section h2,
    .feature-section h2,
    .service-section h2,
    .watch-demo-section h2,
    .customer-section h2,
    .blogs-section h2 {
        font-size: 30px !important;
    }
}
