/* =============================================
   MODERN EFFECTS CSS - CameraVision Pro
   Современные визуальные эффекты для премиального дизайна
   ============================================= */

/* Premium Gradient Backgrounds */
.premium-gradient-dark {
    background: linear-gradient(135deg, #000000 0%, #0a192f 50%, #001a33 100%);
}

.premium-gradient-blue {
    background: linear-gradient(135deg, #0070f3 0%, #0066cc 50%, #0052cc 100%);
}

.premium-gradient-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Glass Morphism Effect */
.glass-morphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-morphism-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Neumorphism Effect */
.neumorphism-light {
    background: #f0f0f0;
    border-radius: 20px;
    box-shadow: 20px 20px 60px #cccccc,
                -20px -20px 60px #ffffff;
}

.neumorphism-dark {
    background: #1a1a1a;
    border-radius: 20px;
    box-shadow: 20px 20px 60px #0d0d0d,
                -20px -20px 60px #272727;
}

/* Floating Cards */
.floating-card {
    animation: float 6s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.floating-card:hover {
    animation-play-state: paused;
    transform: translateY(-15px);
}

/* Gradient Text Effects */
.text-gradient-primary {
    background: linear-gradient(90deg, #0070f3 0%, #00c6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-dark {
    background: linear-gradient(90deg, #000000 0%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: linear-gradient(90deg, #D4AF37 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Border Gradient */
.border-gradient {
    position: relative;
    border-radius: 16px;
    background: white;
}

.border-gradient::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #0070f3 0%, #00c6ff 50%, #0070f3 100%);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.7;
}

/* Shimmer Loading Effect */
.shimmer-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

/* Parallax Scrolling */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Hover Zoom Effect */
.hover-zoom {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.hover-zoom img {
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-zoom:hover img {
    transform: scale(1.1);
}

/* Glow Effect */
.glow-effect {
    box-shadow: 0 0 20px rgba(0, 112, 243, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 40px rgba(0, 112, 243, 0.5);
}

/* Morphing Button */
.morph-button {
    background: linear-gradient(135deg, #0070f3 0%, #0052cc 100%);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.morph-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.morph-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Staggered Animation */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpStagger 0.6s ease forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

/* Wave Effect */
.wave-container {
    position: relative;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    animation: wave 15s linear infinite;
    border-radius: 40%;
}

/* Icon Hover Effects */
.icon-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s ease;
}

.icon-3d:hover {
    transform: rotateY(20deg) rotateX(10deg);
}

/* Loading Spinner */
.spinner-gradient {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(#0070f3, #00c6ff, #0070f3);
    mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #fff 0);
    animation: spin 1s linear infinite;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #0070f3, #00c6ff);
    z-index: 1000;
    transition: width 0.1s;
}

/* Typography Effects */
.letter-spacing-wider {
    letter-spacing: 0.1em;
}

.text-stroke {
    color: transparent;
    -webkit-text-stroke: 1px #0070f3;
}

/* Card Stack Effect */
.card-stack {
    position: relative;
}

.card-stack::before,
.card-stack::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: translateY(5px);
    opacity: 0.7;
    z-index: -1;
}

.card-stack::after {
    transform: translateY(10px);
    opacity: 0.4;
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes wave {
    0% { transform: translateX(0) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUpStagger {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 112, 243, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 112, 243, 0.6); }
}

/* Utility Classes */
.pulse-glow {
    animation: pulse-glow 2s infinite;
}

.text-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.text-shadow-dark {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.blur-backdrop {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .glass-morphism {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .floating-card {
        animation-duration: 8s;
    }
    
    .morph-button {
        padding: 12px 30px;
    }
}

/* Print Styles */
@media print {
    .glass-morphism,
    .floating-card,
    .shimmer-loading,
    .spinner-gradient {
        display: none !important;
    }
}