/* ==========================================================================
   CK Soluções - Special Effects Stylesheet
   Advanced visual effects for a futuristic tech look
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom Cursor
   -------------------------------------------------------------------------- */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, opacity 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    opacity: 0.5;
}

.cursor-dot.hover,
.cursor-outline.hover {
    transform: translate(-50%, -50%) scale(1.5);
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    border-color: var(--color-accent);
    opacity: 0.3;
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   Particles Container
   -------------------------------------------------------------------------- */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* --------------------------------------------------------------------------
   Floating Tech Shapes
   -------------------------------------------------------------------------- */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border: 1px solid rgba(59, 130, 246, 0.2);
    opacity: 0.6;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float-rotate 20s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    border-radius: 50%;
    border-style: dashed;
    animation: float-rotate 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 20%;
    transform: rotate(45deg);
    animation: float-pulse 15s ease-in-out infinite;
}

.shape-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 15%;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    border-color: rgba(6, 182, 212, 0.2);
    animation: morph 20s ease-in-out infinite;
}

.shape-5 {
    width: 60px;
    height: 60px;
    top: 70%;
    left: 40%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    border: none;
    animation: float-rotate 18s ease-in-out infinite;
}

@keyframes float-rotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(0) rotate(180deg);
    }
    75% {
        transform: translateY(20px) rotate(270deg);
    }
}

@keyframes float-pulse {
    0%, 100% {
        transform: rotate(45deg) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: rotate(45deg) scale(1.1);
        opacity: 0.3;
    }
}

@keyframes morph {
    0%, 100% {
        border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    }
    25% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%;
    }
    75% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* --------------------------------------------------------------------------
   Tech Lines Animation
   -------------------------------------------------------------------------- */
.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.tech-lines::before,
.tech-lines::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(59, 130, 246, 0.3), 
        rgba(6, 182, 212, 0.5), 
        rgba(59, 130, 246, 0.3), 
        transparent
    );
    animation: scan-line 8s linear infinite;
}

.tech-lines::before {
    top: 30%;
    left: -100%;
}

.tech-lines::after {
    top: 70%;
    left: -100%;
    animation-delay: 4s;
}

@keyframes scan-line {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

/* --------------------------------------------------------------------------
   Glow Text Effect for Title
   -------------------------------------------------------------------------- */
.glow-text {
    position: relative;
    text-shadow: 
        0 0 10px rgba(59, 130, 246, 0.5),
        0 0 20px rgba(59, 130, 246, 0.3),
        0 0 40px rgba(6, 182, 212, 0.2);
    animation: glow-pulse-text 3s ease-in-out infinite;
}

@keyframes glow-pulse-text {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(59, 130, 246, 0.5),
            0 0 20px rgba(59, 130, 246, 0.3),
            0 0 40px rgba(6, 182, 212, 0.2);
        filter: brightness(1);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(59, 130, 246, 0.7),
            0 0 40px rgba(59, 130, 246, 0.5),
            0 0 60px rgba(6, 182, 212, 0.3);
        filter: brightness(1.1);
    }
}

/* --------------------------------------------------------------------------
   CYBER GLITCH EFFECT - "CK SOLUÇÕES"
   Advanced glitch effect with cyberpunk aesthetic
   -------------------------------------------------------------------------- */
.cyber-glitch {
    position: relative;
    display: inline-block;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #3B82F6 0%, #06B6D4 50%, #8B5CF6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: 
        cyber-gradient 4s ease infinite,
        cyber-glow 2s ease-in-out infinite alternate;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5));
}

.cyber-glitch::before,
.cyber-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3B82F6 0%, #06B6D4 50%, #8B5CF6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cyber-glitch::before {
    animation: 
        cyber-glitch-1 2.5s infinite linear alternate-reverse,
        cyber-gradient 4s ease infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.cyber-glitch::after {
    animation: 
        cyber-glitch-2 2.5s infinite linear alternate-reverse,
        cyber-gradient 4s ease infinite;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes cyber-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes cyber-glow {
    0% { 
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4)) 
                drop-shadow(0 0 40px rgba(6, 182, 212, 0.2));
    }
    100% { 
        filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.7)) 
                drop-shadow(0 0 80px rgba(139, 92, 246, 0.4));
    }
}

@keyframes cyber-glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
}

@keyframes cyber-glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(3px, 3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(-3px, 3px); }
}

/* Intensify glitch on hover */
.cyber-glitch:hover::before {
    animation: 
        cyber-glitch-intense-1 0.3s infinite linear,
        cyber-gradient 2s ease infinite;
}

.cyber-glitch:hover::after {
    animation: 
        cyber-glitch-intense-2 0.3s infinite linear,
        cyber-gradient 2s ease infinite;
}

@keyframes cyber-glitch-intense-1 {
    0% { transform: translate(-5px, 2px) skew(-2deg); }
    25% { transform: translate(5px, -2px) skew(2deg); }
    50% { transform: translate(-2px, 5px) skew(-1deg); }
    75% { transform: translate(2px, -5px) skew(1deg); }
    100% { transform: translate(-5px, 2px) skew(-2deg); }
}

@keyframes cyber-glitch-intense-2 {
    0% { transform: translate(5px, -2px) skew(2deg); }
    25% { transform: translate(-5px, 2px) skew(-2deg); }
    50% { transform: translate(2px, -5px) skew(1deg); }
    75% { transform: translate(-2px, 5px) skew(-1deg); }
    100% { transform: translate(5px, -2px) skew(2deg); }
}

/* --------------------------------------------------------------------------
   WORD REVEAL EFFECT - "Tecnologia para Gestão Empresarial"
   Staggered reveal with wave animation
   -------------------------------------------------------------------------- */
.hero-subtitle-text {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3em;
    margin-top: 0.2em;
}

.word-reveal {
    display: inline-block;
    animation: word-reveal-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.word-reveal:nth-child(1) { animation-delay: 0.3s; }
.word-reveal:nth-child(2) { animation-delay: 0.5s; }
.word-reveal:nth-child(3) { animation-delay: 0.7s; }
.word-reveal:nth-child(4) { animation-delay: 0.9s; }

@keyframes word-reveal-in {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Highlight special words */
.highlight-word {
    background: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight-word::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6, #06B6D4);
    border-radius: 2px;
    transform: scaleX(0);
    animation: underline-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.3s;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

@keyframes underline-reveal {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* Wave hover effect on words */
.word-reveal {
    transition: transform 0.3s ease, color 0.3s ease;
}

.hero-subtitle-text:hover .word-reveal {
    animation: word-wave 0.5s ease;
}

.hero-subtitle-text:hover .word-reveal:nth-child(1) { animation-delay: 0s; }
.hero-subtitle-text:hover .word-reveal:nth-child(2) { animation-delay: 0.1s; }
.hero-subtitle-text:hover .word-reveal:nth-child(3) { animation-delay: 0.2s; }
.hero-subtitle-text:hover .word-reveal:nth-child(4) { animation-delay: 0.3s; }

@keyframes word-wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   TEXT SCRAMBLE EFFECT - Subtitle description
   Futuristic text appearance effect
   -------------------------------------------------------------------------- */
.text-scramble {
    display: inline-block;
    position: relative;
    opacity: 0;
    animation: scramble-fade-in 1s ease forwards 1.5s;
}

@keyframes scramble-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Scanning line effect on text */
.text-scramble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 10%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(59, 130, 246, 0.3), 
        rgba(6, 182, 212, 0.5), 
        transparent
    );
    animation: text-scan 3s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes text-scan {
    0% { left: -10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 110%; opacity: 0; }
}

/* --------------------------------------------------------------------------
   HERO TITLE CONTAINER ENHANCEMENTS
   -------------------------------------------------------------------------- */
.hero-title {
    position: relative;
    perspective: 1000px;
}

/* Tech frame around title */
.hero-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -40px;
    width: 80px;
    height: 80px;
    border-left: 2px solid rgba(59, 130, 246, 0.5);
    border-top: 2px solid rgba(59, 130, 246, 0.5);
    animation: corner-pulse 2s ease-in-out infinite;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -40px;
    width: 80px;
    height: 80px;
    border-right: 2px solid rgba(6, 182, 212, 0.5);
    border-bottom: 2px solid rgba(6, 182, 212, 0.5);
    animation: corner-pulse 2s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes corner-pulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Data stream decoration */
.hero-content::before {
    content: '< code >';
    position: absolute;
    top: 10%;
    left: 5%;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(59, 130, 246, 0.3);
    letter-spacing: 0.2em;
    animation: code-blink 3s ease infinite;
}

.hero-content::after {
    content: '{ transform }';
    position: absolute;
    bottom: 15%;
    right: 5%;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(6, 182, 212, 0.3);
    letter-spacing: 0.2em;
    animation: code-blink 3s ease infinite;
    animation-delay: 1.5s;
}

@keyframes code-blink {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

/* --------------------------------------------------------------------------
   HERO SUBTITLE ENHANCEMENTS
   -------------------------------------------------------------------------- */
.hero-subtitle {
    position: relative;
    padding: 1.5rem 2rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Animated border glow */
.hero-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(59, 130, 246, 0.5), 
        rgba(6, 182, 212, 0.5), 
        transparent
    );
    background-size: 200% 100%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-glow-sweep 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes border-glow-sweep {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --------------------------------------------------------------------------
   Typing Effect (disabled - caused layout issues)
   -------------------------------------------------------------------------- */
/* Typing effect removed to prevent layout issues */

/* --------------------------------------------------------------------------
   Neon Glow Effects
   -------------------------------------------------------------------------- */
.neon-text {
    text-shadow: 
        0 0 5px var(--color-secondary),
        0 0 10px var(--color-secondary),
        0 0 20px var(--color-secondary),
        0 0 40px var(--color-accent);
    animation: neon-pulse 2s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
    from {
        text-shadow: 
            0 0 5px var(--color-secondary),
            0 0 10px var(--color-secondary),
            0 0 20px var(--color-secondary),
            0 0 40px var(--color-accent);
    }
    to {
        text-shadow: 
            0 0 2px var(--color-secondary),
            0 0 5px var(--color-secondary),
            0 0 10px var(--color-secondary),
            0 0 20px var(--color-accent);
    }
}

/* Neon border for cards on hover */
.feature-card:hover,
.service-card:hover,
.benefit-card:hover,
.case-card:hover {
    box-shadow: 
        0 0 5px rgba(59, 130, 246, 0.3),
        0 0 20px rgba(59, 130, 246, 0.2),
        0 0 35px rgba(59, 130, 246, 0.1),
        inset 0 0 20px rgba(59, 130, 246, 0.05);
}

/* --------------------------------------------------------------------------
   Holographic/Iridescent Effect
   -------------------------------------------------------------------------- */
.holographic {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(6, 182, 212, 0.1) 25%,
        rgba(139, 92, 246, 0.1) 50%,
        rgba(6, 182, 212, 0.1) 75%,
        rgba(59, 130, 246, 0.1) 100%
    );
    background-size: 400% 400%;
    animation: holographic-shift 10s ease infinite;
}

@keyframes holographic-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* --------------------------------------------------------------------------
   Circuit Board Pattern
   -------------------------------------------------------------------------- */
.circuit-pattern {
    background-image: 
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        radial-gradient(circle, rgba(6, 182, 212, 0.1) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px, 20px 20px;
    background-position: 0 0, 0 0, 10px 10px;
}

/* --------------------------------------------------------------------------
   Animated Gradient Border
   -------------------------------------------------------------------------- */
.gradient-border {
    position: relative;
    background: var(--bg-card);
    z-index: 1;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        45deg,
        var(--color-secondary),
        var(--color-accent),
        var(--color-secondary),
        var(--color-accent)
    );
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    animation: gradient-rotate 6s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

@keyframes gradient-rotate {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* --------------------------------------------------------------------------
   3D Card Tilt Effect
   -------------------------------------------------------------------------- */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card:hover {
    transform: rotateX(5deg) rotateY(5deg);
}

.tilt-card .tilt-inner {
    transform: translateZ(30px);
}

/* --------------------------------------------------------------------------
   Radar/Pulse Animation
   -------------------------------------------------------------------------- */
.radar-pulse {
    position: relative;
}

.radar-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: radar-expand 2s ease-out infinite;
    opacity: 0;
}

@keyframes radar-expand {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* --------------------------------------------------------------------------
   Data Stream Effect (for backgrounds)
   -------------------------------------------------------------------------- */
.data-stream {
    position: relative;
    overflow: hidden;
}

.data-stream::before {
    content: '01001010 11010010 00101101 10110100 01001010 11010010';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: rgba(59, 130, 246, 0.1);
    white-space: nowrap;
    animation: data-scroll 20s linear infinite;
    pointer-events: none;
}

@keyframes data-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* --------------------------------------------------------------------------
   Shimmer Loading Effect
   -------------------------------------------------------------------------- */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

/* --------------------------------------------------------------------------
   Icon Spin on Hover
   -------------------------------------------------------------------------- */
.feature-icon:hover svg,
.service-icon:hover svg,
.audience-icon:hover svg {
    animation: icon-spin 0.6s ease;
}

@keyframes icon-spin {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* --------------------------------------------------------------------------
   Button Ripple Effect
   -------------------------------------------------------------------------- */
.btn {
    position: relative;
    overflow: hidden;
}

.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* --------------------------------------------------------------------------
   Floating Label Animation
   -------------------------------------------------------------------------- */
.form-group {
    position: relative;
}

.form-group.focused label,
.form-group input:focus + label,
.form-group textarea:focus + label {
    transform: translateY(-100%) scale(0.85);
    color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Stat Counter Glow
   -------------------------------------------------------------------------- */
.stat-number {
    animation: stat-glow 3s ease-in-out infinite;
}

@keyframes stat-glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.5));
    }
}

/* --------------------------------------------------------------------------
   Section Divider with Tech Line
   -------------------------------------------------------------------------- */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

/* --------------------------------------------------------------------------
   Enhanced Hero Badge
   -------------------------------------------------------------------------- */
.hero-badge {
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: badge-shine 3s infinite;
}

@keyframes badge-shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* --------------------------------------------------------------------------
   Scroll Progress Bar
   -------------------------------------------------------------------------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10000;
    box-shadow: 0 0 10px var(--color-secondary);
}

/* --------------------------------------------------------------------------
   Code Highlight Effect on Section Tags
   -------------------------------------------------------------------------- */
.section-tag {
    position: relative;
}

.section-tag::before {
    content: '<';
    margin-right: 4px;
    opacity: 0.5;
}

.section-tag::after {
    content: ' />';
    margin-left: 4px;
    opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Enhanced Card Hover States
   -------------------------------------------------------------------------- */
.feature-card,
.service-card,
.audience-card,
.benefit-card,
.case-card,
.differential-item {
    position: relative;
    overflow: hidden;
}

.feature-card::after,
.service-card::after,
.audience-card::after,
.benefit-card::after,
.case-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-card:hover::after,
.service-card:hover::after,
.audience-card:hover::after,
.benefit-card:hover::after,
.case-card:hover::after {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Matrix Rain Effect (Optional - Heavy)
   -------------------------------------------------------------------------- */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
}

/* --------------------------------------------------------------------------
   Enhanced Footer
   -------------------------------------------------------------------------- */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-secondary), 
        var(--color-accent), 
        var(--color-secondary), 
        transparent
    );
}

/* --------------------------------------------------------------------------
   Responsive Adjustments for Effects
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .glitch::before,
    .glitch::after {
        display: none;
    }
    
    .typing-text {
        white-space: normal;
        border-right: none;
        animation: none;
    }
    
    .floating-shapes {
        opacity: 0.3;
    }
    
    .tech-lines {
        display: none;
    }
}

/* Disable heavy effects for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .glitch::before,
    .glitch::after,
    .floating-shapes,
    .tech-lines,
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
    
    .typing-text {
        animation: none;
        border-right: none;
    }
}
