/**
 * AI Implementation Services Page Styles
 * Zero Qubit Tech Holding - Astra Child Theme
 */

/* Glass Card Base */
.glass-card {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
}

/* Problem/Solution Split View */
.problem-solution-section {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(34, 34, 34, 0.95) 100%);
}

.current-state {
    position: relative;
}

.current-state::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.3) 0%, rgba(255, 51, 102, 0.1) 100%);
    border-radius: 1rem;
    z-index: -1;
}

.with-ai {
    position: relative;
}

.with-ai::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3) 0%, rgba(0, 255, 255, 0.1) 100%);
    border-radius: 1rem;
    z-index: -1;
}

.state-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin: 0 auto;
}

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

/* Process Timeline */
.process-timeline-section {
    background: rgba(34, 34, 34, 0.5);
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.timeline-step {
    position: relative;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.timeline-step:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 1.5rem;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.step-summary {
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.step-details {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    border-left: 3px solid var(--color-accent);
}

.toggle-details {
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.toggle-details:hover {
    color: var(--color-accent-light);
}

/* Impact Metrics Dashboard */
.impact-metrics-section {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(34, 34, 34, 0.95) 100%);
}

.metrics-dashboard .metric-card {
    transition: transform 0.3s ease;
}

.metrics-dashboard .metric-card:hover {
    transform: translateY(-4px);
}

.metric-icon svg {
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
}

.timeline-viz {
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.timeline-bar {
    position: relative;
    padding: 2rem 0;
}

.timeline-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    position: relative;
    margin: 2rem 0;
}

.timeline-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-blue-accent) 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 2s ease-in-out;
}

.timeline-markers {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: -2rem;
}

.marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.marker-dot {
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    margin-bottom: 0.5rem;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.marker-label .week {
    display: block;
    font-weight: 600;
    color: var(--color-accent);
    font-size: 0.875rem;
}

.marker-label .desc {
    display: block;
    color: var(--color-muted);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Target Audience Gallery */
.target-audience-section {
    background: rgba(34, 34, 34, 0.5);
}

.audience-gallery .audience-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.audience-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 255, 255, 0.15);
}

.audience-icon svg {
    transition: all 0.3s ease;
}

.audience-card:hover .audience-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.5));
}

.requirements-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

/* Getting Started Section */
.getting-started-section {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(34, 34, 34, 0.95) 100%);
}

.getting-started-flow .flow-step {
    transition: all 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 255, 0.3);
}

.step-icon svg {
    transition: all 0.3s ease;
}

.flow-step:hover .step-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.4));
}

.honest-approach {
    background: rgba(0, 0, 0, 0.4);
    position: relative;
}

.honest-approach::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3) 0%, rgba(0, 255, 255, 0.1) 100%);
    border-radius: 1rem;
    z-index: -1;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-markers {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .marker {
        width: 100%;
    }
    
    .audience-gallery .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .requirements-box .grid {
        grid-template-columns: 1fr;
    }
    
    .getting-started-flow .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 1rem;
    }
    
    .step-number {
        left: 1rem;
    }
    
    .value-prop {
        margin-top: 2rem;
        padding-top: 2rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus States for Accessibility */
.toggle-details:focus,
.audience-card:focus,
.flow-step:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .timeline-progress {
        width: 100% !important;
    }
    
    .step-details {
        display: block !important;
    }
    
    .toggle-details {
        display: none;
    }
}