/* Base Styles and CSS Variables */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary-navy: #0A0514;
    --secondary-cyan: #4ECDC4;
    --tertiary-slate: #56638A;
    --accent-pink: #E5C1BD;
    --info-blue: #3B82F6;
    
    /* Extended Palette */
    --cyan-dark: #3eb5ad;
    --pink-dark: #d4a5a0;
    --navy-light: #1A0F2E;
    --slate-light: #8B99BC;
    --danger-red: #FF006E;
    --warning-purple: #9D4EDD;
    
    /* Semantic Colors */
    --bg-primary: var(--primary-navy);
    --bg-secondary: #050310;
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5E0;
    
    /* Effects */
    --glow-cyan: 0 0 40px rgba(78, 205, 196, 0.4);
    --glow-pink: 0 0 40px rgba(229, 193, 189, 0.4);
    --glow-slate: 0 0 40px rgba(86, 99, 138, 0.4);
    
    /* Timing Functions */
    --cubic-smooth: cubic-bezier(0.23, 1, 0.32, 1);
    --cubic-bounce: cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

::selection {
    background: var(--secondary-cyan);
    color: var(--primary-navy);
}

body {
    background: var(--primary-navy);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--tertiary-slate);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--slate-light);
}/* Background Effects and Animations */

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(229, 193, 189, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(78, 205, 196, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 20%, rgba(229, 193, 189, 0.025) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 70%),
        linear-gradient(180deg, #000000 0%, var(--primary-navy) 40%, var(--navy-light) 100%);
}

.nebula {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    background: 
        radial-gradient(ellipse at 10% 20%, rgba(229, 193, 189, 0.15) 0%, transparent 30%),
        radial-gradient(ellipse at 90% 80%, rgba(78, 205, 196, 0.1) 0%, transparent 35%);
    animation: nebulaPulse 15s ease-in-out infinite alternate;
}

@keyframes nebulaPulse {
    0% { opacity: 0.4; transform: scale(1) rotate(0deg); }
    100% { opacity: 0.6; transform: scale(1.1) rotate(5deg); }
}

/* Language Toggle Button */
.lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 5, 20, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lang-toggle:hover {
    border-color: var(--secondary-cyan);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.lang-btn {
    padding: 6px 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
}

.lang-btn.active {
    background: var(--secondary-cyan);
    color: var(--primary-navy);
    font-weight: 600;
}

.lang-btn:not(.active):hover {
    color: var(--secondary-cyan);
}

.lang-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}/* Navigation Styles */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    background: linear-gradient(135deg, rgba(22, 12, 40, 0.92), rgba(229, 193, 189, 0.02));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 193, 189, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav.scrolled {
    padding: 15px 60px;
    background: linear-gradient(135deg, rgba(22, 12, 40, 0.98), rgba(229, 193, 189, 0.03));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--secondary-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 20px var(--secondary-cyan);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid transparent;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-pink), var(--info-blue));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-pink);
    text-shadow: 0 0 10px rgba(229, 193, 189, 0.5);
    background: rgba(229, 193, 189, 0.08);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link.active {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.25), rgba(59, 130, 246, 0.15));
    text-shadow: 0 2px 10px rgba(229, 193, 189, 0.3);
    border: 1px solid rgba(229, 193, 189, 0.3);
    transform: translateY(-2px);
    padding-left: 22px;
    box-shadow: 
        0 4px 15px rgba(229, 193, 189, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-link.active::before {
    content: '●';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-pink);
    font-size: 0.6rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateY(-50%) scale(1.2); }
}

.nav-link.active:hover {
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.35), rgba(59, 130, 246, 0.25));
    box-shadow: 
        0 6px 20px rgba(229, 193, 189, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Navigation Language Toggle */
.nav-lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 30px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.nav-lang-btn {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 10px;
}

.nav-lang-btn.active {
    color: var(--secondary-cyan);
    background: rgba(78, 205, 196, 0.1);
}

.nav-lang-btn:hover:not(.active) {
    color: rgba(255, 255, 255, 0.8);
}

.nav-lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 60px 60px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    max-width: 1200px;
    width: 90%;
    text-align: center;
    z-index: 20; /* Higher z-index to be in front */
    opacity: 0;
    padding: 40px;
    background: radial-gradient(ellipse at center, 
        rgba(22, 12, 40, 0.3) 0%, 
        transparent 60%);
    border-radius: 30px;
}

.hero-content.show {
    animation: fadeInUp 1.5s ease forwards;
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    position: relative;
    color: var(--secondary-cyan);
    letter-spacing: 0.02em;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    animation: simpleFadeIn 1s ease forwards;
    animation-delay: var(--word-delay);
}

@keyframes simpleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-pink), var(--secondary-cyan), var(--info-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.5;
    animation: titlePulse 3s ease infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        filter: brightness(1) contrast(1);
        text-shadow: 0 0 30px rgba(229, 193, 189, 0.3);
    }
    50% { 
        filter: brightness(1.2) contrast(1.1);
        text-shadow: 0 0 50px rgba(78, 205, 196, 0.5);
    }
}

@keyframes titlePulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.02);
        opacity: 0.8;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    background: linear-gradient(90deg, var(--accent-pink), var(--text-primary), var(--info-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    font-weight: 500;
    text-shadow: 0 0 20px rgba(229, 193, 189, 0.3);
    position: relative;
    z-index: 2;
    animation: subtitleFloat 4s ease-in-out infinite;
}

@keyframes subtitleFloat {
    0%, 100% { 
        transform: translateY(0);
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-5px);
        opacity: 1;
    }
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s var(--cubic-smooth);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: transparent;
    color: var(--accent-pink);
    border: 2px solid var(--accent-pink);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--cubic-smooth);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-pink);
    transition: left 0.4s var(--cubic-smooth);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(229, 193, 189, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--info-blue);
    border: 2px solid var(--info-blue);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--cubic-smooth);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--info-blue);
    transition: left 0.4s var(--cubic-smooth);
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover::before {
    left: 0;
}

/* Loading text before impact */
.loading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.5;
    z-index: 4;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-text.hide {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes fadeOut {
    to { opacity: 0; }
}/* About Section */
#about {
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.02), rgba(0, 0, 0, 0.3));
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.about-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(229, 193, 189, 0.02));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 193, 189, 0.12);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s var(--cubic-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(229, 193, 189, 0.3), 
        transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover::before {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(229, 193, 189, 0.25);
    border-color: rgba(229, 193, 189, 0.3);
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.05), rgba(59, 130, 246, 0.03));
}

.about-icon {
    width: 50px;
    height: 2px;
    margin-bottom: 25px;
    background: linear-gradient(90deg, var(--accent-pink), var(--secondary-cyan));
    position: relative;
    opacity: 0.8;
}

.about-icon::after {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-cyan), transparent);
    opacity: 0.5;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent-pink), var(--secondary-cyan), var(--info-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-card p {
    line-height: 1.6;
    color: var(--text-secondary);
}/* Leadership Section */
#leadership {
    padding: 100px 60px;
}

.leadership-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.leadership-grid .leadership-card {
    flex: 0 1 calc(33.333% - 20px);
    max-width: 360px;
}

/* Center the bottom row of 2 cards */
.leadership-grid .leadership-card:nth-child(4),
.leadership-grid .leadership-card:nth-child(5) {
    flex: 0 1 calc(33.333% - 20px);
}

/* Leadership Card Styles - Similar to Pipeline Cards */
.leadership-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(229, 193, 189, 0.015));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px 50px;
    transition: all 0.3s var(--cubic-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.leadership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(229, 193, 189, 0.3), 
        transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Leadership Card Visual Effects */
.leadership-card .card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, rgba(78, 205, 196, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.leadership-card:hover .card-glow {
    opacity: 1;
}

.leadership-card .card-border {
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.2), rgba(78, 205, 196, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leadership-card:hover .card-border {
    opacity: 1;
}

.leadership-card:hover::before {
    opacity: 1;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(229, 193, 189, 0.3);
    border-color: rgba(229, 193, 189, 0.25);
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.04), rgba(59, 130, 246, 0.02));
}

/* Leadership Card Content */
.leadership-card .card-content {
    position: relative;
    z-index: 1;
}

.leadership-card .leader-info {
    text-align: center;
}

.leadership-card .leader-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--accent-pink), var(--secondary-cyan), var(--info-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.leadership-card .leader-role {
    font-size: 1rem;
    color: var(--secondary-cyan);
    margin-bottom: 20px;
    text-align: center;
    opacity: 0.95;
    font-weight: 500;
}

.leadership-card .leader-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: center;
}

/* Hover Text */
.leadership-card .card-hover-text {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    color: var(--accent-pink);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(10, 5, 20, 0.9), rgba(22, 12, 40, 0.8));
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(229, 193, 189, 0.3);
    box-shadow: 0 0 20px rgba(229, 193, 189, 0.3),
                0 0 40px rgba(78, 205, 196, 0.2),
                inset 0 0 15px rgba(229, 193, 189, 0.1);
}

.leadership-card:hover .card-hover-text {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Leadership Modal */
.leadership-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leadership-modal.active {
    pointer-events: all;
    opacity: 1;
}

.leadership-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 5, 20, 0.85);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.leadership-modal .modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(22, 12, 40, 0.98), rgba(22, 12, 40, 0.95));
    border: 1px solid rgba(229, 193, 189, 0.2);
    border-radius: 24px;
    padding: 50px;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s var(--cubic-smooth);
}

.leadership-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.leadership-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.leadership-modal .modal-close:hover {
    background: rgba(229, 193, 189, 0.2);
    color: var(--accent-pink);
    transform: rotate(90deg);
}

.leadership-modal .modal-body {
    display: block;
    text-align: center;
}

.leadership-modal .modal-info {
    max-width: 600px;
    margin: 0 auto;
}

.leadership-modal .modal-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--accent-pink), var(--secondary-cyan), var(--info-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.leadership-modal .modal-title {
    font-size: 1.2rem;
    color: var(--secondary-cyan);
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(229, 193, 189, 0.1);
}

.leadership-modal .modal-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.leadership-modal .modal-details {
    padding-top: 30px;
    border-top: 1px solid rgba(229, 193, 189, 0.1);
}

/* Responsive Leadership Grid */
@media (max-width: 1024px) {
    .leadership-grid .leadership-card {
        flex: 0 1 calc(50% - 15px);
    }
    
    .leadership-grid .leadership-card:nth-child(4),
    .leadership-grid .leadership-card:nth-child(5) {
        flex: 0 1 calc(50% - 15px);
    }
}

@media (max-width: 640px) {
    .leadership-grid .leadership-card {
        flex: 0 1 100%;
        max-width: 100%;
        padding: 20px !important; /* Reduce padding for mobile */
    }
    
    .leadership-grid .leadership-card:nth-child(4),
    .leadership-grid .leadership-card:nth-child(5) {
        flex: 0 1 100%;
    }
    
    /* Simplify mobile view - hide bio text only */
    .leadership-card .leader-bio {
        display: none !important;
    }
    
    /* Compact the card content */
    .leadership-card .leader-name {
        font-size: 1.2rem !important;
        margin-bottom: 5px !important;
    }
    
    .leadership-card .leader-role {
        font-size: 0.9rem !important;
        margin-bottom: 0 !important;
    }
    
    .leadership-card .card-hover-text {
        display: none !important;
    }
    
    .leadership-modal .modal-content {
        padding: 30px 20px;
    }
}/* Science Section with Animation */
#science {
    position: relative;
    min-height: 1050vh; /* Extended height for full animation sequence */
    padding: 0 0 100px 0;
    margin-bottom: 50px;
    background: linear-gradient(180deg, 
        rgba(22, 12, 40, 0.95),
        rgba(22, 12, 40, 0.98));
}

.science-intro {
    padding: 120px 60px 100px; /* Increased padding for more breathing room */
    text-align: center;
}

.platform-description {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.platform-description p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    padding: 35px;
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.06), rgba(59, 130, 246, 0.04));
    border-radius: 20px;
    border: 1px solid rgba(229, 193, 189, 0.2);
    box-shadow: 
        0 10px 30px rgba(229, 193, 189, 0.15),
        inset 0 1px 0 rgba(229, 193, 189, 0.1);
}

/* Science Features Grid */
.science-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(86, 99, 138, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(86, 99, 138, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(78, 205, 196, 0.2);
    border-color: var(--secondary-cyan);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-cyan);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Mechanism Introduction */
.mechanism-intro {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.mechanism-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--secondary-cyan), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mechanism-description {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Approach Grid */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.approach-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(229, 193, 189, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 35px;
    transition: all 0.3s ease;
}

.approach-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(78, 205, 196, 0.25);
}

.approach-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-cyan);
}

.approach-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
}

.approach-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.approach-benefits li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.approach-benefits li:last-child {
    border-bottom: none;
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    margin-top: 80px;
    animation: fadeInUp 1s ease;
}

.scroll-indicator p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--secondary-cyan);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

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

/* MOA Animation Core Layout */
.particle-field {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
    animation: drift 40s infinite linear;
}

@keyframes drift {
    from {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    5% {
        opacity: 0.6;
    }
    95% {
        opacity: 0.6;
    }
    to {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.animation-viewport {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    pointer-events: none;
}

.animation-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1600px;
    height: 700px;
    display: none;
    grid-template-columns: 1fr 600px 1fr;
    gap: 60px;
    align-items: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.animation-container.visible {
    opacity: 1;
    display: grid;
}

.info-panel {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s var(--cubic-smooth);
}

.info-panel.right {
    transform: translateX(50px);
    text-align: right;
}

.info-panel.active {
    opacity: 1;
    transform: translateX(0);
}

.mechanism-label {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 10px;
}

.mechanism-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.mechanism-title.covalent {
    color: var(--secondary-cyan);
    text-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.mechanism-title.glue {
    color: var(--accent-pink);
    text-shadow: 0 0 20px rgba(229, 193, 189, 0.3);
}

.mechanism-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.phase-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(229, 193, 189, 0.01));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 193, 189, 0.1);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    opacity: 0.3;
    transform: scale(0.95);
    transition: all 0.5s var(--cubic-smooth);
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(229, 193, 189, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.phase-card:hover::before {
    opacity: 1;
}

.phase-card.active {
    opacity: 1;
    transform: scale(1);
}

.phase-card.active.covalent {
    border-color: var(--info-blue);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.25);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(229, 193, 189, 0.02));
}

.phase-card.active.glue {
    border-color: var(--accent-pink);
    box-shadow: 0 10px 40px rgba(229, 193, 189, 0.3);
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.03), rgba(59, 130, 246, 0.01));
}

/* Special styling for the last card to ensure proper boundary */
#glue-phase-3 {
    margin-bottom: 40px; /* Extra margin at the bottom */
}

#glue-phase-3.active {
    position: relative;
    z-index: 5; /* Ensure it stays above other elements */
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.phase-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
}

.phase-card.active.covalent .phase-number {
    background: linear-gradient(135deg, var(--info-blue), var(--secondary-cyan));
    color: var(--primary-navy);
    box-shadow: 0 0 30px var(--info-blue);
}

.phase-card.active.glue .phase-number {
    background: linear-gradient(135deg, var(--accent-pink), var(--pink-dark));
    color: var(--primary-navy);
    box-shadow: 0 0 30px var(--accent-pink);
}

.phase-title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

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

.animation-stage {
    width: 600px;
    height: 600px;
    position: relative;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
    box-shadow: 
        0 0 100px rgba(0, 0, 0, 0.5),
        inset 0 0 100px rgba(255, 255, 255, 0.02);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.stage-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    border-radius: 30px;
    opacity: 0.5;
}

/* Covalent Animation Elements */
/* .target-protein - moved to moa-animations.css */

/* .active-site - moved to moa-animations.css */

/* .inhibitor-missile - moved to moa-animations.css */

.missile-trail {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FF6B6B, #FFD93D);
    opacity: 0;
}

.impact-wave {
    position: absolute;
    width: 200px;
    height: 200px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    border: 3px solid #FFD93D;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

/* .degradation-overlay - moved to moa-animations.css */

.status-locked {
    position: absolute;
    left: 50%;
    bottom: 10%;  /* 90% from top = 10% from bottom */
    transform: translateX(-50%) scale(0.5);
    font-size: 1.8em;  /* Moderate size to fit within container */
    font-weight: 900;
    color: #FF6B6B;
    opacity: 0;
    text-align: center;
    text-shadow: 
        0 0 15px rgba(255, 107, 107, 0.8),
        0 0 30px rgba(255, 107, 107, 0.5);
}

/* Molecular Glue Animation Elements */
/* .disease-protein - moved to moa-animations.css */

/* .molecular-glue - moved to moa-animations.css */

/* .e3-ligase - moved to moa-animations.css */

/* .proteasome, .proteasome-body, .proteasome-beam - moved to moa-animations.css */

.ubiquitin-tag {
    position: absolute;
    padding: 5px 10px;
    background: #FFD93D;
    color: #000;
    font-weight: bold;
    font-size: 0.8em;
    border-radius: 5px;
    opacity: 0;
}

.element-label {
    position: absolute;
    font-size: 0.7em;
    color: #8892b0;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Mobile Responsive Styles */
@media (max-width: 1200px) {
    #science {
        min-height: 900vh;
    }
    
    .animation-container {
        grid-template-columns: 1fr;
        max-width: 600px;
        gap: 30px;
    }
    
    .animation-stage {
        width: 500px;
        height: 500px;
    }
    
    .mechanism-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    #science {
        min-height: 700vh; /* Reduced for mobile */
        padding: 0 0 50px 0;
    }
    
    .science-intro {
        padding: 80px 30px 60px;
    }
    
    .platform-description {
        padding: 0 20px;
    }
    
    .platform-description p {
        font-size: 1rem;
        padding: 25px;
    }
    
    .science-features {
        padding: 0 20px;
        gap: 20px;
    }
    
    .animation-viewport {
        height: 100vh;
        position: sticky;
        top: 0;
    }
    
    .animation-container {
        padding: 20px;
        max-width: 100%;
        height: 100vh;
        gap: 20px;
        grid-template-columns: 1fr;
    }
    
    .animation-stage {
        width: calc(100vw - 40px);
        height: calc(100vw - 40px);
        max-width: 400px;
        max-height: 400px;
        margin: 0 auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hide info panels on mobile */
    .info-panel {
        display: none !important;
    }
    
    /* Reduce particle count on mobile */
    .particle-field {
        opacity: 0.3;
    }
    
    .particle {
        animation-duration: 60s; /* Slower animation for performance */
    }
    
    .mechanism-title {
        font-size: 1.8rem;
    }
    
    .phase-card {
        padding: 15px;
        margin-bottom: 15px;
        font-size: 0.9rem;
    }
    
    .phase-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .phase-title {
        font-size: 1.1rem;
    }
    
    .phase-description {
        font-size: 0.85rem;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .approach-item {
        padding: 25px;
    }
    
    .scroll-indicator {
        margin-top: 40px;
    }
    
    .status-locked {
        font-size: 1rem !important;
        padding: 10px 20px !important;
    }
}

@media (max-width: 480px) {
    #science {
        min-height: 600vh; /* Further reduced for small mobile */
    }
    
    .science-intro {
        padding: 60px 20px 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .platform-description p {
        font-size: 0.95rem;
        padding: 20px;
    }
    
    .animation-stage {
        width: calc(100vw - 30px);
        height: calc(100vw - 30px);
        max-width: 350px;
        max-height: 350px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    /* Hide particles completely on small mobile for performance */
    .particle-field {
        display: none;
    }
    
    .status-locked {
        font-size: 0.9rem !important;
        padding: 8px 15px !important;
        bottom: 5% !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .feature-card:hover,
    .approach-item:hover,
    .phase-card:hover::before {
        transform: none;
        box-shadow: none;
    }
    
    /* Increase tap targets */
    .phase-card {
        min-height: 80px;
    }
    
    /* Optimize animations for touch devices */
    .animation-container * {
        will-change: auto; /* Reduce GPU memory usage */
    }
    
    /* Simplify complex animations */
    @keyframes floatProtein {
        0%, 100% { transform: translate(-50%, -50%); }
    }
    
    @keyframes floatDisease {
        0%, 100% { transform: translate(-50%, -50%); }
    }
}/* Pipeline Section - Ver2 Complete Styles */
#pipeline {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(0, 0, 0, 0.3), rgba(229, 193, 189, 0.03));
    padding-top: 150px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Background animation for pipeline section */
#pipeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(78, 205, 196, 0.03),
        rgba(229, 193, 189, 0.03),
        transparent
    );
    animation: pipelineFlow 20s linear infinite;
}

@keyframes pipelineFlow {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

.pipeline-container {
    max-width: 1200px;
    margin: 60px auto 0;
}

.pipeline-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(229, 193, 189, 0.01));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.pipeline-item:nth-child(1) { animation-delay: 0.1s; }
.pipeline-item:nth-child(2) { animation-delay: 0.2s; }
.pipeline-item:nth-child(3) { animation-delay: 0.3s; }
.pipeline-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pipeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-pink), var(--info-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pipeline-item:hover::before {
    opacity: 1;
}

.pipeline-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-pink);
    box-shadow: 0 15px 40px rgba(229, 193, 189, 0.3);
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.04), rgba(59, 130, 246, 0.02));
}

.pipeline-header {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 30px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pipeline-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pipeline-target {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--secondary-cyan), var(--info-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.pipeline-indication {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.pipeline-details {
    display: flex;
    gap: 30px;
    align-items: center;
}

.pipeline-status-badge {
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.15), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(229, 193, 189, 0.2);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-pink);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* Status badge variants */
.pipeline-status-badge.leadopt {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.15), rgba(157, 78, 221, 0.15));
    border-color: var(--secondary-cyan);
    color: var(--secondary-cyan);
    animation: glow 2s ease-in-out infinite;
}

.pipeline-status-badge.discovery {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.15), rgba(86, 99, 138, 0.15));
    border-color: var(--warning-purple);
    color: var(--warning-purple);
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(78, 205, 196, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(78, 205, 196, 0.5);
    }
}

.pipeline-timeline {
    flex: 1;
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

.pipeline-progress {
    position: relative;
    width: 100%;
    margin-top: 5px;
}

.pipeline-stages {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    position: relative;
    z-index: 2;
}

.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.stage:hover .stage-indicator {
    transform: scale(1.05);
    border-color: rgba(229, 193, 189, 0.5);
}

.stage-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(22, 12, 40, 0.98), rgba(229, 193, 189, 0.1));
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 193, 189, 0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 10px;
    z-index: 10;
}

.stage-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(229, 193, 189, 0.3);
}

.stage:hover .stage-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.stage.completed .stage-tooltip {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.15), rgba(22, 12, 40, 0.98));
    border-color: var(--secondary-cyan);
}

.stage.completed .stage-tooltip::after {
    border-top-color: var(--secondary-cyan);
}

.stage.active .stage-tooltip {
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.2), rgba(22, 12, 40, 0.98));
    border-color: var(--accent-pink);
    font-weight: 600;
}

.stage.active .stage-tooltip::after {
    border-top-color: var(--accent-pink);
}

.stage-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.6;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.stage:last-child .stage-label {
    font-size: 0.8rem;
    background: linear-gradient(90deg, var(--accent-pink), var(--info-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stage.active .stage-label {
    color: var(--accent-pink);
    opacity: 1;
    font-weight: 600;
}

.stage.completed .stage-label {
    color: var(--secondary-cyan);
    opacity: 0.9;
}

.stage-indicator {
    width: 100%;
    height: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Completed stages - full gradient */
.stage.completed .stage-indicator {
    background: linear-gradient(90deg, 
        var(--accent-pink) 0%,      
        var(--secondary-cyan) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 0.9;
}

/* Active stages - partial gradient with glow */
.stage.active .stage-indicator {
    background: linear-gradient(90deg, 
        var(--accent-pink) 0%,      
        var(--secondary-cyan) 100%);
    border-color: var(--accent-pink);
    box-shadow: 0 0 10px rgba(229, 193, 189, 0.3);
    transform: scale(1.02);
    opacity: 0.6;
}

/* Pulse animation for active stage */
.stage.active .stage-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(229, 193, 189, 0.3) 0%,      
        rgba(78, 205, 196, 0.3) 100%);
    animation: pulseFade 2s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes pulseFade {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.5; }
}

.stage:last-child.active .stage-indicator {
    background: linear-gradient(90deg, 
        var(--accent-pink) 0%,      
        var(--secondary-cyan) 100%);
    border-color: var(--accent-pink);
    box-shadow: 0 0 15px rgba(229, 193, 189, 0.4);
    transform: scale(1.02);
    opacity: 0.7;
}

@keyframes clinical-progress {
    0%, 100% { 
        filter: brightness(1) hue-rotate(0deg);
    }
    50% { 
        filter: brightness(1.3) hue-rotate(10deg);
    }
}

@keyframes pulse-width {
    0%, 100% { width: 40%; }
    50% { width: 60%; }
}

@keyframes shimmer {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
    100% { filter: brightness(1); }
}

@keyframes electricPulse {
    0% { 
        opacity: 0.8;
        filter: blur(2px) brightness(1);
    }
    25% { 
        opacity: 1;
        filter: blur(0px) brightness(1.5);
    }
    50% { 
        opacity: 0.6;
        filter: blur(3px) brightness(0.8);
    }
    75% { 
        opacity: 1;
        filter: blur(1px) brightness(1.3);
    }
    100% { 
        opacity: 0.8;
        filter: blur(2px) brightness(1);
    }
}

.stage-milestone {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 8px;
    height: 8px;
    background: var(--secondary-cyan);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.stage.completed .stage-milestone {
    opacity: 1;
    box-shadow: 0 0 10px var(--secondary-cyan);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.pipeline-item:hover .stage-label {
    opacity: 0.8;
}

.pipeline-item:hover .stage.active .stage-label,
.pipeline-item:hover .stage.completed .stage-label {
    opacity: 1;
}

.pipeline-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pipeline-progress-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pipeline-progress-percentage {
    font-weight: 700;
    color: var(--accent-pink);
    font-size: 1.1rem;
    margin-left: 10px;
}

.pipeline-arrow {
    display: inline-block;
    margin-left: 10px;
    color: var(--info-blue);
    transition: transform 0.3s ease;
}

.pipeline-item:hover .pipeline-arrow {
    transform: translateX(5px);
}

/* Responsive design */
@media (max-width: 768px) {
    .pipeline-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pipeline-stages {
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
    }
    
    .stage-label {
        font-size: 0.65rem;
    }
    
    .stage-indicator {
        height: 12px;
    }
}/* Newsroom Section Styles - Combined Investors & News */

#newsroom {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        rgba(78, 205, 196, 0.02),
        rgba(0, 0, 0, 0.3),
        rgba(229, 193, 189, 0.03));
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Animated background particles */
#newsroom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(78, 205, 196, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(229, 193, 189, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(99, 179, 237, 0.02) 0%, transparent 70%);
    animation: floatGradient 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatGradient {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, -30px) scale(1.1); }
    66% { transform: translate(20px, 10px) scale(0.95); }
}

.newsroom-subsection {
    margin-bottom: 100px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsroom-subsection.visible {
    opacity: 1;
    transform: translateY(0);
}

.newsroom-subsection.news-section {
    transition-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subsection-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    padding-bottom: 30px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #E5C1BD 50%, #4ECDC4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-pink), var(--secondary-cyan), var(--info-blue));
    border-radius: 4px;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.2); }
}

/* Investors Grid - Enhanced Design */
.investors-section {
    text-align: center;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.investors-section .investors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.investor-logo-frame {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(22, 12, 40, 0.6), rgba(22, 12, 40, 0.4));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 193, 189, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.investor-logo-frame.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.investor-logo-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--secondary-cyan), var(--accent-pink));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.investor-logo-frame:hover::before {
    opacity: 1;
}

.investor-logo-frame:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(78, 205, 196, 0.3),
        0 10px 20px rgba(229, 193, 189, 0.2);
}

.logo-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.investor-logo-frame:hover .logo-placeholder {
    opacity: 1;
    color: var(--secondary-cyan);
}

/* Portal Links - Direct button style without container */

.ir-portal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    margin: 20px auto;
    background: transparent;
    border: 2px solid var(--secondary-cyan);
    border-radius: 50px;
    color: var(--secondary-cyan);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.ir-portal-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-cyan);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}


.ir-portal-link:hover {
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
}

.ir-portal-link:hover::before {
    left: 0;
}

/* Icons removed for cleaner design */

.link-arrow {
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.ir-portal-link:hover .link-arrow,
.news-portal-link:hover .link-arrow {
    transform: translateX(5px);
}

/* Removed arrow pulse animation for simpler interaction */

.portal-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

/* News Portal Link - Matching button style */

.news-portal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    margin: 20px auto;
    background: transparent;
    border: 2px solid var(--info-blue);
    border-radius: 50px;
    color: var(--info-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.news-portal-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--info-blue);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}


.news-portal-link:hover {
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.news-portal-link:hover::before {
    left: 0;
}

.news-portal-link:hover .link-arrow {
    transform: translateX(5px);
}

/* News Cards - Enhanced Design */
.news-section {
    text-align: center;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-section .news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 20px;
}

.news-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(229, 193, 189, 0.01));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    opacity: 1;
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--info-blue), var(--secondary-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(99, 179, 237, 0.2);
    border-color: rgba(99, 179, 237, 0.3);
}

.news-date {
    font-size: 0.85rem;
    color: var(--secondary-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: var(--info-blue);
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.85;
}

.news-link {
    color: var(--info-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.news-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

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

.news-card:hover .news-link::after {
    transform: translateX(3px);
}

/* Limit to 3 news items */
.news-section .news-card:nth-child(n+4) {
    display: none;
}

/* Staggered animation delays */
.investor-logo-frame:nth-child(1) { transition-delay: 0.1s; }
.investor-logo-frame:nth-child(2) { transition-delay: 0.2s; }
.investor-logo-frame:nth-child(3) { transition-delay: 0.3s; }
.investor-logo-frame:nth-child(4) { transition-delay: 0.4s; }
.investor-logo-frame:nth-child(5) { transition-delay: 0.5s; }
.investor-logo-frame:nth-child(6) { transition-delay: 0.6s; }

.news-card:nth-child(1) { transition-delay: 0.1s; }
.news-card:nth-child(2) { transition-delay: 0.2s; }
.news-card:nth-child(3) { transition-delay: 0.3s; }

/* Particle effects */
.newsroom-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle 20s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        transform: translateY(90vh) translateX(10px) scale(1);
        opacity: 0.8;
    }
    90% {
        transform: translateY(10vh) translateX(-10px) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
}

/* Removed glow effect on hover for cleaner interaction */

/* Responsive Design */
@media (max-width: 768px) {
    .newsroom-subsection {
        margin-bottom: 60px;
    }
    
    .subsection-title {
        font-size: 1.5rem;
    }
    
    .investors-section .investors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .ir-portal-link,
    .news-portal-link {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .link-icon {
        font-size: 1.2rem;
    }
    
    .news-section .news-container {
        grid-template-columns: 1fr;
    }
}/* Join Us Section (Combined) */
#join {
    padding: 100px 60px;
    background: linear-gradient(135deg, 
        rgba(229, 193, 189, 0.06), 
        rgba(78, 205, 196, 0.03), 
        rgba(59, 130, 246, 0.04));
}

.join-content {
    max-width: 1200px;
    margin: 0 auto;
}

.join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.join-card {
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.02), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 193, 189, 0.15);
    border-radius: 30px;
    padding: 50px;
    transition: all 0.3s var(--cubic-smooth);
}

.join-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(229, 193, 189, 0.25);
}

.join-card.careers:hover {
    border-color: var(--info-blue);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.25);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(229, 193, 189, 0.03));
}

.join-card.contact:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 30px 60px rgba(229, 193, 189, 0.3);
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.04), rgba(59, 130, 246, 0.02));
}

.join-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--accent-pink), var(--secondary-cyan), var(--info-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.join-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.join-cta {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cta-email {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--secondary-cyan), var(--info-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.cta-email::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-pink), var(--info-blue));
    transition: width 0.3s ease;
}

.cta-email:hover {
    background: linear-gradient(90deg, var(--accent-pink), var(--secondary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-email:hover::after {
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.contact-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

a.contact-value:hover {
    background: linear-gradient(90deg, var(--accent-pink), var(--info-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary-cyan), var(--accent-pink), var(--info-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    background: linear-gradient(90deg, var(--accent-pink), var(--info-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(229, 193, 189, 0.1), rgba(255, 255, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-secondary);
    border: 1px solid rgba(229, 193, 189, 0.2);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent-pink), var(--info-blue));
    color: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(229, 193, 189, 0.3);
    border-color: transparent;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}/* Starfield Background */
.starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 4s ease-in-out infinite;
}

.star.layer1 {
    width: 1px;
    height: 1px;
    animation-duration: 3s;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
}

.star.layer2 {
    width: 2px;
    height: 2px;
    animation-duration: 4s;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

.star.layer3 {
    width: 3px;
    height: 3px;
    animation-duration: 5s;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.2;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Moving stars - 3D effect */
.moving-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: moveStars 20s linear infinite;
}

@keyframes moveStars {
    0% {
        transform: translateZ(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateZ(2000px) scale(3);
        opacity: 0;
    }
}

/* Nebula clouds moving effect */
.nebula-moving {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(229, 193, 189, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 70%, rgba(78, 205, 196, 0.08) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(157, 78, 221, 0.05) 0%, transparent 55%);
    filter: blur(60px);
    animation: nebulaRotate 80s linear infinite;
    opacity: 0.5;
    mix-blend-mode: screen;
}

@keyframes nebulaRotate {
    0% {
        transform: rotate(0deg) scale(1) translate(0, 0);
    }
    33% {
        transform: rotate(120deg) scale(1.15) translate(10px, -10px);
    }
    66% {
        transform: rotate(240deg) scale(0.95) translate(-10px, 10px);
    }
    100% {
        transform: rotate(360deg) scale(1) translate(0, 0);
    }
}

/* Cosmic dust particles */
.cosmic-dust {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.dust-particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: linear-gradient(45deg, var(--accent-pink), var(--secondary-cyan));
    border-radius: 50%;
    opacity: 0.6;
    animation: floatDust 30s infinite linear;
}

@keyframes floatDust {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(720deg);
        opacity: 0;
    }
}

/* Constellation lines */
.constellation {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15;
}

.constellation-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.5), transparent);
    transform-origin: left center;
    animation: constellationPulse 6s ease-in-out infinite;
}

@keyframes constellationPulse {
    0%, 100% { 
        opacity: 0.1;
    }
    50% { 
        opacity: 0.3;
    }
}

/* Aurora effect */
.aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, transparent 60%, rgba(78, 205, 196, 0.02) 90%, transparent 100%),
        linear-gradient(90deg, transparent 20%, rgba(229, 193, 189, 0.02) 50%, transparent 80%);
    animation: auroraWave 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes auroraWave {
    0%, 100% { 
        opacity: 0;
        transform: translateY(50px);
    }
    50% { 
        opacity: 0.5;
        transform: translateY(0);
    }
}

.space-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: spaceExplore 60s linear infinite;
    pointer-events: none;
}

@keyframes spaceExplore {
    0% {
        transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateZ(0);
    }
    25% {
        transform: perspective(1200px) rotateX(0.2deg) rotateY(0.5deg) translateZ(20px);
    }
    50% {
        transform: perspective(1200px) rotateX(-0.2deg) rotateY(1deg) translateZ(40px);
    }
    75% {
        transform: perspective(1200px) rotateX(0.1deg) rotateY(0.5deg) translateZ(20px);
    }
    100% {
        transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateZ(0);
    }
}

/* Meteor Animation - Light beam effect */
.meteor {
    position: absolute;
    width: 3px;
    height: 250px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.5) 75%,
        rgba(255, 255, 255, 0.85) 90%,
        rgba(255, 255, 255, 1) 95%,
        rgba(255, 230, 200, 1) 100%);
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    filter: blur(0.2px);
    box-shadow: 
        0 -5px 20px rgba(255, 255, 255, 1),
        0 -10px 40px rgba(255, 255, 255, 0.8),
        0 -2px 10px rgba(255, 255, 255, 1),
        0 5px 25px rgba(255, 230, 200, 0.6),
        0 10px 35px rgba(255, 220, 180, 0.4);
}

@keyframes meteorCore {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(255, 255, 255, 0.5),
            0 0 60px rgba(255, 255, 255, 0.3);
        filter: brightness(1) blur(0.8px);
        width: 2px;
    }
    50% {
        box-shadow: 
            0 0 30px rgba(255, 255, 255, 1),
            0 0 60px rgba(255, 255, 255, 0.7),
            0 0 90px rgba(255, 255, 255, 0.5);
        filter: brightness(1.4) blur(0.6px);
        width: 3px;
    }
}

.meteor.falling {
    animation: meteorFall 3.1s ease-in forwards;
}

.meteor.falling::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 30px;
    background: radial-gradient(ellipse at center bottom,
        rgba(255, 240, 210, 0.9) 0%,
        rgba(255, 230, 200, 0.6) 30%,
        rgba(255, 220, 180, 0.3) 60%,
        transparent 100%);
    filter: blur(1px);
    animation: frictionGlow 3.1s ease-in forwards;
}

@keyframes frictionGlow {
    0% {
        opacity: 0;
        height: 20px;
    }
    30% {
        opacity: 0.6;
        height: 25px;
    }
    70% {
        opacity: 0.9;
        height: 35px;
        filter: blur(0.5px) brightness(1.3);
    }
    100% {
        opacity: 1;
        height: 40px;
        filter: blur(0.3px) brightness(1.5);
    }
}

@keyframes atmosphereEntry {
    0% {
        filter: brightness(0.5) hue-rotate(0deg);
    }
    30% {
        filter: brightness(1.5) hue-rotate(-10deg);
    }
    60% {
        filter: brightness(2) hue-rotate(-20deg);
    }
    100% {
        filter: brightness(3) hue-rotate(-30deg);
    }
}

/* Trail removed - using light beam instead */
.meteor-trail {
    display: none;
}

@keyframes meteorFall {
    0% {
        top: -250px;
        transform: translateX(-50%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    95% {
        top: calc(85vh - 250px);
        transform: translateX(-50%);
        opacity: 1;
        filter: brightness(2) blur(0px);
        box-shadow: 
            0 0 60px rgba(255, 255, 255, 1),
            0 0 120px rgba(255, 255, 255, 0.8),
            0 0 180px rgba(255, 255, 255, 0.6);
    }
    100% {
        top: calc(85vh - 250px);
        transform: translateX(-50%);
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes trailFade {
    0% {
        opacity: 0;
        height: 0;
    }
    15% {
        opacity: 0.6;
        height: 200px;
    }
    30% {
        opacity: 1;
        height: 400px;
    }
    70% {
        opacity: 0.8;
        height: 600px;
    }
    90% {
        opacity: 0.3;
        height: 400px;
    }
    100% {
        opacity: 0;
        height: 0;
    }
}

/* Impact Point - Lower position */
.impact-point {
    position: absolute;
    top: 85%; /* Matches meteor final position */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    z-index: 9;
}

/* Multiple shockwaves for more impact */
.impact-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid #FFFFFF;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.impact-wave.active {
    animation: shockwave 2s ease-out forwards;
}

.impact-wave.wave2 {
    border-color: rgba(255, 255, 255, 0.8);
    animation-delay: 0.2s;
}

.impact-wave.wave3 {
    border-color: rgba(255, 255, 255, 0.6);
    animation-delay: 0.4s;
}

@keyframes shockwave {
    0% {
        width: 40px;
        height: 40px;
        opacity: 1;
        border-width: 8px;
        box-shadow: 
            0 0 40px currentColor,
            inset 0 0 40px currentColor;
    }
    50% {
        opacity: 0.8;
        border-width: 4px;
    }
    100% {
        width: 1200px;
        height: 1200px;
        opacity: 0;
        border-width: 1px;
    }
}

/* Volcano Plot Particles */
.volcano-plot {
    position: absolute;
    top: 85%; /* Match impact point position */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 10; /* Higher z-index to be visible */
    pointer-events: none;
}

.protein-particle {
    position: absolute;
    border-radius: 50%;
    top: 0;
    left: 0;
    opacity: 0;
    transform-origin: center;
    /* will-change removed - GPU optimization */
}

/* Downregulated proteins - left side */
.protein-particle.downregulated {
    background: radial-gradient(circle, 
        rgba(200, 220, 255, 0.8), 
        rgba(180, 210, 250, 0.4));
    box-shadow: 
        0 0 6px rgba(200, 220, 255, 0.3);
    border-radius: 50%;
}

/* Upregulated proteins - right side */
.protein-particle.upregulated {
    background: radial-gradient(circle, 
        rgba(255, 210, 220, 0.8), 
        rgba(255, 200, 210, 0.4));
    box-shadow: 
        0 0 6px rgba(255, 210, 220, 0.3);
    border-radius: 50%;
}

/* Non-significant proteins - center */
.protein-particle.nonsignificant {
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.5), 
        rgba(255, 255, 255, 0.2));
    box-shadow: 
        0 0 3px rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.protein-particle.erupt {
    animation: volcanoTrajectoryAbsolute 3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* After settling, particles become permanent stars */
.protein-particle.settled {
    opacity: var(--final-opacity) !important;
    transform: 
        translateX(var(--x-end)) 
        translateY(var(--y-end))
        scale(var(--final-scale)) !important;
    animation: starTwinkle 6s ease-in-out infinite;
    animation-delay: calc(var(--star-delay) * 1s);
}

@keyframes starTwinkle {
    0% { 
        opacity: var(--final-opacity);
        filter: brightness(0.6) blur(0.5px);
        transform: 
            translateX(var(--x-end)) 
            translateY(var(--y-end))
            scale(var(--final-scale));
    }
    20% {
        opacity: calc(var(--final-opacity) * 0.4);
        filter: brightness(0.4) blur(1px);
    }
    40% { 
        opacity: calc(var(--final-opacity) * 1.3);
        filter: brightness(1.4) blur(0px);
        transform: 
            translateX(var(--x-end)) 
            translateY(var(--y-end))
            scale(calc(var(--final-scale) * 1.3));
    }
    60% {
        opacity: calc(var(--final-opacity) * 0.6);
        filter: brightness(0.7) blur(0.8px);
    }
    80% {
        opacity: calc(var(--final-opacity) * 1.1);
        filter: brightness(1.2) blur(0.2px);
        transform: 
            translateX(var(--x-end)) 
            translateY(var(--y-end))
            scale(calc(var(--final-scale) * 1.1));
    }
    100% { 
        opacity: var(--final-opacity);
        filter: brightness(0.6) blur(0.5px);
        transform: 
            translateX(var(--x-end)) 
            translateY(var(--y-end))
            scale(var(--final-scale));
    }
}

@keyframes volcanoTrajectory {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
        filter: blur(0px) brightness(2);
    }
    5% {
        transform: translate(0, 0) scale(0.8);
        opacity: 1;
        filter: blur(0px) brightness(1.8);
    }
    15% {
        transform: translate(calc(var(--x-end) * 0.3), calc(var(--y-end) * 0.3)) scale(1.2);
        opacity: 1;
        filter: blur(0px) brightness(1.5);
    }
    60% {
        opacity: 0.8;
        filter: blur(0px) brightness(1.2);
    }
    90% {
        opacity: calc(var(--final-opacity) * 1.5);
        filter: blur(0.3px) brightness(1);
    }
    100% {
        transform: 
            translateX(var(--x-end)) 
            translateY(var(--y-end))
            scale(var(--final-scale));
        opacity: var(--final-opacity);
        filter: blur(0.5px) brightness(1);
    }
}

/* Protein trembling animation for Covalent Inhibitor */
@keyframes proteinTremble {
    0% { 
        transform: translate(-50%, -50%); 
    }
    25% { 
        transform: translate(calc(-50% + 4px), calc(-50% - 4px)); 
    }
    50% { 
        transform: translate(calc(-50% - 4px), calc(-50% + 4px)); 
    }
    75% { 
        transform: translate(calc(-50% + 4px), calc(-50% + 4px)); 
    }
    100% { 
        transform: translate(-50%, -50%); 
    }
}

/* Pre-impact warning flash */
.pre-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 85%, 
        rgba(255, 255, 255, 1), 
        rgba(200, 220, 255, 0.9) 15%,
        rgba(150, 180, 255, 0.5) 30%,
        transparent 50%);
    opacity: 0;
    z-index: 8;
    pointer-events: none;
    mix-blend-mode: screen;
}

.pre-flash.active {
    animation: preFlash 0.15s ease-out forwards;
}

@keyframes preFlash {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    40% {
        opacity: 1;
        transform: scale(1.4);
    }
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Impact flash */
.impact-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 85%, 
        rgba(255, 255, 255, 0.9), 
        rgba(255, 255, 255, 0.4) 20%,
        transparent 40%);
    opacity: 0;
    z-index: 7;
    pointer-events: none;
}

.impact-flash.active {
    animation: flash 0.5s ease-out forwards;
}

@keyframes flash {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Sonic boom effect */
.sonic-boom {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    opacity: 0;
    z-index: 8;
    pointer-events: none;
}

.sonic-boom::before,
.sonic-boom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    opacity: 0;
}

.sonic-boom.active::before {
    animation: sonicWave 1s ease-out forwards;
}

.sonic-boom.active::after {
    animation: sonicWave 1s ease-out 0.2s forwards;
}

@keyframes sonicWave {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
        border-width: 3px;
        border-color: rgba(255, 255, 255, 1);
        filter: blur(0px);
    }
    40% {
        width: 500px;
        height: 500px;
        opacity: 0.8;
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.6);
        filter: blur(0.5px);
    }
    100% {
        width: 1500px;
        height: 1500px;
        opacity: 0;
        border-width: 1px;
        border-color: rgba(255, 255, 255, 0.1);
        filter: blur(2px);
    }
}

/* Compression waves around meteor */
.compression-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
    z-index: 9;
}

.compression-wave:nth-child(2) {
    border-color: rgba(200, 220, 255, 0.4);
}

.compression-wave.active {
    animation: compressionPulse 0.8s ease-out;
}

@keyframes compressionPulse {
    0% {
        width: 20px;
        height: 20px;
        opacity: 0.8;
        border-width: 1px;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
        border-width: 0.5px;
    }
}/* General Animations and Keyframes */

/* Fade Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

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

@keyframes fadeInDown {
    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);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale Animations */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Rotation Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateY {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

/* Bounce Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulse Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

/* Shake Animation */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

/* Wobble Animation */
@keyframes wobble {
    0% {
        transform: translateX(0%);
    }
    15% {
        transform: translateX(-25px) rotate(-5deg);
    }
    30% {
        transform: translateX(20px) rotate(3deg);
    }
    45% {
        transform: translateX(-15px) rotate(-3deg);
    }
    60% {
        transform: translateX(10px) rotate(2deg);
    }
    75% {
        transform: translateX(-5px) rotate(-1deg);
    }
    100% {
        transform: translateX(0%);
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Slide Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Utility Animation Classes */
.animate-fadeIn {
    animation: fadeIn 0.5s ease-in-out;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-scaleIn {
    animation: scaleIn 0.3s ease-out;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-bounce {
    animation: bounce 1s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-rotate {
    animation: rotate 2s linear infinite;
}

.animate-shake {
    animation: shake 0.5s ease-in-out;
}/* Hero Animations from Ver2-2 */

/* Meteor System */
.meteor {
    position: absolute;
    width: 3px;
    height: 250px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.5) 75%,
        rgba(255, 255, 255, 0.8) 90%,
        rgba(255, 255, 255, 1) 100%);
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    filter: blur(0.2px);
    box-shadow: 
        0 -5px 20px rgba(255, 255, 255, 1),
        0 -10px 40px rgba(255, 255, 255, 0.8),
        0 -2px 10px rgba(255, 255, 255, 1);
    /* will-change removed - GPU optimization */
}

.meteor-trail {
    position: absolute;
    width: 150px;
    height: 2px;
    background: linear-gradient(to left,
        transparent,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.4),
        transparent);
    top: 0;
    left: -150px;
    opacity: 0;
}

.meteor.falling {
    animation: meteorFall 3.1s ease-in forwards;
}

@keyframes meteorFall {
    0% {
        top: -250px;
        transform: translateX(-50%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    95% {
        top: calc(85vh - 250px);
        transform: translateX(-50%);
        opacity: 1;
        filter: brightness(2) blur(0px);
        box-shadow: 
            0 0 60px rgba(255, 255, 255, 1),
            0 0 120px rgba(255, 255, 255, 0.8),
            0 0 180px rgba(255, 255, 255, 0.6);
    }
    100% {
        top: calc(85vh - 250px);
        transform: translateX(-50%);
        opacity: 0;
        visibility: hidden;
    }
}

/* Loading Text */
.loading-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    color: var(--secondary-cyan);
    opacity: 0.8;
    z-index: 5;
    animation: loadingPulse 2s ease-in-out infinite;
}

.loading-text.hide {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.3; }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Compression Waves */
.compression-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 8;
}

.compression-wave:nth-child(2) {
    border-color: rgba(200, 220, 255, 0.4);
}

.compression-wave.active {
    animation: compressionPulse 0.8s ease-out;
}

@keyframes compressionPulse {
    0% {
        width: 20px;
        height: 20px;
        opacity: 0.8;
        border-width: 1px;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
        border-width: 0.5px;
    }
}

/* Impact Effects */
.impact-point {
    position: absolute;
    bottom: 15vh;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 7;
}

.impact-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid #FFFFFF;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.impact-wave.active {
    animation: shockwave 2s ease-out forwards;
}

.impact-wave.wave2 {
    border-color: rgba(255, 255, 255, 0.8);
    animation-delay: 0.2s;
}

.impact-wave.wave3 {
    border-color: rgba(255, 255, 255, 0.6);
    animation-delay: 0.4s;
}

@keyframes shockwave {
    0% {
        width: 40px;
        height: 40px;
        opacity: 1;
        border-width: 8px;
        box-shadow: 
            0 0 40px currentColor,
            inset 0 0 40px currentColor;
    }
    50% {
        opacity: 0.8;
        border-width: 4px;
    }
    100% {
        width: 1200px;
        height: 1200px;
        opacity: 0;
        border-width: 1px;
    }
}

/* Sonic Boom */
.sonic-boom {
    position: absolute;
    bottom: 15vh;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent);
    opacity: 0;
    z-index: 8;
}

.sonic-boom.active {
    animation: sonicExpand 1s ease-out forwards;
}

@keyframes sonicExpand {
    0% {
        width: 0;
        opacity: 1;
        filter: blur(0);
    }
    100% {
        width: 200vw;
        opacity: 0;
        filter: blur(5px);
    }
}

/* Impact Flash */
.impact-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center bottom,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0.6) 20%,
        transparent 50%);
    opacity: 0;
    pointer-events: none;
    z-index: 9;
}

.impact-flash.active {
    animation: flashBurst 0.6s ease-out forwards;
}

@keyframes flashBurst {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* Pre-flash */
.pre-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center,
        rgba(255, 255, 255, 0.1),
        transparent 40%);
    opacity: 0;
    pointer-events: none;
    z-index: 8;
}

/* Volcano Plot */
.volcano-plot {
    position: absolute;
    bottom: 15vh;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Protein Particles */
.protein-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    transform-origin: center;
    /* will-change removed - GPU optimization */
    backface-visibility: hidden;
}

.protein-particle.downregulated {
    background: radial-gradient(circle, 
        rgba(200, 220, 255, 0.8), 
        rgba(180, 210, 250, 0.4));
    box-shadow: 0 0 6px rgba(200, 220, 255, 0.3);
}

.protein-particle.upregulated {
    background: radial-gradient(circle, 
        rgba(255, 210, 220, 0.8), 
        rgba(255, 200, 210, 0.4));
    box-shadow: 0 0 6px rgba(255, 210, 220, 0.3);
}

.protein-particle.nonsignificant {
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.5), 
        rgba(255, 255, 255, 0.2));
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.15);
}

.protein-particle.erupt {
    animation: volcanoTrajectoryAbsolute 3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes volcanoTrajectoryAbsolute {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        filter: blur(0px) brightness(2);
    }
    5% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
        filter: blur(0px) brightness(1.8);
    }
    15% {
        left: calc(var(--x-end) * 0.3 + (1 - 0.3) * var(--x-start));
        top: calc(var(--y-end) * 0.3 + (1 - 0.3) * var(--y-start));
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
        filter: blur(0px) brightness(1.5);
    }
    60% {
        opacity: 0.8;
        filter: blur(0px) brightness(1.2);
    }
    90% {
        opacity: calc(var(--final-opacity) * 1.5);
        filter: blur(0.3px) brightness(1);
    }
    100% {
        left: var(--x-end);
        top: var(--y-end);
        transform: translate(-50%, -50%) scale(var(--final-scale));
        opacity: var(--final-opacity);
        filter: blur(0.5px) brightness(1);
    }
}

@keyframes volcanoTrajectory {
    0% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
        filter: blur(0px) brightness(2);
    }
    5% {
        transform: translateX(-50%) scale(0.8);
        opacity: 1;
        filter: blur(0px) brightness(1.8);
    }
    15% {
        transform: translateX(calc(-50% + var(--x-end) * 0.3)) translateY(calc(var(--y-end) * 0.3)) scale(1.2);
        opacity: 1;
        filter: blur(0px) brightness(1.5);
    }
    60% {
        opacity: 0.8;
        filter: blur(0px) brightness(1.2);
    }
    90% {
        opacity: calc(var(--final-opacity) * 1.5);
        filter: blur(0.3px) brightness(1);
    }
    100% {
        transform: 
            translateX(calc(-50% + var(--x-end))) 
            translateY(var(--y-end))
            scale(var(--final-scale));
        opacity: var(--final-opacity);
        filter: blur(0.5px) brightness(1);
    }
}

.protein-particle.settled {
    opacity: var(--final-opacity) !important;
    left: var(--x-end) !important;
    top: var(--y-end) !important;
    transform: translate(-50%, -50%) scale(var(--final-scale)) !important;
    animation: starTwinkle 6s ease-in-out infinite;
    animation-delay: calc(var(--star-delay) * 1s);
}

@keyframes starTwinkle {
    0%, 100% { 
        opacity: var(--final-opacity);
        filter: brightness(0.6) blur(0.5px);
    }
    20% {
        opacity: calc(var(--final-opacity) * 0.4);
        filter: brightness(0.4) blur(1px);
    }
    40% { 
        opacity: calc(var(--final-opacity) * 1.3);
        filter: brightness(1.4) blur(0px);
        transform: 
            translateX(calc(-50% + var(--x-end))) 
            translateY(var(--y-end))
            scale(calc(var(--final-scale) * 1.3));
    }
    60% {
        opacity: calc(var(--final-opacity) * 0.6);
        filter: brightness(0.7) blur(0.8px);
    }
    80% {
        opacity: calc(var(--final-opacity) * 1.1);
        filter: brightness(1.2) blur(0.2px);
    }
}

/* Screen Shake */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* Starfield layers */
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 5s ease-in-out infinite;
}

.star.layer1 {
    width: 1px;
    height: 1px;
    opacity: 0.7;
}

.star.layer2 {
    width: 1.5px;
    height: 1.5px;
    opacity: 0.8;
}

.star.layer3 {
    width: 2px;
    height: 2px;
    opacity: 0.9;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Cosmic Dust */
.dust-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(135deg, 
        rgba(229, 193, 189, 0.6),
        rgba(78, 205, 196, 0.4));
    border-radius: 50%;
    animation: floatUp 30s linear infinite;
}

@keyframes floatUp {
    from {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    to {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Constellation */
.constellation-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent);
    transform-origin: left center;
    animation: pulseLine 6s ease-in-out infinite;
}

@keyframes pulseLine {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.3; }
}/* MOA (Mechanism of Action) Animation Styles */

/* Proteasome - 26S Proteasome Complex */
.proteasome {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;  /* Increased size */
    height: 160px;  /* Increased size */
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 3;  /* Ensure it's above other elements */
}

.proteasome-body {
    position: relative;
    width: 100%;
    height: 100%;
    background: 
        /* Central barrel (20S core) - Brighter colors */
        linear-gradient(135deg, #6B7280 0%, #4B5563 25%, #374151 50%, #1F2937 100%);
    border-radius: 30px / 50px;
    box-shadow: 
        0 0 60px rgba(78, 205, 196, 0.5),  /* Stronger glow */
        0 0 30px rgba(229, 193, 189, 0.3),  /* Pink glow */
        inset 0 0 30px rgba(78, 205, 196, 0.2),  /* Inner cyan glow */
        0 15px 40px rgba(0, 0, 0, 0.6);  /* Stronger shadow */
    border: 2px solid rgba(78, 205, 196, 0.3);  /* Added border for definition */
    overflow: hidden;
}

/* 19S regulatory caps on both ends */
.proteasome-body::before,
.proteasome-body::after {
    content: '';
    position: absolute;
    width: 70px;  /* Increased size */
    height: 110px;  /* Increased size */
    background: 
        radial-gradient(ellipse at center, #7C8BA3 0%, #56638A 30%, #3C4663 60%, #2D3748 100%);
    box-shadow: 
        inset 0 0 25px rgba(78, 205, 196, 0.3),
        0 0 20px rgba(78, 205, 196, 0.2),
        0 0 40px rgba(229, 193, 189, 0.2);
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.proteasome-body::before {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50% 20% 20% 50% / 50%;
}

.proteasome-body::after {
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 20% 50% 50% 20% / 50%;
}

/* Active catalytic sites inside */
.proteasome.active .proteasome-body {
    animation: proteasomeGrind 1s ease-in-out infinite;
}

.proteasome.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 0, 110, 0.3), transparent),
        radial-gradient(circle at 70% 50%, rgba(78, 205, 196, 0.3), transparent);
    border-radius: 20px / 30px;
    animation: proteasomeGlow 0.8s ease-in-out infinite alternate;
}

@keyframes proteasomeGrind {
    0%, 100% { 
        transform: rotate(0deg) scale(1); 
    }
    25% { 
        transform: rotate(-2deg) scale(1.02); 
    }
    50% { 
        transform: rotate(2deg) scale(0.98); 
    }
    75% { 
        transform: rotate(-1deg) scale(1.01); 
    }
}

@keyframes proteasomeGlow {
    0% { 
        opacity: 0.3;
        filter: brightness(1);
    }
    100% { 
        opacity: 0.6;
        filter: brightness(1.3);
    }
}

/* Proteasome beam - protein degradation channel */
.proteasome-beam {
    position: absolute;
    width: 100px;  /* Wider beam */
    background: linear-gradient(
        180deg,
        rgba(78, 205, 196, 0.8) 0%,  /* Stronger colors */
        rgba(78, 205, 196, 0.5) 30%,
        rgba(229, 193, 189, 0.4) 60%,
        rgba(255, 0, 110, 0.5) 100%
    );
    opacity: 0;
    filter: blur(1px);  /* Less blur for clarity */
    animation: beamPulse 1s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
    box-shadow: 
        0 0 30px rgba(78, 205, 196, 0.5),
        0 0 60px rgba(229, 193, 189, 0.3);
}

@keyframes beamPulse {
    0%, 100% { 
        opacity: 0.6;
        filter: blur(2px);
    }
    50% { 
        opacity: 0.9;
        filter: blur(1px);
    }
}

/* Destruction particles - protein fragments after degradation */
.destruction-particle {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.8), rgba(78, 205, 196, 0.6));
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.8s ease-out;
    box-shadow: 
        0 0 10px rgba(255, 0, 110, 0.5),
        0 0 20px rgba(78, 205, 196, 0.3);
    pointer-events: none;
}

.destruction-particle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    animation: particleGlow 1s ease-in-out infinite;
}

@keyframes particleGlow {
    0%, 100% { 
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Covalent Animation Elements */
.target-protein {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: 
        radial-gradient(circle at 30% 30%, var(--slate-light), transparent),
        radial-gradient(circle at 70% 60%, var(--tertiary-slate), transparent),
        radial-gradient(circle, var(--primary-navy), #1B2838);
    border-radius: 45% 55% 50% 50%;
    box-shadow: 
        0 0 80px rgba(86, 99, 138, 0.4),
        inset -20px -20px 40px rgba(0, 0, 0, 0.8),
        inset 10px 10px 30px rgba(86, 99, 138, 0.2);
    animation: floatProtein 10s ease-in-out infinite;
}

@keyframes floatProtein {
    0%, 100% { 
        transform: translate(-50%, -50%) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translate(-50%, -48%) rotate(5deg) scale(1.02); 
    }
    50% { 
        transform: translate(-50%, -52%) rotate(-3deg) scale(0.98); 
    }
    75% { 
        transform: translate(-50%, -48%) rotate(2deg) scale(1.01); 
    }
}

.active-site {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--accent-pink), transparent);
    border-radius: 50%;
    animation: pulseActive 2s ease infinite;
}

@keyframes pulseActive {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

.inhibitor-missile {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0;
}

.missile-body {
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.9) 0%, 
            var(--secondary-cyan) 20%, 
            var(--cyan-dark) 50%, 
            rgba(0, 0, 0, 0.3) 100%);
    clip-path: polygon(50% 0%, 85% 30%, 85% 70%, 50% 100%, 15% 70%, 15% 30%);
    box-shadow: 
        0 0 60px var(--secondary-cyan),
        inset -20px 0 40px rgba(0, 0, 0, 0.4),
        inset 20px 0 40px rgba(255, 255, 255, 0.3),
        inset 0 0 30px rgba(78, 205, 196, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    transform-style: preserve-3d;
}

.missile-body::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: 
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 255, 255, 0.2) 30%, 
            rgba(255, 255, 255, 0.4) 50%, 
            rgba(255, 255, 255, 0.2) 70%, 
            transparent 100%);
    clip-path: inherit;
    opacity: 0.7;
}

.missile-body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 40% 30%, 
            rgba(255, 255, 255, 0.5) 0%, 
            transparent 30%);
    clip-path: inherit;
    opacity: 0.8;
}

.missile-trail {
    display: none; /* Trail removed */
}

.impact-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    border: 3px solid var(--secondary-cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.degradation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 20%, rgba(255, 0, 110, 0.2) 60%, rgba(255, 0, 110, 0.4) 100%);
    opacity: 0;
    border-radius: 30px;
    pointer-events: none;
    z-index: 2;
}

.status-locked {
    position: absolute;
    bottom: 10%;  /* 90% from top = 10% from bottom */
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: rgba(255, 0, 110, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--danger-red);
    border-radius: 100px;
    padding: 15px 30px;  /* Moderate padding */
    font-weight: 900;  /* Bold font weight */
    font-size: 1.2rem;  /* Reasonable size that fits within container */
    letter-spacing: 0.15em;  /* Letter spacing */
    color: var(--danger-red);
    text-transform: uppercase;
    opacity: 0;
    box-shadow: 
        0 0 30px rgba(255, 0, 110, 0.5),
        0 0 60px rgba(255, 0, 110, 0.3);  /* Glow effect */
    white-space: nowrap;
    text-shadow: 
        0 0 15px rgba(255, 0, 110, 0.8),
        0 0 30px rgba(255, 0, 110, 0.5);  /* Text shadow for prominence */
}

/* Molecular Glue Elements */
.disease-protein {
    position: absolute;
    top: 50%;  /* Centered vertically */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: 
        radial-gradient(circle at 40% 40%, var(--warning-purple), transparent),
        radial-gradient(circle at 60% 60%, rgba(157, 78, 221, 0.3), transparent),
        radial-gradient(circle, var(--navy-light), var(--primary-navy));
    border-radius: 48% 52% 47% 53%;
    box-shadow: 
        0 0 80px rgba(157, 78, 221, 0.5),
        inset -15px -15px 30px rgba(0, 0, 0, 0.7),
        inset 10px 10px 20px rgba(157, 78, 221, 0.1);
    animation: floatDisease 12s ease-in-out infinite;
    transition: all 0.5s ease;
}

.disease-protein.conformational-change {
    border-radius: 42% 58% 53% 47%;
    background: 
        radial-gradient(circle at 35% 35%, var(--warning-purple), transparent),
        radial-gradient(circle at 65% 65%, var(--accent-pink), transparent),
        radial-gradient(circle, var(--navy-light), var(--primary-navy));
}

@keyframes floatDisease {
    0%, 100% { 
        transform: translate(-50%, -50%) translateY(0); 
    }
    50% { 
        transform: translate(-50%, -50%) translateY(-10px); 
    }
}

.molecular-glue {
    position: absolute;
    top: 60%;  /* Slightly below center */
    left: 25%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    opacity: 0;
}

.glue-core {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, var(--accent-pink), transparent),
        radial-gradient(circle at 70% 70%, var(--pink-dark), transparent),
        radial-gradient(circle, rgba(229, 193, 189, 0.3), rgba(229, 193, 189, 0.1));
    border-radius: 35% 65% 60% 40% / 60% 45% 55% 40%;
    box-shadow: 
        0 0 60px var(--accent-pink),
        inset 0 0 30px rgba(255, 255, 255, 0.3),
        inset -10px -10px 20px rgba(229, 193, 189, 0.2);
    position: relative;
    animation: glueRotate 8s linear infinite;
}

@keyframes glueRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.glue-core::before,
.glue-core::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    border: 2px solid;
    border-color: transparent var(--accent-pink) transparent var(--pink-dark);
    animation: glueWave 3s ease infinite;
}

.glue-core::after {
    animation-delay: 1.5s;
    border-color: transparent var(--pink-dark) transparent var(--accent-pink);
}

@keyframes glueWave {
    0% {
        transform: scale(0.8) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.8) rotate(360deg);
        opacity: 0;
    }
}

.e3-ligase {
    position: absolute;
    top: 60%;  /* Slightly below center */
    right: 25%;
    transform: translate(50%, -50%);
    width: 160px;
    height: 160px;
    opacity: 0;
    z-index: 2;
}

.ligase-body {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 60% 40%, var(--slate-light), transparent),
        radial-gradient(circle, var(--tertiary-slate), var(--primary-navy));
    border-radius: 50%;
    box-shadow: 
        0 0 60px rgba(86, 99, 138, 0.4),
        inset -10px -10px 30px rgba(0, 0, 0, 0.7);
    position: relative;
}

.ubiquitin-tag {
    position: absolute;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--secondary-cyan), var(--cyan-dark));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.6rem;
    color: var(--primary-navy);
    opacity: 0;
    box-shadow: 0 0 25px var(--secondary-cyan);
    transform: scale(0) rotate(45deg);
    z-index: 5;
}

.ubiquitin-tag::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid var(--secondary-cyan);
}

/* Animation States */
.covalent-phase-1 .inhibitor-missile {
    animation: missileApproach 3s ease-out forwards;
}

.covalent-phase-2 .active-site {
    animation: siteBinding 2s ease forwards;
}

.covalent-phase-3 .degradation-overlay {
    animation: degradationProcess 4s ease forwards;
}

.glue-phase-1 .molecular-glue {
    animation: glueEntry 2s ease forwards;
}

.glue-phase-2 .disease-protein {
    animation: proteinBinding 3s ease forwards;
}

.glue-phase-3 .ubiquitin-tag {
    animation: ubiquitinTagging 2s ease forwards;
}

/* Complex Animation Keyframes */
@keyframes missileApproach {
    0% {
        opacity: 0;
        transform: translateX(-800px) translateY(-200px) rotate(-45deg);
    }
    20% {
        opacity: 1;
    }
    80% {
        transform: translateX(-50px) translateY(-20px) rotate(-45deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotate(0deg);
    }
}

@keyframes siteBinding {
    0% {
        transform: translate(-50%, -50%) scale(1);
        background: radial-gradient(circle, var(--accent-pink), transparent);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        background: radial-gradient(circle, var(--secondary-cyan), transparent);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        background: radial-gradient(circle, var(--danger-red), transparent);
    }
}

@keyframes degradationProcess {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.6;
    }
}

@keyframes glueEntry {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(360deg);
    }
}

@keyframes proteinBinding {
    0% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) translateY(0) scale(1);
    }
}

@keyframes ubiquitinTagging {
    0% {
        opacity: 0;
        transform: scale(0) rotate(45deg);
    }
    30% {
        opacity: 1;
        transform: scale(1.2) rotate(360deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(720deg);
    }
}

/* Mobile Responsive Styles for Animations */
@media (max-width: 768px) {
    .target-protein,
    .disease-protein {
        width: 120px;  /* Increased for better visibility */
        height: 120px;
        box-shadow: 
            0 0 100px rgba(86, 99, 138, 0.6),  /* Stronger glow */
            inset -20px -20px 40px rgba(0, 0, 0, 0.8),
            inset 10px 10px 30px rgba(86, 99, 138, 0.3);
    }
    
    .inhibitor-missile {
        width: 80px;  /* Increased size */
        height: 80px;
        box-shadow: 
            0 0 80px var(--secondary-cyan),  /* Stronger glow */
            0 0 40px rgba(78, 205, 196, 0.8);
    }
    
    .molecular-glue {
        width: 70px;  /* Increased size */
        height: 70px;
    }
    
    .molecular-glue .glue-core {
        box-shadow: 
            0 0 80px var(--accent-pink),  /* Stronger glow */
            0 0 40px rgba(229, 193, 189, 0.8);
    }
    
    .e3-ligase {
        width: 130px;  /* Slightly increased */
        height: 130px;
        box-shadow: 
            0 0 80px rgba(86, 99, 138, 0.5),
            inset -10px -10px 30px rgba(0, 0, 0, 0.7);
    }
    
    .proteasome {
        width: 180px;  /* Increased for prominence */
        height: 140px;
        opacity: 1 !important;  /* Always visible when active */
    }
    
    .proteasome-body {
        box-shadow: 
            0 0 80px rgba(78, 205, 196, 0.7),  /* Much stronger glow */
            0 0 40px rgba(229, 193, 189, 0.5),
            inset 0 0 40px rgba(78, 205, 196, 0.3),
            0 20px 50px rgba(0, 0, 0, 0.7);
        border: 3px solid rgba(78, 205, 196, 0.5);  /* Thicker border */
    }
    
    .proteasome-beam {
        width: 80px;
        box-shadow: 
            0 0 40px rgba(78, 205, 196, 0.7),
            0 0 80px rgba(229, 193, 189, 0.5);
    }
    
    .ubiquitin-tag {
        width: 28px;  /* Slightly larger */
        height: 28px;
        font-size: 0.6rem;
        box-shadow: 0 0 30px var(--secondary-cyan);
    }
    
    .destruction-particle {
        width: 12px;
        height: 12px;
        box-shadow: 
            0 0 15px rgba(255, 0, 110, 0.8),
            0 0 30px rgba(78, 205, 196, 0.5);
    }
    
    .element-label {
        display: none; /* Hide labels on mobile */
    }
    
    .status-locked {
        font-size: 1.1rem !important;  /* Slightly larger */
        padding: 12px 25px !important;
        box-shadow: 
            0 0 50px rgba(255, 0, 110, 0.7),
            0 0 100px rgba(255, 0, 110, 0.4) !important;
    }
    
    /* Enhance animations for mobile */
    .impact-wave {
        border-width: 4px;  /* Thicker border */
        box-shadow: 0 0 40px var(--secondary-cyan);
    }
}

@media (max-width: 480px) {
    .target-protein,
    .disease-protein {
        width: 80px;
        height: 80px;
    }
    
    .inhibitor-missile {
        width: 60px;
        height: 60px;
    }
    
    .molecular-glue {
        width: 50px;
        height: 50px;
    }
    
    .e3-ligase {
        width: 100px;
        height: 100px;
    }
    
    .proteasome {
        width: 140px;
        height: 100px;
    }
    
    .proteasome-body::before,
    .proteasome-body::after {
        width: 50px;
        height: 80px;
    }
    
    .status-locked {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }
}/* Section Base */
section {
    padding: 100px 60px;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   UNIFIED SECTION HEADER STYLES
   All sections use these consistent styles
   Higher specificity to override component styles
   ======================================== */
section .section-header,
#about .section-header,
#leadership .section-header,
#science .section-header,
#pipeline .section-header,
#newsroom .section-header,
#join .section-header {
    text-align: center !important;
    margin-bottom: 80px !important;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

section .section-title,
#about .section-title,
#leadership .section-title,
#science .section-title,
#pipeline .section-title,
#newsroom .section-title,
#join .section-title {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
    font-size: clamp(2.5rem, 4vw, 3.5rem) !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
    background: linear-gradient(135deg, #63B3ED, #F687B3) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    position: relative !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

section .section-title::after,
#about .section-title::after,
#leadership .section-title::after,
#science .section-title::after,
#pipeline .section-title::after,
#newsroom .section-title::after,
#join .section-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, #63B3ED, transparent) !important;
    animation: pulse 2s ease-in-out infinite !important;
}

section .section-subtitle,
#about .section-subtitle,
#leadership .section-subtitle,
#science .section-subtitle,
#pipeline .section-subtitle,
#newsroom .section-subtitle,
#join .section-subtitle {
    font-size: 1.2rem !important;
    color: #B8C5E0 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    text-align: center !important;
}

/* Responsive Section Headers */
@media (max-width: 968px) {
    section .section-header,
    #about .section-header,
    #leadership .section-header,
    #science .section-header,
    #pipeline .section-header,
    #newsroom .section-header,
    #join .section-header {
        margin-bottom: 60px !important;
    }
    
    section .section-title,
    #about .section-title,
    #leadership .section-title,
    #science .section-title,
    #pipeline .section-title,
    #newsroom .section-title,
    #join .section-title {
        font-size: 2.5rem !important;
    }
    
    section .section-subtitle,
    #about .section-subtitle,
    #leadership .section-subtitle,
    #science .section-subtitle,
    #pipeline .section-subtitle,
    #newsroom .section-subtitle,
    #join .section-subtitle {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 640px) {
    section .section-header,
    #about .section-header,
    #leadership .section-header,
    #science .section-header,
    #pipeline .section-header,
    #newsroom .section-header,
    #join .section-header {
        margin-bottom: 50px !important;
    }
    
    section .section-title,
    #about .section-title,
    #leadership .section-title,
    #science .section-title,
    #pipeline .section-title,
    #newsroom .section-title,
    #join .section-title {
        font-size: 2rem !important;
        margin-bottom: 20px !important;
    }
    
    section .section-subtitle,
    #about .section-subtitle,
    #leadership .section-subtitle,
    #science .section-subtitle,
    #pipeline .section-subtitle,
    #newsroom .section-subtitle,
    #join .section-subtitle {
        font-size: 1rem !important;
    }
}

/* Animation for section title underline */
@keyframes pulse {
    0%, 100% { 
        opacity: 0.8;
        transform: translateX(-50%) scaleX(1);
    }
    50% { 
        opacity: 1;
        transform: translateX(-50%) scaleX(1.2);
    }
}

/* Common Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.opacity-0 {
    opacity: 0;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-100 {
    opacity: 1;
}

.pointer-events-none {
    pointer-events: none;
}

.cursor-pointer {
    cursor: pointer;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-visible {
    overflow: visible;
}/* Responsive */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 20px;
    }

    .animation-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 500px auto;
        gap: 40px;
        max-width: 600px;
    }

    .animation-stage {
        width: 500px;
        height: 500px;
    }

    .mechanism-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 968px) {
    .join-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .join-card {
        padding: 35px;
    }
}

/* Screen shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 30px;
    }

    .nav-menu {
        display: none;
    }

    section {
        padding: 60px 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-grid,
    .leadership-grid,
    .news-container {
        grid-template-columns: 1fr;
    }

    .pipeline-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .animation-stage {
        width: 90vw;
        height: 90vw;
        max-width: 400px;
        max-height: 400px;
    }
}/* Language-specific Styles - ONLY Typography Changes */

/* Default (English) Typography */
:root[lang="en"] {
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Orbitron', monospace;
    --letter-spacing-body: 0.02em;
    --letter-spacing-heading: 0.02em;
    --line-height-body: 1.6;
}

/* Korean Typography */
:root[lang="ko"] {
    --font-primary: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-heading: 'Pretendard Variable', 'Pretendard', sans-serif;
    --letter-spacing-body: -0.02em;
    --letter-spacing-heading: -0.03em;
    --line-height-body: 1.8;
}

/* ⚠️ IMPORTANT: No layout, color, size, or animation changes! */
/* All design elements remain exactly the same between languages */

/* Apply typography variables */
body {
    font-family: var(--font-primary);
    letter-spacing: var(--letter-spacing-body);
    line-height: var(--line-height-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: var(--letter-spacing-heading);
}

/* Korean specific typography enhancements */
.lang-ko body {
    font-family: 'Pretendard Variable', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.lang-ko h1, .lang-ko h2, .lang-ko h3, .lang-ko h4, .lang-ko h5, .lang-ko h6 {
    font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
    font-weight: 700;
    line-height: 1.4;
}

/* Language-specific display */
.lang-en .ko-only {
    display: none !important;
}

.lang-ko .en-only {
    display: none !important;
}

/* Korean specific adjustments */
.lang-ko {
    word-break: keep-all;
}

.lang-ko .hero-title {
    font-family: 'Pretendard Variable', 'Pretendard', sans-serif !important;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.lang-ko .section-title {
    font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-rendering: optimizeLegibility;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary-cyan) 50%, var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lang-ko .btn {
    font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
    font-weight: 600;
    letter-spacing: 0;
}

.lang-ko p {
    font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: -0.02em;
}

/* English specific adjustments */
.lang-en .hero-title {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Language switcher active state */
.nav-lang-btn {
    transition: all 0.3s ease;
    opacity: 0.6;
}

.nav-lang-btn.active {
    opacity: 1;
    color: var(--secondary-cyan);
}

/* Smooth transition for language switching */
body {
    transition: opacity 0.3s ease;
}

/* Hero title word adjustments for Korean (6 words) */
.lang-ko .hero-title .word:nth-child(n+5) {
    display: inline-block;
}

/* Pipeline target names (keep in English) */
.pipeline-target,
.contact-value a,
.stage-label {
    font-family: 'Inter', sans-serif !important;
    letter-spacing: 0.02em !important;
}

/* Loading text language variations */
.lang-ko .loading-text {
    font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
    letter-spacing: 0.1em;
}

/* Navigation typography */
.lang-ko .nav-link {
    font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
    font-weight: 500;
}

/* Responsive adjustments for Korean */
@media (max-width: 768px) {
    .lang-ko .hero-title {
        font-size: clamp(2rem, 6vw, 4rem);
    }
    
    .lang-ko .section-title {
        font-size: 2rem;
    }
}