/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;500;600;700;800;900&family=Crimson+Text:wght@300;400;600&family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Crimson Text', Georgia, serif;
    font-weight: 400;
    line-height: 1.6;
    color: #F5F5F5;
    background: #1e3a8a;
    overflow-x: hidden;
    cursor: auto;
    position: relative;
}


/* 3D Model Viewer */
.model-viewer-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    height: 300px;
    background: rgba(17, 18, 21, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Mobile-first 3D Model Viewer */
@media (max-width: 768px) {
    .model-viewer-container {
        width: 280px;
        height: 200px;
        bottom: 15px;
        right: 15px;
    }
    
    .model-viewer-container.minimized {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .model-viewer-container {
        width: 250px;
        height: 180px;
        bottom: 10px;
        right: 10px;
    }
    
    .model-viewer-container.minimized {
        width: 45px;
        height: 45px;
    }
}

.model-viewer-container.minimized {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
}

.model-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.model-viewer-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFD700;
    margin: 0;
}

.model-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #F5F5F5;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: rgba(42, 240, 255, 0.2);
    color: #FFD700;
}

.model-viewer {
    width: 100%;
    height: calc(100% - 60px);
    border: none;
    background: #1a1a1a;
}

.model-toggle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    display: none;
}

.model-viewer-container.minimized .model-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-viewer-container.minimized .model-viewer-header,
.model-viewer-container.minimized .model-viewer {
    display: none;
}

/* Custom cursor disabled - using normal cursor */
.cursor {
    display: none;
}

/* Container */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 3rem);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: clamp(1rem, 2vw, 2rem) 0;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #1C1D21;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 4rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #F5F5F5;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #B9BDC7;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #F5F5F5;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FFD700;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-button {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #F5F5F5;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.75rem 1.5rem;
    border: 1px solid #1C1D21;
    border-radius: 0;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-button:hover {
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-video.active {
    opacity: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.65);
    z-index: 2;
}

.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 4;
}

.video-switch-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(42, 240, 255, 0.1);
    color: #2AF0FF;
    border: 1px solid rgba(42, 240, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.video-switch-btn:hover {
    background: rgba(42, 240, 255, 0.2);
    border-color: rgba(42, 240, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 240, 255, 0.2);
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A0A0A 0%, #1C1D21 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B9BDC7;
    font-family: 'Inter', sans-serif;
}

.video-fallback::after {
    content: 'Video not supported';
    font-size: 1.125rem;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 4rem);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: #F5F5F5;
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(100px);
    animation: slideUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }
.title-line:nth-child(4) { animation-delay: 0.8s; }

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

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: #B9BDC7;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 1.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: clamp(2rem, 5vw, 4rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 1.6s;
}

.scroll-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #B9BDC7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #FFD700, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* Section Styles */
section {
    padding: clamp(4rem, 10vw, 8rem) 0;
    position: relative;
}

.section-header {
    margin-bottom: clamp(3rem, 8vw, 6rem);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #F5F5F5;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.section-title.animate {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    color: #FFD700;
    margin-bottom: 2rem;
}

.section-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    color: #B9BDC7;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: radial-gradient(ellipse at center, rgba(17, 18, 21, 0.8) 0%, rgba(10, 10, 10, 1) 70%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 8vw, 6rem);
    align-items: start;
}

.about-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #F5F5F5;
    line-height: 1.7;
    max-width: none;
}

.about-text p {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.about-text p.animate {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.about-text p:nth-child(2) {
    animation-delay: 0.2s;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: rgba(17, 18, 21, 0.6);
    border: 1px solid #1C1D21;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(30px);
}

.stat-item.animate {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.4s; }

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.stat-item:hover {
    background: rgba(17, 18, 21, 0.8);
    border-color: rgba(42, 240, 255, 0.3);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #FFD700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #B9BDC7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Projects Section */
.projects {
    background: #0A0A0A;
    position: relative;
    overflow: hidden;
}

/* New Gradient Background Animation */
.gradient-background {
    background: linear-gradient(350deg, #0005f1, #2354c2);
    background-size: 120% 120%;
    animation: gradient-animation 16s ease infinite;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animated Gradient Background below video */
.projects::before {
    content: '';
    position: absolute;
    top: 60%;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 1) 0%,
        rgba(16, 31, 57, 0.9) 25%,
        rgba(31, 59, 102, 0.8) 50%,
        rgba(21, 41, 73, 0.9) 75%,
        rgba(0, 0, 0, 1) 100%
    );
    background-size: 400% 400%;
    animation: gradientFlow 8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
        opacity: 0.7;
    }
    25% {
        background-position: 100% 50%;
        opacity: 0.9;
    }
    50% {
        background-position: 100% 100%;
        opacity: 0.8;
    }
    75% {
        background-position: 0% 100%;
        opacity: 0.9;
    }
    100% {
        background-position: 0% 50%;
        opacity: 0.7;
    }
}

/* Ensure content stays above gradient */
.projects .container {
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: clamp(2rem, 5vw, 3rem);
}

/* Flutter-Inspired Material Design Cards */
.project-card {
    background: rgba(17, 18, 21, 0.6);
    border: 1px solid #1C1D21;
    border-radius: 16px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    position: relative;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 2px 4px rgba(0, 0, 0, 0.08);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 240, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.project-card.animate {
    animation: materialSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.4s; }

.project-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 
        0 24px 48px rgba(42, 240, 255, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(42, 240, 255, 0.1);
    border-color: rgba(42, 240, 255, 0.3);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111215 0%, #1C1D21 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.placeholder-image {
    font-size: 4rem;
    opacity: 0.3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .placeholder-image {
    transform: scale(1.1);
    opacity: 0.6;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .image-overlay {
    opacity: 1;
}

.add-image-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(42, 240, 255, 0.1);
    color: #2AF0FF;
    border: 1px solid rgba(42, 240, 255, 0.3);
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.add-image-btn:hover {
    background: rgba(42, 240, 255, 0.2);
    transform: scale(1.05);
}

.uploaded-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .uploaded-image {
    transform: scale(1.05);
}

.project-content {
    padding: clamp(1.5rem, 4vw, 2rem);
}

.project-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: #F5F5F5;
    line-height: 1.3;
    margin-bottom: 1rem;
    position: relative;
}

.project-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2AF0FF;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-content h3::after {
    width: 60px;
}

.project-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #B9BDC7;
    line-height: 1.6;
}

/* Photo Upload Section */
.photo-upload-section {
    margin-top: 2rem;
    text-align: center;
}

.upload-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(42, 240, 255, 0.1);
    color: #2AF0FF;
    border: 1px solid rgba(42, 240, 255, 0.3);
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.upload-btn:hover {
    background: rgba(42, 240, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(42, 240, 255, 0.2);
}

.upload-icon {
    font-size: 1.25rem;
}

/* Gallery Section */
.gallery {
    background: radial-gradient(ellipse at center, rgba(17, 18, 21, 0.8) 0%, rgba(10, 10, 10, 1) 70%);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: clamp(3rem, 6vw, 4rem);
    flex-wrap: wrap;
}

.filter-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    background: transparent;
    color: #B9BDC7;
    border: 1px solid #1C1D21;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(42, 240, 255, 0.1);
    color: #2AF0FF;
    border-color: rgba(42, 240, 255, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
    min-height: 400px;
}

/* Flutter-Inspired Gallery Cards */
.gallery-item {
    background: rgba(17, 18, 21, 0.6);
    border: 1px solid #1C1D21;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.06);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 240, 255, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 12px;
}

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

.gallery-item.animate {
    animation: materialFadeUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

.gallery-item:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 
        0 16px 32px rgba(42, 240, 255, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(42, 240, 255, 0.08);
    border-color: rgba(42, 240, 255, 0.2);
}

.gallery-item.hidden {
    display: none;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #F5F5F5;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #B9BDC7;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.category-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    background: rgba(42, 240, 255, 0.1);
    color: #2AF0FF;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(42, 240, 255, 0.3);
}

.gallery-placeholder {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.placeholder-content {
    text-align: center;
    color: #B9BDC7;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.3;
}

.placeholder-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #F5F5F5;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.placeholder-content p {
    margin-bottom: 2rem;
}

/* Team Section */
.team {
    background: #0A0A0A;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(3rem, 8vw, 6rem);
    align-items: start;
}

.team-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: #2AF0FF;
    margin-bottom: 2rem;
}

.advisor-card {
    background: rgba(17, 18, 21, 0.6);
    border: 1px solid #1C1D21;
    padding: clamp(1.5rem, 4vw, 2rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.advisor-card:hover {
    background: rgba(17, 18, 21, 0.8);
    border-color: rgba(42, 240, 255, 0.3);
    transform: translateY(-5px);
}

.advisor-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #F5F5F5;
    margin-bottom: 0.5rem;
}

.advisor-card p {
    color: #B9BDC7;
    margin-bottom: 1rem;
}

.advisor-card a {
    color: #2AF0FF;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.advisor-card a:hover {
    color: #F5F5F5;
}

.team-description {
    color: #F5F5F5;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    max-width: none;
}

.team-description p {
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    background: radial-gradient(ellipse at center, rgba(17, 18, 21, 0.8) 0%, rgba(10, 10, 10, 1) 70%);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 5vw, 3rem);
}

.contact-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: #2AF0FF;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #F5F5F5;
    text-decoration: none;
    padding: 1rem;
    background: rgba(17, 18, 21, 0.6);
    border: 1px solid #1C1D21;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    background: rgba(17, 18, 21, 0.8);
    border-color: rgba(42, 240, 255, 0.3);
    transform: translateX(5px);
}

.social-icon {
    font-size: 1.5rem;
}

.social-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover .social-icon-img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.contact-item p {
    color: #B9BDC7;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-button {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    background: rgba(42, 240, 255, 0.1);
    color: #2AF0FF;
    border: 1px solid rgba(42, 240, 255, 0.3);
    padding: 1rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
    background: rgba(42, 240, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(42, 240, 255, 0.2);
}

/* Footer */
.footer {
    background: #0A0A0A;
    border-top: 1px solid #1C1D21;
    padding: clamp(2rem, 5vw, 3rem) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #F5F5F5;
    letter-spacing: -0.02em;
}

.footer-text {
    color: #B9BDC7;
    font-size: 0.875rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: rgba(17, 18, 21, 0.95);
    margin: 5% auto;
    padding: 0;
    border: 1px solid #1C1D21;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #1C1D21;
}

.modal-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #F5F5F5;
    margin: 0;
}

.close {
    color: #B9BDC7;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.close:hover {
    color: #2AF0FF;
}

.modal-body {
    padding: 2rem;
}

/* Upload Area */
.upload-area {
    border: 2px dashed rgba(42, 240, 255, 0.3);
    border-radius: 0;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #2AF0FF;
    background: rgba(42, 240, 255, 0.05);
}

.upload-content {
    color: #B9BDC7;
}

.upload-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.upload-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #F5F5F5;
    margin-bottom: 0.5rem;
}

.upload-content p {
    margin-bottom: 2rem;
}

#photoInput {
    display: none;
}

.browse-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(42, 240, 255, 0.1);
    color: #2AF0FF;
    border: 1px solid rgba(42, 240, 255, 0.3);
    padding: 0.75rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.browse-btn:hover {
    background: rgba(42, 240, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(42, 240, 255, 0.2);
}

/* Photo Details Form */
.photo-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.preview-container {
    text-align: center;
}

#photoPreview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.details-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    color: #2AF0FF;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(17, 18, 21, 0.8);
    border: 1px solid #1C1D21;
    border-radius: 0;
    padding: 0.75rem;
    color: #F5F5F5;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2AF0FF;
    box-shadow: 0 0 0 3px rgba(42, 240, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cancel-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    background: transparent;
    color: #B9BDC7;
    border: 1px solid #1C1D21;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cancel-btn:hover {
    background: rgba(17, 18, 21, 0.8);
    color: #F5F5F5;
    border-color: rgba(42, 240, 255, 0.3);
}

.upload-submit-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(42, 240, 255, 0.1);
    color: #2AF0FF;
    border: 1px solid rgba(42, 240, 255, 0.3);
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.upload-submit-btn:hover {
    background: rgba(42, 240, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(42, 240, 255, 0.2);
}

/* Image Viewer Modal */
.image-viewer-content {
    background: rgba(10, 10, 10, 0.98);
    margin: 2% auto;
    border: 1px solid #1C1D21;
    width: 95%;
    max-width: 1200px;
    max-height: 95vh;
    overflow: hidden;
    position: relative;
}

.image-viewer-container {
    display: flex;
    align-items: center;
    height: 80vh;
    position: relative;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(42, 240, 255, 0.1);
    color: #2AF0FF;
    border: 1px solid rgba(42, 240, 255, 0.3);
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.nav-btn:hover {
    background: rgba(42, 240, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.image-display {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

#viewerImage {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    margin-bottom: 2rem;
}

.image-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #F5F5F5;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.image-info p {
    font-family: 'Inter', sans-serif;
    color: #B9BDC7;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 600px;
}

/* Responsive Design */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-line {
        animation: none;
    }
    
    .hero-canvas-container {
        display: none;
    }
}

@media (max-width: 1920px) {
    .container {
        max-width: 1440px;
    }
}

@media (max-width: 1440px) {
    .container {
        max-width: 1024px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .team-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
    z-index: 1001;
}

.mobile-nav-toggle span {
    width: 25px;
    height: 2px;
    background: #F5F5F5;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #F5F5F5;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.mobile-nav-menu.active .mobile-nav-link {
    animation: mobileNavSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-link:nth-child(4) { animation-delay: 0.4s; }
.mobile-nav-link:nth-child(5) { animation-delay: 0.5s; }
.mobile-nav-link:nth-child(6) { animation-delay: 0.6s; }
.mobile-nav-link:nth-child(7) { animation-delay: 0.7s; }

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

.mobile-nav-link:hover {
    color: #FFD700;
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}

/* Touch-friendly improvements */
.touch-target {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced mobile styles */
@media (max-width: 768px) {
    body {
        cursor: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .cursor {
        display: none;
    }
    
    /* Mobile Navigation */
    .nav-menu {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav {
        padding: 1rem 0;
    }
    
    /* Hero optimizations */
    .hero {
        min-height: 100vh;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 4rem);
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        padding: 0 1rem;
    }
    
    .scroll-indicator {
        bottom: 2rem;
    }
    
    /* Section spacing */
    section {
        padding: clamp(3rem, 8vw, 5rem) 0;
    }
    
    .section-header {
        margin-bottom: clamp(2rem, 6vw, 3rem);
        text-align: center;
    }
    
    /* About section mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
        text-align: center;
    }
    
    /* Projects mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card {
        margin: 0 1rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    /* Gallery mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .gallery-filters {
        gap: 0.5rem;
        padding: 0 1rem;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .gallery-filters::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.75rem;
        white-space: nowrap;
        flex-shrink: 0;
        touch-action: manipulation;
    }
    
    /* Team mobile */
    .team-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Contact mobile */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-link {
        padding: 1.25rem;
        touch-action: manipulation;
    }
    
    .social-icon {
        font-size: 1.75rem;
    }
    
    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Modal mobile */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .photo-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-actions button {
        width: 100%;
        padding: 1rem;
        touch-action: manipulation;
    }
    
    /* Image viewer mobile */
    .image-viewer-container {
        height: 70vh;
    }
    
    .nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        touch-action: manipulation;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    /* Upload improvements */
    .upload-area {
        padding: 2rem 1rem;
        touch-action: manipulation;
    }
    
    .upload-btn {
        width: 100%;
        justify-content: center;
        padding: 1.25rem;
        touch-action: manipulation;
    }
    
    /* Button improvements */
    .cta-button,
    .browse-btn,
    .model-btn-main {
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(42, 240, 255, 0.2);
    }
    
    /* Notification mobile */
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }
}

/* Background Music Player */
.music-player {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(17, 18, 21, 0.95);
    border: 1px solid rgba(42, 240, 255, 0.3);
    border-radius: 12px;
    padding: 1rem;
    z-index: 1000;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
}

.music-player:hover {
    border-color: rgba(42, 240, 255, 0.5);
    box-shadow: 0 12px 40px rgba(42, 240, 255, 0.2);
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.music-btn {
    background: rgba(42, 240, 255, 0.1);
    border: 1px solid rgba(42, 240, 255, 0.3);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2AF0FF;
}

.music-btn:hover {
    background: rgba(42, 240, 255, 0.2);
    border-color: rgba(42, 240, 255, 0.5);
    transform: scale(1.05);
}

.music-btn.playing {
    background: rgba(42, 240, 255, 0.2);
    border-color: rgba(42, 240, 255, 0.5);
    animation: musicPulse 2s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(42, 240, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(42, 240, 255, 0);
    }
}

.music-icon {
    font-size: 1.2rem;
}

.music-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.music-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #F5F5F5;
    line-height: 1;
}

.music-status {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #B9BDC7;
    line-height: 1;
}

.volume-btn {
    width: 36px;
    height: 36px;
}

.volume-icon {
    font-size: 1rem;
}

.volume-slider {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(42, 240, 255, 0.2);
}

.volume-slider input[type="range"] {
    width: 100%;
    height: 4px;
    background: rgba(42, 240, 255, 0.2);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #2AF0FF;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(42, 240, 255, 0.5);
}

.volume-slider input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #2AF0FF;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.volume-slider input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(42, 240, 255, 0.5);
}

/* Mobile responsive for music player */
@media (max-width: 768px) {
    .music-player {
        top: 15px;
        left: 15px;
        padding: 0.75rem;
        min-width: 180px;
    }
    
    .music-btn {
        width: 36px;
        height: 36px;
    }
    
    .music-title {
        font-size: 0.8rem;
    }
    
    .music-status {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .music-player {
        top: 10px;
        left: 10px;
        right: 10px;
        min-width: auto;
    }
    
    .music-controls {
        gap: 0.5rem;
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(17, 18, 21, 0.95);
    border: 1px solid #2AF0FF;
    color: #F5F5F5;
    padding: 1rem 1.5rem;
    border-radius: 0;
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-color: #2AF0FF;
}

.notification.error {
    border-color: #ff4444;
}

/* 3D Model Section */
.model-section {
    background: #0A0A0A;
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.model-viewer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(17, 18, 21, 0.8);
    border: 1px solid #1C1D21;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.model-viewer-main {
    width: 100%;
    height: 600px;
    background: #1a1a1a;
    position: relative;
    border-bottom: 1px solid #1C1D21;
}

.model-controls-main {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(17, 18, 21, 0.9);
}

.model-btn-main {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(42, 240, 255, 0.1);
    color: #2AF0FF;
    border: 1px solid rgba(42, 240, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-btn-main:hover {
    background: rgba(42, 240, 255, 0.2);
    border-color: rgba(42, 240, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(42, 240, 255, 0.2);
}

.model-btn-main:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .model-viewer-main {
        height: 400px;
    }
    
    .model-controls-main {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .model-btn-main {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* STL Modal Styles */
.stl-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.stl-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #2af0ff;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(42, 240, 255, 0.3);
}

/* Permanent Models Section */
.permanent-models-section {
    margin-bottom: 2rem;
}

.permanent-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.permanent-model-card {
    background: rgba(17, 18, 21, 0.8);
    border: 1px solid #1C1D21;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.permanent-model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 240, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.permanent-model-card:hover::before {
    opacity: 1;
}

.permanent-model-card:hover {
    transform: translateY(-5px);
    border-color: rgba(42, 240, 255, 0.5);
    box-shadow: 0 10px 30px rgba(42, 240, 255, 0.2);
}

.model-info h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: #F5F5F5;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.model-info p {
    font-family: 'Inter', sans-serif;
    color: #B9BDC7;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.model-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.model-category,
.model-year,
.default-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.model-category {
    background: rgba(42, 240, 255, 0.1);
    color: #2AF0FF;
    border: 1px solid rgba(42, 240, 255, 0.3);
}

.model-year {
    background: rgba(255, 255, 255, 0.1);
    color: #F5F5F5;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.default-badge {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.section-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #1C1D21, transparent);
}

.section-divider span {
    background: #1a1a1a;
    color: #B9BDC7;
    padding: 0 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* STL Upload Section */
.stl-upload-section {
    margin-top: 1rem;
}

.stl-upload-area {
    border: 2px dashed rgba(42, 240, 255, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin-bottom: 1rem;
}

.stl-upload-area:hover,
.stl-upload-area.dragover {
    border-color: #2AF0FF;
    background: rgba(42, 240, 255, 0.05);
}

.stl-upload-content {
    color: #B9BDC7;
}

.stl-upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    color: #2AF0FF;
}

.stl-upload-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: #F5F5F5;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.stl-upload-content p {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.stl-details {
    display: none;
    background: rgba(17, 18, 21, 0.6);
    border: 1px solid #1C1D21;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.stl-file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stl-file-name {
    font-family: 'Space Grotesk', sans-serif;
    color: #2AF0FF;
    font-weight: 600;
}

.stl-file-size {
    font-family: 'Inter', sans-serif;
    color: #B9BDC7;
    font-size: 0.875rem;
}

.stl-form {
    display: grid;
    gap: 1rem;
}

.stl-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stl-form-group label {
    font-family: 'Inter', sans-serif;
    color: #2AF0FF;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stl-form-group input,
.stl-form-group textarea {
    background: rgba(17, 18, 21, 0.8);
    border: 1px solid #1C1D21;
    border-radius: 4px;
    padding: 0.75rem;
    color: #F5F5F5;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stl-form-group input:focus,
.stl-form-group textarea:focus {
    outline: none;
    border-color: #2AF0FF;
    box-shadow: 0 0 0 3px rgba(42, 240, 255, 0.1);
}

.stl-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.stl-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.stl-cancel-btn,
.stl-load-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stl-cancel-btn {
    background: transparent;
    color: #B9BDC7;
    border: 1px solid #1C1D21;
}

.stl-cancel-btn:hover {
    background: rgba(17, 18, 21, 0.8);
    color: #F5F5F5;
    border-color: rgba(42, 240, 255, 0.3);
}

.stl-load-btn {
    background: rgba(42, 240, 255, 0.1);
    color: #2AF0FF;
    border: 1px solid rgba(42, 240, 255, 0.3);
}

.stl-load-btn:hover {
    background: rgba(42, 240, 255, 0.2);
    border-color: rgba(42, 240, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(42, 240, 255, 0.2);
}

/* Responsive STL Modal */
@media (max-width: 768px) {
    .stl-modal-content {
        width: 95%;
        margin: 2% auto;
        padding: 1.5rem;
    }
    
    .permanent-models-grid {
        grid-template-columns: 1fr;
    }
    
    .stl-upload-area {
        padding: 1.5rem;
    }
    
    .stl-modal-actions {
        flex-direction: column;
    }
    
    .stl-file-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Fuel Cell Section Styles */
.fuel-cell-section {
    background: radial-gradient(ellipse at center, rgba(17, 18, 21, 0.8) 0%, rgba(10, 10, 10, 1) 70%);
    padding: clamp(4rem, 10vw, 8rem) 0;
}

/* Fuel Cell Page Styles */
.fuel-cell-page {
    background: linear-gradient(135deg, #0B1426 0%, #1A2B4C 25%, #2C4A7A 50%, #1E3A5F 75%, #0F1B2E 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
}

.fuel-cell-hero {
    padding: clamp(8rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(42, 240, 255, 0.1) 0%, transparent 70%);
}

.fuel-cell-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: #F5F5F5;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #B9BDC7;
    max-width: 600px;
    margin: 0 auto;
}

.basic-principle {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: rgba(10, 10, 10, 0.3);
}

.principle-text {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #F5F5F5;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.fuel-cell-visual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.fuel-cell-component {
    background: rgba(17, 18, 21, 0.8);
    border: 1px solid #1C1D21;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.fuel-cell-component:hover {
    border-color: rgba(42, 240, 255, 0.5);
    transform: translateY(-5px);
}

.anode-side {
    border-color: rgba(255, 107, 107, 0.3);
}

.membrane {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}

.cathode-side {
    border-color: rgba(107, 255, 107, 0.3);
}

.fuel-cell-component h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: #2AF0FF;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.fuel-cell-component p {
    font-family: 'Inter', sans-serif;
    color: #F5F5F5;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gas-input {
    font-size: 0.8rem;
    color: #B9BDC7;
    background: rgba(42, 240, 255, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(42, 240, 255, 0.3);
}

.proton-flow {
    color: #FFD700;
    font-weight: 600;
    font-size: 1.2rem;
}

.electron-circuit {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(42, 240, 255, 0.1);
    border: 1px solid rgba(42, 240, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2AF0FF;
    font-size: 0.9rem;
    font-weight: 600;
}

.main-components {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: rgba(17, 18, 21, 0.3);
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.component-card {
    background: rgba(17, 18, 21, 0.8);
    border: 1px solid #1C1D21;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.component-card:hover {
    border-color: rgba(42, 240, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(42, 240, 255, 0.1);
}

.component-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.anode-icon {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.cathode-icon {
    background: rgba(107, 255, 107, 0.1);
    color: #6bff6b;
    border: 1px solid rgba(107, 255, 107, 0.3);
}

.electrolyte-icon {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.component-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #F5F5F5;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.component-card p {
    color: #B9BDC7;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.component-card ul {
    list-style: none;
    padding: 0;
}

.component-card li {
    color: #F5F5F5;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.component-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2AF0FF;
}

.detailed-components {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: rgba(10, 10, 10, 0.5);
}

.component-detail {
    background: rgba(17, 18, 21, 0.8);
    border: 1px solid #1C1D21;
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.component-header {
    background: rgba(42, 240, 255, 0.1);
    border-bottom: 1px solid rgba(42, 240, 255, 0.3);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.component-header i {
    font-size: 1.5rem;
    color: #2AF0FF;
}

.component-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #F5F5F5;
    font-size: 1.3rem;
    margin: 0;
}

.component-info {
    padding: 2rem;
}

.info-section {
    margin-bottom: 1.5rem;
}

.info-section h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: #2AF0FF;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-section p {
    color: #F5F5F5;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.info-section ul {
    list-style: none;
    padding: 0;
}

.info-section li {
    color: #F5F5F5;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.info-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2AF0FF;
}

.mea-structure {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid #1C1D21;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.mea-layer {
    background: rgba(42, 240, 255, 0.1);
    border: 1px solid rgba(42, 240, 255, 0.3);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    color: #F5F5F5;
    font-weight: 500;
}

.pem-core {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: #FFD700;
}

.mea-note {
    color: #B9BDC7;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 1rem;
}

.step-process {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: rgba(17, 18, 21, 0.3);
}

.process-steps {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: rgba(17, 18, 21, 0.8);
    border: 1px solid #1C1D21;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: rgba(42, 240, 255, 0.5);
    transform: translateX(10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: rgba(42, 240, 255, 0.1);
    border: 2px solid rgba(42, 240, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2AF0FF;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #F5F5F5;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #B9BDC7;
    line-height: 1.6;
}

.chemical-reactions {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: rgba(10, 10, 10, 0.5);
}

.reactions-content {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.reaction-box {
    background: rgba(17, 18, 21, 0.8);
    border: 1px solid #1C1D21;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.reaction-box:hover {
    border-color: rgba(42, 240, 255, 0.5);
    transform: translateY(-5px);
}

.anode-reaction {
    border-color: rgba(255, 107, 107, 0.3);
}

.cathode-reaction {
    border-color: rgba(107, 255, 107, 0.3);
}

.overall-reaction {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}

.reaction-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #2AF0FF;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.equation {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.equation.large {
    font-size: 1.8rem;
}

.reactant {
    color: #F5F5F5;
}

.arrow {
    color: #2AF0FF;
    font-size: 2rem;
}

.product {
    color: #FFD700;
}

.reaction-box p {
    color: #B9BDC7;
    line-height: 1.6;
}

.benefits {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: rgba(17, 18, 21, 0.3);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(17, 18, 21, 0.8);
    border: 1px solid #1C1D21;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: rgba(42, 240, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(42, 240, 255, 0.1);
}

.benefit-card i {
    font-size: 3rem;
    color: #2AF0FF;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #F5F5F5;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #B9BDC7;
    line-height: 1.6;
}

.h2gp-application {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: rgba(10, 10, 10, 0.5);
}

.application-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.application-text p {
    color: #F5F5F5;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.racing-advantages h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #2AF0FF;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.racing-advantages ul {
    list-style: none;
    padding: 0;
}

.racing-advantages li {
    color: #F5F5F5;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.racing-advantages li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: #2AF0FF;
}

.racing-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(17, 18, 21, 0.8);
    border: 1px solid #1C1D21;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(42, 240, 255, 0.5);
    transform: scale(1.05);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #2AF0FF;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    color: #B9BDC7;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Mobile Responsive for Fuel Cell Page */
@media (max-width: 768px) {
    .fuel-cell-visual {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .electron-circuit {
        position: static;
        transform: none;
        margin: 1rem 0;
    }
    
    .components-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .step:hover {
        transform: translateY(-5px);
    }
    
    .equation {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .equation.large {
        font-size: 1.4rem;
    }
    
    .application-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .racing-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat-card {
        flex: 1;
        margin: 0 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .fuel-cell-component {
        padding: 1.5rem;
    }
    
    .component-card {
        padding: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .reaction-box {
        padding: 1.5rem;
    }
    
    .racing-stats {
        flex-direction: column;
    }
    
    .stat-card {
        margin: 0;
    }
}

/* Enhanced Fuel Cell Image Styles */
.fuel-cell-image-section,
.molecular-process-section {
    margin: 3rem 0;
    text-align: center;
}

.detailed-image-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(17, 18, 21, 0.8);
    border: 1px solid #1C1D21;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.detailed-image-container:hover {
    border-color: rgba(42, 240, 255, 0.5);
    box-shadow: 0 10px 30px rgba(42, 240, 255, 0.1);
}

.fuel-cell-diagram,
.molecular-diagram {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.detailed-image-container:hover .fuel-cell-diagram,
.detailed-image-container:hover .molecular-diagram {
    transform: scale(1.02);
}

.image-placeholder {
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(10, 10, 10, 0.5);
}

.placeholder-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: #2AF0FF;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.placeholder-content p {
    color: #B9BDC7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.placeholder-content ul {
    list-style: none;
    padding: 0;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.placeholder-content li {
    color: #F5F5F5;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.placeholder-content li::before {
    content: '🔬';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

/* Mobile responsive for enhanced images */
@media (max-width: 768px) {
    .fuel-cell-image-section,
    .molecular-process-section {
        margin: 2rem 0;
    }
    
    .detailed-image-container {
        margin: 0 1rem;
    }
    
    .image-placeholder {
        padding: 2rem 1.5rem;
    }
    
    .placeholder-content h4 {
        font-size: 1.1rem;
    }
    
    .placeholder-content p {
        font-size: 0.9rem;
    }
    
    .placeholder-content ul {
        text-align: center;
    }
    
    .placeholder-content li {
        padding-left: 0;
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .placeholder-content li::before {
        position: static;
        flex-shrink: 0;
    }
}

/* Car Showcase Section */
.car-showcase {
    background: #000000;
    padding: clamp(6rem, 12vw, 10rem) 0;
    position: relative;
    overflow: hidden;
}

.car-showcase-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.car-background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: clamp(6rem, 15vw, 16rem);
    font-weight: 900;
    color: #FFD700;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 0.8;
    z-index: 1;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.6),
        0 0 60px rgba(255, 215, 0, 0.4),
        0 0 80px rgba(255, 215, 0, 0.3);
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.7));
    animation: redBullGlow 3s ease-in-out infinite alternate;
}

@keyframes redBullGlow {
    0% {
        text-shadow: 
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(255, 215, 0, 0.6),
            0 0 60px rgba(255, 215, 0, 0.4),
            0 0 80px rgba(255, 215, 0, 0.3);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.7));
    }
    100% {
        text-shadow: 
            0 0 30px rgba(255, 215, 0, 1),
            0 0 50px rgba(255, 215, 0, 0.8),
            0 0 70px rgba(255, 215, 0, 0.6),
            0 0 90px rgba(255, 215, 0, 0.4);
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.9));
    }
}

.car-image-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.car-image-container img {
    width: 100%;
    height: auto;
    max-width: 700px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(42, 240, 255, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-image-container img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 30px 60px rgba(42, 240, 255, 0.4));
}

/* Mobile responsive for car showcase */
@media (max-width: 1024px) {
    .car-background-text {
        font-size: clamp(6rem, 18vw, 16rem);
    }
    
    .car-showcase-content {
        min-height: 60vh;
    }
}

@media (max-width: 768px) {
    .car-showcase {
        padding: clamp(4rem, 10vw, 6rem) 0;
    }
    
    .car-background-text {
        font-size: clamp(4rem, 15vw, 12rem);
        color: rgba(255, 255, 255, 0.05);
    }
    
    .car-showcase-content {
        min-height: 50vh;
    }
    
    .car-image-container {
        padding: 1rem;
    }
    
    .car-image-container img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .car-background-text {
        font-size: clamp(3rem, 12vw, 8rem);
        color: rgba(255, 255, 255, 0.08);
    }
    
    .car-showcase-content {
        min-height: 40vh;
    }
}

/* Featured Video Sections */
.featured-video-section,
.team-video-section {
    margin-top: clamp(3rem, 6vw, 4rem);
    padding-top: clamp(3rem, 6vw, 4rem);
    border-top: 1px solid rgba(42, 240, 255, 0.2);
}

.video-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: #2AF0FF;
    margin-bottom: 0.5rem;
    text-align: center;
}

.video-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #B9BDC7;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: rgba(17, 18, 21, 0.8);
    border: 1px solid #1C1D21;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-container:hover {
    border-color: rgba(42, 240, 255, 0.5);
    box-shadow: 0 20px 40px rgba(42, 240, 255, 0.1);
    transform: translateY(-5px);
}

.featured-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Mobile responsive for video sections */
@media (max-width: 768px) {
    .featured-video-section,
    .team-video-section {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .video-container {
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .video-title {
        font-size: 1.3rem;
    }
    
    .video-description {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .video-container {
        margin: 0 0.5rem;
        max-width: calc(100% - 1rem);
        border-radius: 8px;
    }
    
    .featured-video {
        border-radius: 8px;
    }
}

/* Telemetry Dashboard Section Styles */
.telemetry-dashboard-section {
    margin: 2rem 0;
    background: rgba(17, 18, 21, 0.6);
    border: 1px solid #1C1D21;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.telemetry-dashboard-section:hover {
    border-color: rgba(42, 240, 255, 0.3);
    background: rgba(17, 18, 21, 0.8);
}

.telemetry-dashboard-section h3 {
    color: #2AF0FF;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.telemetry-dashboard-section p {
    color: #F5F5F5;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.dashboard-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(42, 240, 255, 0.1);
    color: #2AF0FF;
    border: 1px solid rgba(42, 240, 255, 0.3);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dashboard-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 240, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.dashboard-link:hover::before {
    opacity: 1;
}

.dashboard-link:hover {
    background: rgba(42, 240, 255, 0.2);
    border-color: rgba(42, 240, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(42, 240, 255, 0.2);
    color: #F5F5F5;
}

.dashboard-link i {
    font-size: 1.2rem;
}

.link-description {
    display: block;
    font-size: 0.75rem;
    color: #B9BDC7;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.dashboard-link:hover .link-description {
    color: #B9BDC7;
}

/* Mobile responsive for telemetry dashboard */
@media (max-width: 768px) {
    .telemetry-dashboard-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .dashboard-link {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 1.25rem;
    }
    
    .telemetry-dashboard-section h3 {
        font-size: 1.2rem;
    }
}
