/* =========================================
   Compare Page — TitaPro Design System
   Matches: industry.min.css / style.css
   Fonts: Playfair Display (headings) | Poppins (body)
   Colors: --NavyBlue #4A148C | --RoyalBlue #7B1FA2 | --skyblue #F4511E
   ========================================= */

/* ---- Hero ---- */
.cmp-hero {
    padding: 80px 0 60px;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.cmp-hero-inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.cmp-hero-content {
    flex: 1;
    max-width: 600px;
}

.cmp-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(123, 31, 162, 0.08);
    border: 1px solid rgba(123, 31, 162, 0.2);
    color: var(--RoyalBlue);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 24px;
}

.cmp-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--skyblue);
    flex-shrink: 0;
}

.cmp-hero-title {
    font-family: "Playfair Display", serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #111827;
    margin-bottom: 22px;
}

.cmp-hero-title .cmp-accent {
    color: var(--RoyalBlue);
    position: relative;
}

.cmp-hero-title .cmp-vs-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--RoyalBlue) 0%, var(--skyblue) 100%);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 700;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    vertical-align: middle;
    margin: 0 10px;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(123, 31, 162, 0.35);
}

.cmp-hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 34px;
    max-width: 500px;
}

.cmp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.cmp-btn-primary {
    background: linear-gradient(135deg, var(--RoyalBlue) 0%, var(--skyblue) 100%);
    color: #fff;
    padding: 13px 32px;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(123, 31, 162, 0.3);
    border: none;
}

.cmp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(123, 31, 162, 0.4);
    color: #fff;
}

.cmp-btn-secondary {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111827;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.cmp-btn-secondary:hover {
    opacity: 0.75;
    color: #111827;
}

.cmp-btn-secondary-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--RoyalBlue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--RoyalBlue);
    flex-shrink: 0;
}

.cmp-hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cmp-stat-item {
    display: flex;
    flex-direction: column;
}

.cmp-stat-value {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
}

.cmp-stat-label {
    font-size: 13px;
    color: #4B5563;
    font-weight: 500;
}

.cmp-stat-divider {
    width: 1px;
    height: 40px;
    background: #E5E7EB;
}

/* ---- Hero Right — Logos Card ---- */
.cmp-hero-visual {
    flex: 1;
    max-width: 480px;
}

.cmp-logos-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #F0F0F0;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.cmp-logos-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(123, 31, 162, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.cmp-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

.cmp-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.cmp-logo-circle {
    width: 88px;
    height: 88px;
    background: #F9FAFB;
    border: 2px solid #F0F0F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.cmp-logo-circle:hover {
    border-color: var(--RoyalBlue);
    box-shadow: 0 8px 24px rgba(123, 31, 162, 0.15);
    transform: translateY(-2px);
}

.cmp-logo-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cmp-logo-name {
    font-family: "Playfair Display", serif;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    text-align: center;
}

.cmp-vs-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--RoyalBlue), var(--skyblue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 14px rgba(123, 31, 162, 0.4);
    flex-shrink: 0;
}

.cmp-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(123, 31, 162, 0.06);
    border: 1px solid rgba(123, 31, 162, 0.15);
    color: var(--RoyalBlue);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cmp-card-badge span {
    color: var(--skyblue);
}

/* ---- Trust Strip ---- */
.cmp-trust-strip {
    background: linear-gradient(135deg, var(--RoyalBlue) 0%, var(--NavyBlue) 100%);
    margin: 15px;
    border-radius: 20px;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.cmp-trust-strip::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    background-image: url(../img/bg-logostrip.png);
    background-size: cover;
    height: 200px;
    width: 200px;
    opacity: 0.15;
}

.cmp-trust-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.cmp-trust-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cmp-trust-logos img {
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.cmp-trust-logos img:hover {
    opacity: 1;
}

.cmp-trust-stat {
    color: #fff;
    text-align: center;
    flex-shrink: 0;
}

.cmp-trust-stat strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.cmp-trust-stat span {
    font-size: 12px;
    opacity: 0.75;
}

/* ---- Feature Comparison Table Section ---- */
.cmp-table-section {
    margin: 80px auto;
}

.cmp-section-tag {
    color: var(--RoyalBlue);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cmp-section-tag::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--RoyalBlue);
}

.cmp-section-title {
    font-family: "Playfair Display", serif;
    font-size: 44px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.15;
}

.cmp-gives-section .cmp-section-title {
    max-width: 650px;
}

.cmp-section-desc {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 0;
}

.cmp-table-wrap {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #F0F0F0;
}

.cmp-table {
    width: 100%;
    border-collapse: collapse;
}

.cmp-table thead tr {
    background: #F9FAFB;
    border-bottom: 2px solid #E5E7EB;
}

.cmp-table th {
    padding: 22px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.cmp-table th:first-child {
    text-align: left;
    width: 40%;
}

.cmp-table th.cmp-th-tita {
    color: var(--RoyalBlue);
    background: rgba(123, 31, 162, 0.04);
}

.cmp-table tbody tr {
    border-bottom: 1px solid #F3F4F6;
    transition: background 0.2s ease;
}

.cmp-table tbody tr:last-child {
    border-bottom: none;
}

.cmp-table tbody tr:hover {
    background: #FAFAFA;
}

.cmp-table td {
    padding: 18px 24px;
    text-align: center;
    font-size: 14px;
    color: #374151;
}

.cmp-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #111827;
    font-size: 15px;
}

.cmp-table td.cmp-td-tita {
    background: rgba(123, 31, 162, 0.025);
}

.cmp-table-group-header td {
    background: #F3F4F6 !important;
    font-weight: 700 !important;
    color: #111827 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 24px !important;
}

.cmp-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    color: #188d68;
    font-size: 14px;
    font-weight: 700;
}

.cmp-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 50%;
    color: #ef4444;
    font-size: 14px;
}

.cmp-partial {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 500;
}

/* ---- Feature Tabs (underline style) ---- */
.cmp-feature-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
    border-bottom: 1.5px solid #E5E7EB;
    margin-bottom: 32px;
}

.cmp-feature-tabs .nav-item {
    flex: 0 0 auto;
}

.cmp-feature-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px 12px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    color: #6e6e6e;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1.5px;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.cmp-feature-tabs .nav-link svg {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    stroke: currentColor;
}

.cmp-feature-tabs .nav-link:hover {
    color: #374151;
    background: transparent;
}

.cmp-feature-tabs .nav-link:hover svg {
    opacity: 0.9;
}

.cmp-feature-tabs .nav-link.active {
    background: transparent;
    color: var(--NavyBlue);
    font-weight: 600;
    border-bottom: 2px solid var(--NavyBlue);
    box-shadow: none;
    margin-bottom: -1.5px;
    padding: 10px 22px 12px;
}

.cmp-feature-tabs .nav-link.active svg {
    opacity: 1;
    stroke: var(--NavyBlue);
}

.cmp-tab-content {
    margin-top: 0;
}

.cmp-tab-content .tab-pane {
    animation: cmpTabFadeIn 0.25s ease;
}

@keyframes cmpTabFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

@media (max-width: 768px) {
    .cmp-feature-tabs {
        border-bottom: none;
        gap: 6px;
        flex-wrap: wrap;
    }

    .cmp-feature-tabs .nav-link {
        font-size: 13px;
        padding: 8px 14px;
        border-radius: 8px;
        border-bottom: none;
        margin-bottom: 0;
        background: #F3F4F6;
        color: #374151;
    }

    .cmp-feature-tabs .nav-link.active {
        background: #EDE9FE;
        color: #5B21B6;
        border-bottom: none;
        margin-bottom: 0;
        padding: 8px 14px;
    }

    .cmp-feature-tabs .nav-link svg {
        display: none;
    }
}

/* ---- Key Differences — 3-card grid ---- */
.cmp-diff-section {
    margin: 0 auto 80px;
}

.cmp-diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.cmp-diff-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid #F0F0F0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cmp-diff-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--RoyalBlue), var(--skyblue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.cmp-diff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(123, 31, 162, 0.1);
    border-color: rgba(123, 31, 162, 0.15);
}

.cmp-diff-card:hover::before {
    transform: scaleX(1);
}

.cmp-diff-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(123, 31, 162, 0.1), rgba(244, 81, 30, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--RoyalBlue);
}

.cmp-diff-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.3;
}

.cmp-diff-card p {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.7;
    margin: 0;
}

.cmp-diff-win {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
}

/* ---- CTA Banner ---- */
.cmp-cta-section {
    margin: 0 auto 80px;
}

.cmp-cta-inner {
    background: linear-gradient(135deg, var(--RoyalBlue) 0%, var(--NavyBlue) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 70px;
    overflow: hidden;
    position: relative;
    gap: 40px;
}

.cmp-cta-inner::before {
    content: "";
    position: absolute;
    right: 50px;
    top: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.cmp-cta-inner::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    background: rgba(244, 81, 30, 0.15);
    border-radius: 50%;
}

.cmp-cta-content {
    flex: 1;
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.cmp-cta-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 14px;
}

.cmp-cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cmp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.cmp-cta-btn-white {
    background: #fff;
    color: var(--NavyBlue);
    padding: 10px 30px;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cmp-cta-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: var(--NavyBlue);
}

.cmp-cta-btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 10px 30px;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.cmp-cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

.cmp-cta-image {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 20px 20px 0px rgba(244, 81, 30, 0.4);
    flex-shrink: 0;
}

.cmp-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- FAQ ---- */
.cmp-faq-section {
    margin: 0 auto 60px;
}

.cmp-faq-section .accordion-item {
    border: 1px solid #E5E7EB;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.cmp-faq-section .accordion-button {
    font-weight: 500;
    font-size: 15px;
    color: #111827;
    background: #fff;
    padding: 20px 24px;
}

.cmp-faq-section .accordion-button:not(.collapsed) {
    color: var(--RoyalBlue);
    background: rgba(123, 31, 162, 0.03);
    box-shadow: none;
}

.cmp-faq-section .accordion-button::after {
    filter: none;
}

.cmp-faq-section .accordion-button:not(.collapsed)::after {
    filter: none;
}

.cmp-faq-section .accordion-body {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.7;
    padding: 10px 24px 20px;
    background: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .cmp-hero-inner {
        flex-direction: column;
        gap: 50px;
    }

    .cmp-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .cmp-hero-desc {
        max-width: 100%;
    }

    .cmp-hero-actions {
        justify-content: center;
    }

    .cmp-hero-stats {
        justify-content: center;
    }

    .cmp-hero-visual {
        max-width: 100%;
        width: 100%;
    }

    .cmp-diff-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cmp-cta-inner {
        flex-direction: column;
        padding: 50px 40px;
        text-align: center;
    }

    .cmp-cta-content {
        max-width: 100%;
    }

    .cmp-cta-actions {
        justify-content: center;
    }

    .cmp-cta-image {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .cmp-trust-strip {
        flex-direction: column;
        text-align: center;
    }

    .cmp-trust-logos {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .cmp-hero-title {
        font-size: 40px;
    }

    .cmp-section-title {
        font-size: 34px;
    }

    .cmp-diff-grid {
        grid-template-columns: 1fr;
    }

    .cmp-table th,
    .cmp-table td {
        padding: 14px 12px;
        font-size: 13px;
    }

    .cmp-cta-inner {
        padding: 40px 24px;
    }

    .cmp-cta-content h2 {
        font-size: 28px;
    }

    .cmp-logos-card {
        padding: 36px 24px;
    }
}

/* ---- Bottom Line Banner ---- */
.cmp-bottomline-section {
    margin: 40px auto 30px;
}

.cmp-bottomline-card {
    background: linear-gradient(135deg, rgba(123, 31, 162, 0.05) 0%, rgba(244, 81, 30, 0.05) 100%);
    border: 1px solid rgba(123, 31, 162, 0.15);
    border-left: 5px solid var(--RoyalBlue);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.cmp-bottomline-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--RoyalBlue), var(--skyblue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

.cmp-bottomline-text {
    font-size: 16px;
    line-height: 1.7;
    color: #1F2937;
    margin: 0;
    font-weight: 500;
}

.cmp-bottomline-text strong {
    color: var(--NavyBlue);
    font-weight: 700;
}

@media (max-width: 768px) {
    .cmp-bottomline-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
    }
}

/* ---- What TitaPro Gives You Section (Single Line Track & 3D Cards) ---- */
.cmp-gives-section {
    margin: 90px auto;
}

.cmp-gives-header {
    margin-bottom: 44px;
    text-align: left;
}

.cmp-gives-header .cmp-section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 12px;
}

.cmp-gives-header .cmp-section-desc {
    font-size: 17px;
    color: #4B5563;
    max-width: 640px;
    margin: 0;
}

.cmp-gives-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 15px 0 35px;
}

/* Smooth fade masks on edges */
/* .cmp-gives-track-wrapper::before,
.cmp-gives-track-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 3;
    pointer-events: none;
}

.cmp-gives-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.cmp-gives-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
} */

.cmp-gives-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

.cmp-gives-card {
    width: 300px;
    flex-shrink: 0;
    flex-grow: 0;
    border-radius: 24px;
    padding: 26px 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

@keyframes cmpGivesInfiniteSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-5 * 285px));
    }
}

/* 5 Theme-Matched Pastel Background Tints with High-Contrast Typography */
.cmp-gives-card-1 {
    background: linear-gradient(160deg, #F8F5FF 0%, #EDE4FF 100%);
    border-color: rgba(123, 31, 162, 0.25);
}

.cmp-gives-card-1 .cmp-gives-category {
    color: #6A1B9A;
}

.cmp-gives-card-1 .cmp-gives-title {
    color: #1E1B4B;
}

.cmp-gives-card-1 .cmp-gives-sub {
    color: #7B1FA2;
}

.cmp-gives-card-2 {
    background: linear-gradient(160deg, #F0F9FF 0%, #E0F2FE 100%);
    border-color: rgba(14, 165, 233, 0.25);
}

.cmp-gives-card-2 .cmp-gives-category {
    color: #0369A1;
}

.cmp-gives-card-2 .cmp-gives-title {
    color: #0F172A;
}

.cmp-gives-card-2 .cmp-gives-sub {
    color: #0284C7;
}

.cmp-gives-card-3 {
    background: linear-gradient(160deg, #F0FDF4 0%, #DCFCE7 100%);
    border-color: rgba(16, 185, 129, 0.25);
}

.cmp-gives-card-3 .cmp-gives-category {
    color: #15803D;
}

.cmp-gives-card-3 .cmp-gives-title {
    color: #064E3B;
}

.cmp-gives-card-3 .cmp-gives-sub {
    color: #059669;
}

.cmp-gives-card-4 {
    background: linear-gradient(160deg, #FFF7ED 0%, #FFEDD5 100%);
    border-color: rgba(244, 81, 30, 0.25);
}

.cmp-gives-card-4 .cmp-gives-category {
    color: #C2410C;
}

.cmp-gives-card-4 .cmp-gives-title {
    color: #431407;
}

.cmp-gives-card-4 .cmp-gives-sub {
    color: #EA580C;
}

.cmp-gives-card-5 {
    background: linear-gradient(160deg, #FAF5FF 0%, #F3E8FF 100%);
    border-color: rgba(147, 51, 234, 0.25);
}

.cmp-gives-card-5 .cmp-gives-category {
    color: #6B21A8;
}

.cmp-gives-card-5 .cmp-gives-title {
    color: #1E1B4B;
}

.cmp-gives-card-5 .cmp-gives-sub {
    color: #9333EA;
}

.cmp-gives-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cmp-gives-category {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.cmp-gives-check-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #111827;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cmp-gives-check-pill .cmp-gives-check-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10B981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.cmp-gives-title {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 4px;
    margin-bottom: 0;
}

.cmp-gives-sub {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

/* UI Dashboard Mockup Box inside each card */
.cmp-gives-img-box {
    margin-top: 14px;
    width: 100%;
    height: 155px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

.cmp-gives-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cmp-gives-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto;
}

.cmp-gives-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cmp-gives-card:hover .cmp-gives-arrow {
    background: var(--RoyalBlue);
    color: #ffffff;
    transform: translateX(4px) scale(1.05);
    box-shadow: 0 6px 18px rgba(123, 31, 162, 0.35);
}

@media (max-width: 1200px) {
    .cmp-gives-track {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cmp-gives-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .cmp-gives-card {
        min-height: 340px;
        padding: 22px 18px;
    }
}

@media (max-width: 520px) {
    .cmp-gives-track {
        grid-template-columns: 1fr;
    }
}

/* ---- Where Each Tool Wins Section ---- */
.cmp-wins-section {
    margin: 80px auto;
}

.cmp-wins-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.cmp-wins-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cmp-wins-clickup {
    border-top: 4px solid #94A3B8;
}

.cmp-wins-titapro {
    border: 1.5px solid rgba(123, 31, 162, 0.3);
    border-top: 4px solid var(--RoyalBlue);
    background: linear-gradient(180deg, #FAF5FF 0%, #FFFFFF 100%);
    box-shadow: 0 15px 40px rgba(123, 31, 162, 0.08);
    position: relative;
}

.cmp-wins-titapro::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(123, 31, 162, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cmp-wins-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.cmp-wins-titapro:hover {
    box-shadow: 0 20px 50px rgba(123, 31, 162, 0.15);
    border-color: rgba(123, 31, 162, 0.5);
}

.cmp-wins-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #F3F4F6;
}

.cmp-wins-logo-badge {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-shrink: 0;
}

.cmp-wins-logo-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cmp-wins-logo-tita {
    background: #FAF5FF;
    border-color: rgba(123, 31, 162, 0.2);
}

.cmp-wins-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 4px;
}

.cmp-wins-badge-gray {
    background: #F1F5F9;
    color: #373e47;
}

.cmp-wins-badge-purple {
    background: rgba(123, 31, 162, 0.1);
    color: var(--RoyalBlue);
}

.cmp-wins-card-title {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.cmp-wins-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cmp-wins-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cmp-wins-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.cmp-wins-icon-tita {
    background: linear-gradient(135deg, var(--RoyalBlue), var(--skyblue));
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.25);
}

.cmp-wins-item-content h4 {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #111827;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.cmp-wins-item-content p {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .cmp-wins-grid {
        grid-template-columns: 1fr;
    }

    .cmp-wins-card {
        padding: 30px 24px;
    }
}

/* ---- Why SMBs Switch from ClickUp Section ---- */
.cmp-switch-section {
    margin: 60px auto 70px;
}

.cmp-tag-dot-red {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #EF4444;
    margin-right: 6px;
}

.cmp-switch-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    align-items: stretch;
}

.cmp-switch-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.cmp-switch-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #EF4444, #F4511E);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.cmp-switch-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: 0 14px 35px rgba(239, 68, 68, 0.1);
}

.cmp-switch-card:hover::before {
    opacity: 1;
}

.cmp-switch-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #FEF2F2;
    border: 1px solid #FEE2E2;
    color: #EF4444;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.cmp-switch-card:hover .cmp-switch-icon {
    background: #EF4444;
    border-color: #EF4444;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.cmp-switch-body h4 {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #0F172A;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.cmp-switch-body p {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1200px) {
    .cmp-switch-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cmp-switch-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .cmp-switch-card {
        padding: 18px 16px;
    }
}

@media (max-width: 520px) {
    .cmp-switch-grid {
        grid-template-columns: 1fr;
    }
}