/**
 * Product Page Styles
 * Styles for product detail pages
 */

/* ================================
   Product Hero Section
   ================================ */

.product-hero {
    position: relative;
    padding: 120px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    width: 100%;
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.product-label-tag {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.product-hero-subtitle {
    font-size: 20px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.product-hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.product-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--color-text);
}

.product-feature-item i {
    font-size: 24px;
    color: var(--color-success);
}

.product-hero-cta {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-price-badge {
    display: inline-flex;
    flex-direction: column;
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    max-width: fit-content;
}

.product-price-badge .price-label {
    font-size: 14px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-price-badge .price-amount {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.product-price-badge .price-note {
    font-size: 14px;
    color: var(--color-text-light);
}

.product-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.product-hero-image {
    position: relative;
}

.product-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Hero Trust Badges */
.product-hero-trust {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
    padding: 24px 0;
}

.product-hero-trust-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--color-text);
    font-weight: 500;
}

.trust-badge i {
    font-size: 24px;
    color: var(--color-primary);
}

/* ================================
   Product Features Section
   ================================ */

.product-features-section {
    padding: 100px 0;
    background: var(--color-background);
    width: 100%;
}

.product-features-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.features-wrapper {
    margin-bottom: 80px;
}

.section-header.centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.feature-card {
    background: white;
    padding: 48px 36px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(168, 137, 106, 0.15);
    border-color: var(--color-primary-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(168, 137, 106, 0.25);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(168, 137, 106, 0.35);
}

.feature-icon i {
    font-size: 40px;
    color: white;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.3;
}

.feature-description {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ================================
   Specifications
   ================================ */

.specifications-wrapper {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.specs-column {
    position: relative;
}

.specs-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

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

.specs-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    color: var(--color-text);
    display: flex;
    align-items: center;
}

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

.specs-list li:before {
    content: "\2022";
    color: var(--color-primary);
    font-weight: bold;
    font-size: 20px;
    margin-right: 12px;
}

/* ================================
   Product Features CTA
   ================================ */

.product-features-cta {
    margin-top: 60px;
}

.cta-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.cta-card h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-card p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-card .btn-primary:hover {
    background: var(--color-background);
    transform: translateY(-2px);
}

.cta-card .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-card .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ================================
   Testimonials Section
   ================================ */

.testimonials-section {
    padding: 100px 0;
    background: white;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--color-background);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    color: #FFC107;
    font-size: 20px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 16px;
    margin-bottom: 4px;
}

.author-location {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ================================
   Product Process Section
   ================================ */

.product-process-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #FAF8F4 0%, #FFFFFF 100%);
}

.product-process-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
    position: relative;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(168, 137, 106, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    text-align: center;
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.process-step:hover .step-content {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(168, 137, 106, 0.15);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(168, 137, 106, 0.1), rgba(168, 137, 106, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 32px;
    color: var(--color-primary);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-description {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-duration {
    display: inline-block;
    background: var(--color-primary-light);
    color: var(--color-text);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.step-connector {
    position: absolute;
    top: 30px;
    left: calc(50% + 30px);
    right: calc(-100% + 50% - 30px);
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    z-index: 1;
}

.process-step:last-child .step-connector {
    display: none;
}

.process-cta {
    text-align: center;
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin-top: 60px;
}

.process-cta h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

.process-cta p {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 992px) {
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-hero-title {
        font-size: 36px;
    }

    .product-hero-subtitle {
        font-size: 18px;
    }

    .product-cta-buttons {
        flex-direction: column;
    }

    .product-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .specifications-wrapper {
        padding: 40px 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .step-connector {
        display: none;
    }

    .trust-badge {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 60px 0 120px;
    }

    .product-hero-title {
        font-size: 28px;
    }

    .product-hero-subtitle {
        font-size: 16px;
    }

    .product-price-badge .price-amount {
        font-size: 28px;
    }

    .product-features-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 40px 30px;
    }

    .cta-card h3 {
        font-size: 24px;
    }

    .cta-card p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .product-hero-trust-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .process-cta {
        padding: 40px 24px;
    }

    .process-cta h3 {
        font-size: 24px;
    }
}
