/* Welcome page — post-login landing.
   Reuses navbar.css + footer.css from the layout. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Hero ── */
.welcome-hero {
    padding: 70px 0 30px;
    text-align: center;
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--bg) 100%);
}
.welcome-hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 18px;
    border: 1px solid var(--primary-100);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.welcome-hero .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}
.welcome-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 14px;
}
.welcome-hero h1 .grad {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.welcome-hero .lead {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
}

/* ── Quick-start grid ── */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 40px 0 30px;
}
@media (max-width: 920px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .quick-grid { grid-template-columns: 1fr; } }

.quick-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 22px 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.quick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.12);
    border-color: var(--primary-light);
}
.quick-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 4px;
    letter-spacing: -0.005em;
}
.quick-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    flex: 1;
}
.quick-card .qc-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 4px;
}

.qc-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.qc-icon-purple { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.qc-icon-blue   { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.qc-icon-green  { background: linear-gradient(135deg, #059669, #10b981); }
.qc-icon-orange { background: linear-gradient(135deg, #ea580c, #f97316); }

/* ── Tips ── */
.welcome-tips-section {
    margin: 30px auto 60px;
}
.welcome-tips {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 36px;
}
.welcome-tips h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}
.tip-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.tip-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.6;
}
.tip-list li strong { color: var(--text); display: block; margin-bottom: 2px; }
.tip-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-100);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
kbd {
    display: inline-block;
    padding: 1px 7px;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-bottom-width: 2px;
    border-radius: 5px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}

/* ── Bottom CTA ── */
.welcome-cta {
    padding: 50px 0 70px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--primary-50) 100%);
}
.welcome-cta h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.welcome-cta p {
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.welcome-cta p a {
    color: var(--primary);
    font-weight: 600;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 12px 22px; border-radius: 10px;
    font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s;
    font-family: inherit; text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45); color: white; }

/* ── Extension handoff banner ── */
#extension-handoff-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.92rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100vw - 32px);
}
#extension-handoff-banner button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    border-radius: 6px;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 0.78rem;
    font-family: inherit;
    transition: background 0.15s;
}
#extension-handoff-banner button:hover { background: rgba(255, 255, 255, 0.12); }
