.benefits-section {
    padding: 0 5% 2rem;
    height:100%;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    background-color: #f8fafc;
}

.benefits-section .section-header {
    margin: 0;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 16px 0;
    color: #1e293b;
}

@media (max-width: 768px) {
    .benefits-section .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .benefits-section .section-title {
        font-size: 1.75rem !important;
        word-wrap: break-word !important;
    }
}

@media (max-width: 480px) {
    .benefits-section .section-title {
        font-size: 1.75rem !important;
    }
}

.benefits-surface {
    width: 95%;
    height: auto;
    min-height: 60vh;
    max-width: 1400px;
    min-width: 320px;
    margin: 2rem auto;
    padding: clamp(3rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2rem);
    
    background: #ffffff;
    border-radius: 24px;
    border: 1px rgba(15, 23, 42, 0.05);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .benefits-surface {
        width: 90%;
        min-width: 700px;
    }
}

@media (min-width: 1024px) {
    .benefits-surface {
        width: 85%;
        min-width: 900px;
    }
}

.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    gap: 0;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    
}

.benefits-pane {
    flex: 1;
    min-width: 0;
    position: relative;
    
}

.benefits-pane:first-child {
    padding-right: 2rem;
    display: flex;
    justify-content: flex-end;
}

.benefits-pane:last-child {
    padding-left: 2rem;
    display: flex;
    justify-content: center;
}

.benefits-separator {
    width: 2px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.benefits-separator::after {
    content: '';
    width: 2px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, #1a1a1a, #000000, #1a1a1a, transparent);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.benefits-list {
    display: grid;
    grid-template-columns: max-content;
    gap: 0.6rem;
    justify-content: end;
    text-align: left;
    width: 100%;
}

.benefit-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
    padding: 10px 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.benefit-button .icon-circle {
    display: none;
}

.benefit-button .button-label {
    white-space: nowrap;
    padding: 0;
    position: relative;
    z-index: 1;
}

.benefit-button:hover,
.benefit-button:focus-visible {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
    transform: translateY(-1px);
    outline: none;
}

.benefit-button:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3);
}

.benefit-button.active {
    background: #111827;
    border-color: #111827;
    color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transform: none;
}

.benefit-button.active .button-label {
    color: #ffffff !important;
}

.benefit-button.active .icon-circle {
    color: #ffffff;
}

.benefits-content {
    opacity: 0;
    transform: translateX(-12px);
    transition: all 0.35s ease;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    color: #0f172a;
    width: 100%;
    min-height: 200px;
}

.benefits-content.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.benefits-content-text {
    color: #0f172a;
    font-size: clamp(1.75rem, 3vw, 2.2rem);
    line-height: 1.6;
    font-weight: 500;
    white-space: pre-wrap;
    text-align: center;
    max-width: 100%;
    margin: 0;
    display: block;
    min-height: 0;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: initial;
    color: inherit;
    opacity: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.benefits-content-text.is-switching {
    opacity: 0;
    transform: translateY(6px);
}

.benefits-content-text.color-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.benefits-content-text.color-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.benefits-content-text.color-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.benefits-content-text.color-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.benefits-content-text.color-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.benefits-content-text.color-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.benefits-content-text.color-7 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.benefits-content-text.bg-nohallucination {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.benefits-content-text.bg-lowlatency {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
}

.benefits-content-text.bg-private {
    background: linear-gradient(135deg, #764b0f 0%, #b84b14 100%);
}

.benefits-content-text.bg-oneclick {
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
}

.benefits-content-text.bg-security {
    background: linear-gradient(135deg, #1e3b38 0%, #63f1d0 100%);
}

@media (max-width: 1100px) {
    .benefits-pane:first-child {
        padding-right: 1.5rem;
    }

    .benefits-pane:last-child {
        padding-left: 1.5rem;
    }

    .benefit-button {
        font-size: 0.7rem;
        padding: 0.5rem 0.75rem;
    }

    .benefits-content-text {
        font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    }
}

@media (max-width: 768px) {
    .benefits-pane:first-child {
        padding-right: 1rem;
    }

    .benefits-pane:last-child {
        padding-left: 1rem;
    }

    .benefit-button {
        font-size: 0.65rem;
        padding: 0.45rem 0.65rem;
    }

    .benefits-content-text {
        font-size: clamp(1.15rem, 3.2vw, 1.5rem);
    }

    .benefits-separator::after {
        height: 70%;
    }
}

@media (max-width: 640px) {
    .benefits-section {
        padding: 1.5rem 2%;
    }

    .benefits-surface {
        border-radius: 16px;
        padding: 2rem 0.75rem;
        height: auto;
        min-height: 55vh;
    }

    .benefits-pane:first-child {
        padding-right: 0.5rem;
    }

    .benefits-pane:last-child {
        padding-left: 0.5rem;
    }

    .benefit-button {
        font-size: 0.6rem;
        padding: 0.4rem 0.5rem;
    }

    .benefits-content-text {
        font-size: clamp(1.05rem, 4vw, 1.3rem);
        line-height: 1.4;
    }

    .benefits-content {
        min-height: 140px;
    }

    .benefits-separator::after {
        height: 75%;
        width: 1.5px;
    }
}
