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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #007AFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.lang-switch a {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    color: #666;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.lang-switch a:hover {
    background: rgba(0, 122, 255, 0.1);
    text-decoration: none;
}

.lang-switch a.active {
    background: #007AFF;
    color: white;
}

/* Main */
main {
    flex: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* Hero */
.hero {
    text-align: center;
    padding: 3rem 0 2rem;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #333 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.description {
    font-size: 1rem;
    color: #888;
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #000;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.download-btn svg {
    width: 20px;
    height: 20px;
}

/* Screenshots */
.screenshots {
    padding: 2rem 0;
    overflow: hidden;
}

.screenshot-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.screenshot-scroll::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    text-align: center;
}

.screenshot-item img {
    width: 200px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s;
}

.screenshot-item:hover img {
    transform: scale(1.02);
}

.screenshot-item p {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.feature h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.feature p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Content pages */
.content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.content .updated {
    color: #999;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.content h2 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.content h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
    color: #444;
}

.content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.content p {
    margin-bottom: 1rem;
    color: #555;
}

/* Footer */
footer {
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2rem;
    text-align: center;
}

footer .links {
    margin-bottom: 1rem;
}

footer .links a {
    margin: 0 1rem;
    color: #666;
    font-size: 0.875rem;
}

footer .copyright {
    color: #999;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 0.75rem 1rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .app-icon {
        width: 100px;
        height: 100px;
        border-radius: 22px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .screenshot-item img {
        width: 160px;
        border-radius: 20px;
    }
    
    .features {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .feature {
        padding: 1.25rem;
    }
    
    .content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .features {
        grid-template-columns: 1fr;
    }
    
    .screenshot-item img {
        width: 140px;
        border-radius: 18px;
    }
}
