:root {
    --bg: #ffffff;
    --bg-soft: #f5f5f7;
    --text: #1d1d1f;
    --text-muted: #6e6e73;
    --accent: #0071e3;
    --border: #e5e5ea;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --bg-soft: #1c1c1e;
        --text: #f5f5f7;
        --text-muted: #98989d;
        --accent: #2997ff;
        --border: #2c2c2e;
        --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
    }
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", "Helvetica", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: color-mix(in srgb, var(--bg) 80%, transparent);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.site-header .logo {
    font-weight: 600;
    font-size: 18px;
    color: var(--text);
}

.lang-switcher {
    font-size: 14px;
    color: var(--text-muted);
}

.lang-switcher a {
    color: var(--text-muted);
}

.lang-switcher .current {
    color: var(--text);
    font-weight: 600;
}

.lang-switcher .sep {
    margin: 0 8px;
    color: var(--border);
}

/* Hero */
.hero {
    text-align: center;
    padding: 64px 0 48px;
}

.hero img.icon {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    box-shadow: var(--card-shadow);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 44px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.hero .tagline {
    font-size: 21px;
    color: var(--text-muted);
    margin: 0 0 24px;
    line-height: 1.4;
}

.hero .badge-placeholder {
    display: inline-block;
    padding: 10px 20px;
    background: var(--bg-soft);
    color: var(--text-muted);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

/* Sections */
section {
    padding: 56px 0;
    border-top: 1px solid var(--border);
}

section h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 32px;
    letter-spacing: -0.01em;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-card {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 20px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Screenshots */
.screenshots {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshots img {
    flex: 0 0 auto;
    width: 240px;
    height: auto;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    scroll-snap-align: start;
}

/* FAQ */
.faq-item {
    margin-bottom: 24px;
}

.faq-item h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
}

.faq-item p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Contact */
.contact p {
    font-size: 17px;
    margin: 0;
}

.contact a {
    font-weight: 500;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.site-footer nav {
    margin-bottom: 12px;
}

.site-footer nav a {
    color: var(--text-muted);
    margin: 0 12px;
}

/* Mobile */
@media (max-width: 600px) {
    .hero {
        padding: 40px 0 32px;
    }

    .hero img.icon {
        width: 96px;
        height: 96px;
        border-radius: 22px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero .tagline {
        font-size: 18px;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

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

    .screenshots img {
        width: 200px;
    }
}
