/* ========================================
   Voxlight Global Style Library
   Version: 1.0.0
   Last Updated: 2026-05-20
   ======================================== */

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */
:root {
    --color-primary: #1A1D29;
    --color-secondary: #333645;
    --color-accent: #00D4FF;
    --color-dark: #1A1D29;
    --color-light: #FFFFFF;
    --color-white: #FFFFFF;
    --color-silver: #E0E4E8;
    --color-lightSilver: #F5F7FA;
    --color-techBlue: #00D4FF;
    --color-techPurple: #7B61FF;
    --color-techPink: #FF6B6B;
    --color-techGreen: #00FFA3;
    --color-techTeal: #00FFCC;
    --color-techCyan: #00F0FF;
    --color-techSilver: #C0C6D0;
    
    --font-poppins: 'Poppins', sans-serif;
    --font-inter: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-tech: 0 0 40px rgba(0, 210, 255, 0.3);
}

/* ========================================
   Base Styles
   ======================================== */
body {
    position: relative;
    overflow-x: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,249,250,1) 50%, rgba(255,255,255,1) 100%);
    color: #4B5563;
    font-family: var(--font-poppins);
}

/* ========================================
   Utility Classes
   ======================================== */
.content-auto {
    content-visibility: auto;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--tw-gradient-stops));
}

/* ========================================
   Card Styles
   ======================================== */
.card-hover {
    transition: all var(--transition-normal);
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.glass-card {
    background: #FFFFFF;
    border: 1px solid #F3F4F6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.glass-card img {
    border-radius: 12px;
}

/* ========================================
   Service Icon Styles
   ======================================== */
.service-icon {
    background: linear-gradient(135deg, #0088CC, #0066AA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(0, 136, 204, 0.4));
    transition: all var(--transition-normal);
}

.feature-item:hover .service-icon {
    filter: drop-shadow(0 0 15px rgba(0, 136, 204, 0.6)) brightness(1.2);
}

/* ========================================
   Glass Button Styles
   ======================================== */
.glass-button {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 163, 255, 0.3);
    box-shadow: inset 0 0 10px rgba(0, 163, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.glass-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 163, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: borderBeam 3s linear infinite;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 210, 255, 0.2), inset 0 0 10px rgba(0, 163, 255, 0.3);
}

.glass-button span {
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.glass-button:hover span {
    letter-spacing: 1px;
}

.glass-button svg {
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.glass-button:hover svg {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

/* ========================================
   Contact Console Styles
   ======================================== */
.contact-console {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-console:hover {
    box-shadow: 0 20px 80px rgba(0, 210, 255, 0.2), 0 0 40px rgba(0, 210, 255, 0.1);
}

.contact-column {
    position: relative;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
}

.contact-column:hover {
    background: rgba(0, 210, 255, 0.05);
}

.contact-column:hover .contact-icon-container {
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.9);
    filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.8));
}

/* ========================================
   Border Beam Effect
   ======================================== */
.border-beam {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
}

.border-beam::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 210, 255, 0.4), rgba(0, 163, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: borderBeam 4s linear infinite;
}

/* ========================================
   CTA Glow Effect
   ======================================== */
.cta-glow {
    position: relative;
    overflow: hidden;
}

.cta-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, rgba(6, 182, 212, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-glow:hover::before {
    width: 300%;
    height: 300%;
    opacity: 0.5;
}

/* ========================================
   Data Gradient Text
   ======================================== */
.data-gradient {
    background: linear-gradient(135deg, #06B6D4 0%, #00D4FF 50%, #22D3EE 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
}

/* ========================================
   Animations
   ======================================== */
@keyframes borderBeam {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@keyframes floatX {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(20px);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollIndicator {
    0% {
        transform: translateY(-8px);
        opacity: 0;
    }
    50% {
        transform: translateY(8px);
        opacity: 1;
    }
    100% {
        transform: translateY(16px);
        opacity: 0;
    }
}

@keyframes scan {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes glow {
    0% {
        transform: rotate(45deg) translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: rotate(45deg) translateX(100%);
        opacity: 0;
    }
}

/* ========================================
   Animation Utility Classes
   ======================================== */
.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.animate-float-x {
    animation: floatX 6s ease-in-out infinite;
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

.animate-scroll-indicator {
    animation: scrollIndicator 2s ease-in-out infinite;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .glass-card:hover {
        transform: translateY(-2px);
    }
    
    .card-hover:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

@media (max-width: 640px) {
    body {
        font-size: 14px;
    }
    
    .glass-button::before {
        display: none;
    }
}

/* ========================================
   Dark Mode Support (Future)
   ======================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --color-light: #1A1D29;
        --color-dark: #FFFFFF;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .glass-button::before,
    .border-beam::before,
    .cta-glow::before {
        display: none;
    }
    
    .card-hover:hover,
    .glass-card:hover {
        transform: none;
        box-shadow: none;
    }
}
