/* XR1 Futuristic Shared Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&amp;family=Space+Grotesk:wght@500;600&amp;display=swap');

body {
    font-family: 'Inter', system_ui, sans-serif;
}

.logo-font {
    font-family: 'Space Grotesk', 'Inter', system_ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.futuristic-bg {
    background: radial-gradient(circle at center, #0a0a0f 0%, #000000 70%);
}

.neon-cyan {
    color: #00f0ff;
    text-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff;
}

.neon-purple {
    color: #a855f7;
    text-shadow: 0 0 10px #a855f7, 0 0 20px #a855f7;
}

.section-header {
    font-family: 'Space Grotesk', 'Inter', system_ui, sans-serif;
    letter-spacing: -0.04em;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.holo-border {
    position: relative;
}

.holo-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    background: linear-gradient(45deg, #00f0ff, #a855f7, #00f0ff);
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.holo-border:hover::before {
    opacity: 1;
}

.neon-glow-cyan {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3),
                0 0 30px rgba(0, 240, 255, 0.1);
}

.neon-glow-purple {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3),
                0 0 30px rgba(168, 85, 247, 0.1);
}

.grid-bg {
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.project-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}

.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(to right, #00f0ff, #a855f7);
    transition: width 0.3s ease;
}

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

.futuristic-text {
    background: linear-gradient(90deg, #ffffff, #c0c0c0, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 240, 255, 0.2), transparent);
}

.reality-gradient {
    background: linear-gradient(135deg, #00f0ff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(1.1);
}

.project-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0.9) 100%);
}

.project-hero .content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
}

.detail-section {
    scroll-margin-top: 80px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.spec-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 1rem 1.25rem;
    border-radius: 12px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.image-gallery img:hover {
    transform: scale(1.015);
}

.phase-tab {
    transition: all 0.2s ease;
}

.phase-tab.active {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

.status-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 9999px;
    font-weight: 600;
    letter-spacing: 0.5px;
}