/* eDiscovery Page Styles */

/* Hero Section - DISABLED: Using inline styles in HTML */
/* .ediscovery-hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #0B1426 0%, #1E3A8A 100%) !important;
    position: relative;
    overflow: hidden;
    color: white;
} */

/* DISABLE PSEUDO-ELEMENT OVERLAY - HANDLED BY INLINE STYLES */
/* .ediscovery-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
} */

/* .hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
} */

/* Features Section */
.features-section {
    padding: 100px 0;
    background: white;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--background-secondary);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--primary-color);
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Screenshot Section */
.screenshot-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, white, var(--background-secondary));
}

.screenshot-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.screenshot-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.screenshot-features {
    margin-top: 2rem;
}

.screenshot-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.check-icon {
    color: #10B981;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
}

.check-icon svg {
    color: #10B981;
}

.screenshot-placeholder,
.workflow-placeholder {
    background: linear-gradient(135deg, #E5E7EB 0%, #F3F4F6 100%);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    border: 2px dashed #D1D5DB;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.5;
    display: block;
    margin-bottom: 1rem;
}

.placeholder-icon svg {
    width: 64px;
    height: 64px;
    opacity: 0.5;
    color: var(--text-secondary);
}

.screenshot-placeholder p,
.workflow-placeholder p {
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* Workflow Section */
.workflow-section {
    padding: 100px 0;
    background: white;
}

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

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

.workflow-card {
    text-align: center;
}

.workflow-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.workflow-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.workflow-placeholder {
    margin-top: 2rem;
    min-height: 250px;
}

.workflow-image {
    margin-top: 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.workflow-screenshot {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.workflow-screenshot:hover {
    transform: scale(1.02);
}

/* Data Sources Section */
.data-sources-section {
    padding: 100px 0;
    background: var(--background-secondary);
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

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

.source-category {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.source-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

.source-category li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.source-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: bold;
}

.sources-cta {
    text-align: center;
    font-size: 1.125rem;
}

.sources-cta a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Comparison Section */
.comparison-section {
    padding: 100px 0;
    background: white;
}

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

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--text-primary);
    color: white;
}

.comparison-col {
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.comparison-col.highlight {
    background: var(--primary-color);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #E5E7EB;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row .comparison-col {
    padding: 2rem 1.5rem;
    background: #F9FAFB;
    color: var(--text-primary);
    font-weight: 400;
}

.comparison-row .comparison-col.highlight {
    background: white;
}

.comparison-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

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

/* ROI Section */
.roi-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

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

.roi-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.roi-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

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

.roi-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.roi-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

.roi-quote {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
    font-style: italic;
    opacity: 0.95;
}

.roi-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.8;
    font-style: normal;
}

/* CTA Section */
.ediscovery-cta-section {
    padding: 100px 0;
    background: white;
}

.ediscovery-cta-section .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.ediscovery-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.ediscovery-cta-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Dark Mode Support - DISABLED: Force Light Mode */
/* @media (prefers-color-scheme: dark) {
    .features-section,
    .workflow-section,
    .comparison-section,
    .ediscovery-cta-section {
        background: var(--dark-background-primary) !important;
    }
    
    .feature-card,
    .workflow-image,
    .source-category {
        background: var(--dark-surface) !important;
    }
    
    .comparison-row .comparison-col {
        background: var(--dark-surface) !important;
    }
    
    .comparison-row .comparison-col.highlight {
        background: var(--dark-background-secondary) !important;
    }
    
    .screenshot-placeholder,
    .workflow-placeholder {
        background: var(--dark-surface) !important;
        border-color: var(--dark-border-color) !important;
    }
} */

/* Force Light Mode Overrides */
@media (prefers-color-scheme: dark) {
    .features-section,
    .workflow-section,
    .comparison-section,
    .ediscovery-cta-section {
        background: white !important;
    }
    
    .feature-card,
    .workflow-image,
    .source-category {
        background: white !important;
    }
    
    .comparison-row .comparison-col {
        background: #F9FAFB !important;
        color: var(--text-primary) !important;
    }
    
    .comparison-row .comparison-col.highlight {
        background: white !important;
    }
    
    .screenshot-placeholder,
    .workflow-placeholder {
        background: linear-gradient(135deg, #E5E7EB 0%, #F3F4F6 100%) !important;
        border-color: #D1D5DB !important;
    }
    
    /* Additional overrides for text colors */
    h1, h2, h3, h4, h5, h6 {
        color: var(--text-primary) !important;
    }
    
    p, li, span {
        color: var(--text-secondary) !important;
    }
    
    body {
        background: white !important;
        color: var(--text-primary) !important;
    }
    
    /* Ensure proper backgrounds for sections */
    .screenshot-section {
        background: linear-gradient(to bottom, white, var(--background-secondary)) !important;
    }
    
    .data-sources-section {
        background: var(--background-secondary) !important;
    }
    
    .feature-card {
        background: var(--background-secondary) !important;
    }
    
    /* Maintain ROI section gradient */
    .roi-section {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
        color: white !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .screenshot-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-col {
        padding: 1rem;
    }
    
    .roi-number {
        font-size: 2rem;
    }
    
    .workflow-grid {
        grid-template-columns: 1fr;
    }
}