/*
Theme Name: hyperimp
Author: Hypernest Team
Description: Professional high-tech single-page theme for digital media dominance.
Version: 1.3
Text Domain: hyperimp
*/

/* --- BASE STYLES --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #030303;
    color: #ffffff;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- DYNAMIC MESH BACKGROUND --- */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: 
        radial-gradient(circle at var(--x, 15%) var(--y, 25%), rgba(34, 211, 238, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(217, 70, 239, 0.12) 0%, transparent 40%);
}

/* --- GLASSMORPHISM CARDS --- */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    border-color: rgba(34, 211, 238, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* --- TYPOGRAPHY & GRADIENTS --- */
.text-gradient {
    display: inline-block;
    background: linear-gradient(135deg, #22d3ee 0%, #e879f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #22d3ee;
    /* Extra padding to prevent clipping of italicized characters */
    padding-right: 0.05em; 
    padding-bottom: 0.1em;
}

.safe-clip {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    line-height: 1.3 !important;
}

.section-tag {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #22d3ee;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.4);
}

.stat-huge {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    line-height: 1.2; 
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

/* --- NAVIGATION --- */
.nav-link {
    transition: all 0.3s ease;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.6) !important;
}

.nav-link:hover {
    color: #06b6d4 !important;
}

/* --- INTERACTIVE STICKY INSTAGRAM --- */
.sticky-insta {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 40; 
    animation: pulse-insta 2.5s infinite;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .sticky-insta {
        bottom: 2rem;
        right: 2rem;
    }
}

.sticky-insta:hover {
    transform: scale(1.1);
}

@keyframes pulse-insta {
    0% { box-shadow: 0 0 0 0 rgba(217, 70, 239, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(217, 70, 239, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 70, 239, 0); }
}

/* --- ANIMATIONS --- */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

/* --- ICONS --- */
.icon-lg {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* --- MOBILE SPECIFIC FIXES --- */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.25rem !important; 
        line-height: 1.2 !important;
    }
    
    header {
        padding-top: 8.5rem !important;
        text-align: center !important;
        padding-bottom: 4rem !important;
    }
    
    header p {
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 1rem !important;
        padding: 0 1rem;
    }

    .glass-card { 
        padding: 1.5rem !important; 
    }
    
    section h2 {
        font-size: 1.85rem !important; /* Slightly smaller to fit mobile */
    }
}