/* ===== Product Pages Styles ===== */

/* ===== Theme Variables ===== */
.theme-purple {
    --theme-primary: #a855f7;
    --theme-primary-light: #c084fc;
    --theme-primary-dark: #7c3aed;
    --theme-gradient: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --theme-glow: rgba(168, 85, 247, 0.3);
}

.theme-blue {
    --theme-primary: #3b82f6;
    --theme-primary-light: #60a5fa;
    --theme-primary-dark: #2563eb;
    --theme-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --theme-glow: rgba(59, 130, 246, 0.3);
}

/* ===== Product Hero ===== */
.product-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
}

.product-hero .hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb-purple-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
    top: -300px;
    right: -200px;
}

.orb-purple-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.orb-purple-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.2) 0%, transparent 70%);
    top: 40%;
    left: 30%;
}

.orb-blue-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    top: -300px;
    left: -200px;
}

.orb-blue-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
}

.orb-blue-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
    top: 40%;
    right: 30%;
}

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

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.product-badge.purple {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--accent-purple-light);
}

.product-badge.blue {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-blue-light);
}

.badge-icon {
    font-size: 1rem;
}

.product-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.product-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.product-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.product-stat {
    text-align: center;
}

.product-stat .stat-value {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.theme-purple .product-stat .stat-value {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-blue .product-stat .stat-value {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-stat .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== Product Features ===== */
.product-features {
    padding: var(--section-padding) 0;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon-large {
    width: 200px;
    height: 200px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-icon-large::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 42px;
    padding: 2px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.feature-icon-large.purple {
    background: rgba(168, 85, 247, 0.1);
}

.feature-icon-large.purple::before {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.5) 0%, transparent 100%);
}

.feature-icon-large.blue {
    background: rgba(59, 130, 246, 0.1);
}

.feature-icon-large.blue::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5) 0%, transparent 100%);
}

.feature-icon-large svg {
    width: 80px;
    height: 80px;
}

.feature-icon-large.purple svg {
    color: var(--accent-purple-light);
}

.feature-icon-large.blue svg {
    color: var(--accent-blue-light);
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-content > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.feature-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.feature-points li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.theme-purple .feature-points li::before {
    background: var(--accent-purple);
}

.theme-blue .feature-points li::before {
    background: var(--accent-blue);
}

/* ===== Workflow Section ===== */
.workflow-section {
    padding: var(--section-padding) 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all var(--transition-normal);
}

.workflow-step:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.step-number {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0.5;
}

.theme-purple .step-number {
    color: var(--accent-purple-light);
}

.theme-blue .step-number {
    color: var(--accent-blue-light);
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.theme-purple .step-icon {
    background: rgba(168, 85, 247, 0.1);
}

.theme-blue .step-icon {
    background: rgba(59, 130, 246, 0.1);
}

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

.theme-purple .step-icon svg {
    color: var(--accent-purple-light);
}

.theme-blue .step-icon svg {
    color: var(--accent-blue-light);
}

.workflow-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.workflow-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.workflow-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
}

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

/* ===== Product CTA ===== */
.product-cta {
    padding: var(--section-padding) 0;
}

.cta-box {
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.cta-box.purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.cta-box.purple::before {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.5) 0%, rgba(124, 58, 237, 0.2) 100%);
}

.cta-box.blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.cta-box.blue::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5) 0%, rgba(37, 99, 235, 0.2) 100%);
}

.cta-box .cta-content {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-box > .cta-content > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

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

.btn-white {
    background: white;
    color: #0a0a0f;
    font-weight: 600;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== Enterprise Section ===== */
.enterprise-section {
    padding: var(--section-padding) 0;
}

.enterprise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.enterprise-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.enterprise-content > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.enterprise-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.enterprise-feature {
    display: flex;
    gap: 20px;
}

.enterprise-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.theme-blue .enterprise-feature-icon {
    background: rgba(59, 130, 246, 0.1);
}

.theme-blue .enterprise-feature-icon svg {
    color: var(--accent-blue-light);
}

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

.enterprise-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.enterprise-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.enterprise-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.enterprise-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
}

.enterprise-stat {
    text-align: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.enterprise-stat:last-child {
    border-bottom: none;
}

.enterprise-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.theme-blue .enterprise-stat-value {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.enterprise-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.testimonial-quote {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== Navigation Active State ===== */
.nav-links a.active {
    color: var(--text-primary);
}

.theme-purple .nav-links a.active {
    color: var(--accent-purple-light);
}

.theme-blue .nav-links a.active {
    color: var(--accent-blue-light);
}

/* ===== Product Showcase Section ===== */
.product-showcase {
    padding: var(--section-padding) 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.showcase-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.showcase-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.showcase-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse > * {
    direction: ltr;
}

.showcase-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.showcase-content > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.showcase-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.showcase-feature::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.theme-purple .showcase-feature::before {
    background: var(--accent-purple);
}

.theme-blue .showcase-feature::before {
    background: var(--accent-blue);
}

.showcase-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.showcase-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.showcase-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.showcase-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
}

.showcase-image-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px;
}

.showcase-image-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
}

.showcase-image-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.showcase-image h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.showcase-image p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.showcase-ui-elements {
    position: absolute;
    inset: 20px;
    pointer-events: none;
}

.showcase-ui-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.showcase-ui-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.showcase-ui-dot:nth-child(1) { background: #ff5f57; }
.showcase-ui-dot:nth-child(2) { background: #febc2e; }
.showcase-ui-dot:nth-child(3) { background: #28c840; }

.showcase-ui-sidebar {
    position: absolute;
    top: 60px;
    left: 0;
    width: 60px;
    bottom: 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 0 0 8px;
}

.showcase-ui-content {
    position: absolute;
    top: 60px;
    left: 80px;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.showcase-ui-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-ui-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.showcase-ui-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
}

.showcase-ui-lines {
    flex: 1;
}

.showcase-ui-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 6px;
}

.showcase-ui-line:nth-child(1) { width: 60%; }
.showcase-ui-line:nth-child(2) { width: 40%; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .feature-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-item.reverse {
        direction: ltr;
    }
    
    .enterprise-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .workflow-steps {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .product-hero-title {
        font-size: 2.5rem;
    }
    
    .product-stats {
        gap: 30px;
    }
    
    .feature-icon-large {
        width: 150px;
        height: 150px;
    }
    
    .feature-icon-large svg {
        width: 60px;
        height: 60px;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-box {
        padding: 60px 30px;
    }
    
    .cta-box h2 {
        font-size: 1.75rem;
    }
    
    .enterprise-content h2 {
        font-size: 1.75rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-hero-title {
        font-size: 2rem;
    }
    
    .feature-icon-large {
        width: 120px;
        height: 120px;
    }
    
    .feature-icon-large svg {
        width: 48px;
        height: 48px;
    }
    
    .workflow-step {
        min-width: 100%;
    }
    
    .showcase-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .showcase-item.reverse {
        direction: ltr;
    }
    
    .showcase-header h2 {
        font-size: 1.75rem;
    }
    
    .showcase-content h3 {
        font-size: 1.5rem;
    }
}
