/* CX Platform Page Specific Styles */

/* --- Sections --- */
.cxp-reality-section {
    padding: 100px 0;
    background-color: transparent !important;
}

.cx-capability-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.custom-env-cta-section {
    padding: 100px 0;
}

.custom-faq-section {
    padding: 20px 0 120px;
    background-color: #ffffff00;
    position: relative;
}

/* --- Dark Card & Reality Section --- */
.cx-dark-box {

    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cx-row-center {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.cx-col-text {
    flex: 1;
    min-width: 300px;
}

.cx-col-img {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.cx-dark-h2 {

    color: #000;
    margin-bottom: 8px;
    font-family: var(--font-display, inherit);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.cx-dark-h2-italic {

    font-style: italic;
    color: #209fb3;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.cx-dark-subtitle {
    font-size: 1.15rem;
    color: #000000;
    margin-bottom: 40px;
}

.cx-governance-item {
    background: linear-gradient(135deg, #1f5761 0%, #0d3237 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: background 0.3s;
}

.cx-governance-item:hover {
    background: linear-gradient(135deg, #0f2f35 0%, #3498a5 100%);
}

.cx-icon-circle-teal {
    background: rgba(32, 159, 179, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(32, 159, 179, 0.3);
}

.cx-img-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cx-img-large {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.cx-glass-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.cx-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(32, 159, 179, 0.2);
    border: 1px solid rgba(32, 159, 179, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cx-summary-footer {

    background-color: #0b1a1f;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: #fff;
    margin: 0 auto;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(11, 26, 31, 0.15);
}

.cx-summary-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

/* --- Capability Section --- */
.cxp-capabilities-section {
    padding: 120px 0;
    background-color: #f8fafb;
}

.cxp-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

/* Handle 7th item centering */
.cxp-capabilities-grid> :last-child:nth-child(3n-2) {
    grid-column: 2 / 3;
}

.cxp-cap-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.cxp-cap-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(32, 159, 179, 0.08);
    border-color: rgba(32, 159, 179, 0.15);
}

.cxp-cap-icon-box {
    width: 48px;
    height: 48px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #209fb3;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cxp-cap-card:hover .cxp-cap-icon-box {
    transform: scale(1.25) rotate(5deg);
    color: #1b8697;
}

.cxp-cap-icon-box svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 1.5;
}

/* ACF Icon Picker — <i> tag inside icon box */
.cxp-cap-icon-box i {
    font-size: 28px;
    line-height: 1;
    color: inherit;
}

/* Card link — shown at the bottom of ACF-driven cards */
.cxp-cap-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #209fb3;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s ease, color 0.2s ease;
}

.cxp-cap-link:hover {
    gap: 10px;
    color: #1b8697;
}

.cxp-cap-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

.cxp-cap-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

@media (max-width: 1024px) {
    .cxp-capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cxp-capabilities-grid> :last-child:nth-child(3n-2) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .cxp-capabilities-grid {
        grid-template-columns: 1fr;
    }

    .cxp-cap-card {
        padding: 32px;
    }
}

/* --- Journey Section (Hybrid Flow/Card Style) --- */
.cxp-journey-flow-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cxp-journey-h2 {
    font-size: 3rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 24px;
}

.cxp-journey-p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.cxp-flow-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 60px;
}

.cxp-flow-row {
    position: relative;
    padding-top: 20px;
}

.cxp-flow-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 8px;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

.cxp-flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.cxp-flow-card {
    flex: 1;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 50px 25px 35px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cxp-flow-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(32, 159, 179, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.cxp-flow-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #0b1a1f;
    border: 1px solid #209fb3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #209fb3;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 0 15px rgba(32, 159, 179, 0.3);
}

.cxp-flow-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #209fb3;
    transition: all 0.3s ease;
}

.cxp-flow-card:hover .cxp-flow-icon {
    background: #209fb3;
    color: #fff;
    transform: rotate(5deg) scale(1.1);
}

.cxp-flow-icon svg {
    width: 24px;
    height: 24px;
}

.cxp-flow-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.cxp-flow-step p,
.cxp-flow-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.cxp-flow-arrow {
    width: 60px;
    color: #209fb3;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    animation: flowPulse 2s infinite ease-in-out;
}

@keyframes flowPulse {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateX(10px);
        opacity: 0.8;
    }
}

/* Response for flow row spacing on mobile */
@media (max-width: 991px) {
    .cxp-flow-steps {
        flex-direction: column;
        gap: 40px;
    }

    .cxp-flow-arrow {
        transform: rotate(90deg);
        width: auto;
        height: 40px;
    }

    @keyframes flowPulse {

        0%,
        100% {
            transform: translateY(0) rotate(90deg);
            opacity: 0.3;
        }

        50% {
            transform: translateY(10px) rotate(90deg);
            opacity: 0.8;
        }
    }
}

/* Result Pill */
.cxp-result-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.cxp-result-pill {
    background: rgba(32, 159, 179, 0.05);
    border: 1px solid rgba(32, 159, 179, 0.2);
    border-radius: 50px;
    padding: 15px 40px;
    color: #4dc4d6;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(32, 159, 179, 0.1);
    text-align: center;
    max-width: 900px;
}

/* --- Horizontal Capability Section (Light) --- */
.cxp-capability-horiz-section {
    padding: 120px 0 0;
    background-color: transparent;
}

.cxp-cap-horiz-h2 {

    color: #111;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 5px;
}

.cxp-cap-horiz-h2 em {
    display: block;

    font-family: var(--font-serif, "Playfair Display", serif);
    font-style: italic;
    color: #209fb3;

    margin-top: 5px;
}

.cxp-cap-horiz-p {
    font-size: 1.25rem;
    text-align: center;
    color: #475569;
    max-width: 600px;
    margin: 20px auto 60px;
    line-height: 1.5;
}

.cxp-cap-horiz-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.cxp-cap-horiz-card {
    background: #f0f9fa;
    border: 1px solid rgba(32, 159, 179, 0.05);
    border-radius: 20px;
    padding: 35px 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.cxp-cap-horiz-card:hover {
    background: #fff;
    border-color: rgba(32, 159, 179, 0.2);
    box-shadow: 0 15px 30px rgba(32, 159, 179, 0.08);
    transform: translateY(-2px);
}

.cxp-cap-horiz-icon {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #209fb3;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.cxp-cap-horiz-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 6px;
}

.cxp-cap-horiz-desc {
    font-sirgb(80, 91, 106)m;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* Standalone Banner */
.cxp-standalone-banner {
    background-color: #08161a;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cxp-standalone-h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.cxp-standalone-h3-alt {
    font-size: 1.5rem;
    font-weight: 400;
    color: #209fb3;
    margin: 0;
    opacity: 0.9;
}

/* --- Demo CTA Section --- */
.env-cta-card {
    background: linear-gradient(135deg, #1f5761 0%, #0d3237 100%);
    border-radius: 32px;
    padding: 100px 40px;
    text-align: center;
    color: #fff;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.env-cta-h2 {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 24px;
    color: #fff;
    font-family: var(--font-display, inherit);
    letter-spacing: -0.01em;
}

.env-cta-p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 680px;
    margin: 0 auto 35px;
}

.env-cta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.95rem;
    color: #4dc4d6;
}

.btn-teal-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #209fb3;
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.05rem;
    transition: background 0.3s ease;
}

.btn-teal-pill:hover {
    background: #1b8697;
}

/* --- FAQ Section --- */
.faq-h2 {
    font-size: 3rem;
    font-weight: 400;
    color: #111;
    margin-bottom: 16px;
    font-family: var(--font-display, inherit);
    letter-spacing: -0.01em;
}

.faq-p {
    font-size: 1.1rem;
    color: #888;
}

.custom-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custom-faq-item {
    background-color: #f7f9fb;
    border-radius: 12px;
    border: 1px solid transparent;
    overflow: hidden;
    transition: border-color 0.3s ease;
    box-shadow: none;
}

.custom-faq-item.active {
    border-color: #eaebed;
}

.faq-btn {
    width: 100%;
    text-align: left;
    padding: 26px 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.custom-faq-title {
    font-size: 1.15rem;
    font-weight: 400;
    color: #111;
    line-height: 1.4;
}

.custom-faq-icon-wrap {
    flex-shrink: 0;
    background: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.custom-faq-icon {
    color: #209fb3;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
    background-color: #ffffff;
}

.faq-answer-p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
    padding-bottom: 30px;
    margin: 0;
    padding-top: 5px;
}

/* --- Utilities --- */
.cx-flex-col-gap-16 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.cx-governance-text {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    line-height: 25px;
}

.cx-glass-badge-pos {
    position: absolute;
    bottom: 20px;
    left: -20px;
}

.cx-badge-tag {
    font-size: 0.85rem;
    color: #c1e5ea;
    margin-bottom: 2px;
}

.cx-badge-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.cx-container-900 {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cx-margin-bottom-60 {
    margin-bottom: 60px;
}

.cx-text-center {
    text-align: center;
}

.cx-margin-bottom-45 {
    margin-bottom: 45px;
}