@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

body {
    background-color: #020203;
    color: #e2e8f0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- PREMIUM GLASS SYSTEM --- */
.glass-panel {
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Ambient Noise Texture */
.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Gradient Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 30px);
    }
}

/* Typography Polish */
.text-glow {
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-italic {
    font-style: italic;
    letter-spacing: -0.05em;
}

/* Smooth Reveal with Pop Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.92);
    transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #020203;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4f46e5;
}

/* Currency Switcher */
.currency-btn {
    position: relative;
    overflow: hidden;
}

.currency-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Pricing Row Hover */
.price-row {
    transition: background 0.3s ease, border-color 0.3s ease;
}

.price-row:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Star Animations */
.star-rating svg {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.star-filled {
    color: #fbbf24;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

.star-empty {
    color: #334155;
}

/* Chat Widget */
.chat-bubble-user {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.chat-bubble-ai {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

@keyframes typing {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    animation: typing 1.4s infinite ease-in-out;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* Mouse Follow Glow */
#mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(0, 0, 0, 0) 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    filter: blur(50px);
    opacity: 0;
    /* Hidden initially until moved */
    transition: opacity 0.5s ease, transform 0.15s ease-out;
}

@media (hover: none) and (pointer: coarse) {
    #mouse-glow {
        display: none;
    }
}

/* Comparison Slider Specific Styles */
#comparison-slider {
    position: relative;
    touch-action: none;
}

#before-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    z-index: 10;
}

#slider-handle {
    cursor: ew-resize;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.2);
    z-index: 30;
}

/* Enhanced Motion Graphics & Micro-interactions */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.3), inset 0 0 0 1px rgba(255,255,255,0.1); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.7), inset 0 0 0 1px rgba(255,255,255,0.3); }
}

@keyframes shimmer-sweep {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(200%) skewX(-15deg); }
}

.anim-float {
    animation: float-gentle 4s ease-in-out infinite;
}

.anim-pulse-glow {
    animation: pulse-glow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-15deg);
    transition: none;
}

.btn-enhanced:hover::after {
    animation: shimmer-sweep 1s ease-in-out;
}

.btn-enhanced:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
    border-color: rgba(255,255,255,0.5);
}

/* Give buttons a subtle breathing effect if they also have pulse-glow */
.anim-pulse-glow:hover {
    animation: none; /* Let hover take over */
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.6);
}