/* ===== MODERN ABOUT PAGE REDESIGN ===== */

/* ===== PARALLAX & ANIMATION FOUNDATIONS ===== */
@keyframes parallaxFloat {
    0%, 100% { transform: translateY(0px) translateZ(0); }
    50% { transform: translateY(-20px) translateZ(0); }
}

@keyframes parallaxPulse {
    0%, 100% { transform: scale(1) translateZ(0); }
    50% { transform: scale(1.02) translateZ(0); }
}

@keyframes staggeredReveal {
    from {
        opacity: 0;
        transform: translateY(30px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateZ(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateZ(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(108, 92, 231, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5));
    }
}

@keyframes accentParallax {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-80px) rotate(2deg); }
}

/* ===== MODERN HERO SECTION ===== */
.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px var(--container-padding) 80px;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, rgba(108, 92, 231, 0.02) 100%);
}

.modern-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08) 0%, transparent 50%), 
                linear-gradient(-135deg, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: accentParallax 8s ease-in-out infinite;
    will-change: transform;
}

.modern-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(800px at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(800px at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: accentParallax 12s ease-in-out infinite reverse;
    will-change: transform;
}

.hero-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    transform-style: preserve-3d;
}

@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.hero-left {
    animation: slideInLeft 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    will-change: transform;
}

.hero-right {
    animation: slideInRight 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    will-change: transform;
}

/* Profile Image Showcase */
.profile-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    transform-style: preserve-3d;
    will-change: transform;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: parallaxFloat 6s ease-in-out infinite, glowPulse 4s ease-in-out infinite;
    will-change: transform, filter;
}

.image-container:hover .profile-img {
    transform: scale(1.02) translateY(-8px);
}

.image-frame-accent {
    position: absolute;
    inset: 0;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    pointer-events: none;
    z-index: 1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(108, 92, 231, 0.05);
    }
}

.image-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: 30px;
    pointer-events: none;
    z-index: 3;
}

.status-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 4;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Hero Right Content */
.hero-left {
    position: relative;
}

.hero-right {
    position: relative;
}

.hero-pretitle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-weight: 600;
}

.hero-main-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-quick-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    padding: 24px;
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
}

.quick-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.quick-stat i {
    font-size: 1.5rem;
    color: var(--accent-1);
}

.quick-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-base);
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-modern-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(108, 92, 231, 0.3);
}

.btn-modern-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-modern-secondary:hover {
    background: rgba(108, 92, 231, 0.1);
    border-color: var(--accent-1);
    transform: translateY(-2px);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid var(--accent-1);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--accent-1);
    font-weight: 500;
    transition: all var(--transition-base);
}

.tag:hover {
    background: rgba(108, 92, 231, 0.2);
    transform: translateY(-2px);
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    animation: scrollHintBounce 3s cubic-bezier(0.36, 0, 0.66, -0.56) infinite;
    will-change: transform, opacity;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.scroll-hint:hover {
    color: var(--accent-1);
    animation-duration: 2s;
}

@keyframes scrollHintBounce {
    0%, 100% { 
        opacity: 0.4; 
        transform: translateX(-50%) translateY(0);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(12px);
    }
}

.scroll-hint i {
    font-size: 1.2rem;
    animation: chevronDrop 1.5s cubic-bezier(0.36, 0, 0.66, -0.56) infinite;
}

@keyframes chevronDrop {
    0% { transform: translateY(-8px) scaleY(0.8); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(8px) scaleY(1.2); opacity: 0; }
}

/* ===== ABOUT STORY SECTION ===== */
.about-story {
    background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.03));
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.story-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
}

.story-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.expertise-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

@media (max-width: 600px) {
    .expertise-matrix {
        grid-template-columns: 1fr;
    }
}

.expertise-item {
    padding: 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    will-change: transform, border-color, background;
}

.expertise-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(168, 85, 247, 0.1), transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.expertise-item:hover {
    background: rgba(108, 92, 231, 0.08);
    border-color: var(--accent-1);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.15);
}

.expertise-item:hover::before {
    opacity: 1;
}

.expertise-item i {
    font-size: 1.8rem;
    color: var(--accent-1);
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.expertise-item:hover i {
    transform: scale(1.3) rotate(-10deg);
}

.expertise-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.expertise-item:hover h4 {
    color: var(--accent-1);
}

.expertise-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.skills-tags-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid var(--accent-1);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-1);
    transition: all var(--transition-base);
}

.skill-badge:hover {
    background: rgba(108, 92, 231, 0.2);
    transform: translateY(-2px);
}

.story-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), rgba(236, 72, 153, 0.02));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    will-change: transform, border-color, background;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    border-color: var(--accent-1);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(236, 72, 153, 0.08));
    transform: translateY(-8px) translateX(8px);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--accent-1);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.05), transparent);
}

.timeline-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
}

.timeline-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.timeline-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 900px) {
    .timeline-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.timeline-experience,
.timeline-education {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.timeline-card {
    padding: 32px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.timeline-card:hover {
    border-color: var(--accent-1);
    background: rgba(108, 92, 231, 0.05);
    transform: translateX(8px);
}

.timeline-card:hover::before {
    opacity: 1;
}

.timeline-card-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.timeline-icon {
    width: 44px;
    height: 44px;
    background: rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    flex-shrink: 0;
}

.timeline-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 0.9rem;
    color: var(--accent-2);
    font-weight: 500;
}

.timeline-period {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-bottom: 12px;
}

.timeline-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.timeline-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(108, 92, 231, 0.1);
    color: var(--accent-1);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== SKILLS HEATMAP SECTION ===== */
.skills-heatmap {
    background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.03));
}

.heatmap-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
}

.heatmap-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.skills-heatmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.skill-category-modern {
    background: var(--bg-glass);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.skill-category-modern:hover {
    border-color: var(--accent-1);
    background: rgba(108, 92, 231, 0.05);
}

.cat-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.skill-heat-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.heat-skill {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.heat-skill span:first-child {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    z-index: 2;
    position: relative;
}

.heat-indicator {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--level);
    background: linear-gradient(90deg, rgba(108, 92, 231, 0.3), rgba(108, 92, 231, 0.1));
    border-radius: 4px;
    z-index: 1;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== STATS & PERSONALITY SECTION ===== */
.stats-personality {
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.05), transparent);
}

.personality-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 60px;
}

.stats-personality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.stat-card-modern {
    padding: 40px 32px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    will-change: transform, border-color, background;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(168, 85, 247, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.stat-card-modern > * {
    position: relative;
    z-index: 2;
}

.stat-card-modern:hover {
    border-color: var(--accent-1);
    background: rgba(108, 92, 231, 0.08);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(108, 92, 231, 0.2);
}

.stat-card-modern:hover::before {
    opacity: 1;
}

.stat-card-modern.large {
    grid-column: span 1;
    min-height: 280px;
    gap: 16px;
}

.stat-card-modern.medium {
    grid-column: span 1;
    min-height: 240px;
}

.stat-number-large {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number-small {
    font-family: var(--font-display);
    font-size: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label-modern {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-1);
}

/* ===== FINAL CTA ===== */
.final-cta {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.cta-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.cta-subtext {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== TEXT CENTER ===== */
.text-center {
    text-align: center;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px) translateZ(0);
    transition: opacity 0.7s cubic-bezier(0.2, 0, 0, 1), 
                transform 0.7s cubic-bezier(0.2, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

/* Staggered children animations */
.reveal-up:nth-child(1) { transition-delay: 0.1s; }
.reveal-up:nth-child(2) { transition-delay: 0.2s; }
.reveal-up:nth-child(3) { transition-delay: 0.3s; }
.reveal-up:nth-child(4) { transition-delay: 0.4s; }
.reveal-up:nth-child(5) { transition-delay: 0.5s; }
.reveal-up:nth-child(6) { transition-delay: 0.6s; }

/* Hero title staggering */
.hero-main-title {
    animation: staggeredReveal 1s cubic-bezier(0.2, 0, 0, 1) forwards;
}

.hero-pretitle {
    animation: staggeredReveal 0.8s cubic-bezier(0.2, 0, 0, 1) 0.1s forwards;
    opacity: 0;
}

.hero-subtitle {
    animation: staggeredReveal 0.8s cubic-bezier(0.2, 0, 0, 1) 0.2s forwards;
    opacity: 0;
}

.hero-quick-stats {
    animation: staggeredReveal 0.8s cubic-bezier(0.2, 0, 0, 1) 0.3s forwards;
    opacity: 0;
}

.hero-cta-buttons {
    animation: staggeredReveal 0.8s cubic-bezier(0.2, 0, 0, 1) 0.4s forwards;
    opacity: 0;
}

.hero-tags {
    animation: staggeredReveal 0.8s cubic-bezier(0.2, 0, 0, 1) 0.5s forwards;
    opacity: 0;
}

/* Scroll parallax sections */
.section {
    position: relative;
    transform-style: preserve-3d;
}

.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(108, 92, 231, 0.02) 100%);
    pointer-events: none;
    z-index: -1;
    will-change: transform;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-wrapper {
        gap: 40px;
    }

    .hero-main-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .story-grid {
        gap: 40px;
    }

    .expertise-matrix {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-personality-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .modern-hero {
        padding: 80px var(--container-padding) 40px;
        min-height: auto;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-main-title {
        font-size: 2rem;
    }

    .image-container {
        max-width: 350px;
    }

    .hero-pretitle {
        font-size: 0.75rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-modern {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .hero-quick-stats {
        flex-direction: column;
        gap: 16px;
    }

    .quick-stat-divider {
        width: 40px;
        height: 1px;
    }

    .expertise-matrix {
        grid-template-columns: 1fr;
    }

    .timeline-wrapper {
        grid-template-columns: 1fr;
    }

    .stats-personality-grid {
        grid-template-columns: 1fr;
    }

    .stat-card-modern.large,
    .stat-card-modern.medium {
        min-height: auto;
        padding: 32px 24px;
    }

    .story-title,
    .timeline-title,
    .heatmap-title,
    .personality-title,
    .cta-heading {
        font-size: 1.8rem;
    }

    .scroll-hint {
        bottom: 20px;
    }
}

@media (max-width: 400px) {
    .hero-main-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-quick-stats {
        padding: 16px;
    }

    .tag {
        font-size: 0.75rem;
    }

    .stat-number-large {
        font-size: 2rem;
    }

    .timeline-card-title {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 12px;
    }
}

@media (max-width: 600px) {
    .about-hero {
        padding: 80px var(--container-padding) 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 32px;
    }

    .hero-description > p {
        font-size: 0.95rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 32px;
        margin-top: 32px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .profile-badge {
        width: calc(100% + 32px);
        margin: 0 -16px -16px -16px;
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        border-top: none;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .highlight-card {
        padding: 24px;
    }

    .facts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fact-card {
        min-height: 220px;
        padding: 32px 24px;
    }

    .cta-section {
        padding: 60px var(--container-padding);
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .fact-number {
        font-size: 2rem;
    }

    .label-badge {
        font-size: 0.8rem;
        padding: 10px 16px;
    }
}
