/* assets/css/style.css */

/* ==========================================================================
   1. CSS VARIABLES & THEME SETUP (Blue Palette)
   ========================================================================== */
:root {
    /* Main Blue Palette */
    --c-blue-50: #eff6ff;
    --c-blue-100: #dbeafe;
    --c-blue-200: #bfdbfe;
    --c-blue-300: #93c5fd;
    --c-blue-400: #60a5fa;
    --c-blue-500: #3b82f6;
    --c-blue-600: #2563eb;
    --c-blue-700: #1d4ed8;
    --c-blue-800: #1e40af;
    --c-blue-900: #1e3a8a;
    --c-blue-950: #172554;

    /* Neutrals */
    --c-white: #ffffff;
    --c-gray-50: #f8fafc;
    --c-gray-100: #f1f5f9;
    --c-gray-200: #e2e8f0;
    --c-gray-400: #94a3b8;
    --c-gray-500: #64748b;
    --c-gray-700: #334155;
    --c-gray-800: #1e293b;
    --c-gray-900: #0f172a;

    /* Accents */
    --c-gold-400: #facc15;
    --c-gold-500: #eab308;
    --c-green-600: #16a34a;

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Shadows - Layered and deep */
    --shadow-sm: 0 1px 2px 0 rgba(29, 78, 216, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(29, 78, 216, 0.1), 0 2px 4px -1px rgba(29, 78, 216, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(29, 78, 216, 0.1), 0 4px 6px -2px rgba(29, 78, 216, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(29, 78, 216, 0.1), 0 10px 10px -5px rgba(29, 78, 216, 0.04);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.04);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--c-blue-600) 0%, var(--c-blue-800) 100%);
    --grad-light: linear-gradient(135deg, var(--c-white) 0%, var(--c-blue-50) 100%);
    --grad-surface: linear-gradient(to bottom right, var(--c-white), var(--c-gray-50));
    --grad-border: linear-gradient(135deg, var(--c-blue-200), var(--c-blue-100), transparent);

    /* Radii */
    --rad-sm: 0.375rem;
    --rad-md: 0.5rem;
    --rad-lg: 1rem;
    --rad-xl: 1.5rem;
    --rad-2xl: 2rem;
    --rad-full: 9999px;

    /* Transitions */
    --trans-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --trans-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --trans-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --trans-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout Constraints */
    --max-width: 1280px;
    --header-height: 80px;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.page-body {
    font-family: var(--font-primary);
    background-color: var(--c-gray-50);
    color: var(--c-gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--c-gray-100);
}
::-webkit-scrollbar-thumb {
    background: var(--c-blue-300);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--c-blue-500);
}

::selection {
    background-color: var(--c-blue-200);
    color: var(--c-blue-900);
}

/* ==========================================================================
   3. GLOBAL DECORATIONS (Background Shapes)
   ========================================================================== */
.global-background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: var(--rad-full);
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.shape-1 {
    top: -10%;
    left: -5%;
    width: 50vw;
    height: 50vw;
    background: var(--c-blue-100);
    animation-delay: 0s;
}

.shape-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--c-blue-50);
    animation-delay: -5s;
    animation-duration: 25s;
}

.shape-3 {
    top: 40%;
    left: 60%;
    width: 30vw;
    height: 30vw;
    background: var(--c-blue-200);
    opacity: 0.2;
    animation-delay: -10s;
    animation-duration: 15s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

/* ==========================================================================
   4. HEADER STYLES
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(29, 78, 216, 0.05);
    z-index: 100;
    transition: var(--trans-normal);
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-blue-200), transparent);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
}

.header-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-badge {
    display: none;
    background: var(--c-blue-50);
    border: 1px solid var(--c-blue-100);
    padding: 0.35rem 0.75rem;
    border-radius: var(--rad-full);
}

.header-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-blue-600);
}

.header-title-wrapper {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

.site-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-blue-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    letter-spacing: -0.01em;
}

.header-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--c-white);
    padding: 0.35rem 0.85rem;
    border-radius: var(--rad-full);
    border: 1px solid var(--c-gray-100);
    box-shadow: var(--shadow-sm);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--c-green-600);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background-color: var(--c-green-600);
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-gray-700);
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

@media (min-width: 768px) {
    .header-badge { display: block; flex: 1; }
    .header-action { flex: 1; }
    .site-name { font-size: 1.125rem; }
}

/* ==========================================================================
   5. MAIN CONTENT LAYOUT
   ========================================================================== */
.main-content {
    flex: 1;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .main-content { padding: 4rem 2rem; gap: 6rem; }
}

/* ==========================================================================
   6. PRODUCT HERO SECTION
   ========================================================================== */
.product-hero-section {
    position: relative;
    width: 100%;
}

.product-card-wrapper {
    position: relative;
    border-radius: var(--rad-2xl);
    background: var(--grad-surface);
    padding: 2px;
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

.product-card-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--rad-2xl);
    background: var(--grad-border);
    z-index: -1;
}

.product-card-inner {
    background: var(--c-white);
    border-radius: calc(var(--rad-2xl) - 2px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    position: relative;
}

/* Adding a subtle corner accent to the card */
.product-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, var(--c-blue-50), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 1024px) {
    .product-card-inner {
        grid-template-columns: 1.1fr 0.9fr;
        min-height: 600px;
    }
}

/* ==========================================================================
   7. CSS-ONLY GALLERY
   ========================================================================== */
.product-gallery {
    padding: 1.5rem;
    background: var(--grad-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--c-gray-100);
}

@media (min-width: 1024px) {
    .product-gallery {
        padding: 3rem;
        border-bottom: none;
        border-right: 1px solid var(--c-gray-100);
    }
}

.gallery-wrapper {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Hidden Radios */
.gallery-radio {
    display: none;
}

/* Main Viewport */
.gallery-viewport {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    border-radius: var(--rad-xl);
    overflow: hidden;
    background: var(--c-white);
    box-shadow: var(--shadow-inner), 0 4px 20px rgba(29, 78, 216, 0.08);
    border: 1px solid var(--c-gray-100);
}

.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.6s;
    z-index: 1;
}

.image-frame {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.image-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    transition: transform var(--trans-slow);
}

.gallery-viewport:hover .image-frame img {
    transform: scale(1.03);
}

.viewport-overlay {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--rad-xl);
    pointer-events: none;
    z-index: 10;
    box-shadow: inset 0 0 20px rgba(29, 78, 216, 0.03);
}

/* Radio Logic for Viewport */
#img1:checked ~ .gallery-viewport .slide-1,
#img2:checked ~ .gallery-viewport .slide-2,
#img3:checked ~ .gallery-viewport .slide-3,
#img4:checked ~ .gallery-viewport .slide-4 {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 5;
}

/* Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.thumb-label {
    cursor: pointer;
    flex: 1;
    max-width: 90px;
    aspect-ratio: 1 / 1;
    border-radius: var(--rad-lg);
    padding: 3px;
    background: transparent;
    transition: var(--trans-bounce);
    position: relative;
}

.thumb-label::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--rad-lg);
    box-shadow: 0 0 0 2px transparent;
    transition: var(--trans-normal);
}

.thumb-inner {
    width: 100%;
    height: 100%;
    background: var(--c-white);
    border-radius: calc(var(--rad-lg) - 3px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c-gray-200);
    transition: var(--trans-normal);
}

.thumb-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--trans-normal);
}

.thumb-label:hover {
    transform: translateY(-3px);
}

.thumb-label:hover .thumb-inner img {
    opacity: 1;
}

/* Radio Logic for Thumbnails */
#img1:checked ~ .gallery-thumbnails .thumb-1,
#img2:checked ~ .gallery-thumbnails .thumb-2,
#img3:checked ~ .gallery-thumbnails .thumb-3,
#img4:checked ~ .gallery-thumbnails .thumb-4 {
    transform: translateY(-5px);
}

#img1:checked ~ .gallery-thumbnails .thumb-1::after,
#img2:checked ~ .gallery-thumbnails .thumb-2::after,
#img3:checked ~ .gallery-thumbnails .thumb-3::after,
#img4:checked ~ .gallery-thumbnails .thumb-4::after {
    box-shadow: 0 0 0 2px var(--c-blue-500);
}

#img1:checked ~ .gallery-thumbnails .thumb-1 .thumb-inner,
#img2:checked ~ .gallery-thumbnails .thumb-2 .thumb-inner,
#img3:checked ~ .gallery-thumbnails .thumb-3 .thumb-inner,
#img4:checked ~ .gallery-thumbnails .thumb-4 .thumb-inner {
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

#img1:checked ~ .gallery-thumbnails .thumb-1 .thumb-inner img,
#img2:checked ~ .gallery-thumbnails .thumb-2 .thumb-inner img,
#img3:checked ~ .gallery-thumbnails .thumb-3 .thumb-inner img,
#img4:checked ~ .gallery-thumbnails .thumb-4 .thumb-inner img {
    opacity: 1;
}

/* ==========================================================================
   8. PRODUCT INFO (Right Side)
   ========================================================================== */
.product-info {
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .product-info {
        padding: 3rem 4rem 3rem 3rem;
    }
}

.info-header {
    margin-bottom: 1.5rem;
    position: relative;
}

.category-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-blue-600);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.2rem;
}

.category-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: var(--c-blue-500);
    border-radius: 2px;
}

.main-product-title {
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--c-gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .main-product-title {
        font-size: 2.25rem;
    }
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--grad-primary);
    border-radius: var(--rad-full);
}

.seo-intro-box {
    background: var(--c-blue-50);
    border-left: 4px solid var(--c-blue-400);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--rad-md) var(--rad-md) 0;
    margin-bottom: 2rem;
    transition: var(--trans-normal);
}

.seo-intro-box:hover {
    background: var(--c-blue-100);
    box-shadow: var(--shadow-sm);
}

.intro-text {
    font-size: 0.95rem;
    color: var(--c-gray-700);
    line-height: 1.5;
}

.intro-text strong {
    color: var(--c-blue-800);
}

.product-features {
    flex: 1;
}

.features-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--c-gray-900);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--c-gray-200);
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--rad-lg);
    background: var(--c-white);
    border: 1px solid var(--c-gray-100);
    transition: var(--trans-normal);
    box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}

.feature-item:hover {
    transform: translateX(5px);
    border-color: var(--c-blue-200);
    box-shadow: var(--shadow-md);
    background: var(--c-blue-50);
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--c-blue-100);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.feature-icon::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--c-blue-600);
    border-radius: 50%;
    transition: var(--trans-bounce);
}

.feature-item:hover .feature-icon::after {
    transform: scale(1.3);
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.feature-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--c-blue-900);
    line-height: 1.3;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--c-gray-600);
    line-height: 1.6;
}

/* ==========================================================================
   9. CTA SECTION
   ========================================================================== */
.cta-section {
    position: relative;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: var(--rad-2xl);
    background: var(--grad-light);
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(59, 130, 246, 0.05);
    border: 1px solid var(--c-blue-100);
}

/* CSS-Only Blobs inside CTA */
.cta-background-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cta-circle-1, .cta-circle-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 15s infinite alternate;
}

.cta-circle-1 {
    width: 300px;
    height: 300px;
    background: var(--c-blue-200);
    top: -100px;
    left: -50px;
}

.cta-circle-2 {
    width: 250px;
    height: 250px;
    background: var(--c-blue-300);
    bottom: -100px;
    right: -50px;
    animation-delay: -5s;
}

.cta-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-wrapper {
    position: relative;
}

.cta-glow {
    position: absolute;
    inset: -5px;
    background: var(--grad-primary);
    border-radius: var(--rad-full);
    filter: blur(15px);
    opacity: 0.5;
    animation: pulse-glow 3s infinite alternate;
    z-index: -1;
}

@keyframes pulse-glow {
    0% { opacity: 0.4; transform: scale(0.95); }
    100% { opacity: 0.7; transform: scale(1.05); }
}

.cta-main-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: var(--grad-primary);
    color: var(--c-white);
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: var(--rad-full);
    overflow: hidden;
    transition: all var(--trans-normal);
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.4);
    z-index: 1;
}

.cta-main-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(29, 78, 216, 0.5);
}

.cta-main-btn:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(29, 78, 216, 0.4);
}

.btn-text {
    position: relative;
    z-index: 2;
    letter-spacing: 0.02em;
}

.btn-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform var(--trans-bounce);
}

.cta-main-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Shine Effect Animation */
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
    z-index: 1;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.cta-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-blue-700);
    opacity: 0.8;
}

/* ==========================================================================
   10. REVIEWS SECTION
   ========================================================================== */
.reviews-section {
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviews-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--c-blue-100);
    color: var(--c-blue-800);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--rad-full);
    margin-bottom: 1rem;
}

.reviews-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--c-gray-900);
    margin-bottom: 1.5rem;
}

.reviews-divider {
    width: 80px;
    height: 4px;
    background: var(--c-blue-500);
    border-radius: 2px;
    position: relative;
}
.reviews-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 10px;
    height: 100%;
    background: var(--c-white);
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-card {
    background: var(--c-white);
    border-radius: var(--rad-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-blue-50);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--trans-normal);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--c-blue-400);
    opacity: 0;
    transition: var(--trans-normal);
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--c-blue-100);
}

.review-card:hover::before {
    opacity: 1;
}

@media (min-width: 640px) {
    .review-card {
        flex-direction: row;
        padding: 2.5rem;
        gap: 2rem;
    }
}

.review-sidebar {
    flex-shrink: 0;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--c-blue-100);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.review-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 640px) {
    .review-avatar { width: 70px; height: 70px; }
}

.review-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-meta-top {
    margin-bottom: 0.25rem;
}

.reviewer-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--c-gray-900);
}

.review-rating-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: var(--c-gold-500);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.review-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-blue-950);
}

.review-meta-secondary,
.review-meta-tertiary {
    font-size: 0.85rem;
    color: var(--c-gray-500);
    margin-bottom: 0.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.vine-badge {
    color: var(--c-green-600);
    font-weight: 600;
    display: inline-block;
}

.verified-purchase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--c-blue-600);
    font-weight: 600;
}

.verified-purchase-badge svg {
    width: 14px;
    height: 14px;
}

.purchase-attributes {
    border-left: 1px solid var(--c-gray-300);
    padding-left: 0.75rem;
}

.review-text-content {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--c-gray-700);
    position: relative;
}

.review-text-content p {
    margin-bottom: 0.75rem;
}

.review-text-content p:last-child {
    margin-bottom: 0;
}

.review-attached-photos {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.attached-photo {
    width: 80px;
    height: 80px;
    border-radius: var(--rad-md);
    overflow: hidden;
    border: 1px solid var(--c-gray-200);
    cursor: pointer;
    transition: var(--trans-normal);
    position: relative;
}

.attached-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(29, 78, 216, 0);
    transition: var(--trans-normal);
}

.attached-photo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-md);
    border-color: var(--c-blue-300);
}

.attached-photo:hover::after {
    background: rgba(29, 78, 216, 0.1);
}

.attached-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer {
    background: var(--c-white);
    position: relative;
    margin-top: auto;
    padding-top: 4rem;
}

.footer-top-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-primary);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-brand {
    max-width: 400px;
}

.footer-logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--c-blue-900);
    display: block;
    margin-bottom: 0.75rem;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--c-gray-500);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--c-gray-900);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--c-gray-600);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--trans-normal);
}

.footer-link svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--trans-bounce);
    color: var(--c-blue-500);
}

.footer-link:hover {
    color: var(--c-blue-600);
    padding-left: 4px;
}

.footer-link:hover svg {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   12. EXTRA RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 480px) {
    .cta-main-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .product-info {
        padding: 1.5rem 1rem;
    }
    
    .main-product-title {
        font-size: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
}