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

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    background: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

header > div:first-child {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
}

header img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

nav {
    display: flex;
    gap: 2.5rem;
    font-size: 0.9rem;
    color: #666;
}

nav a {
    color: #666;
    transition: color 0.2s;
}

nav a.active {
    color: #000;
    font-weight: 600;
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.hero {
    height: 100vh;
    flex-direction: column;
    text-align: center;
    padding: 0;
    margin-top: -60px;
}

.hero img {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

.cta-button:hover {
    background: #2563eb;
}

.showcase {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

section:nth-child(3) .showcase-image {
    order: 1;
}

section:nth-child(3) .showcase-text {
    order: 2;
}

section:nth-child(4) .showcase-image {
    order: 2;
}

section:nth-child(4) .showcase-text {
    order: 1;
}

section:nth-child(5) .showcase-image {
    order: 1;
}

section:nth-child(5) .showcase-text {
    order: 2;
}

section:nth-child(6) .showcase-image {
    order: 2;
}

section:nth-child(6) .showcase-text {
    order: 1;
}

section:nth-child(7) .showcase-image {
    order: 1;
}

section:nth-child(7) .showcase-text {
    order: 2;
}

.showcase-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.showcase-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.showcase-image {
    display: flex;
    justify-content: center;
}

.iphone {
    width: 260px;
    background: #333;
    border-radius: 40px;
    padding: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.iphone img,
.iphone picture {
    width: 100%;
    height: auto;
    border-radius: 32px;
    display: block;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    flex: 1;
    width: 100%;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.7;
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
}

li {
    margin-bottom: 0.5rem;
}

.version {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.version h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.version-date {
    color: #999;
    font-size: 0.9rem;
    margin-left: auto;
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #f0f0f0;
}

footer p {
    margin: 0;
}

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

@media (prefers-color-scheme: dark) {
    body {
        color: #e5e5e5;
        background: #000;
    }

    header {
        background: #000;
        border-bottom-color: #333;
    }

    nav {
        color: #999;
    }

    nav a.active {
        color: #fff;
    }

    .hero p {
        color: #999;
    }

    .showcase-text p {
        color: #999;
    }

    .cta-button {
        background: #3b82f6;
    }

    .cta-button:hover {
        background: #2563eb;
    }

    .version {
        border-bottom-color: #333;
    }

    .version-date {
        color: #666;
    }

    footer {
        color: #999;
        border-top-color: #333;
    }

    footer p.footer-copyright {
        color: #666;
    }

}

@media (max-width: 768px) {
    section {
        min-height: auto;
        padding: 4rem 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase:nth-child(even) {
        direction: ltr;
    }

    .showcase-text h2 {
        font-size: 1.8rem;
    }

    .iphone {
        width: 220px;
    }

    header {
        padding: 1rem 2rem;
    }

    nav {
        gap: 1.5rem;
        font-size: 0.8rem;
    }
}