/* Base Variables */
:root {
    --bg: #1b1a18;
    --bg-secondary: #131211;
    --text: #e0e0e0;
    --muted: #999999;
    --border: #333333;
    --accent: #6d4aff;
    --card-bg: #232220;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Site Header */
.site-header {
    text-align: center;
    margin-bottom: 32px;
}

.site-logo {
    width: 240px;
    height: auto;
    max-height: 240px;
}

/* Platform Note */
.platform-note {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}

.platform-note a {
    color: var(--text);
    text-decoration: none;
}

.platform-note a:hover {
    text-decoration: underline;
}

/* Suite Features */
.suite-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.sep {
    color: var(--border);
}

/* Download Section */
.download-section {
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Download Meta — Styled Badge Below Download Button */
.download-meta {
    margin-top: 12px;
    font-size: 11px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(35, 34, 32, 0.6);
    border: 1px solid rgba(136, 136, 136, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.btn-download {
    display: inline-block;
    background: linear-gradient(135deg, #888888 0%, #aaaaaa 50%, #888888 100%);
    color: #1b1a18;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    text-shadow: 0 1px 2px rgba(27, 26, 24, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(136, 136, 136, 0.3);
}

/* Install Guide — Full Width */
.install-guide {
    max-width: 100%;
    margin: 0 auto 48px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--card-bg);
    overflow: hidden;
}

.install-guide summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    transition: background 0.2s;
}

.install-guide summary::-webkit-details-marker {
    display: none;
}

.install-guide summary::after {
    content: '+';
    float: right;
    font-weight: bold;
    color: #aaaaaa;
}

.install-guide[open] summary::after {
    content: '\2212';
}

.install-guide summary:hover {
    background: var(--border);
}

.install-content {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}

.install-intro {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
}

.install-paths {
    margin: 0 0 14px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.install-os {
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.install-os dt {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.install-os dd {
    font-size: 11px;
    color: var(--muted);
    margin-left: 0;
    padding: 4px 8px;
    background: var(--bg-secondary);
    border-radius: 3px;
    word-break: break-all;
}

.install-content code {
    background: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    color: var(--text);
}

.install-note {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

.install-note strong {
    color: var(--text);
}

/* Install Tip & Warning Boxes */
.install-tip {
    margin-top: 14px;
    padding: 10px 14px;
    font-size: 12px;
    color: var(--muted);
    background: rgba(136, 136, 136, 0.08);
    border-left: 3px solid rgba(136, 136, 136, 0.4);
    border-radius: 0 4px 4px 0;
    line-height: 1.5;
}

.install-tip strong {
    color: var(--text);
}

.install-tip code {
    background: var(--bg-secondary);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 11px;
    color: var(--text);
}

.install-warning {
    margin-top: 14px;
    padding: 10px 14px;
    font-size: 12px;
    color: var(--muted);
    background: rgba(204, 102, 51, 0.08);
    border-left: 3px solid rgba(204, 102, 51, 0.4);
    border-radius: 0 4px 4px 0;
    line-height: 1.5;
}

.install-warning strong {
    color: #cc8866;
}

.install-warning code {
    background: var(--bg-secondary);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 11px;
    color: var(--text);
}

/* Section Title */
.section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 24px;
    text-align: center;
}

/* Plugin Grid */
.plugins {
    margin-bottom: 48px;
}

.plugin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.plugin-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px 14px;
    text-align: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.plugin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.plugin-card.coming-soon {
    opacity: 0.5;
    cursor: default;
}

.plugin-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.plugin-icon {
    margin-bottom: 14px;
}

.plugin-info h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.plugin-desc {
    font-size: 11px;
    color: var(--muted);
}

.coming-soon .plugin-info h3 {
    color: var(--muted);
}

.info-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #666666, #555555);
    color: #cccccc;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid #555555;
    opacity: 0.5;
    transition: transform 0.2s, opacity 0.2s, background 0.2s;
}

.info-badge:hover {
    background: linear-gradient(135deg, #777777, #666666);
    transform: scale(1.1);
    opacity: 0.8;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    max-width: 480px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: modalFadeIn 0.2s ease-out;
    position: relative;
}

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

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--muted);
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
    z-index: 1;
}

.modal-close:hover {
    color: var(--text);
}

.guide-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
}

.guide-header h3 {
    margin: 0 0 6px 0;
    font-size: 17px;
    color: var(--text);
}

.guide-header p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.guide-body {
    padding: 18px 22px;
}

.guide-section {
    margin-bottom: 18px;
}

.guide-section:last-child {
    margin-bottom: 0;
}

.guide-section h4 {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.guide-sliders li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
}

.guide-sliders li:last-child {
    border-bottom: none;
}

.slider-name {
    font-weight: 600;
    color: var(--text);
    min-width: 130px;
    font-size: 12px;
}

.slider-desc {
    color: var(--muted);
    font-size: 12px;
    flex: 1;
}

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

.use-cases li {
    padding: 4px 0;
    color: var(--muted);
    font-size: 12px;
}

.use-cases strong {
    color: var(--text);
}

/* FX Chains Section */
.fx-chains {
    margin-top: 48px;
    padding: 32px 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.chains-intro {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.chains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.chain-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;   /* ← πρόσθεσε */
    cursor: pointer;      /* ← πρόσθεσε */
}

.chain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.chain-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.chain-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.chain-desc {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
}

.chain-plugins {
    list-style: none;
    padding: 10px;
    margin: 0;
    font-size: 11px;
    color: var(--muted);
    background: var(--bg-secondary);
    border-radius: 4px;
}

.chain-plugins li {
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
}

.chain-plugins li:last-child {
    border-bottom: none;
}

/* Footer — Centered, Slim, Rounded Edges */
.site-footer {
    max-width: 1200px;
    margin: 48px auto 0;
    padding: 18px 20px;
    border-top: 1px solid var(--border);
    position: relative;
}

.site-footer::before,
.site-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border));
}

.site-footer::before {
    left: 0;
}

.site-footer::after {
    right: 0;
    transform: scaleX(-1);
}

.footer-content {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
}

.site-footer a {
    color: var(--text);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #555555, #444444);
    color: #cccccc;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid #666666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s, box-shadow 0.2s;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 0.6;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #666666, #555555);
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .plugin-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .chains-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 16px 16px;
    }

    .footer-content {
        font-size: 11px;
    }

    .install-paths {
        flex-direction: column;
    }

    .back-to-top {
        bottom: 16px;
        right: 16px;
    }
}