/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*font-family: Helvetica, Arial;*/
    font-family: -apple-system, system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header styles - shared across all pages */
header {
    text-align: center;
    padding: 4rem 0 3rem;
    color: white;
}

.site-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.site-title .logo {
    height: 3.5rem;
    width: auto;
}

.site-title a {
    color: white;
    text-decoration: none;
}

.tagline {
    font-size: 1.6rem;
    opacity: 0.95;
    margin-bottom: 1rem;
}

/* Home page specific styles */
.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.app-store-badge {
    display: inline-block;
    background: black;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.app-store-badge:hover {
    transform: translateY(-2px);
}

.screenshots {
    background: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-top: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #667eea;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshot {
    text-align: center;
}

.screenshot img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.screenshot p {
    margin-top: 1rem;
    color: #666;
    font-weight: 500;
}

.features {
    background: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-top: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #667eea;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #764ba2;
}

.feature p {
    color: #666;
    line-height: 1.8;
}

/* Content pages (privacy, etc.) */
.content-page .container {
    max-width: 900px;
}

.content-page .tagline {
    margin-bottom: 0;
}

.content {
    background: white;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin: 2rem 0 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #667eea;
}

.content h2 {
    color: #667eea;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content h2:first-child {
    margin-top: 0;
}

.content h3 {
    color: #764ba2;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.content ul {
    margin-bottom: 1rem;
    margin-left: 2rem;
    color: #555;
}

.content li {
    margin-bottom: 0.5rem;
}

.last-updated {
    font-style: italic;
    color: #888;
    margin-bottom: 2rem;
}

/* Footer styles - shared across all pages */
footer {
    text-align: center;
    padding: 3rem 0 2rem;
    color: white;
    opacity: 0.8;
}

footer a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transition: border-color 0.2s;
}

footer a:hover {
    border-bottom-color: white;
}

/* Responsive styles */
@media (max-width: 1100px) {
    .screenshot-grid .screenshot:nth-child(3) {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .screenshots {
        padding: 2rem 1rem;
    }

    .screenshots h2 {
        font-size: 2rem;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features {
        padding: 2rem 1rem;
    }

    .features h2 {
        font-size: 2rem;
    }

    .feature-grid {
        gap: 2rem;
    }

    .content {
        padding: 2rem 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .content h3 {
        font-size: 1.3rem;
    }
}
