/**
 * Product Detail Pages CSS
 * Styles for individual product pages (file-manager, email-marketing, etc.)
 * Based on solutions-subpages design pattern
 */

/* Product Page Layout */
.product-page {
    min-height: 100vh;
}

/* Product Hero Section */
.product-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-navy) 100%);
    color: white;
    padding: 120px 0 80px;
    overflow: hidden;
    position: relative;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.product-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.product-hero__badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.product-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.product-hero__actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.product-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-hero__btn--primary {
    background: white;
    color: var(--primary-blue);
}

.product-hero__btn--primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-hero__btn--secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.product-hero__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

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

.product-hero__image {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-hero__image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

.product-hero__image img {
    width: 90%;
    height: auto;
    transition: transform 0.3s ease;
    opacity: 0.95;
}

/* Key Features Section */
.product-features {
    padding: 80px 0;
    background: #f8fafc;
}

.product-features__header {
    text-align: center;
    margin-bottom: 60px;
}

.product-features__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}

.product-features__subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.product-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
}

.feature-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-navy) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.feature-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.feature-card__description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.feature-card__benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.875rem;
    color: #374151;
}

.feature-card__benefit::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 12px;
    flex-shrink: 0;
}

/* Use Cases Section */
.product-use-cases {
    padding: 80px 0;
    background: white;
}

.product-use-cases__header {
    text-align: center;
    margin-bottom: 60px;
}

.product-use-cases__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}

.product-use-cases__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.use-case-card {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.use-case-card__icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.use-case-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.use-case-card__description {
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}

.use-case-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-card__feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.875rem;
    color: #374151;
}

.use-case-card__feature::before {
    content: '•';
    color: var(--primary-blue);
    font-weight: 600;
}

/* Specifications Section */
.product-specs {
    padding: 80px 0;
    background: #f8fafc;
}

.product-specs__header {
    text-align: center;
    margin-bottom: 60px;
}

.product-specs__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}

.product-specs__tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.product-specs__tab {
    padding: 12px 24px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-specs__tab--active,
.product-specs__tab:hover {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.product-specs__content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.product-specs__table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs__table tr {
    border-bottom: 1px solid #f1f5f9;
}

.product-specs__table tr:last-child {
    border-bottom: none;
}

.product-specs__table td {
    padding: 16px 0;
    vertical-align: top;
}

.product-specs__table td:first-child {
    font-weight: 600;
    color: #1e293b;
    width: 40%;
}

.product-specs__table td:last-child {
    color: #64748b;
}

/* Pricing Section */
.product-pricing {
    padding: 80px 0;
    background: white;
}

.product-pricing__header {
    text-align: center;
    margin-bottom: 60px;
}

.product-pricing__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}

.product-pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card--popular {
    border-color: var(--primary-blue);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

.pricing-card--popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card__name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.pricing-card__price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.pricing-card__billing {
    color: #64748b;
    margin-bottom: 16px;
}

.pricing-card__description {
    color: #64748b;
    margin-bottom: 32px;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.pricing-card__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.875rem;
    color: #374151;
}

.pricing-card__feature::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 12px;
    flex-shrink: 0;
}

.pricing-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 28px;
    background: var(--primary-blue);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pricing-card__cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* CTA Section */
.product-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-navy) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.product-cta__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-cta__subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.product-cta__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.product-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-cta__btn--primary {
    background: white;
    color: var(--primary-blue);
}

.product-cta__btn--primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-cta__btn--secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.product-cta__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.product-cta__features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-hero__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-features__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 32px;
    }
    
    .product-use-cases__grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 80px 0 60px;
    }
    
    .product-hero__title {
        font-size: 2.5rem;
    }
    
    .product-features,
    .product-use-cases,
    .product-specs,
    .product-pricing,
    .product-cta {
        padding: 60px 0;
    }
    
    .product-features__title,
    .product-use-cases__title,
    .product-specs__title,
    .product-pricing__title,
    .product-cta__title {
        font-size: 2rem;
    }
    
    .pricing-card--popular {
        transform: none;
    }
    
    .pricing-card:hover {
        transform: translateY(-4px);
    }
    
    .product-specs__tabs {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .product-hero__title {
        font-size: 2rem;
    }
    
    .feature-card,
    .use-case-card {
        padding: 24px;
    }
    
    .product-cta__features {
        flex-direction: column;
        gap: 12px;
    }
}
