/* === Global === */
:root {
    --bg: #0a0a19;
    --bg-card: #12122a;
    --text: #e8e8f0;
    --text-muted: #8888aa;
    --accent: #4f8cff;
    --accent-hover: #6ba0ff;
    --border: #1e1e3a;
    --max-width: 800px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

/* === Header === */
header {
    text-align: center;
    padding: 60px 20px 40px;
    border-bottom: 1px solid var(--border);
}

header .app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    margin-bottom: 16px;
}

header h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

header .subtitle {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 24px;
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-row a img {
    height: 44px;
}

/* === Nav === */
nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

nav a { color: var(--text-muted); }
nav a:hover { color: var(--text); text-decoration: none; }

/* === Hero / Landing === */
.hero {
    text-align: center;
    padding: 60px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero p {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 32px;
}

/* === Screenshots === */
.screenshots {
    padding: 0 0 40px;
    overflow: hidden;
}

.screenshots-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 20px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
}

.screenshots-track::-webkit-scrollbar { display: none; }

.screenshots-track img {
    flex-shrink: 0;
    height: 480px;
    border-radius: 16px;
    scroll-snap-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

@media (max-width: 1200px) {
    .screenshots-track {
        justify-content: flex-start;
    }
}

/* === Features === */
.features {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* === Legal Pages === */
.legal {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.legal h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.legal .effective-date {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.legal h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal p {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.legal ul, .legal ol {
    margin: 12px 0;
    padding-left: 24px;
    color: var(--text-muted);
}

.legal li { margin-bottom: 6px; }

.legal strong { color: var(--text); }

/* === Footer === */
footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
}

footer a { color: var(--text-muted); }
footer .footer-links { margin-bottom: 8px; }
footer .footer-links a { margin: 0 10px; }

/* === Responsive === */
@media (max-width: 600px) {
    header h1 { font-size: 28px; }
    .features { grid-template-columns: 1fr; }
    .screenshots-track img { height: 340px; }
    .hero h2 { font-size: 22px; }
}
