/* =============================================
   Landing Page Styles - Sophisticated Design
   ============================================= */

.landing-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: var(--z-base);
    max-width: 1600px;
    margin: 0 auto;
}

/* =============================================
   Hero Section
   ============================================= */

.hero-section {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.main-title {
    font-size: clamp(5rem, 12vw, 12rem);
    font-weight: 200;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 0.9;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #6b7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    font-weight: 200;
}

.subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    font-weight: 300;
    margin-top: 2rem;
    opacity: 0;
}

.title-underline {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 2rem auto 0;
    opacity: 0;
    box-shadow: none;
}

/* =============================================
   Labs Container & Cards
   ============================================= */

.labs-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1400px;
    width: 100%;
    margin-bottom: 4rem;
}

.lab-card {
    opacity: 0;
    transform: translateY(30px);
}

.card-inner {
    position: relative;
    height: 600px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.lab-card:hover .card-inner {
    transform: translateY(-8px);
}

.card-content {
    position: relative;
    height: 100%;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(40px);
    border-radius: 4px;
    padding: 4rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.lab-card:hover .card-content {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(15, 15, 15, 0.8);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.lab-card:hover .card-glow {
    opacity: 1;
}

/* =============================================
   Lab Icons (SVG)
   ============================================= */

.lab-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 3rem;
    opacity: 0.6;
    transition: all 0.6s ease;
}

.lab-card:hover .lab-icon {
    opacity: 1;
    transform: scale(1.05);
}

.lab-icon svg {
    width: 100%;
    height: 100%;
    filter: none;
}

/* NeoTox Icons */
.lab-card[data-lab="neotox"] .atom {
    fill: rgba(59, 130, 246, 0.8);
    stroke: rgba(59, 130, 246, 0.3);
    stroke-width: 1;
}

.lab-card[data-lab="neotox"] .bond {
    stroke: rgba(59, 130, 246, 0.5);
    stroke-width: 1;
}

/* NeoMind Icons */
.lab-card[data-lab="neomind"] .node {
    fill: rgba(139, 92, 246, 0.8);
    stroke: rgba(139, 92, 246, 0.3);
    stroke-width: 1;
}

.lab-card[data-lab="neomind"] .connection {
    stroke: rgba(139, 92, 246, 0.5);
    stroke-width: 1;
    fill: none;
}

/* =============================================
   Card Content
   ============================================= */

.lab-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.lab-description {
    color: var(--text-secondary);
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* =============================================
   Lab Link Button
   ============================================= */

.lab-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.lab-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.lab-link:hover::before {
    width: 100%;
}

.lab-link:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

.lab-link .arrow {
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.lab-link:hover .arrow {
    transform: translateX(6px);
}

/* =============================================
   Card Particles (Decorative)
   ============================================= */

.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.card-particles::before,
.card-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0;
}

/* =============================================
   Footer Info
   ============================================= */

.footer-info {
    width: 100%;
    max-width: 1200px;
    opacity: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    padding: 3rem 0;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-shadow: none;
}

/* =============================================
   Responsive Design
   ============================================= */

@media (max-width: 1024px) {
    .labs-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .landing-container {
        padding: var(--spacing-md);
    }
    
    .hero-section {
        margin-bottom: var(--spacing-md);
    }
    
    .labs-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .card-inner {
        height: 450px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: clamp(3rem, 8vw, 5rem);
    }
    
    .card-inner {
        height: 400px;
    }
    
    .lab-icon {
        width: 100px;
        height: 100px;
    }
}

/* =============================================
   Animation Classes (Applied via JS)
   ============================================= */

.animate-in {
    animation: fadeIn 0.8s ease forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
