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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    background-attachment: fixed;
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-section {
    text-align: center;
    padding: 3rem 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #a855f7;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.version {
    font-size: 1.1rem;
    color: #cbd5e1;
    font-weight: 500;
}

.content-wrapper {
    padding: 2rem 0;
}

.features-compact {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    border: 1px solid rgba(168, 85, 247, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: #a855f7;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.2);
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.column {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(168, 85, 247, 0.4);
}

.slide-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #a855f7;
    padding-bottom: 0.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.download-item {
    background: rgba(30, 41, 59, 0.6);
    padding: 1.2rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
}

.download-item:hover {
    border-color: #a855f7;
    transform: translateX(5px);
}

.download-item.primary {
    border: 2px solid #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

.dl-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.dl-icon {
    font-size: 1.5rem;
}

.dl-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    flex: 1;
}

.badge {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.dl-info {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.btn-download {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.5);
}

.btn-download.secondary {
    background: rgba(100, 116, 139, 0.4);
    border: 1px solid #64748b;
}

.btn-download.secondary:hover {
    background: rgba(100, 116, 139, 0.6);
    border-color: #94a3b8;
}

.btn-download.disabled {
    background: rgba(75, 85, 99, 0.3);
    border: 1px solid #4b5563;
    color: #9ca3af;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-download.disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-download.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.doc-section {
    margin-bottom: 1.5rem;
}

.doc-section ul {
    list-style: none;
    padding-left: 0;
}

.doc-section li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #ffffff;
    font-size: 1.05rem;
}

.doc-section li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #a855f7;
    font-weight: bold;
}

.doc-section code {
    display: block;
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 8px;
    color: #4ade80;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    margin-top: 0.5rem;
    border-left: 3px solid #a855f7;
    overflow-x: auto;
    line-height: 1.8;
}

footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 2px solid #a855f7;
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

footer p {
    color: #cbd5e1;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .two-columns {
        grid-template-columns: 1fr;
    }
    .features-compact {
        grid-template-columns: repeat(3, 1fr);
    }
    .slide-left, .slide-right {
        animation: none;
    }
}

@media (max-width: 480px) {
    .features-compact {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 0 1rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    backdrop-filter: blur(10px);
    margin: 5% auto;
    padding: 2.5rem;
    border: 2px solid #a855f7;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.4);
    animation: slideDown 0.3s ease;
}

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

.modal-content h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 2rem;
    border-bottom: 3px solid #a855f7;
    padding-bottom: 0.5rem;
}

.modal-content p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.modal-content ul {
    list-style: none;
    padding: 0;
}

.modal-content li {
    color: #ffffff;
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
}

.modal-content li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #a855f7;
    font-weight: bold;
    font-size: 1.3rem;
}

.modal-content li strong {
    color: #c084fc;
}

.close {
    color: #94a3b8;
    float: right;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    color: #a855f7;
    transform: rotate(90deg);
}

/* Screenshots Section */
.screenshots-section {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.screenshot {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.screenshot:hover {
    transform: translateY(-5px) scale(1.02);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    padding: 0.75rem;
    font-size: 0.9em;
    color: #cbd5e1;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

/* Navigation Links */
.navigation-links {
    text-align: center;
    margin: 2rem 0;
}

.nav-link {
    display: inline-block;
    margin: 0 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(168, 85, 247, 0.2);
    color: #e2e8f0;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #a855f7;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: #a855f7;
    color: white;
    transform: translateY(-2px);
}

/* Installation Page Styles */
.install-sections {
    margin-top: 2rem;
}

.install-section {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border-left: 4px solid #a855f7;
}

.install-section h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.install-steps .step {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.install-steps .step h3 {
    color: #a855f7;
    margin-bottom: 0.5rem;
}

.install-steps .step code {
    display: block;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.75rem;
    border-radius: 6px;
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    color: #00ff88;
}

.install-steps .step p {
    margin-top: 0.5rem;
    color: #cbd5e1;
}

.troubleshoot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.troubleshoot-item {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.troubleshoot-item h3 {
    color: #f59e0b;
    margin-bottom: 0.75rem;
}

.troubleshoot-item ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.troubleshoot-item li {
    margin: 0.25rem 0;
    color: #cbd5e1;
}

.support-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.support-card {
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.support-card h3 {
    color: #10b981;
    margin-bottom: 1rem;
}

.support-card ul, .support-card ol {
    padding-left: 1.5rem;
}

.support-card li {
    margin: 0.5rem 0;
    color: #cbd5e1;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 2rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .nav-link {
        display: block;
        margin: 0.5rem 0;
    }

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

    .troubleshoot-grid, .support-info {
        grid-template-columns: 1fr;
    }

    .install-section {
        padding: 1rem;
    }
}
