/* Releases Page Specific Styles */

/* Hero Section */
.releases-hero {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #45B7D1 100%);
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.releases-hero::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="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.releases-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.releases-hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.current-version {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.version-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    padding: 16px 24px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.version-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.version-label {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.version-number {
    font-size: 18px;
    font-weight: 600;
}

/* Timeline Styles */
.release-timeline {
    padding: 80px 0;
    background: #f8fafc;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #4ECDC4, #45B7D1);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 18px;
    top: 0;
    width: 24px;
    height: 24px;
    background: #4ECDC4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    border: 4px solid #f8fafc;
    z-index: 2;
}

.timeline-item.latest .timeline-marker {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    animation: pulse 2s infinite;
}

.timeline-item.milestone .timeline-marker {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
}

.timeline-item.beta .timeline-marker {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

.timeline-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.release-header {
    margin-bottom: 24px;
}

.release-version {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.release-version h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.release-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.latest-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.milestone-badge {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
    color: #2d3748;
}

.beta-badge {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
    color: white;
}

.release-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.release-date,
.release-type {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #64748b;
}

.release-type.major {
    color: #dc2626;
}

.release-type.minor {
    color: #2563eb;
}

.release-type.patch {
    color: #4ECDC4;
}

.release-type.beta {
    color: #7c3aed;
}

.release-description {
    margin-bottom: 32px;
}

.release-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
}

/* Release Highlights */
.release-highlights {
    margin-bottom: 32px;
}

.release-highlights h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
}

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

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
    border-left: 4px solid #4ECDC4;
}

.highlight-item .material-icons {
    color: #4ECDC4;
    font-size: 24px;
    margin-top: 2px;
}

.highlight-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.highlight-item p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Release Features */
.release-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.features-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
}

.features-section .material-icons {
    font-size: 18px;
    color: #4ECDC4;
}

.features-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-section li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    line-height: 1.5;
    color: #4a5568;
}

.features-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4ECDC4;
    font-weight: bold;
}

/* Download Section */
.download-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
}

/* Roadmap Section */
.roadmap-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.roadmap-item {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    padding: 32px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ECDC4, #45B7D1);
}

.roadmap-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: #4ECDC4;
}

.roadmap-version {
    margin-bottom: 24px;
}

.roadmap-version h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.roadmap-timeline {
    display: inline-block;
    background: #4ECDC4;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roadmap-features h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
}

.roadmap-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.roadmap-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    line-height: 1.5;
    color: #4a5568;
}

.roadmap-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #4ECDC4;
    font-weight: bold;
}

/* Download CTA */
.download-cta {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #45B7D1 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #4ECDC4;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tablet Responsive Design */
@media (min-width: 768px) and (max-width: 1024px) {
    .releases-hero {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .timeline-content {
        padding: 2rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .download-cta {
        padding: 3rem 0;
    }
    
    .download-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .releases-hero {
        padding: 100px 0 60px;
    }
    
    .releases-hero h1 {
        font-size: 2.5rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 8px;
        width: 20px;
        height: 20px;
    }
    
    .timeline-content {
        padding: 24px;
    }
    
    .release-version h2 {
        font-size: 1.5rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .release-features {
        grid-template-columns: 1fr;
    }
    
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-stats {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .releases-hero h1 {
        font-size: 2rem;
    }
    
    .current-version {
        flex-direction: column;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .release-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .roadmap-item {
        padding: 24px;
    }
}