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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2c3e50;
    color: #ecf0f1;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Header Styles */
header {
    margin: 40px 0;
}

h1 {
    font-size: 2.24rem;
    margin-bottom: 10px;
    color: #ecf0f1;
}

.version-line {
    font-size: 1rem;
    color: #a8b6c0;
    margin-top: 5px;
}

.feature-line {
    font-size: 1rem;
    color: #ecf0f1;
    margin-top: 8px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #3498db;
}

/* Download Section */
.download-section {
    margin: 40px auto;
    max-width: 1000px;
    padding: 30px;
    background-color: rgba(52, 73, 94, 0.7);
    border-radius: 10px;
}

.download-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.download-button {
    margin: 10px;
    width: 300px;
    height: 150px;
}

.download-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 15px;
    background-color: #0a3734;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
}

.download-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.download-link i.fa-apple,
.download-link i.fa-windows {
    margin: 0 25px;
    font-size: 2.5rem;
}

.download-link i.fa-windows {
    color: white;
    font-size: 2.5rem;
}

.download-link:hover {
    background-color: #0d4f4b;
    transform: scale(1.05);
}

.version-text {
    display: block;
    font-size: 0.8rem;
    color: #ffffff;
    margin-top: 8px;
    margin-bottom: 5px;
    font-weight: normal;
}

.version-date {
    display: block;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0;
    font-weight: normal;
}

/* Chasing glow border for featured download */
.download-button.featured {
    position: relative;
    padding: 3px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(10, 55, 52, 0.7), 0 0 45px rgba(10, 55, 52, 0.4);
}

.download-button.featured::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%;
    height: 250%;
    transform: translate(-50%, -50%) rotate(0deg);
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        #0a3734 55deg,
        #1a6b65 80deg,
        transparent 130deg,
        transparent 180deg,
        #0a3734 235deg,
        #1a6b65 260deg,
        transparent 310deg,
        transparent 360deg
    );
    animation: border-spin 6s linear infinite;
    z-index: 0;
}

@keyframes border-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.download-button.featured .download-link {
    position: relative;
    z-index: 1;
    border-radius: 13px;
}

.demo-link {
    background-color: #0a1f44;
}

.demo-link:hover {
    background-color: #122d60;
}

/* Features Section */
.features-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px auto;
    max-width: 1000px;
}

.feature {
    flex: 1 1 300px;
    max-width: 600px;
    padding: 20px;
    background-color: rgba(52, 73, 94, 0.7);
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.feature p {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Footer Styles */
footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(236, 240, 241, 0.2);
}

/* Changelog Section Styles */
.changelog-section {
    margin: 40px auto;
    max-width: 1000px;
    padding: 20px;
    background-color: rgba(52, 73, 94, 0.7);
    border-radius: 10px;
    text-align: left;
}

.changelog-section h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #3498db;
}

.changelog-section ul {
    list-style-type: disc;
    margin-left: 40px;
}

.changelog-section li {
    margin-bottom: 10px;
    color: #ecf0f1;
}

.changelog-date {
    font-size: 0.9em;
    color: #a8b6c0;
    text-align: center;
    margin-top: -15px;
    margin-bottom: 20px;
}

/* Legal Disclaimer */
.legal-disclaimer {
    width: 50%;
    margin: 5px auto 20px auto;
    text-align: center;
    font-size: 0.8em;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .features-section { flex-direction: column; align-items: center; }
    .feature { max-width: 100%; }
    .download-link { padding: 12px 24px; font-size: 1.1rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .download-link { padding: 10px 20px; font-size: 1rem; }
}
