/* === Base Reset & Variables === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0a0a0a;
    --color-surface: #111111;
    --color-text: #e0e0e0;
    --color-text-muted: #888888;
    --color-accent: #ffffff;
    --color-border: #222222;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 800px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* === Typography === */
h1 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
}

h2 {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--spacing-md);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.app-icon-placeholder {
    margin-bottom: var(--spacing-md);
}

.app-icon {
    width: 100px;
    height: 100px;
    filter: brightness(0) invert(1) opacity(0.9);
    /* This creates an off-white tint: brightness(0) makes it black, invert(1) makes it white, opacity(0.9) softens to off-white */
}

.tagline {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.cta-button {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-accent);
    color: var(--color-bg);
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.cta-button:hover {
    opacity: 0.85;
}

/* === Section Base === */
section {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--color-border);
}

section:last-of-type {
    border-bottom: none;
}

/* === Problem Section === */
.problem {
    text-align: center;
}

.problem .emphasis {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-top: var(--spacing-md);
    font-weight: 500;
}

/* === Solution Section === */
.solution {
    text-align: center;
    background-color: var(--color-surface);
}

/* === Features Section === */
.features {
    text-align: center;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.feature-list li {
    padding: var(--spacing-sm);
    border-left: 2px solid var(--color-border);
    padding-left: var(--spacing-md);
}

.feature-title {
    display: block;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
}

.feature-desc {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* === Screenshots Section === */
.screenshots {
    text-align: center;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.screenshot-item img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.screenshot-item img:hover {
    transform: translateY(-5px);
}

.screenshot-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* === CTA Section === */
.cta-section {
    text-align: center;
    background-color: var(--color-surface);
    padding: var(--spacing-xl) 0;
}

/* === Footer === */
footer {
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

footer p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

footer p a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer p a:hover {
    color: var(--color-accent);
}

.footer-nav {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.footer-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--color-accent);
}

/* === Responsive === */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }

    section {
        padding: var(--spacing-lg) 0;
    }
}

/* === Policy Page === */
.policy-page {
    padding-top: var(--spacing-lg);
}

.policy-page h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.back-link {
    display: inline-block;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--color-accent);
}

.last-updated {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

.policy-content h2 {
    font-size: 1.25rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent);
}

.policy-content h3 {
    font-size: 1rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
    font-weight: 500;
}

.policy-content p {
    margin-bottom: var(--spacing-sm);
}

.policy-content ul {
    list-style: disc;
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
}

.policy-content ul li {
    margin-bottom: var(--spacing-xs);
}

.policy-content strong {
    color: var(--color-text);
}