/* roadmap.css - Roadmap specific styles */

/* ===== Hero Section ===== */
.page-hero--roadmap {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #3a2f1f 100%);
  position: relative;
  overflow: hidden;
}

.page-hero--roadmap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://i.imgur.com/bfPgAoS.webp') center/cover;
  opacity: 0.3;
  z-index: -1;
}

.page-hero--roadmap h1 {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-md);
}

.page-hero--roadmap .text-lead {
  font-size: clamp(1rem, 3vw, 1.2rem);
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  color: rgba(255, 255, 255, 0.9);
}

.roadmap-date {
  color: var(--rebel-gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin: var(--spacing-md) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ===== Key Takeaways ===== */
.key-takeaways {
  margin: var(--spacing-xl) 0;
}

.takeaways-card {
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.15), rgba(0, 170, 255, 0.15));
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--rebel-gold);
}

.takeaways-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.takeaways-icon {
  width: 40px;
  height: 40px;
  background: var(--rebel-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.takeaways-icon i {
  color: white;
  font-size: 1.2rem;
}

.takeaways-header h2 {
  color: var(--rebel-gold);
  margin: 0;
  font-size: 1.3rem;
}

.current-status-badge {
  padding: 0.5rem 1rem;
  background: rgba(255, 204, 0, 0.2);
  color: var(--rebel-gold);
  border: 1px solid var(--rebel-gold);
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

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

.takeaways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.takeaway-item {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--spacing-lg);
  border-radius: 12px;
  border-left: 4px solid;
  transition: var(--transition);
}

.takeaway-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.takeaway-item.phase-complete {
  border-left-color: #4CAF50;
  background: rgba(76, 175, 80, 0.1);
}

.takeaway-item.phase-current {
  border-left-color: var(--rebel-gold);
  background: rgba(255, 204, 0, 0.1);
}

.takeaway-item.phase-next {
  border-left-color: var(--rebel-red);
  background: rgba(255, 51, 102, 0.1);
}

.takeaway-item.community-driven {
  border-left-color: #9C27B0;
  background: rgba(156, 39, 176, 0.1);
}

.takeaway-icon {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.takeaway-item.phase-complete .takeaway-icon i {
  color: #4CAF50;
}

.takeaway-item.phase-current .takeaway-icon i {
  color: var(--rebel-gold);
}

.takeaway-item.phase-next .takeaway-icon i {
  color: var(--rebel-red);
}

.takeaway-item.community-driven .takeaway-icon i {
  color: #9C27B0;
}

.takeaway-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.takeaway-value {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.takeaway-details {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.real-time-update {
  text-align: center;
  color: var(--rebel-gold);
  font-weight: 600;
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background: rgba(255, 204, 0, 0.1);
  border-radius: var(--border-radius);
}

/* ===== Roadmap Stats ===== */
.roadmap-stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.stat-card {
  background: rgba(0, 0, 0, 0.4);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  border: 2px solid var(--rebel-gold);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--rebel-gold);
  margin-bottom: var(--spacing-sm);
}

.stat-value {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--rebel-gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.progress-container {
  margin-top: var(--spacing-md);
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rebel-red), var(--rebel-gold));
  border-radius: 4px;
  transition: width 1s ease;
}

.progress-label {
  font-size: 0.9rem;
  color: var(--rebel-gold);
}

/* ===== Timeline Sections ===== */
.timeline-section {
  background: rgba(0, 0, 0, 0.1);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  border: 2px solid;
  margin-bottom: var(--spacing-xl);
}

.timeline-section.completed {
  border-color: #4CAF50;
  background: rgba(76, 175, 80, 0.1);
}

.timeline-section.current {
  border-color: var(--rebel-gold);
  background: rgba(255, 204, 0, 0.1);
}

.timeline-section.future {
  border-color: var(--rebel-red);
  background: rgba(255, 51, 102, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.section-header i {
  font-size: 1.5rem;
}

.timeline-section.completed .section-header {
  color: #4CAF50;
}

.timeline-section.current .section-header {
  color: var(--rebel-gold);
}

.timeline-section.future .section-header {
  color: var(--rebel-red);
}

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 0;
  border-bottom: none;
  display: inline;
}

.phase-content {
  max-width: 1200px;
  margin: 0 auto;
}

.phase-content h3 {
  font-size: 1.8rem;
  color: inherit;
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.timeline-section.completed .phase-content h3 {
  color: #4CAF50;
}

.timeline-section.current .phase-content h3 {
  color: var(--rebel-gold);
}

.timeline-section.future .phase-content h3 {
  color: var(--rebel-red);
}

/* ===== Timeline Items ===== */
.phase-timeline, .future-timeline {
  max-width: 1000px;
  margin: var(--spacing-xl) auto;
}

.timeline-item {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--border-radius);
  border: 2px solid;
}

.timeline-section.completed .timeline-item {
  border-color: rgba(76, 175, 80, 0.3);
}

.timeline-section.future .timeline-item {
  border-color: rgba(255, 51, 102, 0.3);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-sm);
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.quarter-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--rebel-red), var(--rebel-gold));
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  margin-right: var(--spacing-sm);
}

.timeline-header h4 {
  color: inherit;
  display: inline-block;
  margin-left: var(--spacing-sm);
  font-size: 1.3rem;
}

/* ===== Status Badges ===== */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.status-completed {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-in-progress {
  background: rgba(255, 204, 0, 0.2);
  color: var(--rebel-gold);
  border: 1px solid rgba(255, 204, 0, 0.3);
}

.status-upcoming {
  background: rgba(255, 51, 102, 0.2);
  color: var(--rebel-red);
  border: 1px solid rgba(255, 51, 102, 0.3);
}

/* ===== Milestone List ===== */
.milestone-list {
  list-style: none;
  margin: var(--spacing-md) 0;
}

.milestone-list li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.milestone-list li:last-child {
  border-bottom: none;
}

.milestone-list li i {
  color: inherit;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.timeline-section.completed .milestone-list li i {
  color: #4CAF50;
}

.timeline-section.future .milestone-list li i {
  color: var(--rebel-red);
}

.timeline-section.future .milestone-list li i.fa-lightbulb {
  color: var(--rebel-gold);
}

/* ===== Current Focus Section ===== */
.current-focus {
  background: rgba(0, 0, 0, 0.3);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-lg);
}

.focus-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.quarter-display {
  text-align: center;
  flex: 1;
}

.quarter-number {
  font-size: 3rem;
  color: var(--rebel-gold);
  font-weight: 900;
}

.quarter-year {
  color: var(--rebel-gold);
  font-weight: 600;
}

.focus-title {
  flex: 2;
}

.focus-title h4 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: var(--spacing-sm);
}

.focus-title .progress-container {
  margin-top: var(--spacing-md);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Focus Cards ===== */
.focus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) auto;
}

.focus-card {
  background: rgba(0, 0, 0, 0.4);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  border: 2px solid var(--rebel-red);
  transition: var(--transition);
  text-align: center;
}

.focus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--rebel-gold);
}

.focus-card i {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--rebel-gold);
}

.focus-card h3 {
  color: var(--rebel-gold);
  margin-bottom: var(--spacing-sm);
  font-size: 1.2rem;
}

.focus-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

/* ===== Recent Achievements ===== */
.recent-achievements {
  background: rgba(76, 175, 80, 0.1);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  border-left: 4px solid #4CAF50;
  margin: var(--spacing-lg) 0;
}

.recent-achievements h4 {
  color: #4CAF50;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
}

.recent-achievements .milestone-list li i {
  color: #4CAF50;
}

/* ===== Action Buttons ===== */
.action-buttons {
  text-align: center;
  margin-top: var(--spacing-lg);
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* ===== Info Box ===== */
.info-box {
  background: rgba(76, 175, 80, 0.2);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  margin-top: var(--spacing-lg);
}

.timeline-section.completed .info-box {
  border-left: 4px solid #4CAF50;
}

.info-box.future-info {
  background: rgba(255, 51, 102, 0.2);
  border-left: 4px solid var(--rebel-red);
}

.info-box p {
  margin: 0;
  text-align: center;
  font-weight: 600;
}

.timeline-section.completed .info-box p {
  color: #4CAF50;
}

.timeline-section.future .info-box p {
  color: var(--rebel-red);
}

.info-box i {
  margin-right: 0.5rem;
}

/* ===== Roadmap Principles ===== */
.roadmap-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) auto;
}

.principle-card {
  background: rgba(0, 0, 0, 0.4);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  border: 2px solid var(--rebel-red);
  text-align: center;
  transition: var(--transition);
}

.principle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--rebel-gold);
}

.principle-card i {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--rebel-gold);
}

.principle-card h3 {
  color: var(--rebel-gold);
  margin-bottom: var(--spacing-sm);
  font-size: 1.2rem;
}

.principle-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Milestone Gallery ===== */
.milestone-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) auto;
}

.milestone-highlight {
  background: rgba(0, 0, 0, 0.4);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  border: 2px solid var(--rebel-gold);
  text-align: center;
  transition: var(--transition);
}

.milestone-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.milestone-highlight.red {
  border-color: var(--rebel-red);
}

.milestone-icon {
  font-size: 3rem;
  color: var(--rebel-gold);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.milestone-highlight.red .milestone-icon {
  color: var(--rebel-red);
}

.milestone-highlight h3 {
  color: var(--rebel-gold);
  text-align: center;
  margin-bottom: var(--spacing-sm);
  font-size: 1.3rem;
}

.milestone-highlight.red h3 {
  color: var(--rebel-red);
}

.milestone-highlight p {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.6;
}

/* ===== Roadmap Updates ===== */
.updates-card {
  background: rgba(0, 0, 0, 0.3);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  text-align: center;
}

.updates-card p {
  font-size: 1.2em;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.update-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* ===== Related Pages (Updated with Community Style) ===== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.related-card {
  background: var(--card-bg, rgba(0, 0, 0, 0.6));
  border: 2px solid;
  border-radius: var(--border-radius-lg, 16px);
  padding: var(--spacing-xl);
  transition: all 0.3s ease;
  text-align: center;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.related-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.related-card:hover::before {
  opacity: 1;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.related-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  transition: transform 0.3s ease;
}

.related-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.related-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.related-arrow {
  margin-top: var(--spacing-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.related-card:hover .related-icon {
  transform: scale(1.1);
}

.related-card:hover .related-arrow {
  transform: translateX(5px);
}

/* Color Themes for Related Cards */
.governance-card {
  border-color: #673AB7 !important;
  background: rgba(103, 58, 183, 0.1) !important;
}

.governance-card .related-icon,
.governance-card h3,
.governance-card .related-arrow {
  color: #673AB7 !important;
}

.governance-card::before {
  background: #673AB7 !important;
}

.governance-card:hover {
  background: rgba(103, 58, 183, 0.15) !important;
}

.tokenomics-card {
  border-color: var(--rebel-blue) !important;
  background: rgba(0, 170, 255, 0.1) !important;
}

.tokenomics-card .related-icon,
.tokenomics-card h3,
.tokenomics-card .related-arrow {
  color: var(--rebel-blue) !important;
}

.tokenomics-card::before {
  background: var(--rebel-blue) !important;
}

.tokenomics-card:hover {
  background: rgba(0, 170, 255, 0.15) !important;
}

.community-card {
  border-color: #4CAF50 !important;
  background: rgba(76, 175, 80, 0.1) !important;
}

.community-card .related-icon,
.community-card h3,
.community-card .related-arrow {
  color: #4CAF50 !important;
}

.community-card::before {
  background: #4CAF50 !important;
}

.community-card:hover {
  background: rgba(76, 175, 80, 0.15) !important;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .takeaways-grid {
    grid-template-columns: 1fr;
  }
  
  .roadmap-stats-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1.2rem;
  }
  
  .timeline-section {
    padding: var(--spacing-lg);
  }
  
  .focus-header {
    flex-direction: column;
    text-align: center;
  }
  
  .focus-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .roadmap-principles {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .milestone-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .action-buttons,
  .update-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .quarter-badge {
    margin-bottom: var(--spacing-sm);
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .page-hero--roadmap h1 {
    font-size: 1.8rem;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .takeaways-header {
    flex-direction: column;
    text-align: center;
  }
  
  .current-status-badge {
    margin-top: var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  .takeaways-card {
    padding: var(--spacing-md);
  }
  
  .takeaway-item {
    padding: var(--spacing-md);
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .timeline-item {
    padding: var(--spacing-md);
  }
  
  .milestone-list li {
    font-size: 0.9rem;
  }
  
  .related-card {
    min-height: 200px;
    padding: var(--spacing-md);
  }
  
  .related-icon {
    font-size: 2rem;
  }
  
  .related-card h3 {
    font-size: 1rem;
  }
  
  .related-card p {
    font-size: 0.85rem;
  }
  
  .page-hero--roadmap h1 {
    font-size: 1.6rem;
  }
}

/* Print styles */
@media print {
  .timeline-section {
    break-inside: avoid;
    border: 1px solid #ccc;
    background: white !important;
    color: black !important;
  }
  
  .status-badge {
    background: #f0f0f0 !important;
    color: #333 !important;
    border: 1px solid #ccc !important;
  }
  
  .milestone-list li i {
    color: #333 !important;
  }
}
