/* Roadmap Page CSS */

/* Import main theme variables */
:root {
    --primary-black: #0A0A0A;
    --secondary-black: #1A1A1A;
    --primary-gold: #FFD700;
    --accent-orange: #FFA500;
    --text-light: #FFFFFF;
    --text-gray: #CCCCCC;
    --gradient-gold: linear-gradient(45deg, #FFD700, #FFA500);
    --gradient-black: linear-gradient(135deg, #0A0A0A, #1A1A1A);
    --success-green: #4CAF50;
    --error-red: #f44336;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-black);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light) !important;
    text-decoration: none;
}

.navbar-brand .logo {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 50%;
}

.navbar-brand span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    margin: 0 15px;
    padding: 8px 0 !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-gold) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.btn-wallet {
    background: var(--gradient-gold);
    color: var(--primary-black);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-wallet:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    color: var(--primary-black);
}

/* Hero Section */
.hero-section {
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url('../images/digital_finance_flow.webp') center/cover;
    margin-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
}

.hero-title {
    margin-bottom: 30px;
}

.gradient-text {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background: var(--secondary-black);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-gold), rgba(255, 215, 0, 0.3));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 1.5rem;
    color: var(--primary-black);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.timeline-item.completed .timeline-marker {
    background: var(--success-green);
    animation: pulse 2s infinite;
}

.timeline-item.active .timeline-marker {
    background: var(--gradient-gold);
    animation: spin 3s linear infinite;
}

.timeline-item.upcoming .timeline-marker {
    background: var(--accent-orange);
}

.timeline-item.future .timeline-marker {
    background: rgba(255, 255, 255, 0.3);
    color: var(--text-gray);
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px rgba(76, 175, 80, 0.5); }
    50% { box-shadow: 0 0 40px rgba(76, 175, 80, 0.8); }
    100% { box-shadow: 0 0 20px rgba(76, 175, 80, 0.5); }
}

@keyframes spin {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

.timeline-content {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    width: calc(50% - 50px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.phase-info h3 {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.phase-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.phase-status.completed {
    background: var(--success-green);
    color: white;
}

.phase-status.active {
    background: var(--gradient-gold);
    color: var(--primary-black);
}

.phase-status.upcoming {
    background: var(--accent-orange);
    color: white;
}

.phase-status.future {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-gray);
}

.phase-date {
    display: block;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.phase-progress {
    display: flex;
    align-items: center;
}

.progress-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
}

.progress-circle.completed {
    background: var(--success-green);
    color: white;
}

.progress-circle.active {
    background: var(--gradient-gold);
    color: var(--primary-black);
}

.progress-circle.upcoming {
    background: var(--accent-orange);
    color: white;
}

.progress-circle.future {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.milestone-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.milestone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.milestone:hover {
    background: rgba(255, 215, 0, 0.05);
}

.milestone i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.milestone.completed i {
    color: var(--success-green);
}

.milestone.active i {
    color: var(--primary-gold);
    animation: blink 1.5s infinite;
}

.milestone.pending i {
    color: var(--text-gray);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.milestone span {
    color: var(--text-light);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--primary-black);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-black);
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    color: var(--primary-black);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-gold);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-light:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .gradient-text {
        font-size: 3rem;
    }
    
    .timeline::before {
        left: 30px;
        transform: none;
    }
    
    .timeline-marker {
        left: 30px;
        transform: none;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .phase-progress {
        order: -1;
    }
}

@media (max-width: 768px) {
    .gradient-text {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .timeline-section {
        padding: 60px 0;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .phase-info h3 {
        font-size: 1.3rem;
    }
    
    .milestone-list {
        gap: 10px;
    }
    
    .milestone {
        padding: 8px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-outline-light {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .gradient-text {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        padding: 15px;
    }
    
    .phase-info h3 {
        font-size: 1.2rem;
    }
    
    .progress-circle {
        width: 50px;
        height: 50px;
        font-size: 0.8rem;
    }
    
    .milestone {
        font-size: 0.9rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: var(--primary-black);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-logo .logo {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 400px;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9rem;
}



.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}



/* Footer Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 25px;
        margin-top: 60px;
    }
    
    .footer-content {
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
        gap: 20px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 40px 0 25px;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .footer-logo span {
        font-size: 1.6rem;
    }
    
    .footer-description {
        text-align: center;
        font-size: 1rem;
        line-height: 1.7;
        padding: 0 20px;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .footer-copyright p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}