/* ==========================================================================
   VARIABLES & PALETTE (STRICTLY BLUE THEME AS REQUESTED)
   ========================================================================== */
   :root {
    /* Main Blue Palette */
    --color-blue-50: #eff6ff;
    --color-blue-100: #dbeafe;
    --color-blue-200: #bfdbfe;
    --color-blue-300: #93c5fd;
    --color-blue-400: #60a5fa;
    --color-blue-500: #3b82f6;
    --color-blue-600: #2563eb;
    --color-blue-700: #1d4ed8;
    --color-blue-800: #1e40af;
    --color-blue-900: #1e3a8a;
    --color-blue-950: #172554;

    /* Neutrals / Backgrounds */
    --color-bg-base: #f8fafc;
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    
    /* Complex Shadows */
    --shadow-soft: 0 4px 20px rgba(37, 99, 235, 0.05);
    --shadow-card: 0 10px 30px -5px rgba(30, 58, 138, 0.08), 0 4px 10px -2px rgba(30, 58, 138, 0.04);
    --shadow-card-hover: 0 20px 40px -5px rgba(37, 99, 235, 0.15), 0 10px 15px -3px rgba(37, 99, 235, 0.1);
    --shadow-premium: 0 25px 50px -12px rgba(30, 58, 138, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    --shadow-cta: 0 20px 40px -10px rgba(29, 78, 216, 0.5), 0 10px 20px -5px rgba(29, 78, 216, 0.3);
    
    /* Typography Overrides */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   RESET & BASICS
   ========================================================================== */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-bg-base);
    font-family: var(--font-sans);
    color: var(--color-text-main);
    line-height: 1.6;
}

::selection {
    background-color: var(--color-blue-300);
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--color-blue-300);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-blue-500);
}

.bg-site-bg {
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 50%, #f1f5f9 100%);
}

/* ==========================================================================
   DECORATIVE BACKGROUND ELEMENTS
   ========================================================================== */
.decorative-bg-wrapper .blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.4;
    animation: float-slow 15s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-blue-200) 0%, rgba(255,255,255,0) 70%);
}

.blob-2 {
    top: 40%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--color-blue-100) 0%, rgba(255,255,255,0) 70%);
    animation-delay: -5s;
}

.blob-3 {
    bottom: -10%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-blue-300) 0%, rgba(255,255,255,0) 70%);
    opacity: 0.2;
    animation-delay: -10s;
}

.ambient-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 50vh;
    background: radial-gradient(ellipse at center, rgba(37,99,235,0.05) 0%, transparent 60%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

@keyframes float-slow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    background: rgba(30, 58, 138, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-border-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.5), transparent);
}

.pulse-animation {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.7);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(96, 165, 250, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
}

/* ==========================================================================
   PRODUCT HERO SECTION & CARD
   ========================================================================== */
.product-card-wrapper {
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 100%);
    box-shadow: var(--shadow-premium);
}

.product-card-bg {
    background: linear-gradient(to right bottom, #ffffff, #eff6ff);
    z-index: -1;
}

.shadow-premium {
    box-shadow: var(--shadow-premium);
}

/* ==========================================================================
   CSS-ONLY INTERACTIVE GALLERY (NO JS)
   ========================================================================== */
.gallery-section {
    border-right: 1px solid rgba(226, 232, 240, 0.8);
}

/* Hide slides by default */
.main-image-slide {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98) translateY(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Gallery Logic: Tie Radio Inputs to Main Slides */
#thumb-1:checked ~ .main-image-container .slide-1,
#thumb-2:checked ~ .main-image-container .slide-2,
#thumb-3:checked ~ .main-image-container .slide-3,
#thumb-4:checked ~ .main-image-container .slide-4 {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 10;
}

/* Gallery Logic: Tie Radio Inputs to Thumbnails Style */
#thumb-1:checked ~ .thumbnails-container label[for="thumb-1"],
#thumb-2:checked ~ .thumbnails-container label[for="thumb-2"],
#thumb-3:checked ~ .thumbnails-container label[for="thumb-3"],
#thumb-4:checked ~ .thumbnails-container label[for="thumb-4"] {
    border-color: var(--color-blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

#thumb-1:checked ~ .thumbnails-container label[for="thumb-1"] .thumb-overlay,
#thumb-2:checked ~ .thumbnails-container label[for="thumb-2"] .thumb-overlay,
#thumb-3:checked ~ .thumbnails-container label[for="thumb-3"] .thumb-overlay,
#thumb-4:checked ~ .thumbnails-container label[for="thumb-4"] .thumb-overlay {
    background-color: rgba(37, 99, 235, 0.05);
}

.thumbnail-label:hover {
    border-color: var(--color-blue-300);
    transform: translateY(-2px);
}

.thumbnail-label img {
    border-radius: 0.5rem;
}

.drop-shadow-product {
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
}

/* ==========================================================================
   PRODUCT DESCRIPTION (RIGHT COLUMN)
   ========================================================================== */
.text-highlight {
    background: linear-gradient(120deg, var(--color-blue-600) 0%, var(--color-blue-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--color-blue-100);
    z-index: -1;
    transform: skewX(-15deg);
    border-radius: 2px;
}

.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(4px);
}

.feature-icon {
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

/* ==========================================================================
   CTA SECTION (HUGE, ANIMATED, GLOWING)
   ========================================================================== */
.shadow-cta {
    box-shadow: var(--shadow-cta);
}

.cta-container {
    position: relative;
}

.cta-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.text-shadow-sm {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* CTA Button Styles */
.shadow-heavy {
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5), 0 8px 10px -6px rgba(37, 99, 235, 0.4);
}

.cta-button {
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 35px -5px rgba(37, 99, 235, 0.6), 0 10px 15px -5px rgba(37, 99, 235, 0.4);
    background: linear-gradient(to bottom, var(--color-blue-400), var(--color-blue-600));
}

.cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(37, 99, 235, 0.4);
}

.cta-button:focus-visible {
    outline: 3px solid var(--color-blue-300);
    outline-offset: 4px;
}

.btn-shine {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    width: 50%;
    height: 100%;
    transform: skewX(-20deg) translateX(-150%);
    animation: shine-effect 4s infinite;
}

@keyframes shine-effect {
    0% { transform: skewX(-20deg) translateX(-250%); }
    20% { transform: skewX(-20deg) translateX(250%); }
    100% { transform: skewX(-20deg) translateX(250%); }
}

@keyframes animate-spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: animate-spin-slow 20s linear infinite;
}

.animate-float {
    animation: float-slow 8s infinite ease-in-out alternate;
}

/* ==========================================================================
   AMAZON STYLE REVIEWS (UPGRADED)
   ========================================================================== */
.shadow-card {
    box-shadow: var(--shadow-card);
}
.shadow-card-hover {
    box-shadow: var(--shadow-card-hover);
}

.title-underline {
    border-radius: 4px;
}

.review-card {
    transform: translateZ(0);
}

.review-card:hover .review-avatar img {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.stars {
    letter-spacing: 2px;
}

.badge-vine {
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.1);
}

.review-author {
    position: relative;
}

.review-author::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-blue-500);
    transition: width 0.3s ease;
}

.review-card:hover .review-author::after {
    width: 100%;
}

.review-attachments img {
    border-radius: 0.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+PGRlZnM+PHBhdHRlcm4gaWQ9InBhdHRlcm4iIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgNDBoNDBWMEgwem0yMCAyMGMxMS4wNDYgMCAyMC04Ljk1NCAyMC0yMFMyMC45NTQgMCAyMCAwIDAgOC45NTQgMCAyMHM4Ljk1NCAyMCAyMCAyMHoiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wMiIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.5;
    pointer-events: none;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-blue-300);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.footer-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE-FIRST APPROACH TWEAKS)
   ========================================================================== */

/* Very small devices (320px) */
@media (max-width: 359px) {
    .header-title {
        font-size: 0.85rem;
    }
    .product-title {
        font-size: 1.5rem;
    }
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* Mobile Devices (up to 767px) */
@media (max-width: 767px) {
    .gallery-section {
        border-right: none;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        padding-bottom: 1.5rem;
    }
    
    .thumbnails-container {
        gap: 0.5rem;
    }
    
    .feature-item {
        padding-left: 2.5rem;
    }
    
    .feature-icon {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .feature-item.bg-blue-50\/50 {
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
        padding-left: 3.5rem;
    }
    
    .cta-container {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
    }
}

/* Tablet & Desktop Layout Tuning */
@media (min-width: 1024px) {
    .product-info-section {
        padding-right: 2rem;
    }
    
    .product-card-inner {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .product-card-inner:hover {
        box-shadow: 0 30px 60px -15px rgba(30, 58, 138, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    }
}

/* Large Screens */
@media (min-width: 1280px) {
    .main-image-container {
        aspect-ratio: 4/3;
    }
}