/* ==========================================================================
   Trust Section
   ========================================================================== */

.trust-section {
    padding: var(--spacing-4xl) 0;
    text-align: center;
}

.trust-visual {
    margin-top: var(--spacing-3xl);
    position: relative;
}

/* Trust Content Layout */
.trust-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center; /* Vertically center selection with demo container */
}

.trust-selection {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.selection-item {
    display: flex;
    align-items: center; /* Center line and text vertically */
    gap: 16px;
    padding: 16px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.selection-line {
    width: 3px;
    height: 73px;
    background: #d9d9d9;
    border-radius: 2px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.selection-item.active .selection-line {
    height: 136px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.selection-content h4 {
    font-size: 24px;
    font-weight: var(--font-medium);
    color: #d9d9d9;
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
}

.selection-item.active .selection-content h4 {
    color: var(--color-primary);
}

.selection-content p {
    font-size: 16px;
    color: var(--color-text-muted);
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.selection-item.active .selection-content p {
    max-height: 60px;
    opacity: 1;
}

/* Trust Demo Container */
.trust-demo-container {
    flex: 1;
    background: #f5f5f5;
    border-radius: var(--radius-lg);
    min-height: 357px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-demo-content {
    text-align: center;
}

.demo-title {
    font-size: 40px;
    font-weight: var(--font-medium);
    color: var(--color-black);
    margin-bottom: 8px;
}

.demo-number {
    font-size: 40px;
    font-weight: var(--font-medium);
    color: var(--color-black);
    margin: 0;
}

.trust-demo-container .play-button {
    width: 80px;
    height: 80px;
    background: transparent;
    border: none;
    color: var(--color-black);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.trust-demo-container .play-button:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .trust-section {
        overflow: hidden;
    }

    .trust-content-wrapper {
        flex-direction: column;
        overflow: hidden;
    }

    .trust-selection {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        gap: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .trust-selection::-webkit-scrollbar {
        display: none;
    }

    .selection-item {
        flex-direction: column;
        min-width: 120px;
        flex-shrink: 0;
    }

    .selection-content h4 {
        font-size: 14px;
    }

    .selection-content p {
        font-size: 12px;
    }

    .selection-line {
        width: 100%;
        height: 3px !important;
    }

    .trust-demo-container {
        min-height: 250px;
    }

    .demo-title {
        font-size: 28px;
    }
}

