/* ========================================
   Features Bento Grid - ТОЧНАЯ КОПИЯ ИЗ FIGMA
   ======================================== */
/* Bento Grid / 2x2 */
.features-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px;
    gap: 48px;
    position: relative;
    width: 100%;
    max-width: 1312px;
    margin: 0 auto;
}

/* Свободный интернет без границ */
.features-grid .section-title {
    width: 783px;
    max-width: 100%;
    height: 48px;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    font-size: 48px;
    line-height: 100%;
    display: flex;
    align-items: center;
    color: #FAFAFA;
    flex: none;
    order: 0;
    flex-grow: 0;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

/* Frame 1 */
.bento-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
    width: 100%;
    max-width: 1248px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Frame 5 - Ряды */
.bento-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0px;
    gap: 16px;
    width: 100%;
    max-width: 1248px;
    flex: none;
    align-self: stretch;
    flex-grow: 0;
}

.bento-row-first {
    height: 496px;
    order: 0;
}

.bento-row-second {
    height: 560px;
    order: 1;
}

/* Tile - Базовая карточка */
.bento-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 24px;
    min-width: 360px;
    background: linear-gradient(180deg, rgba(15,18,20, 1) 0%, rgba(13,21,23, 1) 100%);
    border-radius: 12px;
    flex: none;
    align-self: stretch;
    position: relative;
    overflow: hidden;
}

/* Разрешаем overflow для карточки с tiles, чтобы свечение было видно */
.bento-row-first .bento-card-672 {
    overflow: visible;
}

.bento-card-560 {
    width: 560px;
    flex-grow: 0;
}

.bento-card-672 {
    width: 672px;
    flex-grow: 1;
}

.bento-row-first .bento-card {
    height: 496px;
}

.bento-row-second .bento-card {
    height: 560px;
}

/* text */
.bento-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    width: 460px;
    max-width: 460px;
    height: 88px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* text для Globe карточки (первый ряд, 560px) - поверх иллюстрации */
.bento-row-first .bento-card-560 .bento-card-content {
    position: relative;
    z-index: 10;
}

/* Card title */
.bento-card-title {
    width: 460px;
    height: 32px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: #FAFAFA;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

/* Card description */
.bento-card-description {
    width: 460px;
    height: 48px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #A1A1AA;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
}

/* illustration - default (для большинства карточек) */
.bento-card-illustration {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 1;
    position: relative;
    overflow: visible;
}

/* illustration для Globe карточки (первый ряд, 560px) - с наложением */
.bento-row-first .bento-card-560 .bento-card-illustration {
    padding: 0px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

/* illustration для Ripple карточки (672px, первый ряд) */
.bento-row-first .bento-card-672 .bento-card-illustration {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем по горизонтали */
    justify-content: center; /* Центрируем по вертикали */
    padding: 64px 0px 0px;
    width: 624px;
    height: 336px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 1;
    overflow: visible;
}

/* illustration для второго ряда */
.bento-row-second .bento-card-illustration {
    padding: 0px;
}

/* ========================================
   Illustration/Globe - ТОЧНО ИЗ FIGMA
   ======================================== */
.globe-illustration-figma {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 560px;
    height: auto;
    display: flex;
    align-items: flex-end; /* Выравниваем по нижнему краю */
    justify-content: center;
    overflow: visible;
}

/* Globe wireframe image */
.globe-wireframe {
    width: 100%;
    max-width: 560px;
    height: auto;
    object-fit: contain;
    display: block; /* Убираем лишние отступы */
}

/* ========================================
   Illustration/Ripple - ТОЧНО ИЗ FIGMA
   ======================================== */
.ripple-illustration-figma {
    position: relative;
    width: 512px;
    height: 512px;
    margin: -38px auto 0 auto; /* Центрируем и поднимаем немного выше */
}

/* glows */
.ripple-glows {
    position: absolute;
    width: 100%; /* Занимает всю ширину контейнера */
    height: 100%; /* Занимает всю высоту контейнера */
    left: 0;
    top: 0;
}

/* Ellipse 1 */
.ripple-ellipse-glow {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.7;
    filter: blur(150px); /* Уменьшаем blur для более плавного эффекта */
    transform: matrix(-1, 0, 0, 1, 0, 0);
}

/* Frame 4 - Внешняя окружность, центрируется относительно ripple-illustration-figma */
.ripple-frame-4 {
    position: absolute;
    width: 356px;
    height: 356px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(250, 250, 250, 0.05);
    border-radius: 9999px;
    box-sizing: border-box;
}

/* Frame 5 - Центрируется относительно Frame 4 */
.ripple-frame-5 {
    position: absolute;
    width: 340px;
    height: 340px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(250, 250, 250, 0.05);
    border-radius: 9999px;
    box-sizing: border-box;
}

/* Frame 6 - Центрируется относительно Frame 5 */
.ripple-frame-6 {
    position: absolute;
    width: 324px;
    height: 324px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(250, 250, 250, 0.1);
    border-radius: 9999px;
    box-sizing: border-box;
}

/* Frame 7 - Центрируется относительно Frame 6 */
.ripple-frame-7 {
    position: absolute;
    width: 308px;
    height: 308px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(250, 250, 250, 0.1);
    border-radius: 9999px;
    box-sizing: border-box;
}

/* Frame 8 - Центрируется относительно Frame 7 */
.ripple-frame-8 {
    position: absolute;
    width: 292px;
    height: 292px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(250, 250, 250, 0.2);
    border-radius: 9999px;
    box-sizing: border-box;
}

/* Frame 10 - Центрируется относительно Frame 8 */
.ripple-frame-10 {
    position: absolute;
    width: 276px;
    height: 276px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(250, 250, 250, 0.2);
    border-radius: 9999px;
    box-sizing: border-box;
}

/* Frame 9 - Центрируется относительно Frame 10 */
.ripple-frame-9 {
    position: absolute;
    width: 260px;
    height: 260px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(250, 250, 250, 0.3);
    border-radius: 9999px;
    box-sizing: border-box;
}

/* Frame 10 inner - Центрируется относительно Frame 9 */
.ripple-frame-10-inner {
    position: absolute;
    width: 244px;
    height: 244px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(250, 250, 250, 0.3);
    border-radius: 9999px;
    box-sizing: border-box;
}

/* Frame 11 - Центрируется относительно Frame 10 inner */
.ripple-frame-11 {
    position: absolute;
    width: 228px;
    height: 228px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(250, 250, 250, 0.4);
    border-radius: 9999px;
    box-sizing: border-box;
}

/* Frame 12 - Центрируется относительно Frame 11 */
.ripple-frame-12 {
    position: absolute;
    width: 212px;
    height: 212px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(250, 250, 250, 0.4);
    border-radius: 9999px;
    box-sizing: border-box;
}

/* Frame 13 - Центрируется относительно Frame 12 */
.ripple-frame-13 {
    position: absolute;
    width: 196px;
    height: 196px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(250, 250, 250, 0.5);
    border-radius: 9999px;
    box-sizing: border-box;
}

/* Frame 14 - Центрируется относительно Frame 13 */
.ripple-frame-14 {
    position: absolute;
    width: 180px;
    height: 180px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(250, 250, 250, 0.5);
    border-radius: 9999px;
    box-sizing: border-box;
}

/* Frame 15 - Центральный зеленый круг, центрируется относительно Frame 14 */
.ripple-frame-15 {
    position: absolute;
    width: 164px;
    height: 164px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, rgba(2, 173, 161, 0.3) 0%, rgba(2, 173, 161, 0.1) 100%);
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 9999px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Frame 713 - Центрируется относительно Frame 15 */
.ripple-frame-713 {
    position: absolute;
    width: 148px;
    height: 148px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(360deg, rgba(250, 250, 250, 0.015) 0%, rgba(255, 255, 255, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Name - icon */
.ripple-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 8px;
    width: 64px;
    height: 64px;
    filter: drop-shadow(0px 0px 8px rgba(0, 230, 214, 0.5)) drop-shadow(0px 0px 64px #00FFED);
    flex: none;
    order: 0;
    flex-grow: 0;
}

.ripple-icon svg {
    width: 64px;
    height: 64px;
    color: #FFFFFF;
    border-radius: 4px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 1;
}

/* ========================================
   Illustration/Tiles - ТОЧНО ИЗ FIGMA
   ======================================== */
.tiles-illustration-figma {
    position: absolute;
    width: 624px;
    height: 368px;
    left: 0;
    top: 0;
    overflow: visible;
}

/* glows */
.tiles-glows {
    position: absolute;
    width: 360px;
    height: 360px;
    left: calc(50% - 360px/2);
    top: calc(50% - 360px/2);
    opacity: 0.5;
}

/* Ellipse 1 */
.tiles-ellipse-glow {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background: rgba(70, 255, 242, 0.3);
    filter: blur(200px);
    transform: matrix(-1, 0, 0, 1, 0, 0);
}

/* Frame 24 */
.tiles-frame-24 {
    position: absolute;
    width: 84px;
    height: 84px;
    left: calc(50% - 84px/2 - 224px);
    top: calc(50% - 84px/2 + 47px);
    background: linear-gradient(270deg, rgba(9, 9, 11, 0.3) 0%, rgba(9, 9, 11, 0) 100%);
    border-radius: 12px;
}

/* Frame 17 - Android */
.tiles-frame-17 {
    position: absolute;
    width: 84px;
    height: 84px;
    left: calc(50% - 84px/2 + 100px);
    top: calc(50% - 84px/2 - 8px);
    background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, rgba(250, 250, 250, 0.05) 100%);
    border: 4px solid rgba(9, 9, 11, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tiles-frame-17 svg {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
    filter: drop-shadow(0px 0px 8px rgba(109, 233, 225, 0.8)) drop-shadow(0px 0px 64px #02ADA1);
}

/* Frame 23 */
.tiles-frame-23 {
    position: absolute;
    width: 84px;
    height: 84px;
    left: calc(50% - 84px/2 + 100px);
    top: calc(50% - 84px/2 - 116px);
    background: linear-gradient(360deg, rgba(9, 9, 11, 0.3) 0%, rgba(9, 9, 11, 0) 100%);
    border-radius: 12px;
}

/* Frame 19 - Apple (iOS) */
.tiles-frame-19 {
    position: absolute;
    width: 84px;
    height: 84px;
    left: calc(50% - 84px/2 - 116px);
    top: calc(50% - 84px/2 - 8px);
    background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, rgba(250, 250, 250, 0.05) 100%);
    border: 4px solid rgba(9, 9, 11, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tiles-frame-19 svg {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
    filter: drop-shadow(0px 0px 8px rgba(109, 233, 225, 0.8)) drop-shadow(0px 0px 64px #02ADA1);
}

/* Frame 20 */
.tiles-frame-20 {
    position: absolute;
    width: 84px;
    height: 84px;
    left: calc(50% - 84px/2 - 116px);
    top: calc(50% - 84px/2 - 116px);
    background: linear-gradient(360deg, rgba(9, 9, 11, 0.3) 0%, rgba(9, 9, 11, 0) 100%);
    border-radius: 12px;
}

/* Frame 24 second */
.tiles-frame-24-second {
    position: absolute;
    width: 84px;
    height: 84px;
    left: calc(50% - 84px/2 - 116px);
    top: calc(50% - 84px/2 + 100px);
    background: linear-gradient(180deg, rgba(9, 9, 11, 0.3) 0%, rgba(9, 9, 11, 0) 100%);
    border-radius: 12px;
}

/* Frame 21 */
.tiles-frame-21 {
    position: absolute;
    width: 84px;
    height: 84px;
    left: calc(50% - 84px/2 + 100px);
    top: calc(50% - 84px/2 + 100px);
    background: linear-gradient(180deg, rgba(9, 9, 11, 0.3) 0%, rgba(9, 9, 11, 0) 100%);
    border-radius: 12px;
}

/* Frame 25 */
.tiles-frame-25 {
    position: absolute;
    width: 84px;
    height: 84px;
    left: calc(50% - 84px/2 + 208px);
    top: calc(50% - 84px/2 + 46px);
    background: linear-gradient(90deg, rgba(9, 9, 11, 0.3) 0%, rgba(9, 9, 11, 0) 100%);
    border-radius: 12px;
}

/* Frame 22 - Chrome */
.tiles-frame-22 {
    position: absolute;
    width: 84px;
    height: 84px;
    left: calc(50% - 84px/2 + 208px);
    top: calc(50% - 84px/2 - 62px);
    background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, rgba(250, 250, 250, 0.05) 100%);
    border: 4px solid rgba(9, 9, 11, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tiles-frame-22 svg {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
    filter: drop-shadow(0px 0px 8px rgba(109, 233, 225, 0.8)) drop-shadow(0px 0px 64px #02ADA1);
}

/* Frame 16 - Smart TV */
.tiles-frame-16 {
    position: absolute;
    width: 84px;
    height: 84px;
    left: calc(50% - 84px/2 - 8px);
    top: calc(50% - 84px/2 - 62px);
    background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, rgba(250, 250, 250, 0.05) 100%);
    border: 4px solid rgba(9, 9, 11, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tiles-frame-16 svg {
    width: 80px;
    height: 80px;
    color: #FFFFFF;
    filter: drop-shadow(0px 0px 8px rgba(109, 233, 225, 0.8)) drop-shadow(0px 0px 16px #02ADA1) !important;
}

/* Frame 18 - macOS */
.tiles-frame-18 {
    position: absolute;
    width: 84px;
    height: 84px;
    left: calc(50% - 84px/2 - 8px);
    top: calc(50% - 84px/2 + 46px);
    background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, rgba(250, 250, 250, 0.05) 100%);
    border: 4px solid rgba(9, 9, 11, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tiles-frame-18 svg {
    width: 85px;
    height: 85px;
    color: #FFFFFF;
    filter: drop-shadow(0px 0px 8px rgba(109, 233, 225, 0.8)) drop-shadow(0px 0px 16px #02ADA1) !important;
}

/* ========================================
   Illustration/Chat - ТОЧНО ИЗ FIGMA
   ======================================== */
.chat-illustration-figma {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 24px;
    gap: 8px;
    isolation: isolate;
    width: 512px;
    height: 368px;
    position: relative;
}

/* glows */
.chat-glows {
    position: absolute;
    width: 360px;
    height: 360px;
    left: calc(50% - 360px/2);
    top: calc(50% - 360px/2);
    opacity: 0.5;
}

/* Ellipse 1 */
.chat-ellipse-glow {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background: rgba(70, 255, 242, 0.3);
    opacity: 0.7;
    filter: blur(200px);
    transform: matrix(-1, 0, 0, 1, 0, 0);
}

/* Frame 709 */
.chat-frame-709 {
    width: 464px;
    height: 261px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    z-index: 0;
    position: relative;
}

/* Frame 26 - Support message */
.chat-frame-26 {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    position: absolute;
    width: 425px;
    height: 32px;
    left: 35px;
    top: 8px;
    background: linear-gradient(360deg, rgba(250, 250, 250, 0.05) 0%, rgba(250, 250, 250, 0.1) 100%);
    border-radius: 12px;
    z-index: 2;
}

.chat-frame-26 p {
    width: 404px;
    height: 16px;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    display: flex;
    align-items: center;
    color: #A1A1AA;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.chat-frame-26 .chat-support-text-desktop {
    display: flex;
}

.chat-frame-26 .chat-support-text-mobile {
    display: none;
}

/* Frame 27 - Client message 1 */
.chat-frame-27 {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    position: absolute;
    width: 287px;
    height: 32px;
    left: 177px;
    top: 147px;
    background: linear-gradient(360deg, rgba(250, 250, 250, 0.05) 0%, rgba(250, 250, 250, 0.1) 100%);
    border-radius: 12px;
    z-index: 2;
}

.chat-frame-27 p {
    width: 263px;
    height: 16px;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    display: flex;
    align-items: center;
    color: #A1A1AA;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Frame 28 - Client message 2 */
.chat-frame-28 {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    position: absolute;
    width: 81px;
    height: 32px;
    left: 383px;
    top: 187px;
    background: linear-gradient(360deg, rgba(250, 250, 250, 0.05) 0%, rgba(250, 250, 250, 0.1) 100%);
    border-radius: 12px;
    z-index: 2;
}

.chat-frame-28 p {
    width: 57px;
    height: 16px;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    display: flex;
    align-items: center;
    color: #A1A1AA;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Group 4 - Support badge */
.chat-group-4 {
    position: absolute;
    width: 83px;
    height: 47.4px;
    left: 0px;
    top: 56px;
    box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.1), 0px 20px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

/* Frame 708 - Support */
.chat-frame-708-support {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    gap: 12px;
    position: absolute;
    width: 83px;
    height: 24px;
    left: 0px;
    top: 23.4px; /* Смещен вниз, чтобы наслаиваться на подложку */
    background: #02ADA1;
    border: 1.2px solid #02ADA1;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2), 0px 0px 8px rgba(0, 230, 214, 0.5), 0px 0px 64px #00FFED;
    border-radius: 7.2px;
    z-index: 2;
}

.chat-frame-708-support span {
    width: 67px;
    height: 16px;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    text-align: right;
    color: #FAFAFA;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Курсор поддержки - изображение */
.chat-cursor-support {
    position: absolute;
    left: 50px; /* x: 50 согласно Figma */
    top: 0px; /* y: 0 согласно Figma */
    width: 19.2px; /* width согласно Figma */
    height: 27.15px; /* height согласно Figma */
    object-fit: contain;
    z-index: 4;
    pointer-events: none;
}

/* Group 3 - Client badge */
.chat-group-3 {
    position: absolute;
    width: 61px;
    height: 47.4px;
    left: 258px;
    top: 214px;
    box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.1), 0px 20px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

/* Frame 708 - Client */
.chat-frame-708-user {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    gap: 12px;
    position: absolute;
    width: 59px;
    height: 24px;
    right: 0px; /* Блок справа в группе */
    top: 23.4px; /* Смещен вниз, чтобы наслаиваться на подложку */
    background: #FAFAFA;
    border: 1.2px solid #D4D4D8;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 7.2px;
    z-index: 2;
}

.chat-frame-708-user span {
    width: 43px;
    height: 16px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #18181B;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Курсор клиента - изображение */
.chat-cursor-client {
    position: absolute;
    left: 0px; /* Курсор слева от блока */
    top: 0px; /* Курсор сверху */
    width: 19.2px; /* width согласно Figma */
    height: 27.15px; /* height согласно Figma */
    object-fit: contain;
    z-index: 4;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1312px) {
    .features-grid {
        padding: 60px 24px;
    }

    .bento-row {
        flex-wrap: wrap;
        height: auto !important;
    }

    .bento-card-560,
    .bento-card-672 {
        width: 100%;
        flex-grow: 1;
    }

    .bento-card {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        padding: 40px 16px;
        gap: 32px;
    }

    /* Уменьшаем размер заголовка "Свободный интернет без границ" для мобильных */
    .features-grid .section-title {
        font-size: 32px;
        line-height: 120%;
        height: auto;
        white-space: normal;
        width: 100%;
        text-align: left;
        justify-content: center;
    }

    .bento-grid {
        gap: 12px;
    }

    .bento-row {
        gap: 12px;
    }

    .bento-card {
        min-height: 350px;
    }

    .bento-card-content {
        width: 100%;
    }

    .bento-card-title,
    .bento-card-description {
        width: 100%;
    }

    /* Уменьшаем размеры текста для мобильных */
    .bento-card-title {
        font-size: 16px; /* Еще меньше для мобильных */
        line-height: 22px;
        height: auto;
        white-space: nowrap; /* Текст в одну строку */
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .bento-card-description {
        font-size: 14px;
        line-height: 20px;
        height: auto;
    }

    .bento-card-content {
        gap: 6px;
        margin-bottom: 8px; /* Смещаем текст выше */
    }

    /* Глобус больше и по нижнему краю на мобильных */
    .bento-row-first .bento-card-560 .globe-illustration-figma {
        bottom: 0; /* Прижимаем к нижнему краю */
        top: auto; /* Убираем top */
        left: 50%;
        transform: translateX(-50%); /* Центрируем только по горизонтали */
        width: 140%; /* Увеличиваем размер глобуса еще больше */
        max-width: 800px; /* Увеличиваем максимальную ширину */
    }

    .bento-row-first .bento-card-560 .globe-wireframe {
        width: 100%;
        max-width: 800px; /* Увеличиваем размер глобуса еще больше */
        height: auto;
    }

    /* Круглый объект по центру */
    .bento-row-first .bento-card-672 .bento-card-illustration {
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .ripple-illustration-figma {
        margin: 0 auto;
    }

    /* Контент по центру на мобильных */
    .bento-card {
        align-items: flex-start;
    }

    /* Центрируем контент в карточках */
    .bento-card-content {
        align-items: flex-start;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Убираем фиксированные ширины для мобильных */
    .bento-card-title {
        width: 100% !important;
        max-width: 100% !important;
    }

    .bento-card-description {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Исправляем структуру карточки для мобильных - текст сверху, иллюстрация снизу */
    .bento-row-first .bento-card-672 {
        flex-direction: column;
        align-items: flex-start;
        overflow: hidden !important; /* Убеждаемся, что карточка обрезает содержимое */
    }

    /* Переопределяем overflow для карточки на мобильных */
    .bento-row-first .bento-card-672 {
        overflow: hidden !important;
    }

    /* Текст должен быть сверху */
    .bento-row-first .bento-card-672 .bento-card-content {
        order: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 24px;
        height: auto !important;
    }

    /* Иллюстрация должна быть снизу, после текста */
    .bento-row-first .bento-card-672 .bento-card-illustration {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important; /* Предотвращаем выход за границы */
        padding: 0 !important; /* Убираем padding, чтобы элемент точно поместился */
        display: flex !important;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        margin-top: 0;
        height: auto;
        flex-grow: 0;
        position: relative;
    }

    /* Масштабируем весь контейнер ripple для мобильных, сохраняя все пропорции */
    /* Используем прямое изменение размера для правильного расчета занимаемого пространства */
    .bento-row-first .bento-card-672 .ripple-illustration-figma {
        width: 440px !important; /* Увеличено в 2 раза: 220px * 2 = 440px */
        height: 440px !important;
        margin: -40px auto 0 auto !important; /* Поднимаем круг выше с отрицательным margin-top */
        position: relative;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Масштабируем все внутренние элементы пропорционально (увеличено в 2 раза) */
    .bento-row-first .bento-card-672 .ripple-glows {
        width: 310px !important; /* 155px * 2 = 310px */
        height: 310px !important;
        left: calc(50% - 310px/2) !important;
        top: calc(50% - 310px/2) !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-4 {
        width: 306px !important; /* 153px * 2 = 306px */
        height: 306px !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-5 {
        width: 292px !important; /* 146px * 2 = 292px */
        height: 292px !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-6 {
        width: 278px !important; /* 139px * 2 = 278px */
        height: 278px !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-7 {
        width: 264px !important; /* 132px * 2 = 264px */
        height: 264px !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-8 {
        width: 252px !important; /* 126px * 2 = 252px */
        height: 252px !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-10 {
        width: 238px !important; /* 119px * 2 = 238px */
        height: 238px !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-9 {
        width: 224px !important; /* 112px * 2 = 224px */
        height: 224px !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-10-inner {
        width: 210px !important; /* 105px * 2 = 210px */
        height: 210px !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-11 {
        width: 196px !important; /* 98px * 2 = 196px */
        height: 196px !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-12 {
        width: 182px !important; /* 91px * 2 = 182px */
        height: 182px !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-13 {
        width: 168px !important; /* 84px * 2 = 168px */
        height: 168px !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-14 {
        width: 154px !important; /* 77px * 2 = 154px */
        height: 154px !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-15 {
        width: 142px !important; /* 71px * 2 = 142px */
        height: 142px !important;
    }

    .bento-row-first .bento-card-672 .ripple-frame-713 {
        width: 128px !important; /* 64px * 2 = 128px */
        height: 128px !important;
    }

    /* Центрируем tiles-illustration-figma на мобильных */
    .tiles-illustration-figma {
        position: absolute;
        width: 100%;
        max-width: 624px;
        height: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        aspect-ratio: 624 / 368; /* Сохраняем пропорции оригинального размера */
    }

    /* Служба поддержки — адаптация чата под мобильные */
    .bento-row-second .bento-card-560 {
        --chat-scale: min(1, calc((100vw - 48px) / 464));
        min-height: calc(261px * var(--chat-scale) + 160px);
        overflow: visible;
    }

    .bento-row-second .bento-card-560 .bento-card-illustration {
        padding: 0;
        width: 100%;
        overflow: visible;
    }

    .bento-row-second .bento-card-560 .chat-illustration-figma {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        padding: 0;
    }

    .bento-row-second .bento-card-560 .chat-frame-709 {
        width: 464px;
        height: 261px;
        transform: scale(var(--chat-scale));
        transform-origin: top left;
        margin-top: 16px;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: calc(-1 * max(0px, 464px - (100vw - 80px)));
    }

    .bento-row-second .bento-card-560 .chat-frame-26,
    .bento-row-second .bento-card-560 .chat-frame-27,
    .bento-row-second .bento-card-560 .chat-frame-28 {
        height: auto;
        min-height: 32px;
    }

    .bento-row-second .bento-card-560 .chat-frame-26 {
        width: fit-content;
        max-width: calc(100% - 80px);
        left: auto;
        right: 0px;
    }

    .bento-row-second .bento-card-560 .chat-frame-26 p {
        width: auto;
        max-width: 100%;
    }

    .bento-row-second .bento-card-560 .chat-frame-709 p {
        white-space: normal;
        line-height: 1.4;
    }

    .bento-row-second .bento-card-560 .chat-group-4 {
        transform: translateX(160px);
    }

    .bento-row-second .bento-card-560 .chat-support-text-desktop {
        display: none;
    }

    .bento-row-second .bento-card-560 .chat-support-text-mobile {
        display: flex;
    }
}

