/* styles/about.css */

.about {
    font-family: 'Gilroy';
    margin-top: 30px;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    position: relative;
}

.about.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (width <= 47.99875rem) {
    .about {
        margin-top: 20px;
        padding-inline: 1rem;
    }
}

.about__title {
    padding-bottom: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out 0.2s, transform 0.5s ease-out 0.2s;
}

.about.animate-in .about__title {
    opacity: 1;
    transform: translateY(0);
}

.about__content {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(8, 24, 53, 0.95) 0%, rgba(12, 50, 105, 0.9) 50%, rgba(8, 24, 53, 0.95) 100%);
    border-radius: 2rem;
    padding: 3.5rem;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.5s ease-out 0.4s, transform 0.5s ease-out 0.4s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(20, 97, 204, 0.3);
    box-shadow: 0 20px 60px rgba(4, 219, 214, 0.15);
}

.about__content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(4, 219, 214, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.about__content::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 97, 204, 0.15) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

.about.animate-in .about__content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (width <= 47.99875rem) {
    .about__content {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
    }

    .about__content::before,
    .about__content::after {
        display: none;
    }
}

.about__text {
    color: var(--color-light);
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.about__text strong {
    background: linear-gradient(135deg, #04DBD6 0%, #1461CC 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

@media (width <= 47.99875rem) {
    .about__text {
        font-size: 1rem;
        line-height: 1.6;
    }
}

.about__highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

@media (width <= 63.99875rem) {
    .about__highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.about__highlight {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(20, 97, 204, 0.2) 0%, rgba(4, 219, 214, 0.15) 100%);
    border: 1px solid rgba(20, 97, 204, 0.4);
    border-radius: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
}

.about.animate-in .about__highlight:nth-child(1) {
    animation: highlightFadeIn 0.6s ease-out 0.6s forwards;
}

.about.animate-in .about__highlight:nth-child(2) {
    animation: highlightFadeIn 0.6s ease-out 0.8s forwards;
}

.about.animate-in .about__highlight:nth-child(3) {
    animation: highlightFadeIn 0.6s ease-out 1s forwards;
}

@keyframes highlightFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.about__highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(4, 219, 214, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about__highlight:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, rgba(20, 97, 204, 0.3) 0%, rgba(4, 219, 214, 0.25) 100%);
    border-color: rgba(4, 219, 214, 0.6);
    box-shadow: 0 15px 40px rgba(4, 219, 214, 0.3);
}

.about__highlight:hover::before {
    opacity: 1;
}

.about__highlight-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: #04DBD6;
    filter: drop-shadow(0 0 10px rgba(4, 219, 214, 0.5));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.about__highlight:hover .about__highlight-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(4, 219, 214, 0.8));
}

@media (width <= 47.99875rem) {
    .about__highlight-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.75rem;
    }
}

.about__highlight-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1461CC 0%, #04DBD6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

@media (width <= 47.99875rem) {
    .about__highlight-number {
        font-size: 2.5rem;
    }
}

.about__highlight-text {
    color: var(--color-light);
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

@media (width <= 47.99875rem) {
    .about__highlight-text {
        font-size: 0.875rem;
    }
}

.about__tech-section {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
}

.about.animate-in .about__tech-section {
    animation: techSectionFadeIn 0.6s ease-out 1.2s forwards;
}

@keyframes techSectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about__tech-title {
    color: var(--color-light);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    position: relative;
}

.about__tech-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1461CC 0%, #04DBD6 100%);
    border-radius: 2px;
}

@media (width <= 47.99875rem) {
    .about__tech-section {
        padding: 1.5rem;
    }

    .about__tech-title {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }
}

.about__tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.about__tech-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(20, 97, 204, 0.3) 0%, rgba(4, 219, 214, 0.3) 100%);
    border: 1px solid rgba(20, 97, 204, 0.5);
    border-radius: 2rem;
    color: var(--color-light);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about__tech-item:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(20, 97, 204, 0.5) 0%, rgba(4, 219, 214, 0.5) 100%);
    border-color: rgba(4, 219, 214, 0.7);
}

.about__tech-item--accent {
    background: linear-gradient(135deg, #1461CC 0%, #04DBD6 100%);
    border-color: transparent;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
}

.about__tech-item--accent:hover {
    animation: none;
    transform: scale(1.08);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(4, 219, 214, 0.7);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(4, 219, 214, 0.3);
    }
}

@media (width <= 47.99875rem) {
    .about__tech-item {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }
}

.about__tech-icon {
    width: 20px;
    height: 20px;
}

@media (width <= 47.99875rem) {
    .about__tech-icon {
        width: 16px;
        height: 16px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .about,
    .about__title,
    .about__content,
    .about__highlight,
    .about__tech-item,
    .about__tech-item--accent {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
