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

body {
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #1e1e1e;
    color: #ffffff;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 400;
}

/* Header Styles */
.header {
    background-color: #1e1e1e;
    border-bottom: 1px solid #3e3e42;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 24px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 32px;
}

.logo-icon {
    width: 180px;
    height: 48px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    margin: 0;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #ffffff;
    font-weight: 400;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-button {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-weight: 400;
}

.icon-button svg {
    width: 16px;
    height: 16px;
}

.icon-button .moon-icon {
    width: 18px;
    height: 18px;
}

.icon-button:hover {
    background-color: #2d2d30;
    color: #ffffff;
    font-weight: 400;
}

.download-btn-header {
    background-color: #007ACC;
    color: #ffffff;
    border: none;
    padding: 6px 16px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
    height: 32px;
    display: flex;
    align-items: center;
}

.download-btn-header:hover {
    background-color: #005a9e;
    font-weight: 400;
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px 64px;
    width: 100%;
}

.main-title {
    font-size: 56px;
    font-weight: 300;
    text-align: center;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.subtitle {
    font-size: 20px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 80px;
    font-weight: 400;
    line-height: 1.5;
}

/* Download Grid */
.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.download-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px 20px 24px;
    background-color: #252526;
    border: 1px solid #3e3e42;
    border-radius: 4px;
}

.os-logo {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.os-logo svg {
    width: 88px;
    height: 110px;
}

.os-logo img {
    width: 88px;
    height: 110px;
}

/* Apple logo theme switching */
.apple-logo-dark {
    display: block;
}

.apple-logo-light {
    display: none;
}

[data-theme="light"] .apple-logo-dark {
    display: none;
}

[data-theme="light"] .apple-logo-light {
    display: block;
}


.primary-download-btn {
    background-color: #007ACC;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    margin-bottom: 16px;
    font-family: inherit;
    justify-content: center;
    min-width: 140px;
}

.primary-download-btn:hover {
    background-color: #005a9e;
    font-weight: 400;
}

.download-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.os-version {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 32px;
    text-align: center;
    font-weight: 400;
}

.separator {
    margin: 0 8px;
    color: #ffffff;
    font-weight: 400;
    font-size: 14px;
}

.download-options {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-label {
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 4px;
    font-weight: 400;
}

.arch-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.arch-btn {
    background-color: #2d2d30;
    color: #ffffff;
    border: 1px solid #3e3e42;
    padding: 6px 12px;
    border-radius: 2px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-weight: 400;
}

.arch-btn:hover {
    background-color: #3e3e42;
    border-color: #007ACC;
    color: #007ACC;
    font-weight: 400;
}

/* License Notice */
.license-notice {
    text-align: center;
    margin-bottom: 64px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.license-notice a {
    color: #007ACC;
    text-decoration: none;
    font-weight: 400;
}

.license-notice a:hover {
    text-decoration: underline;
    font-weight: 400;
}

/* Additional Info */
.additional-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
    max-width: 800px;
    margin: 0 auto 64px;
}

.info-column {
    text-align: center;
}

.info-column h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #ffffff;
    line-height: 1.5;
}

.info-column p {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.info-column a {
    color: #007ACC;
    text-decoration: none;
    font-weight: 400;
}

.info-column a:hover {
    text-decoration: underline;
    font-weight: 400;
}

.info-subtext {
    margin-top: 4px;
    font-size: 13px;
    color: #ffffff;
    font-weight: 400;
}

/* Additional Links */
.additional-links {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.additional-links a {
    color: #007ACC;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.additional-links a:hover {
    text-decoration: underline;
    font-weight: 400;
}

/* Footer */
.footer {
    background-color: #1e1e1e;
    padding: 40px 24px;
    margin-top: auto;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.social-icons a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-weight: 400;
}

.social-icons a svg {
    width: 20px;
    height: 20px;
}

.social-icons a:hover {
    color: #ffffff;
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    font-weight: 400;
}

.footer-right {
    display: flex;
    align-items: center;
}

.windows-logo-small {
    width: 20px;
    height: 20px;
    color: #ffffff;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .additional-info {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .nav-links {
        display: none;
    }

    .main-title {
        font-size: 48px;
    }
}

@media (max-width: 600px) {
    .main-title {
        font-size: 40px;
    }

    .subtitle {
        font-size: 18px;
        margin-bottom: 64px;
    }

    .footer-container {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }

    .footer-right {
        align-self: flex-end;
    }

    .download-column {
        padding: 32px 20px 16px 20px;
    }

    .main-content {
        padding: 64px 20px 48px;
    }
}

/* Light Theme Styles */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f3f3f3;
    --bg-tertiary: #e8e8e8;
    --text-primary: #000000;
    --text-secondary: #000000;
    --text-tertiary: #000000;
    --border-color: #d1d1d1;
    --hover-bg: #f0f0f0;
}

[data-theme="light"] body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 400;
}

[data-theme="light"] .header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .logo-text {
    color: var(--text-primary);
    font-weight: 400;
}

[data-theme="light"] .nav-links a {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .nav-links a:hover {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .icon-button {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .icon-button:hover {
    background-color: var(--hover-bg);
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .main-title {
    color: var(--text-primary);
    font-weight: 300;
}

[data-theme="light"] .subtitle {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .download-column {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .os-version {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .option-label {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .arch-btn {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-weight: 400;
}

[data-theme="light"] .arch-btn:hover {
    background-color: var(--hover-bg);
    border-color: #007ACC;
    color: #007ACC;
    font-weight: 400;
}

[data-theme="light"] .license-notice {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .license-notice a {
    font-weight: 400;
}

[data-theme="light"] .info-column h3 {
    color: var(--text-primary);
    font-weight: 400;
}

[data-theme="light"] .info-column p {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .info-column a {
    font-weight: 400;
}

[data-theme="light"] .info-subtext {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .footer {
    background-color: var(--bg-primary);
}

[data-theme="light"] .social-icons a {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .social-icons a:hover {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .footer-links a {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .footer-links a:hover {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .windows-logo-small {
    color: #000000;
    font-weight: 400;
}

[data-theme="light"] .additional-links a {
    font-weight: 400;
}

.theme-icon {
    transition: opacity 0.2s ease;
}