@font-face {
    font-family: 'SpaceMono';
    src: url('fonts/SpaceMono-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Full-screen immersive hero */
.hero-immersive {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;
    padding-top: 80px; /* Accounts for navbar */
}


.hero-bg {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    z-index: 1;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
}

/* Typography */
.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    font-family: 'ClashGrotesk-Semibold', sans-serif;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 4px 24px rgba(255, 255, 255, 0.1));
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    font-family: 'Outfit', sans-serif;
    color: #a1a1aa;
    margin-bottom: 3.5rem;
    max-width: 700px;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* Glassmorphism Info Card (Refined Minimal Design) */
.glass-morphism {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 1rem 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    margin-bottom: 4rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    opacity: 0.9;
}

.text-wrap {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #71717a;
    margin-bottom: 0.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #f4f4f5;
    letter-spacing: -0.01em;
    font-family: 'Outfit', sans-serif;
}

.info-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-modern-primary {
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-size: 1.05rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: #000;
    background: #ffffff;
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.btn-modern-primary:hover {
    background: #f4f4f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
}

.btn-modern-secondary {
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-size: 1.05rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.btn-modern-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Dynamic Glow Cursor Button */
.btn-dynamic-glow {
    display: inline-flex;
    position: relative;
    border-radius: 9999px; /* full rounded edges */
    padding: 1px; /* To show the glowing border effect bounds */
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    width: fit-content;
}

.btn-dynamic-glow:hover {
    box-shadow: 0 0 40px -10px rgba(14, 165, 233, 0.6);
    transform: scale(1.02);
}

.dynamic-glow-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(300px circle at var(--x, 50%) var(--y, 50%), #0ea5e9, #3b82f6, transparent 60%);
    pointer-events: none;
    border-radius: 9999px;
}

.btn-dynamic-glow:hover .dynamic-glow-bg {
    opacity: 1;
}

.dynamic-border-state {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 9999px;
}

.btn-dynamic-glow:hover .dynamic-border-state {
    opacity: 0;
}

.dynamic-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: transparent; /* Changed from black to transparent for glass look */
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    padding: 0.8rem 2.2rem;
    position: relative;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: background-color 0.3s ease;
}

.btn-dynamic-glow:hover .dynamic-inner {
    background: rgba(255, 255, 255, 0.05); /* Slight glass tint instead of turning black */
}

.dynamic-icon {
    color: #38bdf8; /* Sky-400 tint */
    transition: transform 0.3s ease;
}

.btn-dynamic-glow:hover .dynamic-icon {
    transform: translateX(4px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite ease-in-out;
}

.scroll-indicator a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.scroll-indicator a:hover {
    color: white;
}

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

/* Animations */
.hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content .hero-title { animation-delay: 0.2s; }
.hero-content .hero-subtitle { animation-delay: 0.4s; }
.hero-content .glass-morphism { animation-delay: 0.6s; }
.hero-content .hero-actions { animation-delay: 0.8s; }

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

/* Responsiveness */
@media (max-width: 992px) {
    .glass-morphism {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
        width: 100%;
        max-width: 400px;
    }
    
    .info-divider {
        width: 100%;
        height: 1px;
    }
    
    .info-item {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-collab-logos {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .hero-collab-logos img {
        height: 50px;
    }
    
    .collab-svg {
        width: 20px;
        height: 20px;
    }
}

/* Collaboration Logos */
.hero-collab-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1.0s;
}

.hero-collab-logos img {
    height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-collab-logos img:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
}

.collab-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.collab-svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@media (max-width: 576px) {
    .hero-collab-logos {
        gap: 1rem !important;
    }
    .hero-collab-logos img {
        height: 40px !important;
    }
    .collab-svg {
        width: 16px !important;
        height: 16px !important;
    }
}
