.about-container {
    background: white;
    color: #fff;
    font-family: 'Inter', sans-serif;
}
body {
    margin: 0;
}
.values-header{
    color: #8A2BE2;
}

/* Эффектный заголовок */
.about-intro {
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 10% 20%, rgba(138, 43, 226, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(123, 47, 247, 0.08) 0%, transparent 40%),
        linear-gradient(135deg, #ffffff 0%, #f9f7ff 100%) !important;

    background-attachment: fixed; /* Keeps the gradients in place while scrolling */
    color: #1a1a1a !important; /* Forces text to be dark for readability */
}

.huge-title {
    font-size: clamp(3rem, 10vw, 8rem);
    text-transform: uppercase;
    font-weight: 900;
    text-align: center;
    line-height: 50px;
    letter-spacing: -4px;
}

.huge-title .line {
    display: block;
    line-height: 130px;
}

/* Секция истории */
.about-story {
    padding: 150px 10%;
    background: #050505;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.tag {
    color: var(--brand-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
}

.story-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.story-text p {
    color: #888;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.gradient-text {
    /* Используем твои фирменные цвета: ярко-фиолетовый и глубокий индиго */
    background: linear-gradient(135deg, #8A2BE2 0%, #4b0082 100%) !important;

    display: inline-block !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;

    /* Добавим немного насыщенности для четкости на белом фоне */
    filter: saturate(1.2);
}

.story-visual {
    height: 500px;
    background: url('https://www.rentnconnect.com/ckfinder/userfiles/files/Best%20Tech%20Gadgets%202020.jpg') center/cover;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.2);
}

.experience-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--brand-purple);
    padding: 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.experience-badge .years {
    font-size: 3rem;
    font-weight: 800;
    display: block;
}

/* Карточки принципов */
.about-values {
    padding: 100px 10%;
}

.values-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: white;
    padding: 50px;
    border-radius: 40px;
    border: 1px solid #222;
    transition: 0.5s all ease;
    cursor: default;
}

.value-card .v-num {
    font-size: 3rem;
    color: var(--brand-purple);
    margin-bottom: 30px;
    font-family: serif;
    font-style: italic;
}
.value-card *{
    color: black;
}

.value-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.value-card p {
    color: #666;
    line-height: 1.5;
}

/* Эффект при наведении */
.value-card:hover, .value-card.active {
    border-color: var(--brand-purple);
    transform: translateY(-10px);
}
.values-header h2{
    font-size: 40px;
}
/* --- АДАПТИВНОСТЬ --- */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .story-grid {
        gap: 50px; /* Уменьшаем разрыв между текстом и картинкой */
    }

    .about-story, .about-values {
        padding: 80px 5%; /* Сужаем боковые поля */
    }

    .values-wrapper {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки вместо 3 */
    }
}

/* Смартфоны (до 768px) */
@media (max-width: 768px) {
    /* Главный заголовок */
    .huge-title {
        letter-spacing: -2px;
    }

    .huge-title .line {
        line-height: 1.1; /* Убираем жесткие 130px, которые создают дыры */
        margin-bottom: 20px;
    }

    /* Секция истории */
    .story-grid {
        grid-template-columns: 1fr; /* Текст и картинка друг под другом */
        text-align: center;
    }

    .story-visual {
        height: 350px; /* Уменьшаем высоту картинки */
        order: -1; /* Картинка теперь будет ВЫШЕ текста */
    }

    .experience-badge {
        padding: 20px;
        bottom: 10px;
        right: 10px;
    }

    .experience-badge .years {
        font-size: 2rem;
    }
    .values-header h2{
        text-align: center;
    }
    /* Карточки принципов */
    .values-wrapper {
        grid-template-columns: 1fr; /* 1 колонка */
    }

    .value-card {
        padding: 30px; /* Меньше внутренних отступов */
    }

    .story-text h2 {
        font-size: 2.2rem;
    }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
    .huge-title {
        font-size: 2.5rem; /* Чтобы длинные слова не резались */
    }

    .about-intro {
        height: 70vh; /* Уменьшаем высоту первого экрана */
    }

    .story-text p {
        font-size: 1rem;
    }
}
:root {
    --brand-purple: #8A2BE2;
}

/* Убираем горизонтальный скролл, который часто вылетает на мобилках */
html, body {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .huge-title .line {
        line-height: 1.1 !important; /* Перебиваем жесткие 130px */
        display: block;
        margin-bottom: 5px;
    }

    .about-intro {
        height: auto; /* На маленьких экранах лучше не фиксировать высоту */
        padding: 100px 20px;
    }
}
@media (max-width: 768px) {
    .story-grid {
        gap: 40px;
    }

    .story-text {
        padding: 0 10px;
    }

    /* Делаем картинку чуть аккуратнее */
    .story-visual {
        width: 100%;
        border-radius: 25px;
        height: 300px;
    }

    /* Бейдж с годами опыта */
    .experience-badge {
        padding: 15px;
        right: 10px;
        bottom: 10px;
        border-radius: 20px;
    }
}
@media (max-width: 768px) {
    .value-card {
        text-align: center;
        border-radius: 25px;
        /* Легкое свечение, чтобы карточка не терялась на черном фоне */
        box-shadow: 0 10px 30px rgba(138, 43, 226, 0.05);
    }
}