/**
 * Application Showcase Styles
 * Custom styles for app examples and use cases
 */

.app-showcase-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.app-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1278AC, #DD6B20, #1278AC);
    background-size: 200% 100%;
    animation: gradientFlow 3s ease infinite;
}

.app-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.app-category {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.app-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1278AC 0%, #DD6B20 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.app-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.app-item {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.app-item:last-child {
    border-bottom: none;
}

.app-item-icon {
    color: var(--accent-color);
    font-size: 16px;
    margin-top: 2px;
}

.app-item-content {
    flex: 1;
}

.app-item-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.app-item-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.category-cta {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.category-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.category-price strong {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Technology Stack Section */
.tech-stack-section {
    padding: 80px 0;
    background: var(--bg-dark);
    color: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.tech-logo {
    font-size: 48px;
    margin-bottom: 15px;
    filter: grayscale(0);
}

.tech-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.tech-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Process Timeline */
.process-timeline {
    padding: 100px 0;
    background: white;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #1278AC, #DD6B20);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: calc(50% - 30px);
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-desc {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .app-categories {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 60px;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
    }

    .timeline-dot {
        left: 30px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dark Mode Support */
.dark-mode .app-showcase-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.dark-mode .app-category {
    background: var(--dark-bg-secondary);
    border-color: var(--dark-border);
}

.dark-mode .category-title {
    color: var(--dark-text);
}

.dark-mode .app-item {
    border-bottom-color: var(--dark-border);
}

.dark-mode .tech-stack-section {
    background: var(--dark-bg);
}

.dark-mode .timeline-content {
    background: var(--dark-bg-secondary);
    border-color: var(--dark-border);
}