/* Product Page Specific Styles - MODERN LIGHT THEME */

/*
 * IMPORTANT: THEME OVERRIDE REQUIRED
 *
 * The main styles.css file applies a dark theme to the entire site:
 * - background: #0f172a (dark blue)
 * - color: #e2e8f0 (light gray)
 *
 * However, the product page is designed for a LIGHT THEME with:
 * - Light backgrounds for readability
 * - Dark text for proper contrast
 * - Glassmorphism effects that require light backgrounds
 *
 * WITHOUT the body override below, the page will appear COMPLETELY BLANK
 * because dark text on dark background = invisible content.
 *
 * The !important declarations are REQUIRED to override the main theme.
 * Do NOT remove these overrides or the page will break.
 *
 * Last fix applied: July 3, 2025
 * Issue: Blank page due to dark theme conflict
 * Solution: Force light theme with !important overrides
 */

/* Override dark theme for product page - REQUIRED FOR VISIBILITY */
html body,
body.product-page,
body {
    font-family: 'Inter', sans-serif !important;
    line-height: 1.6 !important;
    color: #1f2937 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%) !important;
    background-color: #ffffff !important;
    background-image: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    position: relative !important;
}

body::before {
    content: '' !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.05) 0%, transparent 50%) !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-header {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.product-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(120, 119, 198, 0.03) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.product-intro {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.product-logo {
    flex-shrink: 0;
    position: relative;
}

.logo-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3), 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.logo-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.logo-placeholder:hover::before {
    left: 100%;
}

.product-meta h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-tagline {
    font-size: 1.4rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 500;
}

.product-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.badge:hover::before {
    left: 100%;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.3);
}

/* Product Overview */
.product-overview {
    padding: 3rem 0;
    background: white;
}

.product-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #1f2937 !important;
}

.overview-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 2rem;
}

.key-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.highlight h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.highlight p {
    color: #5a6c7d;
    font-size: 1rem;
    margin: 0;
}

/* Use Cases Section - Dashboard Layout */
.use-cases-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.use-cases-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #1f2937 !important;
}

/* Force override for section subtitle visibility */
/* =========================
   Uniform Page Contents (TOC)
   ========================= */
.page-contents {
    margin: 2.5rem 0 3rem;
    padding: 1.25rem 1.5rem 1.5rem;
    background: linear-gradient(135deg,#f8fafc,#f1f5f9);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 18px -6px rgba(15,23,42,0.08);
    position: sticky; /* Keep visible while scrolling */
    top: 70px; /* Adjust if navbar height changes */
    z-index: 60; /* Above other content but below overlays */
    backdrop-filter: blur(6px);
}
.page-contents h2 {
    margin: 0 0 .9rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: .5px;
}
.page-contents ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem .7rem;
}
.page-contents ul li a {
    display: inline-block;
    padding: .42rem .75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 500;
    text-decoration: none;
    color: #1e293b;
    line-height: 1;
    transition: background .18s,border-color .18s,color .18s,box-shadow .18s;
    position: relative;
}
.page-contents ul li a:focus-visible { outline: 2px solid #6366f1; outline-offset: 2px; }
.page-contents ul li a:hover,
.page-contents ul li a:focus {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99,102,241,.25);
}
@media (max-width:640px){
  .page-contents { padding: 1rem 1rem 1.1rem; }
  .page-contents ul { gap: .45rem .55rem; }
  .page-contents ul li a { font-size: .7rem; padding: .38rem .65rem; }
}

body .section-subtitle {
    text-align: center !important;
    color: #000000 !important;
    font-size: 1.25rem !important;
    margin-bottom: 4rem !important;
    font-weight: 500 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    -webkit-text-fill-color: #000000 !important;
}

.integrations-section .section-subtitle {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* Dashboard Layout */
.use-cases-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Central Dashboard Hub */
.dashboard-center {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: white;
    margin: 0 auto 4rem;
    max-width: 300px;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hub-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.dashboard-center h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.dashboard-center p {
    margin: 0 0 1rem 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.hub-stats {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    contain: layout style;
    will-change: transform;
}

/* Use Case Panels */
.use-case-panel {
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(100px) scale(0.7) rotateX(20deg);
    filter: blur(5px);
    will-change: transform, opacity, filter;
}

.use-case-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.use-case-panel:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.use-case-panel:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

.use-case-panel:hover::before {
    opacity: 1;
}

.use-case-panel.active {
    border-color: #667eea;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.4);
}

.use-case-panel.active::before {
    opacity: 1;
}

.use-case-panel.appear {
    animation: fadeInUp 0.8s cubic-bezier(.4,2,.6,1) forwards;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .use-case-panel {
        transition: none;
    }
    
    .use-case-panel:hover {
        transform: none;
    }
}

/* Panel Header */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.use-case-icon {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.quick-rating {
    font-size: 0.9rem;
    color: #fbbf24;
    font-weight: 600;
    background: rgba(251, 191, 36, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Panel Content */
.use-case-panel h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937 !important;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
    flex-shrink: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.use-case-preview {
    color: #4b5563 !important;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
    text-align: justify;
    text-justify: inter-word;
    overflow-wrap: break-word;
}

/* Detail Panel */
.use-case-detail-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    opacity: 0;
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 100;
}

.use-case-detail-panel.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.use-case-detail-panel .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.use-case-detail-panel .panel-header h3 {
    color: #f1f5f9;
    margin: 0;
    font-size: 1.5rem;
}

.panel-close {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.panel-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

.use-case-detail-panel .panel-body {
    padding: 2rem;
    color: #cbd5e1;
    line-height: 1.6;
}

/* Analysis Content Styles */
.analysis-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.rating-display {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.rating-stars {
    font-size: 2rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.rating-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
}

.strengths-section, .limitations-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.strengths-section h4, .limitations-section h4 {
    color: #f1f5f9;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.strengths-list, .limitations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strengths-list li, .limitations-list li {
    padding: 0.5rem 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.strengths-list li:last-child, .limitations-list li:last-child {
    border-bottom: none;
}

.strengths-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

.limitations-list li::before {
    content: '⚠';
    color: #f59e0b;
    margin-right: 0.5rem;
}

.context-info, .integration-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.context-info h4, .integration-details h4 {
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.context-info p, .integration-details p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.6;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
}

.use-case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.use-case-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0;
}

.use-case-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
}

.star {
    color: #e5e7eb;
}

.star.filled {
    color: #fbbf24;
}

.star.half {
    background: linear-gradient(90deg, #fbbf24 50%, #e5e7eb 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-score {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.125rem;
}

.use-case-description {
    font-size: 1.125rem;
    color: #5a6c7d;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.evaluation h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.evaluation ul {
    list-style: none;
    padding: 0;
}

.evaluation li {
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
}

.evaluation li:before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.rating-criteria {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Integrations Section */
.integrations-section {
    padding: 3rem 0;
    background: white;
}

.integrations-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #1f2937 !important;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.integration-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
}

.integration-card:hover {
    transform: translateY(-5px);
}

.integration-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.integration-icon {
    font-size: 2rem;
}

.integration-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.integration-value p {
    line-height: 1.7;
    opacity: 0.95;
}

/* Integration Actions - Force Override */
.integration-card .integration-actions {
    display: flex !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.integration-card .integration-btn {
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 0.9rem !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    font-family: inherit !important;
}

.integration-card .integration-btn.btn-primary {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.integration-card .integration-btn.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}

.integration-card .integration-btn.btn-demo {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #667eea !important;
    border: 1px solid rgba(255, 255, 255, 1) !important;
}

.integration-card .integration-btn.btn-demo:hover {
    background: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 768px) {
    .integration-card .integration-actions {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .integration-card .integration-btn {
        padding: 0.875rem 1rem !important;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.pricing-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #1f2937 !important;
}

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

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid #667eea;
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: #5a6c7d;
    font-weight: 400;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    padding-left: 1.5rem;
}

.features-list li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.pricing-cta {
    width: 100%;
    padding: 1rem 2rem;
    border: 2px solid #667eea;
    background: transparent;
    color: #667eea;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-cta.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.pricing-cta:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Partners Section */
.partners-section {
    padding: 3rem 0;
    background: white;
}

.partners-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #1f2937 !important;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    opacity: 0;
    transform: translateY(40px);
}

.partner-header {
    margin-bottom: 1.5rem;
}

.partner-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.partner-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5a6c7d;
}

.partner-specialty {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.partner-description {
    color: #5a6c7d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.partner-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-tag {
    padding: 0.375rem 0.75rem;
    background: #667eea;
    color: white;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
}

.partner-pricing {
    font-weight: 600;
    color: #2c3e50;
}

/* Demo Section */
.demo-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
}

.demo-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.demo-container {
    max-width: 1000px;
    margin: 3rem auto 0;
}

.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.demo-tab {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.demo-tab.active,
.demo-tab:hover {
    background: rgba(255, 255, 255, 0.2);
}

.demo-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.demo-pane {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.demo-pane.active {
    display: grid;
}

.screenshot-placeholder {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}

.demo-description h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.demo-description ul {
    list-style: none;
    padding: 0;
}

.demo-description li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.demo-description li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3498db;
}

/* Back Home Section */
.back-home {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.back-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.back-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Interactive Use Case Cards */
.use-cases-interactive {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.use-case-card-interactive {
    background: rgba(45, 55, 72, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.use-case-card-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.use-case-card-interactive:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.3);
}

.use-case-card-interactive:hover::before {
    opacity: 1;
}

.use-case-card-interactive.active {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.use-case-preview {
    position: relative;
    z-index: 2;
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.use-case-preview h3 {
    color: #f8fafc;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.use-case-rating-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.use-case-rating-preview .stars {
    display: flex;
    gap: 2px;
}

.use-case-rating-preview .star {
    color: #fbbf24;
    font-size: 1rem;
}

.use-case-rating-preview .rating-score {
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 500;
}

.use-case-short-desc {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.expand-indicator {
    color: #667eea;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.use-case-card-interactive:hover .expand-indicator {
    color: #7c3aed;
}

/* REMOVED: Old use case details modal - replaced with overlay */

/*
 * ORPHANED CSS - UNUSED AFTER HTML CLEANUP
 * The following CSS was for the old details-container system
 * that was removed from the HTML. Can be deleted in future cleanup.
 * Keeping for now to avoid any potential conflicts.
 */

.details-container {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.details-header {
    display: flex;
    justify-content: flex-end;
    padding: 1.5rem 1.5rem 0;
    position: sticky;
    top: 0;
    background: #1e293b;
    z-index: 10;
}

.close-details {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.close-details:hover {
    background: rgba(255, 255, 255, 0.2);
}

.details-content {
    display: none;
    padding: 0 1.5rem 1.5rem;
}

.details-content.active {
    display: block;
    animation: slideUp 0.3s ease;
}

.details-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.details-left h3 {
    color: #f8fafc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.use-case-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.use-case-rating .stars {
    display: flex;
    gap: 2px;
}

.use-case-rating .star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.use-case-rating .star.half {
    background: linear-gradient(90deg, #fbbf24 50%, #374151 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.use-case-rating .rating-score {
    color: #cbd5e1;
    font-weight: 500;
}

.use-case-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.evaluation h4 {
    color: #f8fafc;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.evaluation ul {
    list-style: none;
    padding: 0;
}

.evaluation li {
    color: #94a3b8;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.evaluation li strong {
    color: #f8fafc;
}

.rating-criteria {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-criteria p {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.5;
}

.rating-criteria strong {
    color: #f8fafc;
}

/* REMOVED: Old use case modal - replaced with overlay */

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.modal-header h3 {
    font-size: 1.5rem;
    color: #f1f5f9;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.stars-large {
    font-size: 1.5rem;
    color: #fbbf24;
}

.score-large {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
}

.analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.strengths, .limitations {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.strengths h4, .limitations h4 {
    color: #f1f5f9;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.strengths ul, .limitations ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strengths li, .limitations li {
    padding: 0.5rem 0;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    line-height: 1.5;
}

.strengths li:last-child, .limitations li:last-child {
    border-bottom: none;
}

.strengths li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

.limitations li::before {
    content: '⚠';
    color: #f59e0b;
    margin-right: 0.5rem;
}

.context-section, .integration-info {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.context-section h4, .integration-info h4 {
    color: #f1f5f9;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.context-section p, .integration-info p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-header, .modal-body {
        padding: 1.5rem;
    }
}

/* Responsive Design for Product Page */
@media (max-width: 768px) {
    .product-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .product-meta h1 {
        font-size: 2rem;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .use-case-panel {
        padding: 1.5rem;
    }
    
    .demo-pane {
        grid-template-columns: 1fr;
    }
    
    .demo-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .partners-grid,
    .integrations-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .use-case-card-interactive {
        padding: 1rem;
    }
    
    .use-case-icon {
        font-size: 2rem;
    }
    
    .details-header {
        padding: 1rem 1rem 0;
    }
    
    .details-content {
        padding: 0 1rem 1rem;
    }
    
    .use-case-content {
        padding: 1.5rem;
    }
    
    .use-case-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .use-case-header h3 {
        font-size: 1.2rem;
    }
}

/* Mobile Responsive for Dashboard Design */
@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .use-case-panel {
        padding: 2rem;
        min-height: 320px;
    }
    
    .use-case-panel h4 {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .use-case-preview {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    /* Enhanced mobile support for complex use case */
    .use-case-panel[data-use-case="complex-sales-scenario"] {
        min-height: 420px;
        padding: 1.8rem;
    }
    
    .use-case-panel[data-use-case="complex-sales-scenario"] h4 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
    }
    
    .use-case-panel[data-use-case="complex-sales-scenario"] .use-case-preview {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: left;
        hyphens: auto;
        word-break: break-word;
    }
    
    .dashboard-center {
        max-width: 280px;
        padding: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .hub-icon {
        font-size: 2.5rem;
    }
    
    .analysis-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .panel-header, .panel-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .use-case-panel {
        padding: 1.5rem;
        min-height: 280px;
    }
    
    .use-case-panel h4 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .use-case-preview {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .use-case-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .quick-rating {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .panel-header, .panel-body {
        padding: 1rem;
    }
    
    .dashboard-center {
        max-width: 250px;
        padding: 1.2rem;
    }
    
    .hub-icon {
        font-size: 2rem;
    }
}

/* Panel Actions Container */
.panel-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

/* Demo Button Styling */
.demo-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    flex-shrink: 0;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.demo-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.demo-button:hover::before {
    left: 100%;
}

/* Loading animation for demo buttons */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.demo-button.loading {
    animation: pulse 1s infinite;
    pointer-events: none;
}

/* Contact Partner Button */
.contact-partner-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.contact-partner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.contact-partner-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* --- FIX: Force Light Theme for Features & Resources Sections --- */
body .features-section, body .resources-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    color: #1f2937 !important;
    border-radius: 2rem !important;
    margin-bottom: 2.5rem !important;
    box-shadow: 0 2px 24px rgba(102, 126, 234, 0.06) !important;
    padding: 3rem 0 !important;
}
body .features-section h2, body .resources-section h2 {
    color: #2c3e50 !important;
}
body .features-grid, body .resources-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 2.5rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    margin-top: 2.5rem !important;
}
body .feature-card, body .resource-card {
    background: rgba(248, 250, 252, 0.95) !important;
    border-radius: 2.5rem !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.10), 0 1.5px 8px rgba(0,0,0,0.06) !important;
    text-align: center !important;
    padding: 2.5rem 2.25rem !important;
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s cubic-bezier(.4,2,.6,1), background 0.35s !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    color: #1f2937 !important;
}
body .feature-card:hover, body .resource-card:hover {
    transform: scale(1.035) translateY(-8px) rotate(-1deg) !important;
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.18), 0 4px 16px rgba(0,0,0,0.10) !important;
    background: #f1f5f9 !important;
}
body .feature-icon, body .resource-icon {
    font-size: 2.5rem !important;
    margin-bottom: 1.25rem !important;
    opacity: 0.92 !important;
}
body .feature-card h3, body .resource-card h3 {
    font-size: 1.35rem !important;
    margin-bottom: 1rem !important;
    color: #2c3e50 !important;
}
body .feature-card p, body .resource-card p {
    color: #5a6c7d !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
}
body .resource-card a.cta-button {
    margin-top: auto !important;
    align-self: center !important;
}
@media (max-width: 768px) {
    body .features-section, body .resources-section {
        border-radius: 0.75rem !important;
        margin-bottom: 1.25rem !important;
        padding: 3rem 0 !important;
    }
    body .features-grid, body .resources-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    body .feature-card, body .resource-card {
        padding: 1.5rem 1rem !important;
        border-radius: 1.25rem !important;
    }
}
/* --- END FIX --- */

/* --- MODERN ANIMATIONS & APPEARANCE --- */

/* Fade/slide in for sections on scroll */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.section-animate {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s cubic-bezier(.4,2,.6,1) forwards;
}
.section-animate.delay-1 { animation-delay: 0.2s; }
.section-animate.delay-2 { animation-delay: 0.4s; }
.section-animate.delay-3 { animation-delay: 0.6s; }

/* Floating animation for cards */
@keyframes floatCard {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-12px) scale(1.03); }
}
.float-animate {
  animation: floatCard 3.5s ease-in-out infinite alternate;
}

/* Subtle scale/hover for cards */
.feature-card, .resource-card, .use-case-panel, .pricing-card, .partner-card {
  transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s cubic-bezier(.4,2,.6,1), background 0.35s;
}
.feature-card:hover, .resource-card:hover, .use-case-panel:hover, .pricing-card:hover, .partner-card:hover {
  transform: scale(1.035) translateY(-8px) rotate(-1deg);
  box-shadow: 0 16px 48px rgba(102, 126, 234, 0.18), 0 4px 16px rgba(0,0,0,0.10);
  background: #f1f5f9 !important;
}

/* Integration cards have different hover behavior due to dark background */
.integration-card {
  transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s cubic-bezier(.4,2,.6,1), background 0.35s;
}
.integration-card:hover {
  transform: scale(1.035) translateY(-8px) rotate(-1deg);
  box-shadow: 0 16px 48px rgba(102, 126, 234, 0.25), 0 4px 16px rgba(0,0,0,0.15);
  /* Keep gradient background but make it slightly brighter */
  background: linear-gradient(135deg, #7c8aed 0%, #8b5fbf 100%) !important;
}

/* Appear animation for use-case cards - More dramatic effect */
.use-case-panel { 
    opacity: 0; 
    transform: translateY(100px) scale(0.7) rotateX(20deg); 
    transition: all 0.6s ease;
    filter: blur(5px);
}

/* Enhanced fly-in animations with more dramatic timing */
.use-case-panel.appear { 
    animation: dramaticFlyIn 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; 
}

/* More staggered delays for dramatic effect */
.use-case-panel:nth-child(1).appear { animation-delay: 0s; }
.use-case-panel:nth-child(2).appear { animation-delay: 0.15s; }
.use-case-panel:nth-child(3).appear { animation-delay: 0.3s; }
.use-case-panel:nth-child(4).appear { animation-delay: 0.45s; }
.use-case-panel:nth-child(5).appear { animation-delay: 0.6s; }
.use-case-panel:nth-child(6).appear { animation-delay: 0.75s; }

/* More dramatic keyframe animation */
@keyframes dramaticFlyIn {
    0% { 
        opacity: 0; 
        transform: translateY(100px) scale(0.7) rotateX(20deg); 
        filter: blur(5px);
    }
    60% { 
        opacity: 0.9; 
        transform: translateY(-20px) scale(1.1) rotateX(-5deg); 
        filter: blur(1px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1) rotateX(0deg); 
        filter: blur(0px);
    }
}

@keyframes dramaticFlyInLeft {
    0% { 
        opacity: 0; 
        transform: translateX(-150px) scale(0.7) rotateY(30deg); 
        filter: blur(5px);
    }
    60% { 
        opacity: 0.9; 
        transform: translateX(15px) scale(1.1) rotateY(-5deg); 
        filter: blur(1px);
    }
    100% { 
        opacity: 1; 
        transform: translateX(0) scale(1) rotateY(0deg); 
        filter: blur(0px);
    }
}

@keyframes dramaticFlyInRight {
    0% { 
        opacity: 0; 
        transform: translateX(150px) scale(0.7) rotateY(-30deg); 
        filter: blur(5px);
    }
    60% { 
        opacity: 0.9; 
        transform: translateX(-15px) scale(1.1) rotateY(5deg); 
        filter: blur(1px);
    }
    100% { 
        opacity: 1; 
        transform: translateX(0) scale(1) rotateY(0deg); 
        filter: blur(0px);
    }
}

/* Alternate animation directions for visual variety */
.use-case-panel:nth-child(1).appear { 
    animation-name: dramaticFlyInLeft; 
}
.use-case-panel:nth-child(2).appear { 
    animation-name: dramaticFlyInRight; 
}
.use-case-panel:nth-child(3).appear { 
    animation-name: dramaticFlyIn; 
}
.use-case-panel:nth-child(4).appear { 
    animation-name: dramaticFlyInLeft; 
}
.use-case-panel:nth-child(5).appear { 
    animation-name: dramaticFlyInRight; 
}
.use-case-panel:nth-child(6).appear { 
    animation-name: dramaticFlyIn; 
}

/* Utility: fade in for any element */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-in { opacity: 0; animation: fadeIn 1.2s ease forwards; }
.fade-in.delay-1 { animation-delay: 0.3s; }
.fade-in.delay-2 { animation-delay: 0.6s; }
.fade-in.delay-3 { animation-delay: 0.9s; }

/* --- END MODERN ANIMATIONS --- */

/* --- FIX: Center section headers for features/resources --- */
.features-section h2, .resources-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #1f2937 !important;
}
.features-section .section-subtitle, .resources-section .section-subtitle {
    text-align: center !important;
    color: #000000 !important;
    font-size: 1.25rem !important;
    margin-bottom: 4rem !important;
    font-weight: 500 !important;
    max-width: 600px !important;
    -webkit-text-fill-color: #000000 !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Remove previous overrides for these selectors if present */

/* FORCE ALL SUBTITLES TO BE BLACK - FINAL OVERRIDE */
.section-subtitle,
.features-section .section-subtitle,
.resources-section .section-subtitle,
.integrations-section .section-subtitle,
.use-cases-section .section-subtitle,
.partners-section .section-subtitle,
body .section-subtitle {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
}

/* Features Compact Grid Layout - Space Efficient */
.features-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.feature-compact-item {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.feature-compact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-compact-item:hover::before {
    transform: scaleX(1);
}

.feature-compact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
    background: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    color: inherit;
}

.feature-icon-small {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.feature-compact-item h5 {
    color: #2c3e50 !important;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.feature-compact-item p {
    color: #5a6c7d !important;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

/* Ensure feature links maintain consistent styling */
.feature-compact-item:link,
.feature-compact-item:visited,
.feature-compact-item:active {
    color: inherit;
    text-decoration: none;
}

.feature-compact-item h5,
.feature-compact-item p {
    color: inherit;
}

/* Resources Carousel Styles */
.resource-category {
    margin-bottom: 3rem;
}

.resource-category h3 {
    color: #2c3e50 !important;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 1.5rem;
}

.resource-card {
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 300px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.resource-card:hover::before {
    transform: scaleX(1);
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.resource-date,
.resource-read-time,
.resource-type,
.resource-format {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
}

.resource-card h4 {
    color: #2c3e50 !important;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.resource-card p {
    color: #5a6c7d !important;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.resource-link {
    color: #667eea !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: #5a67d8 !important;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* FAQ Section Styles */
.faq-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #1f2937 !important;
}

.faq-grid-alternating {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

.faq-question h4 {
    margin: 0;
    color: #1f2937 !important;
    font-size: 1rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #3b82f6;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 1rem;
}

.faq-answer p {
    color: #6b7280 !important;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937 !important;
    font-size: 2.25rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.125rem;
    color: #6b7280 !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.testimonial-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.stars {
    font-size: 1.125rem;
    color: #fbbf24;
}

.rating-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151 !important;
}

.testimonial-meta {
    text-align: right;
}

.customer-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937 !important;
}

.customer-info p {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    color: #6b7280 !important;
}

.company-size {
    font-size: 0.75rem;
    color: var(--pg-text-secondary) !important;
    font-style: italic;
}

.testimonial-content {
    margin: 1.5rem 0;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151 !important;
    font-style: italic;
    margin: 0;
}

.testimonial-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.highlight-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Responsive design for testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .testimonial-meta {
        text-align: left;
    }
    
    .testimonial-highlights {
        gap: 0.5rem;
    }
    
    .highlight-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Use Case Overlay Styles */
.use-case-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.use-case-overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.use-case-overlay.active .overlay-content {
    transform: scale(1) translateY(0);
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-radius: 16px 16px 0 0;
}

.overlay-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white !important;
}

.overlay-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white !important;
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.overlay-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.overlay-body {
    padding: 2rem;
}

.overlay-section {
    margin-bottom: 2rem;
}

.overlay-section h4 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937 !important;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.overlay-section p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
    color: #374151 !important;
}

.overlay-section ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #374151 !important;
}

.overlay-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.similar-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.similar-product-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.similar-product-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.similar-product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.similar-product-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937 !important;
}

.similar-product-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.similar-product-stars {
    color: #fbbf24;
    font-size: 0.875rem;
}

.similar-product-score {
    font-size: 0.75rem;
    color: #6b7280 !important;
    font-weight: 500;
}

.similar-product-link {
    display: inline-block;
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.similar-product-link:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

/* Horizontal Resources Layout */
.resources-horizontal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 100%;
    overflow: hidden;
}

.resource-category-horizontal {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(103, 126, 234, 0.1);
    min-width: 0;
    max-width: 100%;
}

.resource-category-horizontal h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.resource-mini-carousel {
    position: relative;
    overflow: hidden;
}

.resource-mini-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 0;
}

.resource-mini-card {
    min-width: 100%;
    flex-shrink: 0;
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(103, 126, 234, 0.1);
    word-wrap: break-word;
}

.resource-mini-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.resource-mini-meta span {
    background: rgba(103, 126, 234, 0.1);
    color: #667eea;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.resource-mini-card h5 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.resource-mini-card p {
    margin: 0 0 0.75rem 0;
    color: #666;
    font-size: 0.875rem;
    line-height: 1.4;
}

.resource-mini-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.resource-mini-link:hover {
    color: #5a67d8;
}

.resource-mini-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.resource-mini-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(103, 126, 234, 0.1);
    color: #667eea;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.resource-mini-btn:hover {
    background: #667eea;
    color: white;
}

.resource-mini-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Modern Reveal Animations */
.reveal-on-scroll {opacity:0;transform:translateY(40px) scale(.98);transition:opacity .7s ease,transform .8s cubic-bezier(.25,.8,.25,1);}
.reveal-on-scroll.in-view {opacity:1;transform:translateY(0) scale(1);}

/* Glass / Card Utilities */
.glass-card {background:rgba(255,255,255,.55);backdrop-filter:blur(22px) saturate(160%);border:1px solid rgba(255,255,255,.35);box-shadow:0 8px 28px -6px rgba(31,41,55,.15);} 
.hover-raise {transition:transform .4s cubic-bezier(.175,.885,.32,1.275),box-shadow .4s ease;} 
.hover-raise:hover {transform:translateY(-6px);box-shadow:0 18px 40px -10px rgba(31,41,55,.25);} 

/* Vendor Buttons */
.vendor-actions {display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem;}
.vendor-link-btn,.vendor-contact-btn {padding:.85rem 1.4rem;border-radius:14px;font-weight:600;font-size:.9rem;cursor:pointer;border:0;letter-spacing:.3px;position:relative;overflow:hidden;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;box-shadow:0 4px 18px -4px rgba(102,126,234,.45);transition:all .35s ease;}
.vendor-link-btn::after,.vendor-contact-btn::after {content:'';position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.35),rgba(255,255,255,0) 60%);opacity:0;transition:opacity .4s ease;}
.vendor-link-btn:hover::after,.vendor-contact-btn:hover::after {opacity:1;}
.vendor-contact-btn {background:linear-gradient(135deg,#10b981 0%,#059669 100%);box-shadow:0 4px 18px -4px rgba(16,185,129,.45);} 
.vendor-contact-btn:hover {transform:translateY(-4px) scale(1.02);} 
.vendor-link-btn:hover {transform:translateY(-4px) scale(1.02);} 

/* Overlay Enhancements */
.use-case-overlay {backdrop-filter:blur(18px);background:rgba(15,23,42,.55);} 
.use-case-overlay .overlay-content {animation:overlayPop .55s cubic-bezier(.25,1.4,.35,1);} 
@keyframes overlayPop {0%{transform:translateY(60px) scale(.9);opacity:0;}60%{transform:translateY(-6px) scale(1.01);opacity:1;}100%{transform:translateY(0) scale(1);} }

/* Adaptive Typography */
@media (max-width:640px){.product-meta h1{font-size:2rem}.use-cases-grid{grid-template-columns:1fr}.use-case-panel{padding:1.5rem;}}



/* === Toggle Switch for Use Cases ===================================== */
.use-case-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--pg-bg-surface);
    border-radius: 20px;
    border: 1px solid var(--pg-border-glass);
}

.toggle-labels {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.toggle-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pg-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    user-select: none;
}

.toggle-label.active {
    color: var(--pg-text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    padding: 3px;
}

.toggle-button {
    position: absolute;
    height: 24px;
    width: 24px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    left: 3px;
}

.toggle-input:checked + .toggle-slider .toggle-button {
    transform: translateX(30px);
}

.toggle-input:checked + .toggle-slider {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Hidden state for use case dashboards */
.use-cases-dashboard.hidden {
    display: none !important;
}

/* Smooth transition for switching */
.use-cases-dashboard {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.use-cases-dashboard.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.use-cases-dashboard.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* === End Toggle Switch Styles ======================================== */

/* === Use Case Tab Styles ============================================== */
.use-case-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
    background: #f8fafc;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.use-case-tab {
    flex: 1;
    padding: 1rem 2rem;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    border: none;
    position: relative;
}

.use-case-tab:hover {
    background: #e2e8f0;
    color: #475569;
}

.use-case-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.use-case-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Dark mode overrides for tabs */
@media (prefers-color-scheme: dark) {
    .use-case-tabs {
        background: var(--pg-bg-surface, #1e293b);
        border-bottom-color: var(--pg-border, #334155);
    }
    
    .use-case-tab {
        background: var(--pg-bg-elevated, #0f172a);
        color: var(--pg-text-secondary, #94a3b8);
    }
    
    .use-case-tab:hover {
        background: var(--pg-bg-hover, #1e293b);
        color: var(--pg-text-primary, #f1f5f9);
    }
}

/* === End Use Case Tab Styles ========================================== */
