/* Features Page Styling */

.features-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(255, 210, 74, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    border: 2px solid rgba(255, 210, 74, 0.3);
}

.features-header h1 {
    font-size: 48px;
    margin: 0 0 10px 0;
    color: var(--ui-accent);
    text-shadow: 0 0 20px var(--ui-glow);
}

.features-header .subtitle {
    font-size: 16px;
    margin: 10px 0 20px 0;
    opacity: 0.8;
}

.features-nav {
    margin-top: 20px;
}

.nav-link {
    color: var(--ui-accent);
    text-decoration: none;
    font-size: 14px;
    padding: 10px 20px;
    border: 2px solid var(--ui-accent);
    border-radius: 8px;
    display: inline-block;
    transition: all 0.2s;
}

.nav-link:hover {
    background: var(--ui-accent);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--ui-glow);
}

.features-content {
    margin-bottom: 60px;
}

.features-section {
    margin-bottom: 80px;
}

.features-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--ui-accent);
    border-bottom: 3px solid rgba(255, 210, 74, 0.3);
    padding-bottom: 15px;
}

.feature-category {
    margin-bottom: 50px;
}

.feature-category h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #8b5cf6;
    padding-left: 10px;
    border-left: 4px solid #8b5cf6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 210, 74, 0.4);
    transform: translateX(5px);
}

.feature-item.implemented {
    border-left: 4px solid #10b981;
}

.feature-item.planned {
    border-left: 4px solid #8b5cf6;
    opacity: 0.85;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
    line-height: 1;
}

.feature-details {
    flex: 1;
}

.feature-details strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--ui-accent);
}

.feature-details p {
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Release Timeline */

.release-timeline {
    position: relative;
    padding-left: 40px;
}

.release-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--ui-accent), rgba(139, 92, 246, 0.5));
}

.release-item {
    position: relative;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.release-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 40px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ui-accent);
    border: 3px solid var(--bg-top);
    box-shadow: 0 0 12px var(--ui-glow);
}

.release-item.current {
    border-color: var(--ui-accent);
    background: rgba(255, 210, 74, 0.05);
}

.release-item.current::before {
    animation: pulse 2s infinite;
}

.release-item.future {
    opacity: 0.75;
}

.release-item.future::before {
    background: #8b5cf6;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 12px var(--ui-glow);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 20px var(--ui-glow);
    }
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.release-header h3 {
    font-size: 24px;
    margin: 0;
    color: var(--ui-accent);
}

.release-date {
    font-size: 12px;
    padding: 8px 16px;
    background: rgba(255, 210, 74, 0.15);
    border-radius: 20px;
    border: 1px solid rgba(255, 210, 74, 0.3);
}

.release-body h4 {
    font-size: 16px;
    margin: 25px 0 15px 0;
    color: #8b5cf6;
}

.release-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.release-body li {
    font-size: 13px;
    line-height: 1.8;
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
}

.release-body li::before {
    content: '▸';
    position: absolute;
    left: 5px;
    color: var(--ui-accent);
}

/* Contributing Section */

.contributing-content {
    font-size: 14px;
    line-height: 1.8;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.contributing-content p {
    margin: 0 0 20px 0;
}

.contributing-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.contributing-list li {
    padding: 12px 20px;
    margin-bottom: 10px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    border-left: 4px solid #8b5cf6;
}

.contributing-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--ui-accent);
}

/* Footer */

.features-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 2px solid rgba(255, 210, 74, 0.2);
    font-size: 12px;
    opacity: 0.8;
}

.features-footer p {
    margin: 10px 0;
}

.features-footer a {
    color: var(--ui-accent);
    text-decoration: none;
    transition: all 0.2s;
}

.features-footer a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--ui-glow);
}

/* Responsive Design */

@media (max-width: 768px) {
    .features-container {
        padding: 20px 15px;
    }

    .features-header {
        padding: 25px 15px;
        margin-bottom: 40px;
    }

    .features-header h1 {
        font-size: 28px;
    }

    .features-header .subtitle {
        font-size: 12px;
    }

    .nav-link {
        font-size: 12px;
        padding: 8px 16px;
    }

    .features-section {
        margin-bottom: 50px;
    }

    .features-section h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .feature-category {
        margin-bottom: 35px;
    }

    .feature-category h3 {
        font-size: 16px;
    }

    .feature-item {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }

    .feature-icon {
        font-size: 28px;
    }

    .feature-details strong {
        font-size: 14px;
    }

    .feature-details p {
        font-size: 11px;
    }

    .release-timeline {
        padding-left: 30px;
    }

    .release-item {
        padding: 20px;
        margin-bottom: 30px;
    }

    .release-item::before {
        left: -26px;
        width: 12px;
        height: 12px;
    }

    .release-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .release-header h3 {
        font-size: 18px;
    }

    .release-date {
        font-size: 10px;
        padding: 6px 12px;
    }

    .release-body h4 {
        font-size: 14px;
    }

    .release-body li {
        font-size: 11px;
    }

    .contributing-content {
        padding: 20px;
        font-size: 12px;
    }

    .contributing-list li {
        padding: 10px 15px;
    }

    .features-footer {
        padding: 25px 15px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .features-container {
        padding: 15px 10px;
    }

    .features-header {
        padding: 20px 12px;
        margin-bottom: 30px;
    }

    .features-header h1 {
        font-size: 22px;
    }

    .features-header .subtitle {
        font-size: 10px;
    }

    .nav-link {
        font-size: 10px;
        padding: 6px 12px;
    }

    .features-section h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .feature-category h3 {
        font-size: 14px;
    }

    .feature-item {
        padding: 12px;
        gap: 10px;
    }

    .feature-icon {
        font-size: 24px;
    }

    .feature-details strong {
        font-size: 12px;
    }

    .feature-details p {
        font-size: 10px;
    }

    .release-timeline {
        padding-left: 25px;
    }

    .release-timeline::before {
        left: 10px;
        width: 2px;
    }

    .release-item {
        padding: 15px;
        margin-bottom: 25px;
    }

    .release-item::before {
        left: -21px;
        width: 10px;
        height: 10px;
    }

    .release-header h3 {
        font-size: 16px;
    }

    .release-date {
        font-size: 9px;
    }

    .release-body h4 {
        font-size: 12px;
        margin: 18px 0 10px 0;
    }

    .release-body li {
        font-size: 10px;
        padding-left: 18px;
    }

    .release-body li::before {
        left: 2px;
    }

    .contributing-content {
        padding: 15px;
        font-size: 11px;
    }

    .contributing-list li {
        padding: 8px 12px;
        font-size: 10px;
    }

    .contributing-content code {
        font-size: 10px;
        padding: 2px 6px;
    }

    .features-footer {
        padding: 20px 10px;
        font-size: 9px;
    }
}
