/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f7f7f7;
    --bg-card: #f4f4f4;
    --bg-card-hover: #eeeeee;
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #999999;
    --accent: #111111;
    --accent-hover: #333333;
    --border: #e8e8e8;
    --border-light: #f0f0f0;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    padding: 16px 48px;
}

.nav-logo {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    transition: var(--transition);
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(2.5px, 2.5px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--text-primary);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 48px 80px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.hero-image {
    margin-bottom: 48px;
}

.hero-image img {
    width: 280px;
    height: 280px;
    border-radius: 62% 38% 46% 54% / 55% 48% 52% 45%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(10%);
    transition: filter 0.6s ease, transform 0.6s ease, border-radius 0.6s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.hero-image img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
    border-radius: 46% 54% 62% 38% / 45% 52% 48% 55%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s ease-in-out infinite;
}


@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero h1 em {
    font-style: normal;
    position: relative;
    display: inline;
}

.hero h1 em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(37, 99, 235, 0.18);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 640px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}

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

/* ===== SECTIONS ===== */
.section {
    padding: 100px 48px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    margin-bottom: 64px;
    text-align: center;
}

.section-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    max-width: 650px;
    margin: 0 auto;
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    display: block;
}

.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.card-content {
    padding: 40px;
}

.card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: var(--text-primary);
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.card:hover .card-link {
    gap: 10px;
}

.card:hover .card-link svg {
    transform: translate(2px, -2px);
}

.card-link svg {
    transition: var(--transition);
}

/* ===== STATS ===== */
.stats-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
    max-width: 100%;
    padding: 80px 48px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

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

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.04em;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== ABOUT TEASER ===== */
.about-teaser {
    text-align: center;
    display: flex;
    justify-content: center;
}

.about-teaser-content {
    max-width: 650px;
}

.about-teaser h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.about-teaser p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 48px 32px;
    background: var(--bg-primary);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-name {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.footer-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-right a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-right a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== ABOUT PAGE ===== */
.page-hero {
    padding: 160px 48px 60px;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.04em;
    max-width: 750px;
    margin: 0 auto;
}

/* About Bio */
.about-bio {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    padding: 0 48px 100px;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: start;
}

.about-bio-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-bio-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    object-fit: cover;
    aspect-ratio: 3 / 4;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

/* Timeline */
.timeline-section {
    padding: 100px 48px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.timeline {
    margin-top: 48px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 2fr;
    gap: 32px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
    transition: var(--transition);
}

.timeline-item:hover {
    padding-left: 12px;
}

.timeline-item:first-child {
    border-top: 1px solid var(--border);
}

.timeline-role {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.timeline-company {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

.timeline-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
    padding-top: 3px;
    font-weight: 500;
}

.timeline-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-description ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-description li::before {
    content: '\2014';
    color: var(--text-muted);
    margin-right: 8px;
}

/* Education */
.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.education-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.education-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.education-degree {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.education-school {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.education-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.education-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 8px;
}

/* Skills */
.skills-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 48px;
}

.skills-category-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.skill-item:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.skill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-primary);
    flex-shrink: 0;
    opacity: 0.3;
}

.skill-item:hover .skill-dot {
    opacity: 1;
}

/* Sports Section */
.sports-banner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.sports-banner-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    font-size: 2rem;
}

.sports-banner h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.sports-banner p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.sports-banner-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 600;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero {
        padding: 140px 32px 60px;
    }

    .hero-image img {
        width: 220px;
        height: 220px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .about-bio {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-bio-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

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

@media (max-width: 768px) {
    .navbar {
        padding: 16px 24px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding: 120px 24px 48px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-image img {
        width: 200px;
        height: 200px;
    }

    .section {
        padding: 64px 24px;
    }

    .stats-section {
        padding: 48px 24px;
    }

    .page-hero {
        padding: 120px 24px 48px;
    }

    .about-bio {
        padding: 0 24px 64px;
    }

    .timeline-section {
        padding: 64px 24px;
    }

    .footer {
        padding: 40px 24px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }

    .sports-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }

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

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

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