/* Modern SaaS overrides loaded after the legacy frontend theme. */
:root {
    --text-color: #4b5563;
    --heading: #111827;
    --prime-one: #0f766e;
    --prime-two: #f59e0b;
    --prime-three: #0f766e;
    --prime-four: #0d9488;
    --prime-five: #134e4a;
    --surface: #ffffff;
    --surface-muted: #f8fafc;
    --surface-tinted: #ecfdf5;
    --border-color: #e5e7eb;
    --soft-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

::-webkit-scrollbar-thumb {
    background: var(--prime-one);
    border-radius: 999px;
}

body {
    background: #ffffff;
    color: var(--text-color);
    font-size: 17px;
    line-height: 1.75;
}

a {
    color: var(--prime-one);
}

.main-page-wrapper {
    background: linear-gradient(180deg, #f8fafc 0, #ffffff 420px), #ffffff;
}

.shapes,
.hero-banner-five .illustration-holder:before,
.theme-menu-four:before,
.fancy-feature-nineteen .bg-shape {
    display: none !important;
}

.theme-main-menu {
    padding-top: 18px;
    padding-bottom: 18px;
}

.theme-main-menu.sticky-menu.fixed,
.theme-menu-four {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(14px);
}

.theme-menu-four {
    padding-left: clamp(18px, 4vw, 56px);
    padding-right: clamp(18px, 4vw, 56px);
}

.theme-menu-four .navbar {
    margin-left: clamp(32px, 6vw, 88px);
}

.navbar .navbar-nav .nav-link {
    color: #374151;
    font-size: 15px;
    letter-spacing: 0;
    margin: 0 15px;
    padding: 12px 0;
}

.theme-menu-four .navbar .navbar-nav .nav-link:before {
    height: 1px;
    background: var(--prime-one);
    bottom: 7px;
}

.theme-menu-four .navbar .navbar-nav .nav-item.active .nav-link,
.theme-menu-four .navbar .navbar-nav .nav-item:hover .nav-link {
    color: var(--prime-one);
}

.theme-main-menu .send-msg-btn,
.hero-banner-five .demo-btn,
body .btn-eight,
.subscribe-form button,
.msg-btn {
    min-height: 46px;
    line-height: 46px;
    border: 1px solid var(--prime-one) !important;
    border-radius: 8px !important;
    background: var(--prime-one) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.theme-main-menu .send-msg-btn {
    width: auto;
    min-width: 138px;
    padding: 0 22px;
    font-size: 15px;
}

.theme-main-menu .send-msg-btn:hover,
.hero-banner-five .demo-btn:hover,
body .btn-eight:hover,
.subscribe-form button:hover,
.msg-btn:hover {
    background: #115e59 !important;
    border-color: #115e59 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.navbar-toggler,
.theme-menu-four .navbar-toggler {
    background: var(--prime-one);
    border-radius: 8px;
}

.hero-banner-five {
    padding: 165px 0 96px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-banner-five .hero-heading {
    max-width: 760px;
    color: var(--heading);
    font-size: clamp(46px, 5.6vw, 74px);
    line-height: 1.05;
    letter-spacing: 0;
}

.hero-banner-five .hero-heading span,
.title-style-three .main-title span,
.title-style-four .main-title span {
    color: var(--prime-one);
    text-decoration: none;
}

.hero-banner-five .text-lg {
    max-width: 660px;
    color: #4b5563;
    font-size: 19px;
    line-height: 1.8;
}

.hero-banner-five .illustration-holder {
    right: 4%;
    top: 23%;
    width: min(39vw, 560px);
}

.hero-banner-five .main-illustration,
.fancy-feature-eighteen .main-illustration,
.fancy-feature-nineteen .main-illustration {
    border: 1px solid var(--border-color);
    border-radius: 18px !important;
    box-shadow: var(--soft-shadow) !important;
}

.title-style-three .sc-title {
    background: #ecfdf5;
    color: var(--prime-one);
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.08em;
    line-height: 30px;
    padding: 0 14px;
}

.title-style-three .main-title,
.title-style-four .main-title {
    color: var(--heading);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
    letter-spacing: 0;
}

.fancy-feature-seventeen,
.fancy-feature-twenty,
.partner-section-two,
.feedback-section-five,
.fancy-feature-twentyOne {
    margin-top: clamp(70px, 8vw, 120px) !important;
}

.fancy-feature-eighteen,
.fancy-feature-nineteen,
.fancy-feature-twentyOne {
    background: var(--surface-muted) !important;
}

.block-style-twelve,
.industry-card,
.platform-icon-card,
.feedback-block-four,
.contact-section-one .address-block-two,
.pricing-card,
.testimonial-card,
.accordion-item {
    background: var(--surface) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.block-style-twelve {
    height: 100%;
    padding: 34px 30px 32px;
}

.block-style-twelve.active,
.block-style-twelve:hover,
.industry-card:hover,
.platform-icon-card:hover {
    border-color: #99f6e4 !important;
    box-shadow: var(--soft-shadow) !important;
    transform: translateY(-3px);
}

.block-style-twelve h5 a {
    color: var(--heading);
    font-size: 21px;
    margin: 24px 0 8px;
}

.block-style-twelve h5 a:hover {
    color: var(--prime-one);
    text-decoration: none;
}

.block-style-twelve p,
.industry-card p,
.platform-icon-card p {
    color: #6b7280 !important;
    font-size: 15px;
    line-height: 1.75;
}

.block-style-thirteen .list-item li .numb {
    background: #ecfdf5;
    color: var(--prime-one);
    border: 1px solid #ccfbf1;
}

.block-style-two .list-item li:before,
.block-style-five .list-item li i,
.fas.fa-check-circle {
    color: var(--prime-one) !important;
}

.platform-icon-card {
    min-width: 118px;
    transition: all 0.25s ease;
}

.plus-more-icon {
    background: #ecfdf5 !important;
    border: 1px solid #ccfbf1;
}

.plus-more-icon span {
    color: var(--prime-one) !important;
    font-size: 18px !important;
    font-family: "gorditamedium";
}

.modern-cta-section,
.custom-pricing-cta,
.inner-container.bg-color {
    background: #0f172a !important;
    border-radius: 16px !important;
}

.modern-cta-section .btn-light,
.custom-pricing-cta .btn-light,
.inner-container.bg-color .btn-light {
    color: #0f172a !important;
    border-radius: 8px !important;
}

.footer-style-four {
    background: #0f172a;
    color: #cbd5e1;
}

.footer-style-four .inner-wrapper {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-style-four .footer-title,
.footer-style-four h4,
.footer-style-four .title-style-four .main-title {
    color: #ffffff;
}

.footer-style-four p,
.footer-style-four a,
.footer-style-four .copyright {
    color: #cbd5e1;
}

.footer-style-four a:hover {
    color: #ffffff;
}

.footer-style-four .subscribe-area {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
}

.footer-style-four .subscribe-form input {
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
}

.enterprise-signup-section {
    position: relative;
}

.enterprise-signup-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at top left,
            rgba(20, 184, 166, 0.22),
            transparent 28%
        ),
        linear-gradient(145deg, #f0fdfa 0%, #ffffff 52%, #fffbeb 100%);
    border: 1px solid rgba(204, 251, 241, 0.95);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
}

.enterprise-signup-shell::before,
.enterprise-signup-shell::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.enterprise-signup-shell::before {
    top: -90px;
    right: -70px;
    width: 220px;
    height: 220px;
    background: rgba(20, 184, 166, 0.12);
}

.enterprise-signup-shell::after {
    bottom: -120px;
    left: -80px;
    width: 260px;
    height: 260px;
    background: rgba(245, 158, 11, 0.1);
}

.enterprise-signup-card {
    position: relative;
    z-index: 1;
    padding: clamp(28px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(14px);
}

.enterprise-signup-header {
    max-width: 640px;
    margin: 0 auto 30px;
}

.enterprise-signup-section .form-style-one .form-title {
    margin-bottom: 0;
    color: var(--heading);
    font-size: clamp(32px, 4.5vw, 46px);
    line-height: 1.08;
}

.enterprise-signup-form .enterprise-signup-grid {
    margin-right: -12px;
    margin-left: -12px;
}

.enterprise-signup-form .enterprise-signup-grid > [class*="col-"] {
    padding-right: 12px;
    padding-left: 12px;
    margin-bottom: 22px;
}

.enterprise-field {
    position: relative;
}

.enterprise-signup-section .form-style-one form label {
    margin-bottom: 10px;
    color: #334155;
    font-size: 14px;
    font-family: "gorditamedium";
    letter-spacing: 0.01em;
}

.enterprise-signup-section .form-style-one form input {
    height: 58px;
    border: 1px solid #dbe5ec;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.92);
    color: var(--heading);
    font-size: 16px;
    padding: 0 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.enterprise-signup-section .form-style-one form input::placeholder {
    color: #94a3b8;
}

.enterprise-signup-section .form-style-one form input:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.enterprise-signup-section .form-style-one form input:focus {
    border-color: rgba(15, 118, 110, 0.45);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
    transform: translateY(-1px);
}

.enterprise-submit-row {
    margin-top: 4px;
}

.enterprise-submit-btn {
    min-width: 200px;
    min-height: 54px;
    padding: 0 28px;
    border: 0 !important;
    border-radius: 16px !important;
    background: linear-gradient(
        135deg,
        var(--prime-one),
        var(--prime-four)
    ) !important;
    color: #ffffff !important;
    font-size: 15px;
    font-family: "gorditamedium";
    letter-spacing: 0.01em;
    box-shadow: 0 18px 32px rgba(15, 118, 110, 0.22);
}

.enterprise-submit-btn:hover,
.enterprise-submit-btn:focus {
    background: linear-gradient(135deg, #115e59, #0f766e) !important;
    box-shadow: 0 20px 36px rgba(15, 118, 110, 0.26);
    transform: translateY(-2px);
}

.enterprise-submit-btn i {
    font-size: 13px;
}

.scroll-top {
    background: var(--prime-one);
}

[style*="#913BFF"] {
    border-color: var(--prime-one) !important;
}

[style*="color: #913BFF"],
[style*="color:#913BFF"] {
    color: var(--prime-one) !important;
}

[style*="background: #913BFF"],
[style*="background:#913BFF"] {
    background: var(--prime-one) !important;
}

[style*="#6a1cb0"] {
    background: #0f172a !important;
}

@media (max-width: 1199px) {
    .theme-menu-four .navbar {
        margin-left: 32px;
    }

    .hero-banner-five {
        padding-top: 140px;
    }
}

@media (max-width: 991px) {
    .theme-main-menu {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .enterprise-signup-card {
        padding: 26px 22px;
    }

    .enterprise-submit-btn {
        width: 100%;
    }

    .navbar-collapse {
        border-right: 1px solid var(--border-color);
        box-shadow: 24px 0 60px rgba(15, 23, 42, 0.12);
    }

    .navbar .navbar-nav .nav-link {
        font-size: 16px;
        margin: 0;
    }

    .hero-banner-five {
        padding: 125px 0 70px;
    }

    .hero-banner-five .illustration-holder,
    .fancy-feature-eighteen .illustration-holder,
    .fancy-feature-nineteen .illustration-holder,
    .fancy-feature-twentyOne .illustration-holder {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: 100%;
        max-width: 640px;
        margin: 40px auto 0;
    }
}

@media (max-width: 575px) {
    body {
        font-size: 16px;
    }

    .enterprise-signup-shell {
        border-radius: 22px;
    }

    .enterprise-signup-card {
        padding: 24px 18px;
    }

    .enterprise-signup-section .form-style-one .form-title {
        font-size: 29px;
    }

    .enterprise-signup-form .enterprise-signup-grid > [class*="col-"] {
        margin-bottom: 18px;
    }

    .enterprise-signup-section .form-style-one form input {
        height: 54px;
        font-size: 16px;
    }

    .hero-banner-five .button-group {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
    }

    .hero-banner-five .button-group li {
        margin-right: 0 !important;
        width: 100%;
    }

    .hero-banner-five .demo-btn,
    body .btn-eight {
        display: block;
        width: 100%;
        text-align: center;
    }

    .block-style-twelve {
        padding: 28px 24px;
    }
}
