/* Page Navigation */
.page-nav {
    padding: 30px 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.back-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateX(-5px);
}

.back-btn svg {
    width: 18px;
    height: 18px;
}

/* About Page */
.about-page {
    padding: 20px 0 60px;
}

/* Hero Section */
.about-hero {
    text-align: center;
    padding: 40px 0 60px;
}

.about-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.about-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.about-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-card-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.about-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-card-content {
    color: var(--text-secondary);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: var(--text-primary);
}

.info-value {
    color: var(--text-secondary);
}

.education-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.education-item:last-child {
    border-bottom: none;
}

.education-degree {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.education-school {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.education-year {
    font-size: 13px;
    color: var(--primary);
}

/* About Section */
.about-section {
    margin-bottom: 50px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
}

.timeline-content {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-period {
    font-size: 13px;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.timeline-company {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.timeline-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.skill-category {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border);
}

.skill-category-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-card-hover);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Interests Grid */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.interest-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.interest-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.interest-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.interest-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.interest-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* CTA Section */
.about-cta {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    border: 1px solid var(--border);
    margin-top: 40px;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.cta-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card-hover);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.contact-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.contact-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-title {
        font-size: 36px;
    }

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

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .telegram-btn,
    .contact-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .interests-grid {
        grid-template-columns: 1fr;
    }

    .about-cta {
        padding: 30px 20px;
    }

    .cta-title {
        font-size: 24px;
    }
}