/**
 * Product Page Styles - Steve Jobs / Jony Ive Edition
 *
 * Design Philosophy:
 * - Product is the hero
 * - Typography tells the story
 * - White space is a design element
 * - Every detail matters
 *
 * @package MigraWP
 * @since 1.0
 */

/* ==========================================================================
   Base
   ========================================================================== */

.product-page {
    background: #ffffff;
}

/* ==========================================================================
   Hero Section - Jony Ive Style
   ========================================================================== */

.product-hero-jive {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

/* Hero Header */
.product-hero-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.product-hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin: 0 0 16px;
}

.product-hero-title {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--color-gray-900);
    margin: 0 0 16px;
    line-height: 1;
}

.product-hero-tagline {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    color: var(--color-gray-500);
    margin: 0;
    letter-spacing: -0.02em;
}

/* Hero Showcase - The Star */
.product-hero-showcase {
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
}

.product-hero-image-wrapper {
    position: relative;
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 24px;
    padding: 48px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.15),
        0 30px 60px -30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.product-hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Placeholder */
.product-hero-image-placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 12px;
}

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

.placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0fa07a 100%);
    border-radius: 32px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(20, 201, 150, 0.3);
}

.placeholder-icon svg {
    width: 60px;
    height: 60px;
    color: #ffffff;
}

/* Sale Badge */
.product-hero-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(20, 201, 150, 0.4);
}

/* Reflection Effect */
.product-hero-reflection {
    height: 100px;
    margin-top: -20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, transparent 100%);
    border-radius: 0 0 24px 24px;
    transform: scaleY(-1);
    opacity: 0.5;
    pointer-events: none;
}

/* Value Proposition */
.product-hero-value {
    max-width: 600px;
    margin: 0 auto 48px;
}

.product-hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 400;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin: 0;
}

/* Hero Action */
.product-hero-action {
    max-width: 400px;
    margin: 0 auto;
}

.product-hero-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.product-hero-price .price-old {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-gray-400);
    text-decoration: line-through;
}

.product-hero-price .price-current {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gray-900);
    letter-spacing: -0.02em;
}

.product-hero-price .price-current .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
}

.product-hero-form {
    margin-bottom: 16px;
}

.product-hero-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(20, 201, 150, 0.4);
}

.product-hero-button:hover {
    background: #0fa07a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 201, 150, 0.5);
}

.product-hero-meta {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-gray-500);
    margin: 0;
}

/* ==========================================================================
   Features Strip - Apple Style
   ========================================================================== */

.product-features-strip {
    padding: 60px 0;
    background: var(--color-gray-900);
}

.features-strip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.feature-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.feature-strip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 1.75rem;
    color: var(--color-primary);
}

.feature-strip-icon svg {
    width: 28px;
    height: 28px;
}

.feature-strip-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-strip-text strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
}

.feature-strip-text span {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--color-gray-400);
}

/* ==========================================================================
   Includes Section
   ========================================================================== */

.product-includes-section {
    padding: 100px 0;
    background: #ffffff;
}

.product-includes-content {
    max-width: 1100px;
    margin: 0 auto;
}

.product-includes-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-gray-900);
    text-align: center;
    margin: 0 0 64px;
    line-height: 1.2;
}

.product-includes-title span {
    font-weight: 400;
    color: var(--color-gray-500);
}

.product-includes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

.product-includes-card {
    padding: 32px;
    background: var(--color-gray-50);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.product-includes-card:hover {
    background: var(--color-gray-100);
    transform: translateY(-4px);
}

.includes-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0fa07a 100%);
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(20, 201, 150, 0.25);
}

.includes-card-icon svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.product-includes-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.product-includes-card p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   How Section
   ========================================================================== */

.product-how-section {
    padding: 100px 0;
    background: var(--color-gray-50);
}

.product-how-content {
    max-width: 1000px;
    margin: 0 auto;
}

.product-how-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-gray-900);
    text-align: center;
    margin: 0 0 64px;
    line-height: 1.2;
}

.product-how-title span {
    font-weight: 400;
    color: var(--color-gray-500);
}

.product-how-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .product-how-steps {
        flex-direction: row;
        justify-content: center;
        gap: 0;
    }
}

.how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 280px;
}

.how-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(20, 201, 150, 0.3);
}

.how-step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin: 0 0 8px;
}

.how-step-content p {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
}

.how-step-arrow {
    display: none;
}

@media (min-width: 768px) {
    .how-step-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 24px;
        color: var(--color-gray-300);
    }

    .how-step-arrow svg {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================================================
   License Section
   ========================================================================== */

.product-license-section {
    padding: 100px 0;
    background: #ffffff;
}

.product-license-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.product-license-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-gray-900);
    margin: 0 0 8px;
}

.product-license-subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-gray-500);
    margin: 0 0 48px;
}

.product-license-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

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

.license-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--color-gray-50);
    border-radius: 12px;
    text-align: left;
}

.license-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.license-detail-icon svg {
    width: 16px;
    height: 16px;
    color: #ffffff;
}

.license-detail-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.license-detail-text strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-gray-900);
}

.license-detail-text span {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--color-gray-500);
}

.product-license-note {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-gray-500);
    margin: 0;
    padding: 20px;
    background: var(--color-gray-50);
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
    text-align: left;
}

/* ==========================================================================
   Guarantee Section - Jony Ive Style
   ========================================================================== */

.product-guarantee-jive {
    padding: 80px 0;
    background: var(--color-primary);
}

.guarantee-jive-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.guarantee-jive-statement {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
    margin: 0 0 16px;
}

.guarantee-jive-statement span {
    font-weight: 700;
    color: #ffffff;
}

.guarantee-jive-terms {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.guarantee-jive-terms a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.guarantee-jive-terms a:hover {
    text-decoration-thickness: 2px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.product-faq-section {
    padding: 100px 0;
    background: var(--color-gray-50);
}

.product-faq-content {
    max-width: 700px;
    margin: 0 auto;
}

.product-faq-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-gray-900);
    text-align: center;
    margin: 0 0 48px;
}

.product-faq-list {
    margin-bottom: 32px;
}

/* FAQ Accordion */
.faq-accordion-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-accordion-item:last-child {
    margin-bottom: 0;
}

.faq-accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-accordion-button:hover {
    background: var(--color-gray-50);
}

.faq-accordion-button span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-900);
}

.faq-accordion-chevron {
    width: 20px;
    height: 20px;
    color: var(--color-gray-400);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-accordion-item.active .faq-accordion-chevron {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-accordion-content p {
    padding: 0 24px 20px;
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-gray-600);
    line-height: 1.7;
}

.faq-accordion-content strong {
    font-weight: 600;
    color: var(--color-gray-900);
}

.product-faq-more {
    text-align: center;
}

.product-faq-more a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.product-faq-more a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */

.product-final-cta {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.final-cta-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.final-cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-gray-900);
    margin: 0 0 24px;
}

.final-cta-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.final-price-old {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-gray-400);
    text-decoration: line-through;
}

.final-price-current {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
    letter-spacing: -0.02em;
}

.final-price-current .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
}

.final-cta-form {
    margin-bottom: 16px;
}

.final-cta-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 56px;
    background: var(--color-gray-900);
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.final-cta-button:hover {
    background: var(--color-gray-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.final-cta-meta {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-gray-500);
    margin: 0;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

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

    .product-hero-header {
        margin-bottom: 40px;
    }

    .product-hero-image-wrapper {
        padding: 24px;
        border-radius: 16px;
    }

    .placeholder-icon {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }

    .placeholder-icon svg {
        width: 40px;
        height: 40px;
    }

    .product-hero-showcase {
        margin-bottom: 40px;
    }

    .product-hero-reflection {
        display: none;
    }

    .product-hero-price .price-current {
        font-size: 2.5rem;
    }

    .product-features-strip {
        padding: 48px 0;
    }

    .product-includes-section,
    .product-how-section,
    .product-license-section,
    .product-faq-section,
    .product-final-cta {
        padding: 64px 0;
    }

    .product-includes-title,
    .product-how-title {
        margin-bottom: 40px;
    }

    .product-guarantee-jive {
        padding: 60px 0;
    }

    .final-price-current {
        font-size: 2.5rem;
    }
}
