/* =========================================================
   CRM Integration page
   Do NOT set font-size / line-height / font-family on h1–h6 or p
   (those come from indexmain.css)
   KEEP subtitle + specific typography (labels, badges, lists, FAQ, stats)
   ========================================================= */

.text-accent {
    color: var(--icons-color, #6C5EFB);
}

.text-dark-brand {
    color: var(--headt-color, rgba(5, 5, 62, 1));
}

.crm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: Inter, sans-serif !important;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.012em;
    transition: 0.25s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.crm-btn-primary {
    background: var(--main-color);
    background: linear-gradient(90deg, #6957FF 0%, #B59DFF 100%);
    color: var(--white);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
}

.crm-btn-primary:hover {
    color: var(--white);
    filter: brightness(1.05);
}

.crm-btn-outline {
    background: rgba(230, 226, 255, 0.12);
    border-color: #0B0B2E;
    color: #0B0B2E;
    backdrop-filter: blur(10px);
}

.crm-btn-outline:hover {
    background: var(--light-color);
    color: #0B0B2E;
}

.crm-btn-gradient {
    background: linear-gradient(90deg, #6B5BFF 0%, #B8A7FF 100%);
    color: var(--white);
    border-radius: 6px;
    padding: 14px 32px;
    font-weight: 600;
    min-width: 320px;
}

.crm-btn-gradient:hover {
    color: var(--white);
    filter: brightness(1.05);
}

.crm-btn-dark {
    background: #0B0B2E;
    color: var(--white);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
}

.crm-btn-dark:hover {
    color: var(--white);
    background: var(--dark-bule);
}

.crm-btn-ghost {
    background: rgba(230, 226, 255, 0.12);
    border-color: #D8D8FF;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.crm-btn-ghost:hover {
    color: var(--white);
    background: rgba(230, 226, 255, 0.24);
}

.crm-label {
    display: inline-block;
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.006em;
    color: #7B61FF;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* Hero */
.crm-hero-section {
    padding: 24px 0 0px;
    background: var(--white);
}

.crm-hero-panel {
    background: var(--light-color);
    border-radius: 24px;
    padding: 48px 40px;
}

.crm-hero-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 601px;
}

.crm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 32px;
    border: 1.2px solid #0B0B2E;
    background: rgba(230, 226, 255, 0.12);
    backdrop-filter: blur(2px);
}

.crm-hero-badge span {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #0B0B2E;
}

.crm-hero-badge-dot {
    background: linear-gradient(90deg, #7B61FF 12%, #CCBBF5 96%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 14px !important;
}

.crm-hero-content h1 {
    letter-spacing: 0.004em;
    font-weight: 700;
    color: #0B0B2E;
    margin: 0;
}

.crm-hero-content>p {
    font-weight: 500;
    color: var(--p-color);
    margin: 0;
}

.crm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.crm-hero-platforms p {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #0B0B2E;
    margin-bottom: 12px;
}

.crm-platform-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.crm-platform-logos img {
    height: 36px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
}

.crm-hero-visual {
    border-radius: 16px;
    overflow: hidden;
}

.crm-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: rotate(270deg);
}

/* Reviews */
.crm-reviews-section {
    padding: 60px 0 40px;
    background: var(--white);
}

.crm-section-heading {
    margin-bottom: 40px;
}

.crm-section-heading h2 {
    margin-bottom: 8px;
}

.crm-section-heading p {
    color: var(--p-color);
    font-weight: 500;
    margin: 0;
}

.crm-review-card {
    height: 100%;
    background: var(--white);
    border: 1px solid #E4E6F4;
    border-radius: 16px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.crm-review-stars {
    display: flex;
    gap: 4px;
    color: #F5A524;
    font-size: 14px;
}

.crm-review-card>p {
    flex: 1;
    font-style: italic;
    font-size: 15px;
    line-height: 24.75px;
    color: #08083B;
    margin: 0;
}

.crm-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crm-review-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.crm-review-author span {
    font-family: Inter, sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 30px;
    color: #08083B;
}

.crm-review-author strong {
    font-weight: 800;
}

.crm-reviews-cta {
    margin-top: 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.crm-reviews-cta p {
    color: var(--dark-bule);
    margin: 0;
}

/* Why */
.crm-why-section {
    padding: 60px 0;
    background: var(--white);
}

.crm-why-section h2 {
    margin-bottom: 20px;
}

.crm-why-section>.container-width .col-lg-6>p {
    color: var(--hhh-color);
    margin-bottom: 16px;
}

.crm-why-list-wrap {
    border-radius: 24px;
    padding: 28px;
    height: 100%;
}

.crm-why-list-wrap h3 {
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--hhh-color);
    margin-bottom: 8px;
}

.crm-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.crm-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid #D8D8FF;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    color: var(--hhh-color);
}

.crm-why-list li:last-child {
    border-bottom: none;
}

.crm-why-list i {
    color: var(--icons-color);
    font-size: 22px;
    margin-top: 2px;
}

/* Pipeline */
.crm-pipeline-section {
    padding: 80px 0;
    background: var(--light-color);
}

.crm-pipeline-inner {
    max-width: 800px;
    margin: 0 auto;
}

.crm-pipeline-inner>p {
    color: var(--p-color);
    font-weight: 500;
    margin: 12px 0 40px;
}

.crm-pipeline-stats {
    max-width: 560px;
    margin: 0 auto;
}

.crm-stat h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #0B0B2E;
    margin-bottom: 4px;
}

.crm-stat p {
    color: #5F5D68;
    font-weight: 500;
    margin: 0;
    white-space: pre-line;
}

/* Services */
.crm-services-section,
.crm-industries-section {
    padding: 70px 0;
    background: var(--white);
}

.crm-services-intro {
    max-width: 666px;
    margin-bottom: 42px;
}

.crm-services-intro p {
    color: var(--hhh-color);
    margin-top: 8px;
}

.crm-service-card {
    height: 100%;
    background: var(--light-bg);
    border: 1px solid var(--light-color);
    border-radius: 28px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: 0.25s ease;
}

.crm-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(11, 11, 46, 0.08);
}

.crm-service-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0B0B2E;
    border-radius: 8px;
    color: #0B0B2E;
    font-size: 20px;
}

.crm-service-icon--light {
    border-color: #F5F6FF;
    color: #F5F6FF;
}

.crm-service-card h3 {
    color: #0B0B2E;
    margin: 0;
}

.crm-service-card>p {
    color: #0B0B2E;
    font-weight: 500;
    margin: 0;
}

.crm-service-card ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.crm-service-card ul li {
    position: relative;
    padding-left: 16px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #0B0B2E;
}

.crm-service-card ul li::before {
    content: "-";
    position: absolute;
    left: 0;
}

/* Industries */
.crm-industry-card {
    height: 100%;
    background: var(--light-bg);
    border: 1px solid var(--light-color);
    border-radius: 28px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.crm-industry-image {
    border-radius: 8px;
    overflow: hidden;
    height: 216px;
}

.crm-industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.crm-industry-card h3 {
    color: #0B0B2E;
    margin: 0;
}

.crm-industry-card p {
    color: #0B0B2E;
    font-weight: 500;
    margin: 0;
}

/* AI section */
.crm-ai-section {
    padding: 80px 0;
    background: linear-gradient(258deg, rgba(5, 6, 62, 1) 34%, rgba(157, 123, 255, 1) 100%);
}

.crm-ai-header {
    max-width: 900px;
    margin: 0 auto 48px;
}

.crm-ai-header h2 {
    color: #F5F6FF;
    text-align: center;
    margin-bottom: 16px;
}

.crm-ai-header p {
    color: #F5F6FF;
    font-weight: 500;
    margin-bottom: 28px;
}

.crm-ai-card {
    height: 100%;
    background: rgba(216, 216, 255, 0.24);
    border: 1px solid var(--light-color);
    border-radius: 28px;
    padding: 20px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.crm-ai-card h3,
.crm-ai-card p {
    color: #F5F6FF;
    margin: 0;
}

.crm-ai-card p {
    font-weight: 500;
}

/* FAQ — leave as-is */
.crm-faq-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: var(--light-color);
}

.crm-faq-bg {
    position: absolute;
    top: 0;
    left: 20px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 280px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 4px #D8D8FF;
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    border: 4px solid var(--text-color-accent-text, #D8D8FF);
    border: none;
}

.crm-faq-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.crm-faq-heading {
    margin-bottom: 36px;
}

.crm-faq-heading p {
    color: var(--p-color);
    font-weight: 500;
    font-size: 18px;
    max-width: 520px;
    margin: 12px auto 0;
}

.crm-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.crm-faq-accordion .accordion-item {
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden;
    background: #F3EFFC;
}

.crm-faq-accordion .accordion-button {
    background: #F3EFFC !important;
    color: #0B0B2E;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 500;
    font-size: 22px !important;
    line-height: 32px;
    box-shadow: none !important;
    padding: 16px 20px;
}

.crm-faq-accordion .accordion-button:not(.collapsed) {
    background: #F3EFFC !important;
    color: #0B0B2E;
}

.crm-faq-accordion .accordion-button:focus {
    box-shadow: none !important;
}

.crm-faq-accordion .accordion-body {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    color: #5F5D68;
    padding: 0 20px 18px;
}

/* CTA */
.crm-cta-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
}

.crm-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.crm-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.crm-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(268deg, rgba(216, 216, 255, 0.12) 35%, rgba(33, 33, 33, 1) 100%);
}

.crm-cta-inner {
    position: relative;
    z-index: 1;
}

.crm-cta-inner h2 {
    color: #F5F6FF;
    max-width: 720px;
    margin-bottom: 16px;
}

.crm-cta-inner>p {
    color: #F5F6FF;
    font-weight: 500;
    max-width: 640px;
    margin-bottom: 28px;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .crm-hero-panel {
        padding: 36px 28px;
    }

    .crm-faq-bg {
        font-size: 180px;
    }
}

@media (max-width: 991.98px) {
    .crm-hero-content {
        max-width: 100%;
    }

    .crm-btn-gradient {
        min-width: auto;
        width: 100%;
        max-width: 360px;
    }

    .crm-industry-image {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .crm-hero-section {
        padding: 16px 0 24px;
    }

    .crm-hero-panel {
        padding: 28px 18px;
        border-radius: 18px;
    }

    .crm-hero-badge span {
        font-size: 13px;
        line-height: 20px;
    }

    .crm-faq-bg {
        font-size: 120px;
        left: 0;
        top: 10px;
    }

    .crm-faq-accordion .accordion-button {
        font-size: 18px !important;
        line-height: 26px;
    }

    .crm-pipeline-section,
    .crm-ai-section,
    .crm-cta-section {
        padding: 50px 0;
    }

    .crm-services-section,
    .crm-industries-section,
    .crm-why-section,
    .crm-reviews-section,
    .crm-faq-section {
        padding: 40px 0;
    }
}

.crm-hero-section .img-fluid {
    max-width: 70%;
    height: auto;
    transform: rotate(0deg);
    position: relative;
    right: -100px;
}

@media screen and (max-width:769px) {
    .crm-hero-section .img-fluid {
        right: 0;
        max-width: 100%;
    }
}
