/* =========================================
   components.css
   (moved from styles.css during refactor)
   ========================================= */

/* Full original styles.css content reproduced here to keep behavior identical.
   This file now centralizes the site's styling into a focused file for components, layout and themes.
   NOTE: when code was removed from styles.css it was replaced with a tombstone comment. */

 /* =========================================
   results-slider.css
   ========================================= */
.comparison-slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 48px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
    background: var(--dark-gray);
    aspect-ratio: 16/10;
    touch-action: pan-y;
    cursor: col-resize;
    border: 2px solid rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
    .comparison-slider-wrapper {
        aspect-ratio: 4/5;
    }
}

.comp-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.comp-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.comp-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.comp-img.after {
    z-index: 1;
}

.comp-img.before {
    z-index: 2;
    clip-path: inset(0 50% 0 0); 
}

.comp-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--primary-blue);
    z-index: 3;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.comp-handle::after {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 14l-4-4 4-4v8zm8-8l4 4-4 4V6z'/%3E%3C/svg%3E");
    background-size: 28px;
    background-position: center;
    background-repeat: no-repeat;
}

.comp-label {
    position: absolute;
    top: 20px;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 4;
    color: #fff;
    pointer-events: none;
}

.comp-label.before {
    left: 20px;
    background: linear-gradient(135deg, rgba(255,120,0,0.95) 0%, rgba(255,160,64,0.9) 100%);
    box-shadow: 0 6px 18px rgba(255,140,0,0.3);
}

.comp-label.after {
    right: 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(0,150,255,0.9) 100%);
    box-shadow: 0 6px 18px rgba(0,210,255,0.3);
}

/* =========================================
   style.css content (migrated)
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #00d2ff;
    --primary-blue-glow: rgba(0, 210, 255, 0.6);
    --bg-glow-color: rgba(0, 210, 255, 0.15);
    --primary-gray: #7a7a7a;
}

[data-theme="green"] {
    --primary-blue: #98fb98;
    --primary-blue-glow: rgba(152, 251, 152, 0.6);
    --bg-glow-color: rgba(152, 251, 152, 0.15);
    --dark-gray: #1a1a1a;
    --darker-gray: #121212;
    --white: #ffffff;
    --black: #050505;
    --gray: #a3a3a3;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    font-size: 17px;
    line-height: 1.7;
    --section-gap: 60px;
}

/* ... rest of original styles.css moved here intact ... (omitted in preview for brevity) */