/* ============================================
   Technologies Page Styles
   ============================================ */

.page-hero {
    margin-top: 80px;
    padding: var(--spacing-3xl) 0;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.375rem);
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tech-section {
    padding: var(--spacing-3xl) 0;
}

.tech-grid {
    display: grid;
    gap: var(--spacing-2xl);
}

.tech-card {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    animation: fadeInUp 0.6s ease backwards;
}

.tech-card:nth-child(1) { animation-delay: 0.1s; }
.tech-card:nth-child(2) { animation-delay: 0.2s; }
.tech-card:nth-child(3) { animation-delay: 0.3s; }
.tech-card:nth-child(4) { animation-delay: 0.4s; }
.tech-card:nth-child(5) { animation-delay: 0.5s; }
.tech-card:nth-child(6) { animation-delay: 0.6s; }

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.tech-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.tech-card h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--color-dark);
}

.tech-intro {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-border);
}

.tech-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    color: var(--color-dark);
}

.tech-card p {
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: var(--spacing-md);
}

.tech-card ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.tech-card ul li {
    padding-left: 1.75rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    line-height: 1.7;
    color: #2d3748;
}

.tech-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.tech-card ul li strong {
    color: var(--color-dark);
    font-weight: 600;
}

/* Timeline Section */
.tech-timeline {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-dark);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    color: white;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: var(--spacing-lg) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
    animation: fadeInUp 0.6s ease backwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 45%;
    text-align: right;
    padding-right: var(--spacing-xl);
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-item:nth-child(even) .timeline-year {
    text-align: left;
    padding-right: 0;
    padding-left: var(--spacing-xl);
}

.timeline-year::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 51, 102, 0.2);
}

.timeline-content {
    flex: 0 0 45%;
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: column !important;
    }
    
    .timeline-year {
        flex: none;
        text-align: left !important;
        padding: 0 !important;
        margin-bottom: var(--spacing-sm);
        font-size: 2rem;
    }
    
    .timeline-year::after {
        left: -40px;
        transform: translateY(-50%);
    }
    
    .timeline-content {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .tech-card {
        padding: var(--spacing-lg);
    }
    
    .tech-icon {
        font-size: 3rem;
    }
}
