/* ===============================================
   Gil do Vigor - Revolutionary Academic Website
   🚀 IMPACTFUL • PROFESSIONAL • PHENOMENAL
   =============================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #f59e0b;
    --primary-blue: #1e40af;
    --accent-purple: #7c3aed;
    --success-green: #10b981;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e2e8f0;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-bold: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --gradient-blue: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #7c3aed 100%);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    font-weight: 400;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===============================================
   HERO SECTION - REVOLUTIONARY DESIGN
   =============================================== */

.hero {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: var(--gradient-gold);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero h1 {
    font-family: 'Crimson Text', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    font-weight: 300;
}

.hero-institutions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.institution {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 500;
}

.separator {
    color: var(--primary-gold);
    font-weight: 700;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.stat {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 8px;
    font-family: 'Crimson Text', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-gold);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-bold);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-cv {
    background: var(--gradient-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.btn-cv:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-bold);
}

/* ===============================================
   HERO IMAGE - SPECTACULAR
   =============================================== */

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 350px;
    height: 350px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 6px solid var(--primary-gold);
    box-shadow: var(--shadow-bold);
    background: var(--bg-light);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
}

/* ===============================================
   NAVIGATION TABS - CHRIS BLATTMAN STYLE
   =============================================== */

.nav-tabs {
    background: var(--bg-white);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-buttons::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: none;
    border: none;
    padding: 20px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.tab-btn:hover {
    color: var(--primary-blue);
    background: var(--bg-light);
}

.tab-btn.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-gold);
    background: var(--bg-light);
}

/* ===============================================
   TAB CONTENT - DYNAMIC SECTIONS
   =============================================== */

.tab-content {
    display: none;
    padding: 60px 0;
    min-height: 70vh;
    animation: fadeInUp 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h2 {
    font-family: 'Crimson Text', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 48px;
    text-align: center;
    position: relative;
}

.tab-content h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

/* ===============================================
   OVERVIEW TAB - IMPRESSIVE LAYOUT
   =============================================== */

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.overview-main {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 32px;
    font-weight: 400;
}

.overview-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.highlight-box {
    background: var(--gradient-gold);
    color: white;
    padding: 32px;
    border-radius: 20px;
    margin-top: 40px;
    box-shadow: var(--shadow-soft);
}

.highlight-box h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.highlight-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.quick-facts, .contact-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.quick-facts h3, .contact-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.quick-facts ul {
    list-style: none;
}

.quick-facts li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.quick-facts li:last-child {
    border-bottom: none;
}

.quick-facts strong {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-item {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.contact-item .label {
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    background: var(--gradient-blue);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    min-width: 100px;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.social-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.social-btn.scholar {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
}

/* ===============================================
   RESEARCH TAB - ACADEMIC EXCELLENCE
   =============================================== */

.research-interests {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.interest-card {
    background: var(--gradient-blue);
    color: white;
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.interest-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.interest-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.job-market-paper {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 48px;
    border-radius: 24px;
    margin-bottom: 60px;
    position: relative;
    border: 3px solid var(--primary-gold);
    box-shadow: var(--shadow-bold);
}

.paper-badge {
    position: absolute;
    top: -16px;
    left: 48px;
    background: var(--gradient-gold);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.job-market-paper h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.paper-abstract {
    background: white;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
}

.paper-abstract p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.paper-abstract p:last-child {
    margin-bottom: 0;
}

.paper-status {
    background: var(--success-green);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    font-size: 0.9rem;
}

.working-papers h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 32px;
    font-weight: 700;
}

.paper {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    border-left: 5px solid var(--primary-blue);
}

.paper h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.authors {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 16px;
    font-size: 1rem;
}

.abstract {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
}

.conferences h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin: 60px 0 32px;
    font-weight: 700;
}

.conference-list {
    display: grid;
    gap: 20px;
}

.conference-item {
    background: var(--bg-white);
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    border-left: 5px solid var(--accent-purple);
}

.conf-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.conf-details {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ===============================================
   BOOK TAB - BEST SELLER SHOWCASE
   =============================================== */

.book-showcase {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.book-image {
    position: relative;
    text-align: center;
}

.book-cover {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-bold);
    border: 3px solid var(--primary-gold);
}

.bestseller-badge {
    position: absolute;
    top: -16px;
    right: 20px;
    background: var(--gradient-gold);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
    animation: pulse 2s infinite;
}

.book-details h2 {
    font-family: 'Crimson Text', serif;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: left;
}

.book-details h2::after {
    display: none;
}

.book-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-style: italic;
}

.book-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.book-stat {
    background: var(--gradient-gold);
    color: white;
    padding: 24px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.book-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: 'Crimson Text', serif;
}

.book-stat .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.book-description {
    margin-bottom: 40px;
}

.book-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.book-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.book-impact {
    background: var(--bg-light);
    padding: 60px;
    border-radius: 24px;
    margin-top: 40px;
}

.book-impact h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.impact-item {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.impact-item h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 16px;
    font-weight: 700;
}

.impact-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* ===============================================
   ACHIEVEMENTS TAB - GRANDIOSIDADE TOTAL
   =============================================== */

.achievement-categories {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.achievement-section h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.achievement-item {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-bold);
}

.achievement-item.major {
    background: var(--gradient-gold);
    color: white;
    border: 3px solid var(--primary-gold);
}

.achievement-item.major .achievement-content h4 {
    color: white;
}

.achievement-item.major .achievement-content p {
    color: rgba(255, 255, 255, 0.9);
}

.achievement-icon {
    font-size: 3rem;
    margin-top: 8px;
    flex-shrink: 0;
}

.achievement-content h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.achievement-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.achievement-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.achievement-item.major .achievement-link {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.achievement-link:hover {
    text-decoration: underline;
}

/* ===============================================
   MEDIA TAB - PRESS COVERAGE
   =============================================== */

.media-highlights {
    margin-bottom: 60px;
}

.media-feature {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    background: var(--bg-white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    margin-bottom: 60px;
}

.media-image {
    position: relative;
}

.media-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.media-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-gold);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

.media-content h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.media-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.media-link {
    background: var(--gradient-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.media-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.media-timeline h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 32px;
    font-weight: 700;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
    margin-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--primary-gold);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-gold);
}

.timeline-date {
    background: var(--gradient-blue);
    color: white;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.press-coverage {
    background: var(--bg-light);
    padding: 60px;
    border-radius: 24px;
    margin-top: 60px;
}

.press-coverage h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.press-item {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    text-align: center;
}

.press-item h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 16px;
    font-weight: 700;
}

.press-item p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.press-item a {
    background: var(--gradient-gold);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.press-item a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* ===============================================
   EXPERIENCE TAB - PROFESSIONAL JOURNEY
   =============================================== */

.experience-section {
    margin-bottom: 60px;
}

.experience-section h3 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 16px;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.exp-item {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    border-left: 5px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.exp-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-bold);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 20px;
    flex-wrap: wrap;
}

.exp-header h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    flex: 1;
    min-width: 250px;
}

.exp-date {
    background: var(--gradient-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.exp-institution {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.exp-description {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
}

.skills-section {
    background: var(--bg-light);
    padding: 60px;
    border-radius: 24px;
    margin-top: 40px;
}

.skills-section h3 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.skill-category {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.skill-category h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 8px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: var(--gradient-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.skill-tag.advanced {
    background: var(--gradient-gold);
}

.skill-tag.intermediate {
    background: var(--accent-purple);
}

.skill-tag.basic {
    background: var(--text-gray);
}

.skill-tag.native {
    background: var(--success-green);
}

.skill-tag.fluent {
    background: var(--gradient-blue);
}

/* ===============================================
   FOOTER - PROFESSIONAL FINISH
   =============================================== */

.footer {
    background: var(--gradient-hero);
    color: white;
    padding: 80px 0 40px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-main h3 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-main p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-social a {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.footer-contact h4, .footer-affiliations h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-gold);
}

.footer-contact p, .footer-affiliations p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-motto {
    color: var(--primary-gold);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Crimson Text', serif;
}

/* ===============================================
   RESPONSIVE DESIGN - MOBILE PERFECTION
   =============================================== */

@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .book-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .media-feature {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        min-height: 90vh;
        padding: 40px 0;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .btn-primary, .btn-secondary, .btn-cv {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }
    
    .tab-buttons {
        flex-direction: column;
        gap: 0;
    }
    
    .tab-btn {
        padding: 16px 20px;
        text-align: center;
        border-bottom: 1px solid var(--border-light);
        border-radius: 0;
    }
    
    .tab-btn.active {
        border-bottom: 3px solid var(--primary-gold);
    }
    
    .tab-content {
        padding: 40px 0;
    }
    
    .overview-main {
        padding: 32px 24px;
    }
    
    .quick-facts, .contact-card {
        padding: 24px;
    }
    
    .book-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .achievement-icon {
        font-size: 2.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .press-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .research-interests {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .conference-list {
        gap: 16px;
    }
    
    .experience-list {
        gap: 20px;
    }
    
    .exp-item {
        padding: 24px;
    }
    
    .exp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .image-frame {
        width: 280px;
        height: 280px;
    }
    
    .book-cover {
        width: 250px;
        height: 350px;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tab-content h2 {
        font-size: 2rem;
    }
    
    .achievement-section h3 {
        font-size: 1.8rem;
    }
    
    .book-details h2 {
        font-size: 2.2rem;
    }
    
    .overview-main {
        padding: 24px 20px;
    }
    
    .job-market-paper {
        padding: 32px 24px;
    }
    
    .paper {
        padding: 24px 20px;
    }
    
    .achievement-item {
        padding: 24px 20px;
    }
    
    .image-frame {
        width: 240px;
        height: 240px;
    }
    
    .book-cover {
        width: 200px;
        height: 280px;
    }
}