/* About Page Styles */
.about-hero {
    padding: 120px 0 80px;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.about-title {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 52px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.about-subtitle {
    font-family: 'Benzin', sans-serif;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

.about-content {
    padding: 40px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.about-card {
    background: rgba(15, 15, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 50px 35px;
    text-align: center;
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-12px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-icon {
    margin-bottom: 25px;
    color: #667eea;
    transition: transform 0.3s ease;
}

.about-card:hover .about-icon {
    transform: scale(1.1);
}

.about-card h3 {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 26px;
    margin-bottom: 20px;
    color: white;
}

.about-card p {
    font-family: 'Benzin', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.about-story {
    margin-bottom: 80px;
    text-align: center;
}

.about-story h2 {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 42px;
    margin-bottom: 40px;
    color: white;
    position: relative;
    display: inline-block;
}

.about-story h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
}

.story-content p {
    font-family: 'Benzin', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: left;
}

.story-content p:last-child {
    margin-bottom: 0;
}

/* Timeline Styles */
.timeline {
    margin: 80px 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
}

.timeline h2 {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 42px;
    margin-bottom: 50px;
    text-align: center;
    color: white;
    position: relative;
}

.timeline h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -50px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-date {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    color: #667eea;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.timeline-content h3 {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 10px;
    color: white;
}

.timeline-content p {
    font-family: 'Benzin', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Features Showcase */
.about-features {
    margin-bottom: 80px;
}

.about-features h2 {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 42px;
    margin-bottom: 50px;
    text-align: center;
    color: white;
    position: relative;
}

.about-features h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.features-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    font-family: 'Benzin', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Team Section */
.about-team {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.about-team::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.about-team h2 {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 42px;
    margin-bottom: 25px;
    color: white;
    position: relative;
}

.about-team p {
    font-family: 'Benzin', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: white;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.member-name {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 8px;
    color: white;
}

.member-role {
    font-family: 'Benzin', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* Future Plans */
.about-future {
    margin-bottom: 80px;
}

.about-future h2 {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 42px;
    margin-bottom: 50px;
    text-align: center;
    color: white;
    position: relative;
}

.about-future h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.future-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.future-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.future-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.future-item:hover::before {
    opacity: 1;
}

.future-item:hover {
    transform: translateX(15px);
    border-color: rgba(102, 126, 234, 0.3);
}

.future-number {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #667eea;
    flex-shrink: 0;
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.future-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.future-content h4 {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 10px;
    color: white;
}

.future-content p {
    font-family: 'Benzin', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: none;
    position: relative;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    background: none;
}

.cta-title {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: inherit;
    background-clip: initial;
}

.cta-text {
    font-family: 'Benzin', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.button-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 13px 28px;
    border-radius: 12px;
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button-outline:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    position: relative;
    backdrop-filter: blur(20px);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close-modal:hover {
    color: white;
}

.modal-body {
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.modal-photo {
    text-align: center;
    margin-bottom: 30px;
}

.modal-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
}

.modal-info h2 {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 10px;
    color: white;
    text-align: center;
}

.modal-position {
    font-family: 'Benzin', sans-serif;
    font-size: 18px;
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
}

.modal-description {
    font-family: 'Benzin', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        padding: 100px 0 60px;
    }

    .about-title {
        font-size: 38px;
    }

    .about-subtitle {
        font-size: 18px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-card {
        padding: 35px 25px;
    }

    .story-content {
        padding: 30px 20px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-item .timeline-content::before {
        left: -40px !important;
    }

    .features-showcase {
        grid-template-columns: 1fr;
    }

    .about-team {
        padding: 40px 25px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .future-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-title {
        font-size: 28px;
    }

    .modal-body {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 32px;
    }

    .about-card h3 {
        font-size: 22px;
    }

    .about-story h2,
    .about-features h2,
    .about-team h2,
    .about-future h2,
    .timeline h2 {
        font-size: 32px;
    }

    .future-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .feature-icon {
        font-size: 36px;
    }
}

/* Убедитесь, что изображения хорошо выглядят на мобильных устройствах */
@media (max-width: 768px) {
    .member-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .member-avatar {
        width: 80px;
        height: 80px;
    }
}

/* Анимация при наведении для изображений */
.member-avatar img {
    transition: transform 0.3s ease;
}

.team-member:hover .member-avatar img {
    transform: scale(1.05);
}