/* Product Page Specific Styles */

.product-hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, rgba(24, 24, 27, 0.95), rgba(0, 0, 0, 0.98));
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridSlide 20s linear infinite;
}

@keyframes gridSlide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.product-hero-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .product-hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.product-hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #60a5fa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.product-hero-text .product-tagline {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.product-hero-text p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-price {
    display: inline-block;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2));
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    margin-bottom: 2rem;
}

.product-price .price-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-price .price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    display: block;
}

.product-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: productFloat 6s ease-in-out infinite;
}

@keyframes productFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    75% { transform: translateY(-25px) rotate(1deg); }
}

.product-image-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.product-image-placeholder svg {
    width: 120px;
    height: 120px;
    color: rgba(255, 255, 255, 0.9);
}

/* Features Section */
.product-features-section {
    padding: 6rem 0;
    background: var(--color-bg-dark);
}

.features-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    background: rgba(24, 24, 27, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.feature-item p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Specifications Section */
.product-specs-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--color-bg-dark), var(--color-bg-light));
}

.specs-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.spec-item {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.spec-item:hover {
    border-color: var(--color-primary);
    background: rgba(0, 0, 0, 0.7);
}

.spec-label {
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.spec-value {
    font-weight: 700;
    color: var(--color-text-primary);
    font-size: 1.125rem;
    text-align: right;
}

/* Purchase Section */
.product-purchase-section {
    padding: 6rem 0;
    background: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
}

.product-purchase-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent);
    filter: blur(100px);
}

.purchase-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.purchase-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.purchase-content p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
}

.retailers-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .retailers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .retailers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.retailer-card {
    background: rgba(24, 24, 27, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.retailer-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.3);
}

.retailer-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.retailer-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.retailer-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.retailer-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.retailer-card .btn-retailer {
    width: 100%;
    background: transparent;
    color: var(--color-primary);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* Related Products Section */
.related-products-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--color-bg-light), var(--color-bg-dark));
}

.related-products-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 40;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* Breadcrumb */
.breadcrumb {
    padding: 6rem 0 1rem;
    background: transparent;
}

.breadcrumb-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: var(--color-primary);
}

.breadcrumb-nav span {
    color: var(--color-text-muted);
}

.breadcrumb-nav .current {
    color: var(--color-text-primary);
    font-weight: 600;
}
