/* 
  Liveshala Design System
  Colors: 
  - Light Cream: #FAFAF9
  - Soft Blue: #E0F2FE / #0EA5E9
  - Yellow: #FEF08A / #EAB308
  - Pink: #FBCFE8 / #EC4899
  - Green: #DCFCE7 / #22C55E
  - Purple: #F3E8FF / #A855F7
  - Text: #1E293B
*/

:root {
    --primary-color: #0EA5E9;
    --primary-hover: #0284C7;
    --secondary-color: #EC4899;
    --secondary-hover: #BE185D;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-main: #FAFAF9;
    --bg-white: #FFFFFF;
    --bg-dark: #0F172A;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Nunito', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.w-100 { width: 100%; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(236, 72, 153, 0.39);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.23);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 18px 32px;
    font-size: 1.25rem;
}

/* Sections */
section {
    padding: 80px 0;
}

.bg-light { background-color: #F1F5F9; }
.bg-dark { background-color: var(--bg-dark); }

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-main);
}
.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #E0F2FE 0%, #F3E8FF 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--bg-dark);
    margin-bottom: 15px;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 600;
}

.age-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.age-tag {
    background: white;
    border: 2px solid #CBD5E1;
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-weight: 700;
    color: var(--text-main);
}

.hero-price {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.price-highlight {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 800;
}

.hero-guarantee {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: transform 0.3s;
}
.hero-image img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Showcase Grid */
.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Removed sample-card and gallery-container styles */

/* Convenience Section */
.convenience h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.convenience-text p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.step {
    background: white;
    padding: 15px 25px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.step span {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Age Groups */
.age-split {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.age-box {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    border-top: 6px solid var(--primary-color);
}

.age-box.age-5-8 {
    border-top-color: var(--secondary-color);
}

.age-badge {
    position: absolute;
    top: -15px;
    left: 40px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-weight: 700;
}
.age-box.age-5-8 .age-badge { background: var(--secondary-color); }

.age-box h3 { font-size: 2rem; margin-top: 10px; margin-bottom: 20px; }

.activity-list {
    list-style: none;
    margin-bottom: 30px;
}

.activity-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}
.activity-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}
.age-box.age-5-8 .activity-list li::before { color: var(--secondary-color); }

.age-sample {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Value Scale */
.value-scale {
    background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
    padding: 100px 0;
}

.massive-text {
    font-size: 4rem;
    color: var(--yellow-300, #FDE047);
    margin-bottom: 10px;
}

.scale-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 50px;
    color: #cbd5e1;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.pill {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff; /* Explicitly set to white */
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s;
}
.pill:hover {
    background: rgba(255,255,255,0.2);
}

/* Checkout */
.checkout-section { background: #F8FAFC; }
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.how-it-works h2 { font-size: 2.5rem; margin-bottom: 30px; }

.steps-list {
    list-style: none;
    counter-reset: my-counter;
}

.steps-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
    font-size: 1.25rem;
    font-weight: 600;
}

.steps-list li::before {
    content: counter(my-counter);
    counter-increment: my-counter;
    position: absolute;
    left: 0;
    top: -2px;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 2px solid var(--secondary-color);
    position: relative;
}

.brand {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.price-display {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 20px 0;
    color: var(--text-main);
}
.currency { font-size: 2rem; font-weight: 700; margin-top: 10px; }
.amount { font-size: 5rem; font-family: var(--font-heading); font-weight: 800; line-height: 1; }

.price-desc { color: var(--text-muted); margin-bottom: 30px; }

.upsell-notice {
    background: #FEF9C3;
    padding: 15px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    font-size: 0.9rem;
    color: #854D0E;
    border: 1px dashed #EAB308;
}

.secure-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Footer & Mobile CTA */
footer {
    background: white;
    padding: 40px 0;
    border-top: 1px solid #E2E8F0;
}
.footer-links { margin-top: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; margin: 0 10px; }

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 100;
    display: none; /* hidden on desktop */
}

/* Inline Gallery Showcase */
.showcase-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.showcase-filters-container {
    flex: 0 0 250px;
    background: #161B33;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 20px; /* Stick to top while scrolling through gallery */
}

.showcase-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start; /* Align icon and text to left */
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.4);
}

.showcase-grid-container {
    flex: 1;
    width: 100%;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* smaller image cards */
    gap: 20px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 15px;
}

/* Custom Scrollbar for Desktop Grid */
.showcase-grid::-webkit-scrollbar {
    width: 8px;
}
.showcase-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.showcase-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.showcase-grid::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.gallery-item {
    width: 100%;
    opacity: 0; /* Hidden initially, shown by animation */
    animation: flyIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.gallery-item.hide {
    display: none;
    animation: none; /* Disable animation when hidden */
}

@keyframes flyIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.8) rotate(2deg); }
    100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    aspect-ratio: 3/4;
    object-fit: contain;
    background: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container { flex-direction: column; text-align: center; }
    .age-tags { justify-content: center; }
    .hero h1 { font-size: 2.8rem; }
    
    .age-split { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
    
    .process-steps { flex-direction: column; gap: 10px; }
    .step-arrow { transform: rotate(90deg); }
    
    .showcase-layout { flex-direction: column; }
    .showcase-filters-container { 
        flex: 1; 
        width: 100%; 
        position: static; 
        margin-bottom: 15px; 
    }
    .showcase-filters { 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center; 
    }
    .filter-btn { border-radius: var(--radius-full); padding: 8px 16px; }
    .filter-btn:hover { transform: translateY(-3px); }
}

@media (max-width: 768px) {
    .massive-text { font-size: 2.5rem; }
    .hero h1 { font-size: 2.2rem; }
    .section-header h2 { font-size: 2rem; }
    
    body { padding-bottom: 80px; } /* Space for sticky CTA */
    .sticky-cta { display: block; }
    
    .showcase-filters-container { border-radius: var(--radius-md); padding: 15px; }
    
    /* Horizontal scroll on mobile */
    .showcase-grid { 
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        padding-bottom: 20px;
        padding-right: 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
    }
    
    .showcase-grid::-webkit-scrollbar {
        display: none;
    }
    
    .gallery-item {
        flex: 0 0 200px;
        scroll-snap-align: center;
    }
}
