/* AI Conversation Analyzer Marketing Site Styles */
/* Imports unified brand variables */
@import url('../../shared/css/brand-variables.css');

/* Marketing Site Specific Overrides */

/* Global Styles - Using Brand Variables */
body {
    font-family: var(--brand-font-family);
    line-height: var(--brand-line-height-base);
    color: var(--brand-platform-text);
}

.container-fluid {
    max-width: 1400px;
}

/* Hero Section - Using Brand Variables */
.hero-section {
    background: var(--brand-gradient-primary);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ffc107;
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0 5px;
}

.stat-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Features Section */
.features-section {
    background: #fff;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.feature-list li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Technology Stack */
.tech-stack-section {
    background: var(--light-color);
}

.tech-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tech-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tech-card h5 {
    font-weight: bold;
    margin-bottom: 10px;
}

/* Performance Section */
.performance-section {
    background: white;
    padding: 80px 0;
}

.performance-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.metric-item {
    text-align: center;
    padding: 25px;
    background: var(--light-color);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.metric-item:hover {
    transform: scale(1.05);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.metric-label {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.performance-chart {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Dashboard Specific Styles */
.metric-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-3px);
}

.metric-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.8rem;
}

.metric-content {
    flex: 1;
    padding: 25px;
}

.metric-card .d-flex {
    align-items: center;
    height: 100%;
}

.health-metrics .health-item {
    margin-bottom: 20px;
}

.data-stat h4 {
    margin-bottom: 5px;
    font-weight: bold;
}

/* Activity Log */
.activity-log {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 0.9rem;
}

.activity-content {
    flex: 1;
}

/* Architecture Diagram */
.architecture-diagram {
    padding: 20px;
}

.arch-layer {
    margin-bottom: 40px;
    position: relative;
}

.layer-title {
    text-align: center;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
    padding: 10px;
    background: var(--light-color);
    border-radius: 8px;
}

.arch-component {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.arch-component.frontend {
    border-left: 4px solid #0d6efd;
}

.arch-component.backend {
    border-left: 4px solid #198754;
}

.arch-component.processing {
    border-left: 4px solid #ffc107;
}

.arch-component.database {
    border-left: 4px solid #dc3545;
}

.arch-component.infrastructure {
    border-left: 4px solid #6f42c1;
}

.arch-component i {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.arch-component h6 {
    font-weight: bold;
    margin-bottom: 5px;
}

.arch-component small {
    color: #666;
}

/* Data Flow */
.data-flow {
    position: relative;
}

.flow-step {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h6 {
    margin-bottom: 5px;
    font-weight: bold;
}

.step-content p {
    margin: 0;
    color: #666;
}

.flow-arrow {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 10px 0;
}

/* Specification Lists */
.spec-section {
    margin-bottom: 25px;
}

.spec-list {
    list-style: none;
    padding: 0;
}

.spec-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.spec-list li:last-child {
    border-bottom: none;
}

/* Implementation Highlights */
.highlight-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.highlight-tags {
    margin-top: 15px;
}

.highlight-tags .badge {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Search Interface */
.search-info {
    font-size: 0.9rem;
}

.feature-highlight {
    text-align: center;
    padding: 20px;
}

.feature-highlight i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-highlight h6 {
    font-weight: bold;
    margin-bottom: 5px;
}

.result-item {
    background: white;
    transition: all 0.3s ease;
}

.result-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px);
}

.result-rank {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 8px;
}

.result-source {
    color: #333;
}

.result-meta .badge {
    font-size: 0.75rem;
}

.result-content mark {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Status Indicators */
.status-indicators .badge {
    font-size: 0.75rem;
    padding: 4px 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .performance-metrics {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .arch-component {
        height: auto;
        padding: 15px;
    }
    
    .metric-card .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .metric-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Custom Scrollbar */
.activity-log::-webkit-scrollbar {
    width: 6px;
}

.activity-log::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.activity-log::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.activity-log::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Marketing & Conversion Optimization */
.upgrade-cta {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.upgrade-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
    color: white;
}

.demo-limitation {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    margin: 10px 0;
}

.pro-feature-locked {
    opacity: 0.6;
    position: relative;
}

.pro-feature-locked::after {
    content: '\f023';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #ffc107;
}

.conversion-tracking {
    /* Styles for conversion tracking elements */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.value-proposition {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
}

.pricing-highlight {
    position: relative;
    overflow: hidden;
}

.pricing-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,193,7,0.1) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}