/* ============================================
   LOOMRY PRODUCTS PAGE STYLES
   Apple-style product showcase
   ============================================ */

/* Product Navigation - Sticky Tabs */
.product-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 99;
    transition: all 0.3s ease;
}

.product-nav.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.product-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
}

.product-nav-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
}

.product-nav-tabs {
    display: flex;
    gap: 0.5rem;
}

.product-nav-tab {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.product-nav-tab:hover {
    color: var(--navy);
    background: var(--cream);
}

.product-nav-tab.active {
    color: var(--white);
    background: var(--navy);
}

/* Product Hero */
.product-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 2rem 4rem;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(224, 122, 95, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.product-hero-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--navy);
    color: var(--cream);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.product-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.product-hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.product-hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Tier Section */
.tier-section {
    min-height: 100vh;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.tier-section:nth-child(odd) {
    background: var(--white);
}

.tier-section:nth-child(even) {
    background: var(--cream);
}

.tier-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.tier-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tier-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.tier-badge.tier-1 {
    background: #e8f5e9;
    color: #2e7d32;
}

.tier-badge.tier-2 {
    background: #e3f2fd;
    color: #1565c0;
}

.tier-badge.tier-3 {
    background: #f3e5f5;
    color: #7b1fa2;
}

.tier-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.tier-header .price-range {
    font-size: 1.25rem;
    color: var(--coral);
    font-weight: 600;
}

/* Slideshow */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 3rem;
    border-radius: 24px;
    overflow: hidden;
    background: #f5f5f5;
}

.slideshow-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.slideshow-slide {
    min-width: 100%;
    aspect-ratio: 16/9;
    position: relative;
}

.slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-slide .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: white;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.slideshow-container:hover .slide-caption {
    opacity: 1;
}

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.slideshow-dots {
    display: flex;
    gap: 0.5rem;
}

.slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slideshow-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.slideshow-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.slideshow-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slideshow-arrow.prev {
    left: 1.5rem;
}

.slideshow-arrow.next {
    right: 1.5rem;
}

.slideshow-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--navy);
}

/* Tier Content Grid */
.tier-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.tier-specs {
    padding: 2rem;
    background: rgba(26, 43, 74, 0.03);
    border-radius: 20px;
}

.tier-specs h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.tier-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-specs li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.tier-specs li:last-child {
    border-bottom: none;
}

.tier-specs li::before {
    content: '✓';
    color: var(--coral);
    font-weight: 700;
    flex-shrink: 0;
}

.tier-description {
    padding: 2rem 0;
}

.tier-description h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--navy);
}

.tier-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.tier-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--coral);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.tier-cta:hover {
    background: var(--navy);
    transform: translateY(-2px);
}

.tier-cta svg {
    width: 18px;
    height: 18px;
}

/* MOQ Badge */
.moq-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--navy);
    color: var(--cream);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 1.5rem;
}

/* Compare Section */
.compare-section {
    padding: 6rem 2rem;
    background: var(--navy);
    color: var(--cream);
    text-align: center;
}

.compare-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.compare-section p {
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.compare-section .btn-primary {
    background: var(--coral);
}

/* Responsive */
@media (max-width: 1024px) {
    .tier-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-nav-title {
        display: none;
    }
    
    .product-nav-tabs {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .product-nav {
        top: 60px;
    }
    
    .product-nav-inner {
        padding: 0 1rem;
    }
    
    .product-nav-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .product-hero {
        padding: 12rem 1.5rem 4rem;
    }
    
    .product-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .tier-section {
        padding: 4rem 1.5rem;
    }
    
    .slideshow-arrow {
        width: 32px;
        height: 32px;
    }
    
    .slideshow-arrow.prev {
        left: 0.75rem;
    }
    
    .slideshow-arrow.next {
        right: 0.75rem;
    }
    
    .tier-specs,
    .tier-description {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .product-nav-tabs {
        gap: 0.25rem;
    }
    
    .product-nav-tab {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .product-hero h1 {
        font-size: 2.5rem;
    }
    
    .slideshow-controls {
        bottom: 1rem;
    }
    
    .slideshow-dot {
        width: 6px;
        height: 6px;
    }
    
    .slideshow-dot.active {
        width: 18px;
    }
}
