/* About Page */

.about-section {
    padding-top: 32px;
    padding-bottom: 32px;
}

/* Hero — centered layout */
.about-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero__title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
}

.about-hero__image {
    border-radius: 16px;
    overflow: hidden;
    max-height: 360px;
    margin-top: 32px;
    width: 100%;
}

.about-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Counters */
.about-counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-counter {
    padding: 32px 24px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #7487DD, transparent);
    border-radius: 0 0 4px 4px;
}

.about-counter__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: rgba(116, 135, 221, 0.1);
    color: #7487DD;
    font-size: 22px;
}

.about-counter__number {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, #7487DD 0%, #a5b4f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.about-counter__label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

/* Tech stack marquee */
.about-tech-section {
    overflow: hidden;
}

.tech-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-marquee__track {
    display: flex;
    gap: 8px;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}

.tech-marquee__track:hover {
    animation-play-state: paused;
}

.tech-marquee__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.tech-marquee__item:hover {
    background: rgba(116, 135, 221, 0.12);
    border-color: rgba(116, 135, 221, 0.25);
    transform: translateY(-2px);
}

.tech-marquee__item i {
    font-size: 24px;
    color: #7487DD;
}

.tech-marquee__item span {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 3D directions sphere */
.directions-3d-wrap {
    width: 100%;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(116, 135, 221, 0.06) 0%, transparent 70%);
}

.directions-3d-wrap canvas {
    display: block;
}

/* Job accordion — full width */
.job-accordion {
    max-width: 100%;
}

/* SEO text blocks */
.about-seo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-seo__block {
    padding: 32px;
}

.about-seo__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.about-seo__text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.about-seo__text p {
    margin-bottom: 12px;
}

.about-seo__text p:last-child {
    margin-bottom: 0;
}

.about-seo__text strong {
    color: rgba(255, 255, 255, 0.85);
}

/* Responsive */
@media (max-width: 991px) {
    .about-hero__title {
        font-size: 28px;
    }

    .about-counters {
        grid-template-columns: repeat(2, 1fr);
    }

    .directions-3d-wrap {
        height: 360px;
    }

    .about-seo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .about-hero__title {
        font-size: 24px;
    }

    .about-counters {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .about-counter {
        padding: 24px 16px 20px;
    }

    .about-counter__icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .about-counter__number {
        font-size: 30px;
    }

    .directions-3d-wrap {
        height: 300px;
    }

    .about-seo__block {
        padding: 24px 20px;
    }

    .about-seo__title {
        font-size: 18px;
    }
}
