:root {
    --primary: #007AFF;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --bg: #ffffff;
    --bg-secondary: #f5f5f7;
    --border: #d2d2d7;
    --max-width: 800px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

/* Navigation */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
    display: block;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.95rem;
}

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

/* Main content */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
}

/* Hero */
.hero {
    text-align: center;
    padding-top: 6rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.app-store-badge img {
    transition: opacity 0.2s;
}

.app-store-badge img:hover {
    opacity: 0.8;
}

/* How it works */
.how-it-works {
    border-top: 1px solid var(--border);
}

.how-it-works h2,
.why h2,
.pricing h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Why */
.why {
    border-top: 1px solid var(--border);
}

.why p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing */
.pricing {
    border-top: 1px solid var(--border);
}

.price-card {
    text-align: center;
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 3rem;
    max-width: 360px;
    margin: 0 auto;
}

.price {
    font-size: 3rem;
    font-weight: 700;
}

.price-label {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.price-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 640px) {
    .logo {
        font-size: 1rem;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

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

    .subtitle {
        font-size: 1.1rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
