/* public/style.css */
:root {
    --bg-body: #F5F5F7;
    --bg-card: #FFFFFF;
    --text-main: #1D1D1F;
    --text-secondary: #86868B;
    --accent-blue: #0071E3;
    --border-radius: 18px;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.04);
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body { 
    font-family: var(--font-stack); background: var(--bg-body); 
    color: var(--text-main); margin: 0; padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* --- NAVIGATION (Apple Style) --- */
nav {
    background: rgba(255, 255, 255, 0.8); backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex; justify-content: center; padding: 0 1rem;
}

.nav-container {
    display: flex; gap: 30px; max-width: 1000px; width: 100%; height: 44px; align-items: center;
}

.nav-link {
    text-decoration: none; color: var(--text-secondary); font-size: 0.8rem;
    transition: color 0.2s; font-weight: 500;
}
.nav-link:hover, .nav-link.active { color: var(--text-main); }

/* --- CONTAINERS --- */
.page-container {
    max-width: 1200px; margin: 0 auto; padding: 40px 20px;
    display: flex; flex-direction: column; gap: 40px;
}

h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 20px; }

/* --- CARDS --- */
.card {
    background: var(--bg-card); border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft); padding: 30px; margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.02); transition: transform 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }

/* --- BADGES --- */
.badge {
    background: #E8E8ED; color: var(--text-main); padding: 4px 10px;
    border-radius: 99px; font-size: 0.75rem; font-weight: 600; display: inline-block; margin-right: 5px;
}

/* --- GRID SYSTEM --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
@media(max-width: 768px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }