@charset "UTF-8";

/* ===== About Page Styles ===== */

/* ===== Keyframe Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Page Container ===== */
.about-page {
    width: 100%;
    min-height: 100vh;
}

/* ===== Section Common Styles ===== */
.about-page .section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.about-page .section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--font_1);
    text-align: center;
    margin: 0 0 12px 0;
    position: relative;
    padding-bottom: 16px;
}

.about-page .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.about-page .section-subtitle {
    font-size: 15px;
    color: var(--font_2);
    text-align: center;
    margin: 0 0 40px 0;
    line-height: 1.7;
}

/* ===== Hero Section ===== */
.about-page .hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.about-page .hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
    animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.about-page .hero-content {
    text-align: center;
    padding: 60px 20px 50px;
    position: relative;
    z-index: 1;
}

.about-page .hero-name {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.15);
    letter-spacing: -0.5px;
}

.about-page .hero-title {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 20px 0;
    letter-spacing: 2px;
    font-weight: 400;
}

.about-page .hero-summary {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-page .hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.about-page .stat-item {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--stat-index, 0) * 0.15s);
}

.about-page .stat-icon {
    margin-bottom: 8px;
}

.about-page .stat-icon i {
    font-size: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-page .stat-number {
    margin-bottom: 4px;
}

.about-page .stat-number .number {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

.about-page .stat-number .unit {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 2px;
}

.about-page .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Skills Section ===== */
.about-page .skills-section {
    background: var(--bg);
}

.about-page .skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-page .skill-card {
    background: var(--card_bg);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-page .skill-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--skill-index, 0) * 0.1s);
}

.about-page .skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.about-page .skill-icon {
    margin-bottom: 16px;
}

.about-page .skill-icon i {
    font-size: 40px;
    transition: transform 0.3s ease;
}

.about-page .skill-card:hover .skill-icon i {
    transform: scale(1.1);
}

.about-page .skill-category {
    font-size: 17px;
    font-weight: 700;
    color: var(--font_1);
    margin: 0 0 4px 0;
}

.about-page .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.about-page .skill-tag {
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(var(--tag-color-rgb, 64, 158, 255), 0.1);
    color: var(--tag-color, var(--active));
    border: 1px solid rgba(var(--tag-color-rgb, 64, 158, 255), 0.25);
    transition: all 0.25s ease;
}

.about-page .skill-tag:hover {
    background: rgba(var(--tag-color-rgb, 64, 158, 255), 0.18);
    border-color: rgba(var(--tag-color-rgb, 64, 158, 255), 0.4);
}

/* ===== Timeline Section ===== */
.about-page .timeline-section {
    background: var(--bg);
}

.about-page .timeline {
    position: relative;
    padding-left: 20px;
}

.about-page .timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 2px;
}

.about-page .timeline-item {
    display: flex;
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-page .timeline-item:last-child {
    margin-bottom: 0;
}

.about-page .timeline-item.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition-delay: calc(var(--timeline-index, 0) * 0.15s);
}

.about-page .timeline-dot {
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2), 0 2px 8px rgba(102, 126, 234, 0.4);
}

.about-page .timeline-card {
    background: var(--card_bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex-grow: 1;
    transition: all 0.3s ease;
}

.about-page .timeline-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-page .timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.about-page .timeline-company h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--font_1);
    margin: 0 0 4px 0;
}

.about-page .timeline-detail {
    display: block;
    font-size: 13px;
    color: var(--font_2);
}

.about-page .timeline-period {
    font-size: 13px;
    color: var(--active);
    background: rgba(64, 158, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 500;
}

.about-page .timeline-role {
    font-size: 15px;
    color: var(--active);
    font-weight: 500;
    margin: 8px 0 0 0;
}

.about-page .timeline-desc {
    font-size: 14px;
    color: var(--font_2);
    margin: 6px 0 0 0;
    line-height: 1.6;
}

.about-page .timeline-duties {
    margin: 12px 0 0 0;
    padding-left: 18px;
    list-style: none;
}

.about-page .timeline-duties li {
    font-size: 14px;
    color: var(--font_2);
    line-height: 1.8;
    position: relative;
    padding-left: 0;
}

.about-page .timeline-duties li::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--active);
}

.about-page .timeline-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.about-page .achievement-tag {
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--active);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* ===== Highlights Section ===== */
.about-page .highlights-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 20px;
}

.about-page .highlights-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-page .highlight-item {
    text-align: center;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-page .highlight-item.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--highlight-index, 0) * 0.1s);
}

.about-page .highlight-item i {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    display: block;
}

.about-page .highlight-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 12px 0 0 0;
    line-height: 1.6;
}

/* ===== Education Section ===== */
.about-page .education-section {
    background: var(--bg);
}

.about-page .education-card {
    background: var(--card_bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-page .education-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-page .edu-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-page .edu-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-page .edu-icon i {
    font-size: 28px;
    color: #fff;
}

.about-page .edu-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--font_1);
    margin: 0 0 6px 0;
}

.about-page .edu-detail {
    font-size: 15px;
    color: var(--font_2);
    margin: 0 0 4px 0;
}

.about-page .edu-period {
    font-size: 13px;
    color: var(--font_2);
    margin: 0;
}

.about-page .edu-extras {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--bg_darken);
}

.about-page .edu-honor {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.about-page .edu-honor i {
    font-size: 16px;
    color: #f59e0b;
}

.about-page .edu-honor span {
    font-size: 14px;
    color: var(--font_1);
}

.about-page .edu-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-page .cert-tag {
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(64, 158, 255, 0.1);
    color: var(--active);
    border: 1px solid rgba(64, 158, 255, 0.25);
    transition: all 0.25s ease;
}

.about-page .cert-tag:hover {
    background: rgba(64, 158, 255, 0.18);
    border-color: rgba(64, 158, 255, 0.4);
}

/* ===== Links Reset ===== */
.about-page a {
    color: inherit;
    text-decoration: none;
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 992px) {
    .about-page .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-page .highlights-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .about-page .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .about-page .hero-name {
        font-size: 36px;
    }
    
    .about-page .section-container {
        padding: 50px 20px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .about-page .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .about-page .highlights-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-page .hero-name {
        font-size: 30px;
    }
    
    .about-page .hero-title {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .about-page .hero-summary {
        font-size: 14px;
    }
    
    .about-page .hero-stats {
        gap: 16px;
    }
    
    .about-page .stat-number .number {
        font-size: 28px;
    }
    
    .about-page .stat-number .unit {
        font-size: 14px;
    }
    
    .about-page .stat-icon i {
        font-size: 28px;
    }
    
    .about-page .timeline-item {
        padding-left: 30px;
    }
    
    .about-page .timeline-card {
        padding: 18px;
    }
    
    .about-page .timeline-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .about-page .section-title {
        font-size: 24px;
    }
    
    .about-page .section-container {
        padding: 40px 16px;
    }
    
    .about-page .skill-card {
        padding: 22px;
    }
    
    .about-page .edu-main {
        flex-direction: column;
        text-align: center;
    }
    
    .about-page .education-card {
        padding: 24px;
    }
    
    .about-page .highlights-section {
        padding: 40px 16px;
    }
}

/* ===== Dark Mode Enhancements ===== */
@media (prefers-color-scheme: dark) {
    .about-page .skill-card,
    .about-page .timeline-card,
    .about-page .education-card {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    }
    
    .about-page .skill-card:hover {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    }
    
    .about-page .timeline-card:hover {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    }
}

/* ===== Accessibility ===== */
.about-page .skill-card:focus,
.about-page .timeline-card:focus,
.about-page .education-card:focus {
    outline: 2px solid var(--active);
    outline-offset: 2px;
}

.about-page .skill-card:focus:not(:focus-visible),
.about-page .timeline-card:focus:not(:focus-visible),
.about-page .education-card:focus:not(:focus-visible) {
    outline: none;
}

.about-page .skill-card:focus-visible,
.about-page .timeline-card:focus-visible,
.about-page .education-card:focus-visible {
    outline: 2px solid var(--active);
    outline-offset: 2px;
}

/* ===== Reduced Motion Support ===== */
@media (prefers-reduced-motion: reduce) {
    .about-page .stat-item {
        animation: none;
        opacity: 1;
    }
    
    .about-page .skill-card,
    .about-page .timeline-item,
    .about-page .highlight-item,
    .about-page .education-card {
        opacity: 1;
        transform: none;
        transition: box-shadow 0.2s ease;
    }
    
    .about-page .skill-card:hover,
    .about-page .timeline-card:hover {
        transform: none;
    }
    
    .about-page .skill-icon i {
        transition: none;
    }
    
    .about-page .hero-section::before {
        animation: none;
    }
}
