:root {
    /* macOS System Colors - Light Mode Base */
    --bg-color: #FBFBFD; /* Subtle Apple-like off-white */
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    
    /* Variables */
    --glass-material: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(0, 0, 0, 0.08); /* Lighter border for light mode */
    --glass-highlight: rgba(255, 255, 255, 0.4);
    
    /* Card Shadow */
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);

    /* Accent */
    --accent-color: #0071E3; /* Apple Blue */
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.background-backdrop {
    display: none;
}

/* Nav */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 999;
    display: flex;
    justify-content: center;
}

.nav-content {
    width: 100%;
    max-width: 980px; 
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 600;
    font-size: 21px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-badge {
    width: 24px;
    height: 24px;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    flex: 0 0 auto;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
    cursor: pointer;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Language Switcher */
.language-selector {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    font-family: inherit;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
}

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px;
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1000;
}

.lang-dropdown.show {
    display: block;
    animation: fadeScale 0.2s ease-out;
}

@keyframes fadeScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
    font-family: inherit;
}

.lang-option:hover {
    background: #F5F5F7;
    color: var(--accent-color);
}

/* Hero */
main {
    max-width: 980px;
    margin: 0 auto;
    padding: 140px 22px 0;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60vh;
}

.hero-content {
    max-width: 460px;
}

h1.hero-title {
    font-size: 80px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0 0 10px 0;
    color: #1D1D1F;
    display: flex;
    align-items: center;
    gap: 20px; /* Space between large icon and title */
}

.logo-badge--hero {
    width: 80px;
    height: 80px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.logo-image--hero {
    width: 100%;
    height: 100%;
}

.hero-tagline {
    font-size: 28px;
    font-weight: 600;
    /* Removed gradient */
    color: var(--text-primary);
    margin: 0 0 24px 0;
}

.problem-statement p {
    font-size: 19px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Hero Download Area */
.hero-download-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.download-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.glass-button-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: #0071E3;
    color: #FFFFFF;
}

.glass-button-lg:hover {
    background: #0077ED;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.glass-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: rgba(0,0,0,0.05);
    color: var(--text-primary);
}

.glass-button-secondary:hover {
    background: rgba(0,0,0,0.1);
}

.donate-button {
    background: #D0104C;
    color: #FFFFFF;
    padding: 12px 28px;
    font-size: 17px;
    font-weight: 500;
}

.donate-button:hover {
    background: #BA0E44;
    box-shadow: 0 4px 12px rgba(208, 16, 76, 0.35);
}

.beta-link {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 14px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.beta-link:hover {
    opacity: 1;
    color: var(--accent-color);
    text-decoration: none;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    padding-left: 40px; 
}

/* Removed macos-window-container, window-titlebar, window-controls */

.app-screenshot-clean {
    width: 100%;
    max-width: 540px;
    height: auto;
    display: block;
    border-radius: 8px; /* Slight radius */
    /* No heavy shadow or filtering to preserve color */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}

/* Features */
.features {
    padding: 140px 0;
}

.features h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 80px;
    font-weight: 700;
    color: #1D1D1F;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.glass-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.glass-card h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1D1D1F;
}

.glass-card p {
    font-size: 17px;
    margin: 0;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Footer */
.glass-footer {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 40px 0;
    text-align: center;
    font-size: 12px;
    color: #86868B;
    margin-top: 80px;
}

/* Updates Section */
.updates-section {
    padding: 100px 0;
    max-width: 800px;
    margin: 0 auto;
}

.updates-section h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.update-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px 30px;
    box-shadow: var(--card-shadow);
    margin-bottom: 24px;
    border: 1px solid rgba(0,0,0,0.02);
}

.update-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.version-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.version-tag.stable {
    background: #E8F8F2;
    color: #107C41;
}

.version-tag.beta {
    background: #FFF4E5;
    color: #B76200;
}

.version-number {
    font-family: monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.date {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-secondary);
}

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

.changelog-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.5;
}

.changelog-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--accent-color);
}

/* Extras */
.platform-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0 0 14px;
}

.crypto-note {
    font-size: 11px;
    color: #C0C0C5;
    margin-top: 8px;
}

/* Mobile */
@media (max-width: 860px) {
    main {
        padding-top: 100px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        flex-direction: column;
    }

    .hero-visual {
        justify-content: center;
        width: 100%;
        padding-left: 0;
    }

    .app-screenshot-clean {
        max-width: 90%;
    }
    
    .hero-download-area {
        align-items: center;
    }
    
    h1.hero-title {
        font-size: 48px;
    }
    
    .hero-tagline {
        font-size: 24px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}

/* Author Link Styling */
.author-link {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px dotted var(--text-secondary);
    transition: all 0.2s ease;
    font-weight: 500;
}

.author-link:hover {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}
