/* Roadmap Page Styles */

:root {
    --bg-footer: rgba(30, 41, 59, 0.8);
    --border-primary: rgba(56, 189, 248, 0.3);
    --gradient-primary: linear-gradient(135deg, #38bdf8, #3b82f6);
    --text-secondary: #94a3b8;
    --primary-color: #38bdf8;
}

/* Reset & base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-navbar: rgba(255, 255, 255, 0.9);
    --bg-footer: rgba(255, 255, 255, 0.8);

    --text-primary: #0f172a;
    --text-secondary: #475569;

    --primary-color: #0284c7;
    --border-primary: rgba(2, 132, 199, 0.3);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(2, 132, 199, 0.1);

    --gradient-primary: linear-gradient(135deg, #0284c7, #0ea5e9);
    --gradient-card: linear-gradient(145deg, #ffffff, #f1f5f9);

    --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.25);
}

:root,
body[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --bg-navbar: rgba(30, 41, 59, 0.9);
    --bg-footer: rgba(30, 41, 59, 0.8);

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;

    --primary-color: #38bdf8;
    --border-primary: rgba(56, 189, 248, 0.3);

    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(56, 189, 248, 0.1);

    --gradient-primary: linear-gradient(135deg, #38bdf8, #3b82f6);
    --gradient-card: linear-gradient(145deg, #1e293b, #0f172a);

    --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Circle Animation */
.circle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.circle {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: transform 0.1s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-navbar);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-primary);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Nav left and right */
.nav-left {
  display: flex;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Dropdown button */
.drop-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  position: relative;
  transition: color 0.25s ease;
}

.drop-btn::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.25s ease;
}

.drop-btn:hover {
  color: var(--primary-color);
}

.drop-btn:hover::after {
  width: 70%;
}

.drop-btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
}

.dropdown-menu li {
  padding: 8px 10px;
}

.dropdown-menu a {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Main Content */
.roadmap-wrapper {
    margin-top: 80px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.roadmap-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.pill {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--gradient-primary);
    color: white;
}

.roadmap-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    text-align: center;
    min-width: 150px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}

/* Timeline Section */
.timeline-section {
    margin-bottom: 4rem;
}

.timeline-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    justify-content: flex-start;
    width: 50%;
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
    justify-content: flex-end;
}

.timeline-marker {
    position: absolute;
    left: -12px;
    top: 20px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -12px;
}

.timeline-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-left: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 2rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.timeline-content li {
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Feature Requests Section */
.feature-requests-section {
    margin-bottom: 4rem;
    text-align: center;
}

.feature-requests-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-requests-section > p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.vote-count {
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.vote-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.vote-btn:hover {
    transform: scale(1.05);
}

/* Achievements Section */
.achievements-section {
    margin-bottom: 4rem;
    text-align: center;
}

.achievements-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.achievement-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.achievement-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.achievement-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.achievement-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-primary);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.cta-btn.primary {
    background: var(--gradient-primary);
    color: white;
}

.cta-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-btn:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--bg-footer);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-about h4,
.footer-links h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-about p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
}

.footer-social-icons a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social-icons a:hover {
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-primary);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        right: 0;
        flex-direction: column;
        background: var(--bg-navbar);
        padding: 1rem;
        border-radius: 8px;
        box-shadow: var(--shadow-lg);
        min-width: 200px;
    }

    .hamburger {
        display: flex;
    }

    .roadmap-wrapper {
        padding: 1rem;
        margin-top: 60px;
    }

    .roadmap-hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0;
        justify-content: flex-start;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-content {
        margin-left: 3rem;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
    }

    .feature-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}