:root {
    --bg: #ffffff;
    --bg-secondary: #f5f5f7;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --border: #d2d2d7;
    --card-bg: #ffffff;
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --badge-free: #34c759;
    --badge-pro: #ff9500;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --bg-secondary: #1c1c1e;
        --text: #f5f5f7;
        --text-secondary: #a1a1a6;
        --text-tertiary: #6e6e73;
        --accent: #2997ff;
        --accent-hover: #4eb0ff;
        --border: #38383a;
        --card-bg: #1c1c1e;
        --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Layout */

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */

header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

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

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.header-brand:hover {
    text-decoration: none;
    color: var(--text);
}

.header-brand img {
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

.header-brand span {
    font-size: 18px;
    font-weight: 600;
}

header nav a {
    font-size: 14px;
    color: var(--text-secondary);
}

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

/* Hero */

.hero {
    text-align: center;
    padding: 80px 0 60px;
}

.hero-icon {
    width: 128px;
    height: 128px;
    border-radius: 28px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.hero .tagline {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.hero .description {
    font-size: 16px;
    color: var(--text-tertiary);
    max-width: 480px;
    margin: 0 auto 32px;
}

.app-store-badge {
    display: inline-block;
    transition: opacity 0.2s;
}

.app-store-badge:hover {
    opacity: 0.8;
    text-decoration: none;
}

.app-store-badge img {
    height: 44px;
}

/* Features */

.features {
    padding: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--card-shadow);
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.feature-card-header h2 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    color: #ffffff;
}

.badge-free {
    background-color: var(--badge-free);
}

.badge-pro {
    background-color: var(--badge-pro);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.feature-icon {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    font-size: 16px;
}

/* Pricing */

.pricing {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.pricing p {
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing .price {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

/* Footer */

footer {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

footer p {
    font-size: 13px;
    color: var(--text-tertiary);
}

footer a {
    color: var(--text-secondary);
}

footer .footer-links {
    margin-top: 8px;
}

footer .footer-links a {
    margin: 0 8px;
}

/* Privacy page */

.page-content {
    padding: 60px 0;
}

.page-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-content .last-updated {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.page-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
}

.page-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.page-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.page-content ul li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Responsive */

@media (max-width: 600px) {
    .hero {
        padding: 48px 0 40px;
    }

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

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

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

    .feature-card {
        padding: 22px;
    }
}
