/* Hub landing — features multiple apps. Dark, neutral parent theme
   that complements both Vista (green/blue) and Pocket Mondays (violet). */

:root {
    --bg: #08080a;
    --bg-2: #101014;
    --card: #16161b;
    --text: #f5f5f7;
    --muted: #9a9aa5;
    --line: rgba(255, 255, 255, 0.09);
    --radius: 22px;
    --max: 1000px;
    --gold: #E0A526;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---------- Top brand bar (Kevin Kalvin) ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(38, 46, 53, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .wrap {
    display: flex;
    align-items: center;
    height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.brand .logo {
    height: 44px; width: auto; flex: none;
    border-radius: 6px;
    display: block;
}
.brand:hover .logo { opacity: 0.9; }

/* ---------- Hero ---------- */
.hero {
    text-align: center;
    padding: 96px 0 40px;
    background: radial-gradient(1000px 380px at 50% -10%, rgba(120, 90, 200, 0.18), transparent);
}
.hero h1 {
    font-size: clamp(32px, 6vw, 54px);
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}
.hero p {
    color: var(--muted);
    font-size: clamp(16px, 2.4vw, 20px);
    max-width: 560px;
    margin: 0 auto;
}

/* ---------- App cards ---------- */
.apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 40px 0 20px;
}
.app-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .15s ease, border-color .15s ease;
}
.app-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 120px;
    background: var(--glow, transparent);
    opacity: 0.25;
    filter: blur(40px);
    pointer-events: none;
}
.app-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.18); }

.app-card .icon {
    width: 96px; height: 96px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    position: relative;
    z-index: 1;
}
.app-card h2 { margin: 20px 0 4px; font-size: 24px; letter-spacing: -0.01em; }
.app-card .tagline { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.app-card .platform {
    font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}

.app-card .actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: auto; }
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 20px; border-radius: 999px;
    font-weight: 600; font-size: 15px;
    border: 1px solid var(--line);
    transition: transform .1s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent, #6b2fb3); border-color: transparent; color: #fff; }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); }

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--line);
    margin-top: 60px;
    padding: 30px 0;
    color: var(--muted);
    font-size: 14px;
}
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a:hover { color: var(--text); }
