/* css/style.css */

:root {
    /* Color Palette - Minimal & Professional */
    --bg-body: #ffffff;
    --bg-surface: #f5f5f7;
    --text-main: #1d1d1f;
    --text-muted: #6e6e73;
    --accent: #007aff; /* System Blue */
    --accent-hover: #005ecb;
    --border: #d2d2d7;
    
    /* Spacing & Layout */
    --max-width: 980px;
    --radius: 12px;
    --nav-height: 60px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-body: #000000;
        --bg-surface: #1c1c1e;
        --text-main: #f5f5f7;
        --text-muted: #86868b;
        --border: #38383a;
    }
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
a { text-decoration: none; color: var(--text-main); transition: opacity 0.2s; }
a:hover { opacity: 0.7; }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
main.container { 
    flex: 1;
    padding-top: calc(var(--nav-height) + 40px); 
    padding-bottom: 60px; 
}

/* Header */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}
@media (prefers-color-scheme: dark) {
    header { background: rgba(0, 0, 0, 0.8); }
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo { font-weight: 700; font-size: 1.1rem; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 0.9rem; color: var(--text-muted); }
.nav-links a.active, .nav-links a:hover { color: var(--text-main); }
.download-link {
    color: var(--accent) !important;
    font-weight: 500;
}
.download-link:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}
.hero-text h1 { font-size: 3rem; margin-bottom: 16px; line-height: 1.15;}
.hero-text p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 32px; max-width: 400px; }
.hero-image img {
    width: 100%;
    border-radius: var(--radius);
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.1); */
}

/* App Store Button */
.app-store-btn {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    gap: 10px;
    transition: transform 0.1s;
}
.app-store-btn:hover { opacity: 1; transform: scale(1.02); }
@media (prefers-color-scheme: dark) {
    .app-store-btn { background: #fff; color: #000; }
}
.btn-icon svg { width: 24px; height: 24px; fill: currentColor; }
.btn-text span { display: block; font-size: 0.7rem; line-height: 1; }
.btn-text strong { display: block; font-size: 1.1rem; line-height: 1; margin-top: 2px; }

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); }

/* Pages: What's New & Roadmap */
.page-title { margin-bottom: 40px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.update-entry, .roadmap-column { margin-bottom: 40px; }
.update-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }

/* Roadmap Specific */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.roadmap-card {
    background: var(--bg-surface);
    padding: 20px;
    margin-bottom: 16px;
    border-radius: 8px;
    font-size: 0.95rem;
}
.status-dot { height: 8px; width: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.status-planned { background: var(--text-muted); }
.status-progress { background: var(--accent); }
.status-done { background: #34c759; }

/* Update Entry Lists */
.update-entry ul {
    margin: 16px 0;       /* Adds vertical space before/after the list */
    padding-left: 24px;   /* Adds indentation so bullets are visible */
}

.update-entry li {
    margin-bottom: 8px;   /* Adds breathing room between list items */
    line-height: 1.6;     /* Improves readability for multi-line items */
}

/* Optional: Fix nested lists if you ever use them */
.update-entry ul ul {
    margin: 8px 0;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
}
footer a { text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin: 0 auto 32px; }
    .roadmap-grid { grid-template-columns: 1fr; }
}