/* ══════════════════════════════════════════════
   BMail Blog — Modern Rounded Design
   Font: Plus Jakarta Sans
   Accent: Gold (#D4AF37) — matching mail.bizzupp.ae
   ══════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f5;
    color: #111827;
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: #D4AF37; text-decoration: none; transition: color .25s ease; }
a:hover { color: #B8941E; }
img { max-width: 100%; height: auto; display: block; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ── Header ── */
.header {
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 250;
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.04);
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; color: #111827; letter-spacing: -0.02em; }
.logo:hover { color: #111827; }
.logo-img { height: 36px; width: auto; border-radius: 12px; filter: brightness(0); }
.header nav { display: flex; align-items: center; gap: 24px; }
.header nav a { color: #4b5563; font-size: 14px; font-weight: 600; transition: color .25s; }
.header nav a:hover { color: #111827; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { white-space: nowrap; }
.header-mail-btn {
    position: relative;
    isolation: isolate;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #111827;
    color: #fff !important;
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.header-mail-btn::before {
    content: '';
    position: absolute;
    inset: 1px;
    z-index: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 45%);
    pointer-events: none;
}
.header-mail-btn:hover {
    color: #fff !important;
    background: #0f172a;
    transform: translateY(-1px);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.header-mail-btn > * {
    position: relative;
    z-index: 1;
}
.header-mail-btn svg {
    color: #fff;
}
.nav-logout { color: #ef4444 !important; }
.nav-logout:hover { color: #dc2626 !important; }

/* ── Hero (old fallback) ── */
.hero { text-align: center; padding: 72px 0 48px; }
.hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 14px; color: #111827; letter-spacing: -0.03em; }
.hero p { font-size: 18px; color: #4b5563; max-width: 520px; margin: 0 auto; }

/* ── Post Cards ── */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
    padding-bottom: 64px;
}

.post-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.08);
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.05);
    transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s cubic-bezier(.22, .61, .36, 1);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.post-card-image { display: block; aspect-ratio: 3/2; overflow: hidden; border-radius: 28px 28px 0 0; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.post-card:hover .post-card-image img { transform: scale(1.06); }

.post-card-image-fallback {
    align-items: flex-end;
    padding: 28px;
    background: linear-gradient(135deg, #D4AF37, #B8941E, #8B6914);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
}
.post-card-image-fallback span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.post-card-body { padding: 28px; }
.post-card-body h2 { font-size: 21px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; letter-spacing: -0.02em; }
.post-card-body h2 a { color: #111827; transition: color .25s; }
.post-card-body h2 a:hover { color: #D4AF37; }
.excerpt {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.75;
}
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #D4AF37;
    transition: gap .3s ease, color .25s;
}
.read-more:hover { gap: 12px; color: #B8941E; }

/* ── Post Meta ── */
.post-meta { font-size: 13px; color: #9ca3af; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.dot { font-size: 6px; opacity: 0.5; }

/* ── Pagination ── */
.pagination { display: flex; justify-content: center; gap: 10px; padding: 48px 0 64px; flex-wrap: wrap; }
.page-link {
    padding: 10px 18px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    transition: all .25s ease;
}
.page-link:hover { border-color: #D4AF37; color: #D4AF37; background: rgba(212, 175, 55, 0.06); }
.page-link.active {
    background: linear-gradient(135deg, #D4AF37, #B8941E);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
}

/* ── Single Post ── */
.post-single { max-width: 780px; margin: 0 auto; padding: 48px 0 96px; }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 32px;
    padding: 10px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: all .25s;
}
.back-link:hover { color: #D4AF37; border-color: rgba(212, 175, 55, 0.25); background: rgba(212, 175, 55, 0.04); }
.post-single h1 { font-size: 40px; font-weight: 800; line-height: 1.2; margin-bottom: 18px; letter-spacing: -0.03em; color: #111827; }
.post-cover { margin: 28px 0; border-radius: 24px; overflow: hidden; box-shadow: 0 16px 50px rgba(15, 23, 42, 0.08); }
.post-cover img { width: 100%; }
.post-content { font-size: 17.5px; line-height: 1.85; color: #374151; }
.post-content h2 { font-size: 28px; margin: 48px 0 18px; font-weight: 700; letter-spacing: -0.02em; color: #111827; }
.post-content h3 { font-size: 22px; margin: 36px 0 14px; font-weight: 700; color: #1f2937; }
.post-content p { margin-bottom: 22px; }
.post-content img { border-radius: 20px; margin: 28px 0; box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06); }
.post-content ul, .post-content ol { margin: 0 0 22px 28px; }
.post-content li { margin-bottom: 10px; }
.post-content blockquote {
    border-left: 4px solid #D4AF37;
    padding: 20px 28px;
    margin: 28px 0;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0 20px 20px 0;
    font-style: italic;
    color: #4b5563;
}
.post-content code { background: #f3f4f6; padding: 3px 10px; border-radius: 8px; font-size: 15px; color: #92400e; }
.post-content pre {
    background: #111827;
    color: #e5e7eb;
    padding: 24px;
    border-radius: 20px;
    overflow-x: auto;
    margin: 28px 0;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
}
.post-content pre code { background: none; padding: 0; color: inherit; }
.post-content a { color: #D4AF37; text-decoration: underline; text-decoration-color: rgba(212, 175, 55, 0.3); text-underline-offset: 3px; transition: text-decoration-color .25s; }
.post-content a:hover { text-decoration-color: #D4AF37; }

/* ── Empty State ── */
.empty { text-align: center; padding: 72px 0; color: #9ca3af; font-size: 16px; }
.empty a { color: #D4AF37; font-weight: 600; }

/* ── Footer ── */
.footer {
    padding: 48px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}
.footer-contact-list,
.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-contact-list a,
.footer-links a {
    color: #6b7280;
}
.footer-contact-list a:hover,
.footer-links a:hover {
    color: #111827;
}
.footer-links a {
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(148, 163, 184, 0.4);
}
.footer-links a:hover {
    text-decoration-color: rgba(17, 24, 39, 0.6);
}
.footer-separator {
    color: #cbd5e1;
    user-select: none;
}
.footer-bottom {
    font-size: 12px;
    color: #9ca3af;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all .3s cubic-bezier(.22, .61, .36, 1);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.btn-primary {
    background: linear-gradient(135deg, #D4AF37, #B8941E);
    color: #fff;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 36px rgba(212, 175, 55, 0.4);
    color: #fff;
}
.btn-outline {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #4b5563;
}
.btn-outline:hover { border-color: #D4AF37; color: #D4AF37; background: rgba(212, 175, 55, 0.04); }
.btn-danger { background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(239, 68, 68, 0.2); color: #ef4444; }
.btn-danger:hover { background: rgba(239, 68, 68, 0.06); border-color: rgba(239, 68, 68, 0.35); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Pill buttons for hero ── */
.hero-actions .btn-primary {
    border-radius: 999px;
    padding: 14px 32px;
}
.hero-actions .btn-outline {
    border-radius: 999px;
    padding: 14px 32px;
}

/* ── Alerts ── */
.alert {
    padding: 16px 24px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.alert.success { background: rgba(34, 197, 94, 0.08); color: #15803d; border: 1px solid rgba(34, 197, 94, 0.15); }
.alert.error { background: rgba(239, 68, 68, 0.06); color: #dc2626; border: 1px solid rgba(239, 68, 68, 0.12); }

/* ── Admin ── */
.admin-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(184, 148, 30, 0.06), transparent 50%),
        #f5f5f5;
}
.login-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(1.6);
    border-radius: 32px;
    padding: 52px 44px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.1);
}
.login-logo { text-align: center; margin-bottom: 36px; }
.login-logo .logo-img { height: 52px; margin: 0 auto 18px; border-radius: 16px; }
.login-logo h1 { font-size: 24px; font-weight: 800; color: #111827; letter-spacing: -0.02em; }
.admin-container { padding-top: 36px; padding-bottom: 64px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.admin-header h1 { font-size: 26px; font-weight: 800; color: #111827; letter-spacing: -0.02em; }

/* ── Forms ── */
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 8px; letter-spacing: -0.01em; }
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    font-size: 14px;
    font-family: inherit;
    color: #111827;
    background: rgba(255, 255, 255, 0.8);
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
    background: #fff;
}
.form-hint { font-size: 12px; color: #9ca3af; margin-top: 8px; display: block; }
.content-editor { font-family: 'JetBrains Mono', 'Courier New', monospace; font-size: 14px; line-height: 1.65; min-height: 420px; border-radius: 20px !important; }

/* ── Edit Form Grid ── */
.form-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.sidebar-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}
.sidebar-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 18px; color: #111827; letter-spacing: -0.01em; }
.current-cover { margin-bottom: 14px; border-radius: 16px; overflow: hidden; }
.current-cover img { width: 100%; }

/* ── Admin Table ── */
.admin-table-wrap {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
    text-align: left;
    padding: 16px 24px;
    font-size: 11px;
    font-weight: 800;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid #e5e7eb;
    background: rgba(249, 250, 251, 0.5);
}
.admin-table td { padding: 18px 24px; border-bottom: 1px solid #f3f4f6; font-size: 14px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(212, 175, 55, 0.03); }
.post-title-link { font-weight: 700; color: #111827; }
.post-title-link:hover { color: #D4AF37; }
.post-slug { display: block; font-size: 12px; color: #9ca3af; margin-top: 4px; font-weight: 500; }
.actions { white-space: nowrap; display: flex; gap: 10px; }

/* ── Badges ── */
.badge { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.badge-green { background: rgba(34, 197, 94, 0.1); color: #15803d; }
.badge-gray { background: rgba(148, 163, 184, 0.12); color: #4b5563; }

/* ══════════════════════════════════════════════
   Blog Home — Modern Rounded Glassmorphism
   ══════════════════════════════════════════════ */

.blog-home {
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(212, 175, 55, 0.12), transparent),
        radial-gradient(ellipse 60% 50% at 90% 5%, rgba(184, 148, 30, 0.08), transparent),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(139, 105, 20, 0.04), transparent),
        linear-gradient(180deg, #faf8f0 0%, #f7f6f2 35%, #ffffff 100%);
}

.blog-home .header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 40px rgba(15, 23, 42, 0.04);
}

.blog-home .header nav a { color: #4b5563; }
.blog-home .header nav a:hover { color: #111827; }

.home-main {
    padding-top: 32px;
    padding-bottom: 96px;
}

/* ── Hero Shell ── */
.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 32px;
    align-items: stretch;
    padding: 36px 0 32px;
}

.hero-copy,
.hero-spotlight { min-width: 0; }

.hero-copy {
    padding: 48px 44px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 32px 80px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(184, 148, 30, 0.08));
    color: #92400e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin-top: 22px;
    font-size: clamp(2.6rem, 4.2vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.045em;
    max-width: 11ch;
    color: #111827;
    font-weight: 800;
}

.hero-copy p {
    margin-top: 20px;
    max-width: 62ch;
    font-size: 17px;
    line-height: 1.85;
    color: #4b5563;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.hero-stat {
    padding: 20px 20px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform .3s ease, box-shadow .3s ease;
}

.hero-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}

.hero-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.hero-stat span {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
}

/* ── Spotlight Card ── */
.spotlight-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 36px;
    background: linear-gradient(160deg, rgba(17, 24, 39, 0.97), rgba(31, 41, 55, 0.95));
    color: #e5e7eb;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow:
        0 32px 80px rgba(15, 23, 42, 0.2),
        inset 0 1px 0 rgba(212, 175, 55, 0.06);
    position: relative;
    overflow: hidden;
}

/* Subtle animated glow */
.spotlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(212, 175, 55, 0.06), transparent, rgba(184, 148, 30, 0.04), transparent);
    animation: spotlightGlow 12s linear infinite;
    pointer-events: none;
}

.spotlight-card > * { position: relative; z-index: 1; }

.spotlight-card-empty { justify-content: center; }

.spotlight-badge {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fde68a;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.spotlight-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 24px;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.spotlight-image:hover img { transform: scale(1.05); }

.spotlight-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-top: 22px;
}

.spotlight-card .post-meta { color: rgba(229, 231, 235, 0.6); }

.spotlight-card h2 {
    margin-top: 10px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.spotlight-card h2 a { color: #f9fafb; }
.spotlight-card h2 a:hover { color: #fde68a; }

.spotlight-card p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(229, 231, 235, 0.7);
}

.spotlight-link {
    display: inline-flex;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 24px;
    font-size: 14px;
    font-weight: 800;
    color: #fbbf24;
    transition: color .25s;
}
.spotlight-link:hover { color: #fde68a; }

/* ── Section Headings ── */
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 16px 0 28px;
}

.section-heading h2,
.home-cta h2 {
    margin-top: 16px;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: #111827;
    font-weight: 800;
}

.section-heading p {
    max-width: 46ch;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.75;
}

/* ── Home Posts Grid ── */
.home-posts-grid { gap: 28px; }

.blog-home .post-card {
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 12px 48px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.blog-home .post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);
}

.blog-home .post-card-image {
    aspect-ratio: 3 / 2;
    border-radius: 32px 32px 0 0;
}

.blog-home .post-card-body { padding: 28px 28px 26px; }

.blog-home .post-meta { color: #6b7280; }

.blog-home .post-card-body h2 {
    font-size: 22px;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.blog-home .excerpt {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
    -webkit-line-clamp: 4;
}

.blog-home .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #D4AF37;
    font-weight: 700;
}

/* ── CTA Banner ── */
.home-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 40px;
    padding: 36px 40px;
    border-radius: 32px;
    background: linear-gradient(135deg, #111827 0%, #78350f 50%, #D4AF37 100%);
    color: #f9fafb;
    box-shadow:
        0 32px 80px rgba(15, 23, 42, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.home-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.25), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(139, 105, 20, 0.15), transparent 50%);
    pointer-events: none;
}

.home-cta > * { position: relative; z-index: 1; }

.home-cta h2 {
    color: #ffffff;
    max-width: 16ch;
}

.home-cta .section-kicker {
    background: rgba(255, 255, 255, 0.1);
    color: #fde68a;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-cta .btn-primary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.home-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.compact-empty { padding-top: 24px; }

/* ── Animations ── */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes spotlightGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Fade-in on scroll (CSS-only, modern browsers) */
@supports (animation-timeline: view()) {
    .post-card,
    .section-heading,
    .home-cta {
        animation: fadeSlideUp .6s both;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
    }

    @keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(32px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* ══════════════════════════════════════════════
   Help Center
   ══════════════════════════════════════════════ */

.hc-body {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 175, 55, 0.1), transparent),
        linear-gradient(180deg, #faf8f0 0%, #f5f5f5 40%, #ffffff 100%);
}

.hc-body .header {
    background: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(212, 175, 55, 0.06);
}

/* ── Hero ── */
.hc-hero {
    padding: 64px 0 48px;
    text-align: center;
}

.hc-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 28px;
}

.hc-greeting { margin-bottom: 36px; }

.hc-greeting-logo {
    margin: 0 auto 16px;
    display: block;
    width: 78px;
    height: 78px;
    object-fit: contain;
    background: transparent;
    filter: brightness(0);
}

.hc-greeting h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #111827;
    line-height: 1.15;
    margin-bottom: 12px;
}

.hc-greeting p {
    font-size: 17px;
    color: #6b7280;
    line-height: 1.7;
}

/* ── Search Bar ── */
.hc-search-wrap {
    position: relative;
    z-index: 200;
    max-width: 640px;
    margin: 0 auto;
    transition: none;
}

.hc-search-wrap.hc-search-active {
    position: fixed;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 48px);
    max-width: 680px;
    z-index: 200;
    animation: searchSlideUp .35s cubic-bezier(.16,1,.3,1) forwards;
}

@keyframes searchSlideUp {
    from {
        opacity: 0.8;
        transform: translate(-50%, -38%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hc-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border: 2px solid rgba(212, 175, 55, 0.12);
    box-shadow:
        0 8px 40px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: border-color .3s, box-shadow .3s, transform .3s;
}

.hc-search-active .hc-search-bar {
    border-color: #D4AF37;
    box-shadow: 0 16px 60px rgba(212, 175, 55, 0.18), 0 0 0 4px rgba(212, 175, 55, 0.08);
    border-radius: 24px 24px 0 0;
}

.hc-search-icon { color: #9ca3af; flex-shrink: 0; transition: color .25s; }
.hc-search-active .hc-search-icon { color: #D4AF37; }

.hc-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    color: #111827;
    position: relative;
    z-index: 2;
}

.hc-search-placeholder {
    position: absolute;
    left: 58px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    font-weight: 500;
    color: #9ca3af;
    pointer-events: none;
    z-index: 1;
}

.hc-search-ai-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(184, 148, 30, 0.08));
    color: #92400e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

/* ── Search Overlay ── */
.hc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.hc-overlay.active { opacity: 1; visibility: visible; }

/* ── Search Dropdown ── */
.hc-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid #D4AF37;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    max-height: 420px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, visibility .25s, transform .25s;
}
.hc-dropdown.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* AI Answer in dropdown */
.hc-dropdown-ai {
    padding: 18px 22px;
    border-bottom: 1px solid #f3f4f6;
    display: none;
}

.hc-ai-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.hc-ai-body {
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
}

.hc-ai-body p { margin: 0; }
.hc-search-status {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hc-search-status p {
    font-size: 13.5px;
    color: #4b5563;
}
.hc-search-status strong {
    color: #111827;
}

/* Typing dots */
.hc-ai-typing { display: flex; gap: 5px; padding: 4px 0; }
.hc-ai-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #D4AF37;
    animation: typingBounce .6s ease-in-out infinite;
}
.hc-ai-typing span:nth-child(2) { animation-delay: .15s; }
.hc-ai-typing span:nth-child(3) { animation-delay: .3s; }

@keyframes typingBounce {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-4px); }
}

/* Article results in dropdown */
.hc-dropdown-results { }

.hc-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 22px;
    color: #111827;
    transition: background .2s;
    border-bottom: 1px solid #f9fafb;
}
.hc-dropdown-item:hover { background: rgba(212, 175, 55, 0.04); }
.hc-dropdown-item:last-child { border-bottom: none; }
.hc-dropdown-item svg { flex-shrink: 0; margin-top: 2px; color: #9ca3af; }
.hc-dropdown-item div { min-width: 0; }
.hc-dropdown-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hc-dropdown-item span {
    display: block;
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hc-dropdown-empty {
    padding: 20px 22px;
    font-size: 14px;
    color: #9ca3af;
    text-align: center;
}

.hc-dropdown-footer {
    padding: 14px 22px;
    border-top: 1px solid #f3f4f6;
    display: none;
}

.hc-ask-ai-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(184, 148, 30, 0.06));
    color: #92400e;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s;
}
.hc-ask-ai-btn:hover { background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(184, 148, 30, 0.12)); }

/* ── Main Content ── */
.hc-main { padding-top: 16px; padding-bottom: 96px; }

/* ── Section Labels ── */
.hc-section-label {
    margin-bottom: 28px;
}
.hc-section-label h2 {
    margin-top: 14px;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111827;
    line-height: 1.1;
}
.hc-section-copy {
    margin-top: 14px;
    max-width: 720px;
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
}

/* ── Category Grid ── */
.hc-categories {
    margin-bottom: 64px;
    scroll-margin-top: 110px;
}

.hc-category-stage {
    margin-bottom: 26px;
}

.hc-category-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr);
    gap: 22px;
    padding: 32px;
    border-radius: 32px;
    overflow: hidden;
    background: #fbfaf7;
    border: 1px solid rgba(212, 175, 55, 0.16);
    box-shadow: 0 24px 60px rgba(120, 53, 15, 0.08);
}

.hc-category-hero::before {
    content: '';
    position: absolute;
    inset: auto -60px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.03);
    filter: blur(2px);
}

.hc-category-hero-copy,
.hc-category-metrics {
    position: relative;
    z-index: 1;
}

.hc-category-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(212, 175, 55, 0.14);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b6914;
}

.hc-category-hero h2 {
    margin-top: 16px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: .98;
    letter-spacing: -0.05em;
    color: #111827;
}

.hc-category-hero p {
    margin-top: 18px;
    max-width: 62ch;
    font-size: 16px;
    line-height: 1.75;
    color: #5b6472;
}

.hc-category-metrics {
    display: grid;
    gap: 14px;
}

.hc-category-metric {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 130px;
    padding: 20px 22px;
    border-radius: 24px;
    background: rgba(17, 24, 39, 0.92);
    color: #f9fafb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hc-category-metric strong {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.hc-category-metric span {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.hc-category-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.hc-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(212, 175, 55, 0.1);
    color: #374151;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hc-category-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.28);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
    color: #111827;
}

.hc-category-pill.is-active {
    background: #111827;
    border-color: transparent;
    color: #fff;
}

.hc-category-pill-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hc-category-pill-count {
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.06);
    font-size: 12px;
    font-weight: 800;
}

.hc-category-pill.is-active .hc-category-pill-count {
    background: rgba(255, 255, 255, 0.14);
}

.hc-category-feed-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
    margin-bottom: 18px;
}

.hc-category-feed-head h3 {
    margin-top: 10px;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #111827;
}

.hc-category-feed {
    display: grid;
    gap: 16px;
}

.hc-category-post-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 22px 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.11);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
    color: #111827;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.hc-category-post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.24);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.09);
    color: #111827;
}

.hc-category-post-order {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: #111827;
    color: #f8fafc;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.05em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hc-category-post-main {
    min-width: 0;
}

.hc-category-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hc-category-post-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.13);
    color: #8b6914;
}

.hc-category-post-main h3 {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hc-category-post-main p {
    margin-top: 10px;
    max-width: 64ch;
    font-size: 14px;
    line-height: 1.7;
    color: #667085;
}

.hc-category-post-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    color: #111827;
}

.hc-category-post-card:hover .hc-category-post-cta {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.hc-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hc-cat-card {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.06);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    color: #111827;
    transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s, border-color .3s;
}
.hc-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
    color: #111827;
}

.hc-cat-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(184, 148, 30, 0.06));
    color: #D4AF37;
}

.hc-cat-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.hc-cat-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.hc-cat-count {
    display: inline-flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    min-width: 78px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(212, 175, 55, 0.12);
    color: #9a7b13;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.hc-cat-count small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #b08916;
}

.hc-cat-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* ── Articles List ── */
.hc-articles { margin-bottom: 48px; }

.hc-articles-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hc-article-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.04);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.02);
    color: #111827;
    transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s, border-color .3s;
}
.hc-article-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    border-color: rgba(212, 175, 55, 0.15);
    color: #111827;
}

.hc-article-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f9fafb;
    color: #9ca3af;
}

.hc-article-body { flex: 1; min-width: 0; }
.hc-article-body h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.hc-article-body p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hc-article-arrow {
    flex-shrink: 0;
    color: #d1d5db;
    transition: color .25s, transform .25s;
}
.hc-article-card:hover .hc-article-arrow {
    color: #D4AF37;
    transform: translateX(4px);
}

.hc-category-actions {
    margin-top: 22px;
    display: flex;
    justify-content: flex-start;
}

.hc-category-pagination {
    padding: 28px 0 0;
}

.hc-category-empty {
    padding: 40px 32px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.12);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.04);
}

/* ── CTA ── */
.hc-cta {
    margin-top: 32px;
    padding: 48px 40px;
    border-radius: 32px;
    background: linear-gradient(135deg, #111827 0%, #78350f 50%, #D4AF37 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}
.hc-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 30%, rgba(212, 175, 55, 0.2), transparent 60%);
    pointer-events: none;
}
.hc-cta-inner { position: relative; z-index: 1; }
.hc-cta-inner svg { color: rgba(255,255,255,0.5); margin: 0 auto 16px; display: block; }
.hc-cta h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.hc-cta p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

/* ── Chat Panel ── */
.hc-chat-panel {
    position: fixed;
    right: -440px;
    top: 0;
    bottom: 0;
    width: 420px;
    max-width: 100vw;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -12px 0 60px rgba(15, 23, 42, 0.12);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right .4s cubic-bezier(.22,.61,.36,1);
    border-left: 1px solid rgba(212, 175, 55, 0.1);
}
.hc-chat-panel.open { right: 0; }

.hc-chat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.hc-chat-overlay.active { opacity: 1; visibility: visible; }

.hc-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
}
.hc-chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    color: #111827;
}
.hc-chat-title svg { color: #D4AF37; }
.hc-chat-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f3f4f6;
    border-radius: 12px;
    color: #6b7280;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.hc-chat-close:hover { background: #e5e7eb; color: #111827; }

.hc-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hc-chat-msg {
    display: flex;
    gap: 10px;
    max-width: 88%;
}
.hc-chat-msg--user {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.hc-chat-msg--ai { align-self: flex-start; }

.hc-chat-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(184, 148, 30, 0.08));
    color: #D4AF37;
}

.hc-chat-bubble {
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.65;
}
.hc-chat-msg--ai .hc-chat-bubble {
    background: #f3f4f6;
    color: #374151;
    border-bottom-left-radius: 6px;
}
.hc-chat-msg--user .hc-chat-bubble {
    background: linear-gradient(135deg, #D4AF37, #B8941E);
    color: #fff;
    border-bottom-right-radius: 6px;
}

.hc-chat-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-top: 1px solid #f3f4f6;
}
.hc-chat-input {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 14px;
    color: #111827;
    background: #f9fafb;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
}
.hc-chat-input:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: #fff;
}
.hc-chat-send {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #D4AF37, #B8941E);
    color: #fff;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}
.hc-chat-send:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35);
}

/* ══════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════ */

@media (max-width: 980px) {
    .hero-shell,
    .section-heading,
    .home-cta {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-copy { padding: 36px 28px; border-radius: 28px; }
    .hero-copy h1 { max-width: 100%; }
    .hero-stats { grid-template-columns: 1fr; }
    .home-cta h2 { max-width: none; }
    .spotlight-card { border-radius: 28px; }
    .blog-home .post-card { border-radius: 28px; }
    .blog-home .post-card-image { border-radius: 28px 28px 0 0; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .header { padding: 12px 0; }
    .logo { gap: 10px; font-size: 16px; }
    .logo-img { height: 32px; border-radius: 10px; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 16px; }
    .posts-grid { grid-template-columns: 1fr; gap: 24px; }
    .post-single h1 { font-size: 30px; }
    .form-grid { grid-template-columns: 1fr; }
    .admin-table th, .admin-table td { padding: 12px 16px; font-size: 13px; }
    .header nav { gap: 16px; }
    .header nav a { font-size: 13px; }
    .header-mail-btn { padding: 8px 14px; }
    .footer { padding: 36px 0; }
    .actions { flex-wrap: wrap; }

    .home-main { padding-top: 16px; }
    .hero-shell { gap: 20px; padding-top: 16px; }

    .hero-copy,
    .spotlight-card,
    .home-cta {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .hero-copy h1 { font-size: 2.4rem; }

    .hero-copy p,
    .section-heading p,
    .blog-home .excerpt { font-size: 14px; }

    .hero-actions { flex-direction: column; }

    .hero-actions .btn,
    .home-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .spotlight-card h2,
    .blog-home .post-card-body h2 { font-size: 22px; }

    .section-heading h2,
    .home-cta h2 { font-size: 1.9rem; }

    .blog-home .post-card { border-radius: 24px; }
    .blog-home .post-card-image { border-radius: 24px 24px 0 0; }
    .post-card { border-radius: 24px; }
    .post-card-image { border-radius: 24px 24px 0 0; }
    .post-cover { border-radius: 20px; }
    .sidebar-card { border-radius: 20px; }
    .admin-table-wrap { border-radius: 20px; }
    .login-card { border-radius: 28px; padding: 40px 28px; }
    .pagination .page-link { padding: 8px 14px; border-radius: 12px; }
    .back-link { border-radius: 12px; }
}

@media (max-width: 480px) {
    .hero-copy h1 { font-size: 2rem; }
    .section-heading h2, .home-cta h2 { font-size: 1.6rem; }
    .post-single h1 { font-size: 26px; }
    .hero-stat { padding: 16px; border-radius: 18px; }
}

/* ── Help Center Responsive ── */
@media (max-width: 980px) {
    .hc-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .hc-category-hero {
        grid-template-columns: 1fr;
        padding: 28px;
    }
    .hc-category-post-card {
        grid-template-columns: 64px minmax(0, 1fr);
    }
    .hc-category-post-cta {
        grid-column: 2;
        justify-self: flex-start;
    }
}

@media (max-width: 768px) {
    .hc-main { padding-top: 12px; padding-bottom: 72px; }
    .hc-hero { padding: 28px 0 24px; }
    .hc-hero-inner { gap: 20px; }
    .hc-greeting { margin-bottom: 20px; }
    .hc-greeting h1 { font-size: 1.7rem; }
    .hc-greeting p { font-size: 15px; }
    .hc-search-wrap { max-width: none; }
    .hc-search-bar { padding: 14px 18px; border-radius: 20px; }
    .hc-search-active .hc-search-bar { border-radius: 20px 20px 0 0; }
    .hc-search-wrap.hc-search-active {
        top: 76px;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: none;
        transform: none;
        animation: none;
    }
    .hc-dropdown {
        border-radius: 0 0 20px 20px;
        max-height: min(58vh, 480px);
    }
    .hc-dropdown-ai { padding: 14px 16px; }
    .hc-search-status { align-items: flex-start; }
    .hc-search-status p { font-size: 13px; line-height: 1.55; }
    .hc-search-ai-badge { display: none; }
    .hc-dropdown-item {
        padding: 14px 16px;
        gap: 12px;
        align-items: flex-start;
    }
    .hc-dropdown-item strong {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.35;
    }
    .hc-dropdown-item span {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.5;
    }
    .hc-dropdown-empty { padding: 18px 16px; }
    .hc-cat-grid { grid-template-columns: 1fr; gap: 14px; }
    .hc-cat-card { padding: 22px 20px; border-radius: 20px; }
    .hc-cat-card-head { flex-direction: column; gap: 10px; }
    .hc-cat-count { align-items: flex-start; min-width: 0; }
    .hc-article-card { padding: 16px 18px; border-radius: 16px; }
    .hc-category-hero { padding: 24px 22px; border-radius: 26px; }
    .hc-category-metric { min-height: 110px; border-radius: 20px; }
    .hc-category-switcher { gap: 10px; }
    .hc-category-pill { width: 100%; justify-content: space-between; }
    .hc-category-feed-head {
        flex-direction: column;
        align-items: stretch;
    }
    .hc-category-feed-head .btn { width: 100%; justify-content: center; }
    .hc-category-post-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px;
        border-radius: 22px;
    }
    .hc-category-post-order {
        width: 58px;
        height: 58px;
        border-radius: 18px;
        font-size: 21px;
    }
    .hc-category-post-cta {
        width: 100%;
        justify-content: space-between;
        grid-column: auto;
    }
    .hc-breadcrumb {
        flex-wrap: wrap;
        overflow: visible;
        white-space: normal;
        gap: 6px;
        line-height: 1.45;
    }
    .hc-breadcrumb span {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    .hc-cta { padding: 36px 24px; border-radius: 24px; }
    .hc-chat-panel { width: 100vw; right: -100vw; }
    .hc-chat-panel.open { right: 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .header { padding: 10px 0; }
    .logo { font-size: 15px; }
    .logo-img { height: 30px; }
    .header-mail-btn { padding: 8px 12px; font-size: 12px; }
    .footer-contact-list,
    .footer-links {
        gap: 6px;
    }
    .footer-bottom { font-size: 11px; }
    .hc-greeting h1 { font-size: 1.45rem; }
    .hc-greeting p { font-size: 14px; }
    .hc-search-wrap.hc-search-active {
        top: 68px;
        left: 12px;
        right: 12px;
    }
    .hc-search-bar { padding: 13px 16px; gap: 12px; }
    .hc-search-input { font-size: 15px; }
    .hc-search-placeholder { font-size: 15px; left: 46px; right: 16px; }
    .hc-cat-card { padding: 20px 18px; border-radius: 18px; }
    .hc-cat-icon { width: 44px; height: 44px; border-radius: 14px; }
    .hc-category-hero h2 { font-size: 1.9rem; }
    .hc-category-hero p { font-size: 14px; }
    .hc-category-metric strong { font-size: 2rem; }
    .hc-category-post-meta { flex-wrap: wrap; gap: 8px; }
    .hc-category-post-main p { font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════
   ARTICLE PAGE
   ═══════════════════════════════════════════════════════ */

/* ── 404 ── */
.hc-404 {
    text-align: center;
    padding: 80px 20px 100px;
}
.hc-404-code {
    font-size: 96px;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #D4AF37, #B8941E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}
.hc-404 h1 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}
.hc-404 p {
    color: #6b7280;
    margin-bottom: 28px;
    font-size: 16px;
}
.hc-404 .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ── Breadcrumb ── */
.hc-breadcrumb-bar {
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(249, 250, 251, 0.6);
}
.hc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
    font-size: 13.5px;
    font-weight: 500;
    color: #9ca3af;
    overflow: hidden;
}
.hc-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
}
.hc-breadcrumb a:hover { color: #D4AF37; }
.hc-breadcrumb-sep { color: #d1d5db; flex-shrink: 0; }
.hc-breadcrumb span {
    color: #374151;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Article ── */
.hc-article {
    padding: 48px 0 40px;
}

.hc-article-header {
    margin-bottom: 36px;
}

.hc-article-header h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #111827;
    margin-bottom: 18px;
}

.hc-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hc-article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 500;
    color: #6b7280;
}
.hc-article-meta-item svg { color: #9ca3af; }

.hc-article-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d1d5db;
}

/* ── Cover Image ── */
.hc-article-cover {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}
.hc-article-cover img {
    width: 100%;
    display: block;
}

/* ── Article Content ── */
.hc-article-content {
    font-size: 17px;
    line-height: 1.85;
    color: #374151;
}
.hc-article-content h2 {
    font-size: 26px;
    margin: 48px 0 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111827;
}
.hc-article-content h3 {
    font-size: 21px;
    margin: 36px 0 14px;
    font-weight: 700;
    color: #1f2937;
}
.hc-article-content p { margin-bottom: 20px; }
.hc-article-content img {
    border-radius: 16px;
    margin: 24px 0;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    max-width: 100%;
}
.hc-article-content ul, .hc-article-content ol { margin: 0 0 20px 24px; }
.hc-article-content li { margin-bottom: 8px; }
.hc-article-content blockquote {
    border-left: 4px solid #D4AF37;
    padding: 18px 24px;
    margin: 24px 0;
    background: rgba(212, 175, 55, 0.04);
    border-radius: 0 16px 16px 0;
    color: #4b5563;
    font-style: italic;
}
.hc-article-content code {
    background: #f3f4f6;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 14.5px;
    color: #92400e;
}
.hc-article-content pre {
    background: #111827;
    color: #e5e7eb;
    padding: 22px;
    border-radius: 16px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.7;
}
.hc-article-content pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.hc-article-content a {
    color: #D4AF37;
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color .2s;
}
.hc-article-content a:hover { text-decoration-color: #D4AF37; }

/* ── Feedback ── */
.hc-article-feedback {
    margin-top: 56px;
    padding: 32px;
    border-radius: 20px;
    background: rgba(249, 250, 251, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.12);
    text-align: center;
}
.hc-article-feedback > p:first-child {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
}
.hc-feedback-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.hc-feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 12px;
    border: 1.5px solid rgba(148, 163, 184, 0.2);
    background: #fff;
    color: #4b5563;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.hc-feedback-btn:hover {
    border-color: rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.04);
}
.hc-feedback-btn:disabled {
    opacity: 0.5;
    cursor: default;
}
.hc-feedback-btn--active {
    border-color: #D4AF37 !important;
    color: #D4AF37 !important;
    background: rgba(212, 175, 55, 0.08) !important;
    opacity: 1 !important;
}
.hc-feedback-thanks {
    margin-top: 14px;
    font-size: 13.5px;
    color: #D4AF37;
    font-weight: 600;
}

/* ── Related Articles ── */
.hc-related {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 80px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    padding-top: 40px;
}
.hc-related h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
.hc-related-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hc-related-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.1);
    text-decoration: none;
    transition: all .25s;
}
.hc-related-card:hover {
    border-color: rgba(212, 175, 55, 0.25);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transform: translateX(4px);
}
.hc-related-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #D4AF37;
}
.hc-related-body {
    flex: 1;
    min-width: 0;
}
.hc-related-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 3px;
    line-height: 1.3;
}
.hc-related-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hc-related-arrow {
    color: #d1d5db;
    flex-shrink: 0;
    transition: color .2s, transform .2s;
}
.hc-related-card:hover .hc-related-arrow {
    color: #D4AF37;
    transform: translateX(2px);
}

/* ── Article Page Responsive ── */
@media (max-width: 768px) {
    .hc-article-header h1 { font-size: 28px; }
    .hc-article { padding: 32px 0 32px; }
    .hc-article-cover { border-radius: 16px; }
    .hc-article-feedback { padding: 24px 20px; border-radius: 16px; }
    .hc-related { padding-top: 32px; padding-bottom: 60px; }
    .hc-breadcrumb { font-size: 12.5px; }
}

@media (max-width: 480px) {
    .hc-article-header h1 { font-size: 24px; }
    .hc-article-header { margin-bottom: 24px; }
    .hc-article-meta { gap: 8px; }
    .hc-article-meta-dot { display: none; }
    .hc-article-cover { margin-bottom: 28px; }
    .hc-article-content { font-size: 15px; line-height: 1.72; }
    .hc-article-content h2 {
        font-size: 21px;
        margin: 32px 0 12px;
        line-height: 1.2;
    }
    .hc-article-content h3 {
        font-size: 18px;
        margin: 26px 0 10px;
    }
    .hc-article-content ul,
    .hc-article-content ol { margin-left: 18px; }
    .hc-article-content blockquote {
        padding: 14px 16px;
        border-radius: 0 14px 14px 0;
    }
    .hc-article-content pre {
        padding: 16px;
        border-radius: 14px;
        font-size: 13px;
    }
    .hc-article-feedback {
        margin-top: 36px;
        padding: 20px 16px;
        border-radius: 18px;
    }
    .hc-feedback-btns {
        flex-direction: column;
        gap: 10px;
    }
    .hc-feedback-btn {
        width: 100%;
        justify-content: center;
    }
    .hc-related {
        max-width: none;
        padding-top: 28px;
        padding-bottom: 44px;
    }
    .hc-related-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
    .hc-related-card {
        padding: 14px;
        align-items: flex-start;
        gap: 12px;
    }
    .hc-related-card p {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    .hc-404-code { font-size: 72px; }
}
