/* 
 * Qbitcoin Roadmap Page Styling
 * Dark theme with blue gradients and timeline animations
 * Mobile optimized and SEO friendly
 */

/* === ROADMAP SPECIFIC STYLES === */
/* Intro section */
.roadmap-intro {
    padding: 60px 0;
    background-color: var(--dark-bg);
    text-align: center;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--accent-blue);
    text-shadow: 0 0 15px rgba(100, 181, 246, 0.3);
}

.intro-content > p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.key-features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 30px;
}

.feature {
    flex: 1;
    min-width: 250px;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.feature i {
    font-size: 36px;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Mobile responsiveness for intro */
@media screen and (max-width: 768px) {
    .key-features {
        flex-direction: column;
    }
    
    .feature {
        margin-bottom: 20px;
    }
}

.roadmap-content {
    padding: 60px 0;
    background-color: var(--darker-bg);
    min-height: 70vh;
}

/* Timeline container */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Center line */
.timeline::before {
    content: '';
    position: absolute;
    width: 6px;
    background: var(--gradient-blue);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(100, 181, 246, 0.6);
    animation: glow 3s infinite alternate;
}

/* Timeline items */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
    margin-bottom: 30px;
}

/* Timeline items appear progressively */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }
.timeline-item:nth-child(5) { animation-delay: 0.9s; }
.timeline-item:nth-child(6) { animation-delay: 1.1s; }
.timeline-item:nth-child(7) { animation-delay: 1.3s; }

/* Left items */
.timeline-item:nth-child(odd) {
    left: 0;
}

/* Right items */
.timeline-item:nth-child(even) {
    left: 50%;
}

/* Timeline icon */
.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    right: -30px;
    background: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -30px;
}

.timeline-icon i {
    font-size: 24px;
    color: var(--accent-blue);
    animation: pulse 2s infinite;
}

/* Timeline content box */
.timeline-content {
    padding: 30px;
    background: var(--card-bg);
    position: relative;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: 0;
    border-right: 4px solid var(--primary-blue);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    background: var(--card-hover);
}

/* Arrows for timeline content */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 26px;
    right: -15px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-left: 15px solid var(--card-bg);
    border-bottom: 15px solid transparent;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -15px;
    border-left: 0;
    border-right: 15px solid var(--card-bg);
}

/* Headings */
.timeline-content h2 {
    margin-bottom: 15px;
    color: var(--accent-blue);
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(100, 181, 246, 0.3);
}

/* Timeline date - hidden as per request but style remains */
.timeline-date {
    display: none;
    font-size: 16px;
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

/* Timeline description */
.timeline-description {
    margin-top: 20px;
}

.timeline-description ul {
    list-style: none;
    padding-left: 5px;
}

.timeline-description li {
    padding: 10px 0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.timeline-description li:hover {
    transform: translateX(5px);
}

.timeline-description li i {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--accent-blue);
    margin-right: 10px;
}

/* Status indicators */
.completed .timeline-icon {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.8), rgba(0, 176, 255, 0.8));
}

.completed .timeline-icon i {
    color: #ffffff;
}

.completed .timeline-content {
    border-color: #4CAF50;
}

.in-progress .timeline-icon {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.8), rgba(255, 152, 0, 0.8));
}

.in-progress .timeline-icon i {
    color: #ffffff;
}

.in-progress .timeline-content {
    border-color: #FF9800;
}

.future .timeline-icon {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.8), rgba(233, 30, 99, 0.8));
}

.future .timeline-content {
    border-color: #9C27B0;
}

.timeline-description li .fa-check {
    color: #4CAF50;
}

.timeline-description li .fa-spinner {
    color: #FF9800;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(100, 181, 246, 0.6);
    }
    to {
        box-shadow: 0 0 20px rgba(100, 181, 246, 0.9);
    }
}

/* === RESPONSIVE DESIGN === */
@media screen and (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-icon {
        left: 0;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
    }
    
    .timeline-content::after {
        left: -15px;
        border-right: 15px solid var(--card-bg);
        border-left: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        border-left: 4px solid var(--primary-blue);
        border-right: 0;
    }
}

/* Roadmap conclusion section */
.roadmap-conclusion {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
    text-align: center;
}

.conclusion-content {
    max-width: 1000px;
    margin: 0 auto;
}

.conclusion-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--accent-blue);
    text-shadow: 0 0 15px rgba(100, 181, 246, 0.3);
}

.conclusion-content > p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.statistics {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 50px 0;
}

.stat {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
    animation: fadeInUp 1s ease-out forwards;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 16px;
    color: var(--text-secondary);
}

.conclusion-note {
    font-style: italic;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px;
    border-top: 1px solid rgba(100, 181, 246, 0.3);
    border-bottom: 1px solid rgba(100, 181, 246, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness for conclusion */
@media screen and (max-width: 768px) {
    .statistics {
        flex-direction: column;
    }
    
    .stat {
        margin: 20px 0;
    }
}

/* CTA section styling */
.cta {
    background: var(--gradient-dark);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 32px;
}

.cta p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 18px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn i {
    margin-right: 10px;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--secondary-blue);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: rgba(100, 181, 246, 0.1);
}

.btn-accent {
    background: linear-gradient(135deg, #9C27B0, #673AB7);
    color: white;
    border: none;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #8E24AA, #5E35B1);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
}

/* Support for larger screens */
@media screen and (min-width: 1440px) {
    .timeline::before {
        left: 50%;
    }
    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: 60px;
    }
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
    }
}
