/* =========================================
   MrSolution v2018 - Product Pages Styles
   ========================================= */

/* =========================================
   Product Page Variables
   Inherits from root theme so all themes propagate to product pages
   ========================================= */
:root {
    /* Product-specific colors - reference global theme tokens */
    --product-primary: var(--primary-color, #3D2F7A);
    --product-primary-light: var(--primary-light, #4A3A8F);
    --product-accent: var(--accent-color, #6B4FBB);
    --product-steel: var(--secondary-color, #4A6FA5);
    --product-bg-light: var(--bg-light, #F3F0FF);
    --product-bg-gray: var(--bg-gray, #F8F9FA);
    --product-border: var(--border-color, #E8E8F0);
    --product-text: var(--text-color, #2C3E50);
    --product-text-muted: var(--text-muted, #6B7280);
    
    /* Product gradients - reference global theme tokens */
    --product-gradient: var(--primary-gradient, linear-gradient(135deg, #3D2F7A 0%, #6B4FBB 100%));
    --product-gradient-light: linear-gradient(135deg, var(--bg-light, #F3F0FF) 0%, var(--border-color, #E8E8F0) 100%);
    --product-gradient-radial: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent-color, #6B4FBB) 10%, transparent) 0%, transparent 50%);
}

/* =========================================
   Product Page Layout
   ========================================= */
.product-page {
    background: var(--white);
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* =========================================
   Product Hero Section
   ========================================= */
.product-hero {
    position: relative;
    background: var(--product-gradient);
    color: var(--white);
    padding: var(--spacing-4xl) 0;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--product-gradient-radial);
    pointer-events: none;
}

.product-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--white);
    transform: skewY(-2deg);
}

.product-hero .product-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.product-hero-content {
    max-width: 600px;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-badge i {
    color: #FFD700;
}

.product-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.product-hero-title .highlight {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-hero-description {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: var(--spacing-xl);
}

.product-hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: #FFD700;
}

.hero-stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.product-hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.product-hero-image {
    position: relative;
}

.product-hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.product-hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    filter: blur(40px);
}

/* =========================================
   Product Breadcrumb
   ========================================= */
.product-breadcrumb {
    padding: var(--spacing-md) 0;
    background: var(--product-bg-light);
    border-bottom: 1px solid var(--product-border);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: var(--font-size-sm);
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.breadcrumb-list li::after {
    content: '/';
    color: var(--product-text-muted);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--product-steel);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
    color: var(--product-primary);
}

.breadcrumb-list .current {
    color: var(--product-text-muted);
}

/* =========================================
   Product Overview Section
   ========================================= */
.product-overview {
    padding: var(--spacing-4xl) 0;
    background: var(--white);
}

.product-overview-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-label {
    display: inline-block;
    background: var(--product-bg-light);
    color: var(--product-accent);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--product-text);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--product-text-muted);
    line-height: 1.7;
}

/* =========================================
   Product FAQ Section
   ========================================= */
.faq-section {
    padding: var(--spacing-4xl) 0;
    background: var(--product-bg-gray);
}

.faq-container {
    max-width: 900px;
    margin: var(--spacing-2xl) auto 0;
    display: grid;
    gap: var(--spacing-md);
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--product-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--product-text);
    text-align: left;
}

.faq-question i {
    color: var(--product-primary);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 220px;
}

.faq-answer p {
    padding: 0 var(--spacing-xl) var(--spacing-xl);
    color: var(--product-text-muted);
    line-height: 1.7;
}

/* =========================================
   Product Features Grid
   ========================================= */
.product-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.product-feature-card {
    background: var(--white);
    border: 1px solid var(--product-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.product-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--product-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.product-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--product-accent);
}

.product-feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    background: var(--product-bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-base);
}

.feature-card-icon i {
    font-size: var(--font-size-2xl);
    color: var(--product-accent);
}

.product-feature-card:hover .feature-card-icon {
    background: var(--product-gradient);
}

.product-feature-card:hover .feature-card-icon i {
    color: var(--white);
}

.feature-card-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--product-text);
    margin-bottom: var(--spacing-sm);
}

.feature-card-description {
    font-size: var(--font-size-base);
    color: var(--product-text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.feature-card-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card-benefits li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--product-text);
    padding: var(--spacing-xs) 0;
}

.feature-card-benefits li i {
    color: var(--success-color);
    font-size: var(--font-size-xs);
}

.feature-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--product-accent);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-decoration: none;
    margin-top: var(--spacing-md);
    transition: gap var(--transition-fast);
}

.feature-card-link:hover {
    gap: var(--spacing-sm);
}

/* =========================================
   Product Modules Section
   ========================================= */
.product-modules {
    padding: var(--spacing-4xl) 0;
    background: var(--product-bg-light);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.module-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
}

.module-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--product-accent);
}

.module-icon {
    width: 50px;
    height: 50px;
    background: var(--product-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.module-icon i {
    font-size: var(--font-size-xl);
    color: var(--white);
}

.module-content {
    flex: 1;
}

.module-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--product-text);
    margin-bottom: var(--spacing-xs);
}

.module-description {
    font-size: var(--font-size-sm);
    color: var(--product-text-muted);
    line-height: 1.5;
}

.module-arrow {
    color: var(--product-accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

.module-card:hover .module-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   Product Benefits Section
   ========================================= */
.product-benefits {
    padding: var(--spacing-4xl) 0;
    background: var(--white);
}

.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.benefits-image {
    position: relative;
}

.benefits-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.benefits-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--product-bg-light);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.benefit-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--product-bg-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.benefit-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--product-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: var(--font-size-xl);
    color: var(--white);
}

.benefit-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--product-text);
    margin-bottom: var(--spacing-xs);
}

.benefit-content p {
    font-size: var(--font-size-sm);
    color: var(--product-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   Product Comparison Table
   ========================================= */
.product-comparison {
    padding: var(--spacing-4xl) 0;
    background: var(--product-bg-light);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.comparison-table th,
.comparison-table td {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    border-bottom: 1px solid var(--product-border);
}

.comparison-table thead th {
    background: var(--product-gradient);
    color: var(--white);
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table thead th:first-child {
    border-radius: var(--radius-lg) 0 0 0;
}

.comparison-table thead th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
}

.comparison-table tbody tr:hover {
    background: var(--product-bg-light);
}

.comparison-table .feature-name {
    font-weight: 500;
    color: var(--product-text);
}

.comparison-table .check {
    color: var(--success-color);
    font-size: var(--font-size-lg);
}

.comparison-table .cross {
    color: var(--product-text-muted);
    font-size: var(--font-size-lg);
}

.comparison-table .plan-header {
    text-align: center;
    min-width: 150px;
}

.comparison-table .plan-price {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--product-accent);
}

.comparison-table .plan-period {
    font-size: var(--font-size-sm);
    color: var(--product-text-muted);
}

/* =========================================
   Product Testimonials
   ========================================= */
.product-testimonials {
    padding: var(--spacing-4xl) 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.testimonial-card {
    background: var(--product-bg-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-lg);
    font-size: 4rem;
    color: var(--product-accent);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-size: var(--font-size-base);
    color: var(--product-text);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h5 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--product-text);
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: var(--font-size-sm);
    color: var(--product-text-muted);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-top: var(--spacing-sm);
}

.testimonial-rating i {
    color: #FFD700;
    font-size: var(--font-size-sm);
}

/* =========================================
   Product CTA Section
   ========================================= */
.product-cta-section {
    padding: var(--spacing-4xl) 0;
    background: var(--product-gradient);
    position: relative;
    overflow: hidden;
}

.product-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.product-cta-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.product-cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.product-cta-content p {
    font-size: var(--font-size-lg);
    opacity: 0.95;
    margin-bottom: var(--spacing-xl);
}

.product-cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.cta-feature i {
    color: #FFD700;
}

/* =========================================
   Related Products Section
   ========================================= */
.related-products {
    padding: var(--spacing-4xl) 0;
    background: var(--product-bg-light);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.related-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--product-border);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.related-card-image {
    height: 180px;
    background: var(--product-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-card-image i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.related-card-content {
    padding: var(--spacing-lg);
}

.related-card-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--product-text);
    margin-bottom: var(--spacing-sm);
}

.related-card-description {
    font-size: var(--font-size-sm);
    color: var(--product-text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.related-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--product-accent);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* =========================================
   Product History Page
   ========================================= */
.history-hero .product-container {
    display: block;
}

.history-hero-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.history-stats-section {
    padding-top: 0;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.history-stat-card {
    text-align: center;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--product-border);
    box-shadow: var(--shadow-sm);
}

.history-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--product-primary);
    margin-bottom: var(--spacing-xs);
}

.history-stat-label {
    font-size: var(--font-size-sm);
    color: var(--product-text-muted);
}

.history-origin-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
}

.history-origin-copy p {
    margin-bottom: var(--spacing-md);
    color: var(--product-text-muted);
    line-height: 1.7;
}

.history-origin-points {
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background: var(--product-bg-light);
    border: 1px solid var(--product-border);
}

.history-origin-points h3 {
    margin-bottom: var(--spacing-md);
    color: var(--product-text);
}

.history-origin-points ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--spacing-sm);
}

.history-origin-points li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--product-text);
}

.history-origin-points li i {
    color: var(--success-color);
    margin-top: 3px;
}

.history-timeline-section {
    background: var(--product-bg-light);
}

.history-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 44px;
}

.history-timeline::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: var(--radius-full);
    background: linear-gradient(to bottom, var(--product-primary), var(--product-accent));
}

.history-timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.history-timeline-item:last-child {
    margin-bottom: 0;
}

.history-timeline-dot {
    position: absolute;
    left: -36px;
    top: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--product-primary);
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.history-timeline-item.current .history-timeline-dot {
    background: var(--success-color);
}

.history-timeline-content {
    background: var(--white);
    border: 1px solid var(--product-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.history-timeline-content h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--product-text);
}

.history-timeline-date {
    color: var(--product-accent);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.history-timeline-content p {
    color: var(--product-text-muted);
    margin: 0;
    line-height: 1.7;
}

.history-evolution-grid .product-feature-card {
    height: 100%;
}

.history-relevance {
    background: var(--product-bg-light);
}

.history-relevance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.history-relevance-card {
    background: var(--white);
    border: 1px solid var(--product-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.history-relevance-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--product-text);
}

.history-relevance-card p {
    margin: 0;
    color: var(--product-text-muted);
    line-height: 1.7;
}

.history-version-panel {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--product-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
}

.history-version-badge {
    display: inline-block;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: var(--product-accent);
    background: var(--product-bg-light);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
}

.history-version-panel h2 {
    color: var(--product-text);
    margin-bottom: var(--spacing-sm);
}

.history-version-meta {
    color: var(--product-accent);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.history-version-panel p {
    color: var(--product-text-muted);
    line-height: 1.7;
}

.history-version-links {
    margin-top: var(--spacing-lg);
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.history-cta-primary {
    background: #FFD700;
    color: #2C3E50;
}

.history-cta-primary:hover {
    background: #F5CC00;
    color: #1F2D3A;
}

.history-cta-outline {
    border-color: var(--white);
    color: var(--white);
}

.history-cta-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

/* =========================================
   Version Timeline
   ========================================= */
.version-timeline {
    padding: var(--spacing-4xl) 0;
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--product-border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-2xl);
    display: flex;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: var(--spacing-2xl);
    padding-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: var(--spacing-2xl);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--product-accent);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.timeline-marker.current {
    width: 24px;
    height: 24px;
    background: var(--success-color);
}

.timeline-content {
    width: calc(50% - 20px);
    background: var(--product-bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.timeline-date {
    font-size: var(--font-size-sm);
    color: var(--product-accent);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.timeline-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--product-text);
    margin-bottom: var(--spacing-sm);
}

.timeline-description {
    font-size: var(--font-size-sm);
    color: var(--product-text-muted);
    line-height: 1.6;
}

/* =========================================
   Release Notes
   ========================================= */
.release-notes {
    padding: var(--spacing-4xl) 0;
    background: var(--product-bg-light);
}

.release-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--product-border);
}

.release-header {
    background: var(--product-gradient);
    color: var(--white);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.release-version {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.release-date {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.release-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.release-badge.latest {
    background: #FFD700;
    color: var(--product-text);
}

.release-body {
    padding: var(--spacing-xl);
}

.release-section {
    margin-bottom: var(--spacing-xl);
}

.release-section:last-child {
    margin-bottom: 0;
}

.release-section h4 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--product-text);
    margin-bottom: var(--spacing-md);
}

.release-section h4 i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
}

.release-section h4 i.fa-star {
    background: #E8F5E9;
    color: var(--success-color);
}

.release-section h4 i.fa-bug {
    background: #FFF3E0;
    color: var(--warning-color);
}

.release-section h4 i.fa-bolt {
    background: #E3F2FD;
    color: var(--info-color);
}

.release-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.release-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--product-text);
    border-bottom: 1px solid var(--product-border);
}

.release-list li:last-child {
    border-bottom: none;
}

.release-list li i {
    color: var(--product-accent);
    margin-top: 3px;
}

/* =========================================
   Pricing Cards
   ========================================= */
.pricing-section {
    padding: var(--spacing-4xl) 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 2px solid var(--product-border);
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--product-accent);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--product-gradient);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--product-border);
    margin-bottom: var(--spacing-lg);
}

.pricing-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--product-text);
    margin-bottom: var(--spacing-sm);
}

.pricing-price {
    margin-bottom: var(--spacing-sm);
}

.pricing-amount {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--product-primary);
}

.pricing-currency {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.pricing-period {
    font-size: var(--font-size-sm);
    color: var(--product-text-muted);
}

.pricing-description {
    font-size: var(--font-size-sm);
    color: var(--product-text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-xl);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--product-text);
}

.pricing-features li i.fa-check {
    color: var(--success-color);
}

.pricing-features li i.fa-times {
    color: var(--product-text-muted);
}

.pricing-features li.disabled {
    color: var(--product-text-muted);
    text-decoration: line-through;
}

.pricing-cta {
    width: 100%;
}

/* =========================================
   Module Page Specific Styles
   ========================================= */
.module-hero {
    background: var(--product-gradient);
    color: var(--white);
    padding: var(--spacing-3xl) 0;
}

.module-hero-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.module-hero-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-hero-icon i {
    font-size: 3rem;
    color: var(--white);
}

.module-hero-text h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.module-hero-text p {
    font-size: var(--font-size-lg);
    opacity: 0.95;
    max-width: 600px;
}

/* =========================================
   Industry Page Specific Styles
   ========================================= */
.industry-hero {
    background: var(--product-gradient);
    color: var(--white);
    padding: var(--spacing-4xl) 0;
    position: relative;
    overflow: hidden;
}

.industry-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.industry-stats {
    display: flex;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.industry-stat {
    text-align: center;
}

.industry-stat-value {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: #FFD700;
}

.industry-stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.industry-challenges {
    padding: var(--spacing-4xl) 0;
    background: var(--product-bg-light);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.challenge-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--product-border);
}

.challenge-icon {
    width: 60px;
    height: 60px;
    background: #FFF3E0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.challenge-icon i {
    font-size: var(--font-size-xl);
    color: var(--warning-color);
}

.challenge-card h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--product-text);
    margin-bottom: var(--spacing-sm);
}

.challenge-card p {
    font-size: var(--font-size-sm);
    color: var(--product-text-muted);
    margin: 0;
}

/* =========================================
   Responsive Styles for Product Pages
   ========================================= */
@media (max-width: 1024px) {
    .product-hero .product-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-hero-content {
        margin: 0 auto;
    }
    
    .product-hero-stats {
        justify-content: center;
    }
    
    .product-hero-cta {
        justify-content: center;
    }
    
    .product-hero-image {
        display: none;
    }
    
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .benefits-image {
        order: -1;
    }
    
    .module-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .module-hero-icon {
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: var(--spacing-3xl) 0;
    }
    
    .product-hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px;
        padding-left: var(--spacing-lg);
        padding-right: var(--spacing-lg);
        text-align: left;
    }
    
    .product-features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .release-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .industry-stats {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .product-container {
        padding: 0 var(--spacing-md);
    }
    
    .product-hero-title {
        font-size: 2rem;
    }
    
    .product-hero-cta {
        flex-direction: column;
    }
    
    .product-hero-cta .btn {
        width: 100%;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Print Styles
   ========================================= */
@media print {
    .product-hero::after,
    .product-cta-section::before {
        display: none;
    }
    
    .product-hero,
    .product-cta-section {
        background: var(--product-primary) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
/* =========================================
   Product Image Slider (Swiper.js Integration)
   10-Image Gallery for Nepal Business Products
   ========================================= */

/* Slider Container */
.product-gallery-section {
    padding: var(--spacing-3xl) 0;
    background: var(--product-bg-gray);
}

.product-gallery-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.product-gallery-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--product-bg-light);
    color: var(--product-primary);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.product-gallery-section .section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--product-text);
    margin-bottom: var(--spacing-md);
}

/* Main Swiper Container */
.product-swiper-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 50px;
}

.product-swiper {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

/* Individual Slides */
.product-swiper .swiper-slide {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.product-slide-image {
    position: relative;
    width: 100%;
    padding-top: 62.5%; /* 16:10 aspect ratio */
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.product-slide-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-swiper .swiper-slide:hover .product-slide-image img {
    transform: scale(1.03);
}

/* Slide Caption */
.product-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.product-slide-caption h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.product-slide-caption p {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    margin: 0;
}

/* Slide Number Badge */
.product-slide-number {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--product-primary);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 600;
    z-index: 10;
}

/* Feature Badge on Slides */
.product-slide-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(255, 255, 255, 0.95);
    color: var(--product-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.product-slide-badge i {
    color: #27AE60;
}

/* Swiper Navigation Arrows */
.product-swiper-container .swiper-button-next,
.product-swiper-container .swiper-button-prev {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    color: var(--product-primary);
    transition: all var(--transition-fast);
}

.product-swiper-container .swiper-button-next:hover,
.product-swiper-container .swiper-button-prev:hover {
    background: var(--product-primary);
    color: var(--white);
    transform: scale(1.1);
}

.product-swiper-container .swiper-button-next::after,
.product-swiper-container .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
}

/* Swiper Pagination Dots */
.product-swiper-container .swiper-pagination {
    position: relative;
    margin-top: var(--spacing-lg);
}

.product-swiper-container .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--product-border);
    opacity: 1;
    transition: all var(--transition-fast);
}

.product-swiper-container .swiper-pagination-bullet-active {
    background: var(--product-primary);
    width: 30px;
    border-radius: var(--radius-full);
}

/* Thumbnail Navigation Strip */
.product-thumbs-container {
    margin-top: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.product-thumbs {
    padding: var(--spacing-sm) 0;
}

.product-thumbs .swiper-slide {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.product-thumbs .swiper-slide:hover {
    opacity: 0.8;
}

.product-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--product-primary);
}

.product-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fullscreen Gallery View */
.product-gallery-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.product-gallery-fullscreen.active {
    display: flex;
}

.product-gallery-fullscreen .close-fullscreen {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.product-gallery-fullscreen .close-fullscreen:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
}

/* Fullscreen Toggle Button */
.fullscreen-btn {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.fullscreen-btn:hover {
    background: var(--product-primary);
}

/* Auto-play Progress Bar */
.swiper-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--product-accent);
    border-radius: 0 2px 2px 0;
    transition: width 0.1s linear;
    z-index: 20;
}

/* Gallery Counter */
.product-gallery-counter {
    text-align: center;
    margin-top: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--product-text-muted);
}

.product-gallery-counter .current {
    font-weight: 700;
    color: var(--product-primary);
}

/* Nepal Business Context Labels */
.nepal-context-label {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, #dc143c 0%, #003893 100%);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.nepal-context-label::before {
    content: '🇳🇵';
}

/* Image Loading Skeleton */
.product-slide-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* =========================================
   Product Gallery Responsive Styles
   ========================================= */
@media (max-width: 992px) {
    .product-swiper-container {
        padding: 0 40px;
    }
    
    .product-swiper-container .swiper-button-next,
    .product-swiper-container .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .product-swiper-container .swiper-button-next::after,
    .product-swiper-container .swiper-button-prev::after {
        font-size: 16px;
    }
    
    .product-thumbs .swiper-slide {
        width: 70px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .product-gallery-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .product-swiper-container {
        padding: 0 16px;
    }
    
    .product-swiper-container .swiper-button-next,
    .product-swiper-container .swiper-button-prev {
        display: none;
    }
    
    .product-slide-caption {
        padding: var(--spacing-md);
    }
    
    .product-slide-caption h4 {
        font-size: var(--font-size-base);
    }
    
    .product-slide-caption p {
        font-size: var(--font-size-xs);
    }
    
    .product-thumbs-container {
        display: none;
    }
    
    .product-gallery-section .section-title {
        font-size: var(--font-size-2xl);
    }
}

@media (max-width: 480px) {
    .product-slide-number {
        width: 28px;
        height: 28px;
        font-size: var(--font-size-xs);
    }
    
    .product-slide-badge {
        padding: 2px 8px;
        font-size: 10px;
    }
    
    .fullscreen-btn {
        width: 32px;
        height: 32px;
    }
}