@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary-color: #00a7cb;
    --primary-color-rgb: 0, 167, 203;
    --primary-dark: #008eb0;
    --secondary-color: #2d3436;
    --accent-color: #6c5ce7;

    /* Semantic Colors */
    --bg-color: #ffffff;
    --surface-color: #f7f8fa;
    --card-bg: #ffffff;
    --text-main: #1a2332;
    --text-muted: #64748b;
    --border-color: #e8ecf0;

    /* Feedback Colors */
    --success-color: #22c55e;
    --error-color: #ef4444;

    /* Design Tokens */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-subtle: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 16px 40px rgba(0, 167, 203, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── App Header ──────────────────────────────────────────── */
.app-header {
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.app-nav {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.125rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo span {
    color: var(--primary-color);
}

.nav-separator {
    color: var(--border-color);
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1;
    user-select: none;
}

.app-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Site Header (static pages, fixed position) ──────────── */
.site-header {
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.site-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ── Site / App Footer ───────────────────────────────────── */
.site-footer,
.app-footer {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
}

.footer-logo {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.3px;
}

.footer-logo span {
    color: var(--primary-color);
}

.copyright {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-changelog {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-changelog:hover {
    color: var(--primary-color);
}
