:root {
    --color-primary: #e9a6a6;
    --color-secondary: #ffcfff;
    --color-accent: #f6d7a7;
    --color-bg: #ffe8d1;
    --color-bg-dark: #1f1d36;
    --color-text: #2d2d2d;
    --color-text-light: #666;
    --color-surface: rgba(255, 255, 255, 0.8);
    --radius: 20px;
    --max-width: 1200px;
    --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.header-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.header-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: color 0.2s;
}

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

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-switcher a {
    color: var(--color-text-light);
    transition: color 0.2s;
}

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

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

.lang-switcher span {
    color: var(--color-text-light);
    opacity: 0.4;
    font-weight: 400;
}

/* Hero */
.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px 60px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #e9a6a6, #f6d7a7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 32px;
}

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

.app-store-badge:hover {
    transform: scale(1.05);
}

.app-store-badge img {
    height: 54px;
    width: auto;
}

/* Screenshot Gallery */
.screenshots {
    padding: 40px 0 60px;
}

.screenshots h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
}

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

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

.screenshot-gallery img {
    scroll-snap-align: center;
    flex-shrink: 0;
    height: 500px;
    width: auto;
    border-radius: 12px;
}

/* Features */
.features {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Privacy */
.privacy-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px;
    text-align: center;
}

.privacy-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.privacy-section > p {
    color: var(--color-text-light);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.privacy-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.privacy-pill {
    display: inline-block;
    border-radius: 999px;
    padding: 10px 24px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 80px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    font-size: 0.85rem;
}

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

/* Content pages (privacy, terms) */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

.content-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #e9a6a6, #f6d7a7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-page .subtitle {
    color: var(--color-text-light);
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.content-page h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 12px;
}

.content-page p,
.content-page ul {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

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

.content-page li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshot-gallery img {
        height: 400px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .header-nav {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 16px 40px;
    }

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

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

    .screenshot-gallery img {
        height: 340px;
    }

    .header-inner {
        padding: 10px 16px;
    }

    .header-nav {
        gap: 12px;
        font-size: 0.85rem;
    }
}