@charset "UTF-8";
/* ==========================================================================
   Premium Stylesheet for "The Republic of Tea" Landing Page
   Highly Customized CSS, Strict Blue Palette, CSS-Only Interactivity
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables System (Strictly Blue Palette & Nuances)
   -------------------------------------------------------------------------- */
:root {
    /* Primary Colors (Blue Palette) */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --blue-950: #172554;
    
    /* Neutrals & Typography */
    --text-primary: #111827;   /* Gray 900 */
    --text-secondary: #374151; /* Gray 700 */
    --text-muted: #6b7280;     /* Gray 500 */
    --bg-page: #f8fafc;        /* Slate 50 */
    --bg-card: #ffffff;
    
    /* Semantic Colors */
    --star-rating: #fbbf24;    /* Amber 400 for stars */
    --success-badge: var(--blue-700);
    
    /* Shadows Framework (Multi-layered for deep premium feel) */
    --shadow-soft: 0 4px 20px -2px rgba(37, 99, 235, 0.05);
    --shadow-medium: 0 10px 30px -5px rgba(37, 99, 235, 0.1), 0 4px 10px -5px rgba(37, 99, 235, 0.05);
    --shadow-deep: 0 25px 50px -12px rgba(30, 58, 138, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    --shadow-glow: 0 0 30px 0 rgba(59, 130, 246, 0.2);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.04);
    
    /* Border Radius System */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. Base Styles & Reset Supplements
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background-color: var(--blue-200);
    color: var(--blue-900);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--blue-50);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-300);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-500);
}

/* --------------------------------------------------------------------------
   3. Global Decorative Backgrounds (CSS Abstract Shapes)
   -------------------------------------------------------------------------- */
.global-bg-decor {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: slowFloat 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-shape-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--blue-100) 0%, transparent 70%);
}

.bg-shape-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--blue-200) 0%, transparent 70%);
    animation-delay: -5s;
}

.bg-shape-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, var(--blue-50) 0%, transparent 70%);
    animation-delay: -10s;
}

/* --------------------------------------------------------------------------
   4. Header Styles (Glassmorphism & Sticky)
   -------------------------------------------------------------------------- */
.premium-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(219, 234, 254, 0.5); /* blue-100 */
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.05), 0 2px 4px -1px rgba(37, 99, 235, 0.03);
    transition: all var(--transition-base);
}

.header-container {
    max-width: 1200px;
    height: 100%;
}

.brand-badge {
    gap: 8px;
    padding: 6px 12px;
    background: var(--blue-50);
    border-radius: var(--radius-full);
    border: 1px solid var(--blue-100);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--blue-500);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue-800);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-title {
    color: var(--blue-900);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-title .title-text {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
}

.header-progress-bar {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-300), var(--blue-600));
    width: 100%;
    transform-origin: left;
    transform: scaleX(0);
    animation: progressLoad 1s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

/* --------------------------------------------------------------------------
   5. Hero / Product Section Base
   -------------------------------------------------------------------------- */
.hero-product-section {
    position: relative;
    z-index: 10;
}

.premium-product-card {
    box-shadow: var(--shadow-deep);
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transform: translateY(0);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.premium-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(30, 58, 138, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

/* --------------------------------------------------------------------------
   6. CSS-Only Gallery Implementation (NO JS)
   -------------------------------------------------------------------------- */
.product-gallery-section {
    background: linear-gradient(180deg, var(--blue-50) 0%, #ffffff 100%);
    border-right: 1px solid rgba(219, 234, 254, 0.5);
}

@media (max-width: 1023px) {
    .product-gallery-section {
        border-right: none;
        border-bottom: 1px solid rgba(219, 234, 254, 0.5);
    }
}

.gallery-glow-backdrop {
    background: radial-gradient(circle at center, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
}

.gallery-main-view {
    height: 400px;
    border: 1px solid rgba(219, 234, 254, 0.8);
    box-shadow: var(--shadow-inner);
    overflow: hidden;
}

@media (min-width: 768px) {
    .gallery-main-view {
        height: 500px;
    }
}

/* Corner decorations for main view */
.corner-decor {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--blue-200);
    z-index: 20;
    transition: all var(--transition-base);
    opacity: 0.5;
}

.gallery-main-view:hover .corner-decor {
    opacity: 1;
    width: 25px;
    height: 25px;
    border-color: var(--blue-400);
}

.top-left { top: 10px; left: 10px; border-right: none; border-bottom: none; border-top-left-radius: 8px; }
.top-right { top: 10px; right: 10px; border-left: none; border-bottom: none; border-top-right-radius: 8px; }
.bottom-left { bottom: 10px; left: 10px; border-right: none; border-top: none; border-bottom-left-radius: 8px; }
.bottom-right { bottom: 10px; right: 10px; border-left: none; border-top: none; border-bottom-right-radius: 8px; }

/* Slide Images Settings */
.slide {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease-in-out, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

.main-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

/* CSS Logic: Radio button checked states connecting to slides */
#img-1:checked ~ .gallery-main-view .slide-1,
#img-2:checked ~ .gallery-main-view .slide-2,
#img-3:checked ~ .gallery-main-view .slide-3,
#img-4:checked ~ .gallery-main-view .slide-4 {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
    pointer-events: auto;
}

/* Thumbnail Navigation Styling */
.gallery-thumbnails {
    padding: 4px;
}

.thumb-label {
    width: 70px;
    height: 70px;
    border: 1px solid var(--blue-100);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all var(--transition-bounce);
}

@media (min-width: 768px) {
    .thumb-label {
        width: 80px;
        height: 80px;
    }
}

.thumb-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.thumb-border-ring {
    border: 2px solid transparent;
    transition: border-color var(--transition-base);
    z-index: 20;
}

/* CSS Logic: Styling active thumbnails based on checked radio inputs */
#img-1:checked ~ .gallery-thumbnails label[for="img-1"] .thumb-border-ring,
#img-2:checked ~ .gallery-thumbnails label[for="img-2"] .thumb-border-ring,
#img-3:checked ~ .gallery-thumbnails label[for="img-3"] .thumb-border-ring,
#img-4:checked ~ .gallery-thumbnails label[for="img-4"] .thumb-border-ring {
    border-color: var(--blue-600);
}

#img-1:checked ~ .gallery-thumbnails label[for="img-1"],
#img-2:checked ~ .gallery-thumbnails label[for="img-2"],
#img-3:checked ~ .gallery-thumbnails label[for="img-3"],
#img-4:checked ~ .gallery-thumbnails label[for="img-4"] {
    box-shadow: 0 0 0 4px var(--blue-100);
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   7. Product Information Area (Typography & Blocks)
   -------------------------------------------------------------------------- */
.text-gradient-blue {
    background: linear-gradient(120deg, var(--blue-900), var(--blue-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated underline below main title */
.title-underline {
    height: 10px;
    z-index: -1;
    opacity: 0.6;
}

.title-underline path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

/* Info Blocks (List Items with Icons) */
.info-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: transparent;
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.info-block:hover {
    background: var(--blue-50);
    border-color: var(--blue-100);
    transform: translateX(4px);
}

.info-icon-wrapper {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--blue-700);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-bounce);
}

.info-block:hover .info-icon-wrapper {
    background: var(--blue-600);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.info-icon {
    width: 20px;
    height: 20px;
}

.info-content {
    flex-grow: 1;
}

.info-label {
    font-weight: 700;
    color: var(--blue-900);
    font-size: 1.05rem;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.info-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Grid Info Block (Ingredients, Certs, etc.) */
.info-block-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(to bottom right, var(--blue-50), white);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-lg);
}

.info-grid-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--blue-200);
}

.info-grid-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

@media (min-width: 640px) {
    .info-grid-item {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 16px;
    }
}

.grid-label {
    font-weight: 600;
    color: var(--blue-800);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.grid-value {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: left;
}

@media (min-width: 640px) {
    .grid-value {
        text-align: right;
    }
}

/* SEO Keywords block */
.seo-keywords-block {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    border-left: 4px solid var(--blue-400);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.85rem;
    color: var(--blue-900);
    line-height: 1.5;
}

.seo-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--blue-500);
    margin-top: 2px;
}

.keyword-highlight {
    color: var(--blue-700);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.keyword-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: var(--blue-200);
    z-index: -1;
    border-radius: 2px;
    opacity: 0.5;
}

/* Disclaimer block */
.disclaimer-block {
    border-top: 1px solid var(--blue-100);
    padding-top: 16px;
}

.disclaimer-block p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8. Giant CTA Section (Animations, Gradients, Shapes)
   -------------------------------------------------------------------------- */
.cta-premium-section {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
    border-radius: var(--radius-3xl);
    box-shadow: 0 20px 40px -10px rgba(30, 58, 138, 0.5);
    margin-left: 1rem;
    margin-right: 1rem;
}

@media (min-width: 1024px) {
    .cta-premium-section {
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }
}

.cta-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-bg-glow {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blue-500) 0%, transparent 60%);
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(40px);
    pointer-events: none;
    animation: pulseGlow 4s infinite alternate ease-in-out;
}

.cta-particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.2;
    pointer-events: none;
}

.p1 { width: 100px; height: 100px; top: 10%; left: 10%; filter: blur(10px); animation: floatUp 10s infinite linear; }
.p2 { width: 60px; height: 60px; bottom: 20%; right: 15%; filter: blur(5px); animation: floatUp 8s infinite linear 2s; }
.p3 { width: 30px; height: 30px; top: 30%; right: 30%; filter: blur(2px); animation: floatUp 6s infinite linear 1s; }

/* Main CTA Button */
.cta-button-container {
    z-index: 20;
}

.cta-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background: var(--blue-300);
    z-index: 0;
    animation: ringPulse 2.5s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.cta-main-btn {
    padding: 20px 48px;
    border-radius: 9999px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--blue-900);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), inset 0 -3px 0 0 rgba(0,0,0,0.1);
    transition: all var(--transition-bounce);
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.cta-btn-bg {
    background: linear-gradient(to bottom, #ffffff, #f0f9ff);
    border-radius: 9999px;
    transition: all var(--transition-base);
}

.cta-main-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.4), inset 0 -3px 0 0 rgba(0,0,0,0.05);
}

.cta-main-btn:hover .cta-btn-bg {
    background: linear-gradient(to bottom, #ffffff, #ffffff);
}

.cta-main-btn:active {
    transform: translateY(1px);
    box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.3), inset 0 3px 0 0 rgba(0,0,0,0.1);
}

.cta-btn-shine {
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.8), transparent);
    background-size: 200% 100%;
    border-radius: 9999px;
    animation: shineEffect 3s infinite;
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   9. Amazon-Style Reviews (Beautified, Vertical Layout)
   -------------------------------------------------------------------------- */
.reviews-premium-section {
    position: relative;
    z-index: 5;
}

.reviews-list {
    position: relative;
}

/* Connecting line behind reviews */
.reviews-list::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 48px; /* Alignment with avatar centers on md screen */
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--blue-200), transparent);
    z-index: 0;
    display: none;
}

@media (min-width: 640px) {
    .reviews-list::before {
        display: block;
    }
}

.review-card {
    z-index: 1;
}

/* Amazon specific styling details */
.stars-container {
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.verified-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.review-body {
    position: relative;
}

/* Custom quote icon inside review body */
.review-body::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: -10px;
    font-size: 3rem;
    color: var(--blue-100);
    font-family: serif;
    line-height: 1;
    z-index: -1;
    opacity: 0.5;
}

.review-attachment-wrapper {
    transition: transform var(--transition-base);
}

.review-attachment-wrapper:hover {
    transform: scale(1.05) rotate(-2deg);
}

/* --------------------------------------------------------------------------
   10. Footer Premium Styles
   -------------------------------------------------------------------------- */
.premium-footer {
    border-top: 4px solid var(--blue-500);
}

.footer-link {
    text-decoration: none;
}

.footer-link:hover .footer-link-underline {
    width: 100%;
}

/* --------------------------------------------------------------------------
   11. CSS Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes slowFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

@keyframes progressLoad {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

@keyframes floatUp {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}

@keyframes ringPulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

@keyframes shineEffect {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* --------------------------------------------------------------------------
   12. Advanced Responsive Media Queries
   -------------------------------------------------------------------------- */

/* Extra Small Devices (Mobile Phones, 320px and up) */
@media (min-width: 320px) and (max-width: 480px) {
    .header-title .title-text {
        font-size: 1.25rem;
    }
    
    .hero-product-section {
        padding-top: 5rem;
    }
    
    .gallery-main-view {
        height: 300px;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .info-block {
        padding: 12px 8px;
        gap: 12px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-main-btn {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .review-avatar {
        width: 48px;
        height: 48px;
    }
}

/* Tablets (768px and up) */
@media (min-width: 768px) {
    .info-block-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid-item:last-child {
        grid-column: span 2;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .gallery-interactive-wrapper {
        flex-direction: row; /* Thumbnails on the side */
        gap: 20px;
    }
    
    .gallery-main-view {
        flex-grow: 1;
        order: 2;
        height: 550px;
    }
    
    .gallery-thumbnails {
        flex-direction: column;
        order: 1;
        justify-content: flex-start;
        margin-top: 0;
        padding-top: 10px;
    }
    
    .thumb-label {
        width: 90px;
        height: 90px;
    }
}

/* Large Desktop (1280px and up) */
@media (min-width: 1280px) {
    .premium-product-card {
        gap: 0; /* Handled by padding and grid */
    }
    
    .product-info-section {
        padding: 4rem;
    }
}

/* Utility to ensure accessibility outlines remain visible but pretty */
*:focus-visible {
    outline: 2px solid var(--blue-500);
    outline-offset: 2px;
}