/* Profile Hero Section */
.profile-hero {
    padding: calc(var(--spacing-lg) + 80px) 0 var(--spacing-lg);
    background: linear-gradient(135deg, rgba(236, 224, 213, 0.3) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.profile-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-hero-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
}

.profile-label {
    font-family: var(--font-en);
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.profile-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-main);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-main);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.profile-info {
    margin-top: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(30, 52, 77, 0.1);
}

.profile-info-item {
    margin-bottom: 1.5rem;
}

.profile-info-item:last-child {
    margin-bottom: 0;
}

.profile-info-label {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.profile-info-value {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.8;
    font-weight: 400;
}

.profile-hero-image {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-start;
}

.profile-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* Profile Content */
.profile-content {
    padding: var(--spacing-lg) 0;
}

/* Story Card */
.story-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 10px 40px rgba(30, 52, 77, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, rgba(240, 128, 0, 0.5) 100%);
}

.story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(30, 52, 77, 0.12);
}

.card-header {
    margin-bottom: 2rem;
}

.card-header h2 {
    font-size: 2rem;
    color: var(--color-main);
    line-height: 1.6;
    margin-bottom: 0;
    text-align: left;
}

.card-body {
    color: var(--color-text);
}

.story-text {
    font-size: 1.1rem;
    line-height: 2;
}

.story-text p {
    margin-bottom: 1.5rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

/* Timeline Section */
.timeline-section {
    margin: var(--spacing-lg) 0;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle span {
    display: block;
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.section-subtitle h2 {
    font-size: 1.8rem;
    color: var(--color-main);
    margin-bottom: 0;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-accent) 0%, rgba(240, 128, 0, 0.3) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(30, 52, 77, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.timeline-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(30, 52, 77, 0.15);
    border-color: var(--color-accent);
}

.timeline-card.highlight {
    background: linear-gradient(135deg, rgba(240, 128, 0, 0.05) 0%, rgba(240, 128, 0, 0.1) 100%);
    border-color: var(--color-accent);
}

.timeline-card.highlight::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--color-accent), rgba(240, 128, 0, 0.5));
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent) 0%, rgba(240, 128, 0, 0.8) 100%);
    color: var(--color-white);
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(240, 128, 0, 0.3);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--color-main);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-white);
    border: 4px solid var(--color-accent);
    border-radius: 50%;
    top: 2rem;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--color-white), 0 4px 15px rgba(240, 128, 0, 0.3);
}

.timeline-item:nth-child(odd)::after {
    right: -1.5rem;
}

.timeline-item:nth-child(even)::after {
    left: -1.5rem;
}

/* Data Section */
.data-section {
    margin-top: var(--spacing-lg);
    padding: 3rem 0;
}

.data-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.data-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(30, 52, 77, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.data-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, rgba(240, 128, 0, 0.5) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.data-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(30, 52, 77, 0.15);
}

.data-card:hover::before {
    transform: scaleX(1);
}

.data-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.data-label {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.data-value {
    font-size: 1.2rem;
    color: var(--color-main);
    font-weight: 600;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-hero {
        padding: calc(var(--spacing-md) + 80px) 0 var(--spacing-md);
    }

    .profile-hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .profile-hero-image {
        order: -1;
    }

    .profile-title {
        font-size: 2rem;
    }

    .profile-name {
        font-size: 2.5rem;
    }

    .profile-info {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .profile-info-item {
        margin-bottom: 1.5rem;
    }

    .profile-info-label {
        font-size: 0.85rem;
    }

    .profile-info-value {
        font-size: 0.95rem;
    }

    .story-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .card-header h2 {
        font-size: 1.5rem;
    }

    .timeline::before {
        left: 2rem;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 4rem !important;
        padding-right: 0 !important;
    }

    .timeline-item::after {
        left: 1.5rem !important;
        right: auto !important;
    }

    .timeline-card {
        padding: 1.5rem;
    }

    .data-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .data-card {
        padding: 2rem 1.5rem;
    }

    .section-subtitle h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .profile-title {
        font-size: 1.8rem;
    }

    .profile-name {
        font-size: 2rem;
    }

    .profile-info {
        margin-top: 1.2rem;
        padding-top: 1.2rem;
    }

    .profile-info-item {
        margin-bottom: 1.2rem;
    }

    .profile-info-label {
        font-size: 0.8rem;
    }

    .profile-info-value {
        font-size: 0.9rem;
    }

    .story-card {
        padding: 1.5rem 1rem;
    }

    .card-header h2 {
        font-size: 1.3rem;
    }

    .timeline-card {
        padding: 1.2rem;
    }

    .timeline-year {
        font-size: 1rem;
        padding: 0.4rem 1.2rem;
    }

    .data-card {
        padding: 1.5rem 1rem;
    }

    .data-icon {
        font-size: 2.5rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-card,
.timeline-item,
.data-card {
    animation: fadeInUp 0.6s ease-out;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.data-card:nth-child(1) {
    animation-delay: 0.1s;
}

.data-card:nth-child(2) {
    animation-delay: 0.2s;
}

.data-card:nth-child(3) {
    animation-delay: 0.3s;
}

.data-card:nth-child(4) {
    animation-delay: 0.4s;
}
