/* ==========================================
   LIQUID GLASS & ICON GLOW EFFECTS - Callmenta
   Palette: Gold #fec615 · Earth #f9dd90–#dc976a · Graphite #5c5c5c
   ========================================== */

/* Liquid Glass Effect – graphite frosted */
.liquid-glass {
    background: linear-gradient(
        135deg,
        rgba(92, 92, 92, 0.30) 0%,
        rgba(48, 48, 48, 0.20) 50%,
        rgba(92, 92, 92, 0.30) 100%
    );
    backdrop-filter: blur(20px) saturate(1.15);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.40),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 0 rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Realistic Glass Effect */
.glass-real {
    background: linear-gradient(
        135deg,
        rgba(92, 92, 92, 0.35) 0%,
        rgba(48, 48, 48, 0.18) 45%,
        rgba(92, 92, 92, 0.30) 100%
    );
    backdrop-filter: blur(26px) saturate(1.2);
    -webkit-backdrop-filter: blur(26px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        inset 1px 0 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.glass-real::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        120% 80% at 0% 0%,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 35%,
        transparent 70%
    );
    opacity: 0.6;
    pointer-events: none;
}

.glass-real::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.02) 100%
    );
    mix-blend-mode: screen;
    opacity: 0.5;
    pointer-events: none;
}

.glass-real:hover {
    border-color: rgba(254, 198, 21, 0.25);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

/* Glass text for headings – gold gradient */
.glass-text {
    background: linear-gradient(120deg, #fec615, #f9dd90, #dc976a, #fec615);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 14px rgba(254, 198, 21, 0.25));
    animation: glassTextGlow 8s ease infinite;
}

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

/* Landing page: glass-card panels */
.landing-glass .glass-card {
    background: linear-gradient(
        135deg,
        rgba(92, 92, 92, 0.35) 0%,
        rgba(48, 48, 48, 0.18) 45%,
        rgba(92, 92, 92, 0.30) 100%
    );
    backdrop-filter: blur(26px) saturate(1.2);
    -webkit-backdrop-filter: blur(26px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        inset 1px 0 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.landing-glass .glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        120% 80% at 0% 0%,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 35%,
        transparent 70%
    );
    opacity: 0.6;
    pointer-events: none;
}

.landing-glass .glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.02) 100%
    );
    mix-blend-mode: screen;
    opacity: 0.5;
    pointer-events: none;
}

.liquid-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(254, 198, 21, 0.08) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.liquid-glass:hover::before {
    opacity: 1;
}

.liquid-glass:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 45px 0 rgba(0, 0, 0, 0.45),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.10),
        inset 0 -1px 0 0 rgba(0, 0, 0, 0.15);
    border-color: rgba(254, 198, 21, 0.20);
}

/* Icon Glow */
.icon-perfect {
    filter: drop-shadow(0 0 8px currentColor);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-perfect:hover {
    filter: drop-shadow(0 0 16px currentColor) drop-shadow(0 0 24px currentColor);
    transform: scale(1.1);
}

/* Service Icon Enhanced */
.service-icon-enhanced {
    position: relative;
    background: linear-gradient(135deg, rgba(254, 198, 21, 0.15), rgba(220, 151, 106, 0.15));
    border: 1px solid rgba(254, 198, 21, 0.20);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon-enhanced::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(45deg, #fec615, #f9dd90, #dc976a, #fec615);
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.4s ease;
    animation: borderGlow 8s linear infinite;
}

.service-icon-enhanced:hover::after {
    opacity: 0.5;
}

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

/* Stats Card Enhanced */
.stat-card-enhanced {
    position: relative;
    padding: 1.5rem;
    background: rgba(48, 48, 48, 0.40);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(92, 92, 92, 0.25);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.stat-number-outside {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    text-shadow:
        0 4px 20px currentColor,
        0 0 40px currentColor,
        0 0 60px currentColor;
    z-index: 10;
}

/* Input Field – graphite */
.input-perfect {
    background: rgba(0, 0, 0, 0.40) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(92, 92, 92, 0.30) !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.25),
        0 1px 0 rgba(255, 255, 255, 0.04);
}

.input-perfect:focus {
    border-color: rgba(254, 198, 21, 0.45) !important;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(254, 198, 21, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.06) !important;
    background: rgba(0, 0, 0, 0.55) !important;
    transform: translateY(-1px);
}

/* Button Glow Enhanced */
.btn-glow-perfect {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glow-perfect::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-glow-perfect:active::before {
    width: 300px;
    height: 300px;
}

/* Gradient Text – gold to earth */
.gradient-text-perfect {
    background: linear-gradient(135deg, #fec615, #f9dd90, #dc976a, #ebba7d);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientPerfect 6s ease infinite;
    filter: drop-shadow(0 0 18px rgba(254, 198, 21, 0.30));
}

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

/* Shimmer Effect */
.shimmer-perfect {
    position: relative;
    overflow: hidden;
}

.shimmer-perfect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(254, 198, 21, 0.08),
        rgba(254, 198, 21, 0.15),
        rgba(254, 198, 21, 0.08),
        transparent
    );
    animation: shimmerPerfect 3s infinite;
}

@keyframes shimmerPerfect {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Card Hover */
.card-hover-perfect {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-perfect:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.50),
        0 0 60px rgba(254, 198, 21, 0.10);
}

/* Neon Text Enhanced */
.neon-text-perfect {
    text-shadow:
        0 0 7px currentColor,
        0 0 10px currentColor,
        0 0 21px currentColor,
        0 0 42px currentColor,
        0 0 82px currentColor,
        0 0 120px currentColor;
    animation: neonPulsePerfect 2s ease-in-out infinite alternate;
}

@keyframes neonPulsePerfect {
    from {
        filter: brightness(1);
        text-shadow:
            0 0 7px currentColor,
            0 0 10px currentColor,
            0 0 21px currentColor;
    }
    to {
        filter: brightness(1.3);
        text-shadow:
            0 0 10px currentColor,
            0 0 20px currentColor,
            0 0 30px currentColor,
            0 0 40px currentColor,
            0 0 60px currentColor;
    }
}

/* Floating Animation */
.float-perfect {
    animation: floatPerfect 6s ease-in-out infinite;
}

@keyframes floatPerfect {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Pulse Ring */
.pulse-ring-perfect {
    position: relative;
}

.pulse-ring-perfect::before,
.pulse-ring-perfect::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid currentColor;
    border-radius: inherit;
    opacity: 0;
    animation: pulseRingPerfect 3s ease-out infinite;
}

.pulse-ring-perfect::after {
    animation-delay: 1.5s;
}

@keyframes pulseRingPerfect {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Glow Blob */
.glow-blob-perfect {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: blobPerfect 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes blobPerfect {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.5;
    }
    25% {
        transform: translate(30px, -30px) scale(1.1) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translate(-30px, -20px) scale(1.05) rotate(270deg);
        opacity: 0.55;
    }
}

/* Border Gradient – gold/earth */
.border-gradient-perfect {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.50), rgba(48, 48, 48, 0.40));
    border-radius: 20px;
}

.border-gradient-perfect::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #fec615, #f9dd90, #dc976a, #ebba7d);
    background-size: 300% 300%;
    animation: borderGradientPerfect 8s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

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

/* Counter Animation Enhanced */
.counter-perfect {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.counter-perfect:hover {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.2);
}
