/* ═══════════ صفحات سیستمی + هدر جدید + تم شب ═══════════ */

/* ---------- هدر افقی بازطراحی ---------- */
.bt-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--bt-header-h, 72px);
}
.bt-branding { flex-shrink: 0; }
.bt-nav-desktop { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.bt-nav-desktop .bt-nav-list {
    display: flex; align-items: center; gap: 4px;
    list-style: none; margin: 0; padding: 0;
}
.bt-nav-desktop .bt-nav-list a {
    display: block; padding: 8px 16px; border-radius: 8px;
    color: var(--bt-text); font-weight: 500; font-size: 15px;
    transition: background 0.18s, color 0.18s;
}
.bt-nav-desktop .bt-nav-list a:hover { background: var(--bt-bg); color: var(--bt-primary); }
.bt-nav-desktop .current-menu-item a { color: var(--bt-primary); background: var(--bt-bg); }

.bt-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* دکمه تم روز/شب */
.bt-theme-toggle {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    background: var(--bt-bg); border: 1px solid var(--bt-border);
    border-radius: 10px; cursor: pointer; color: var(--bt-text);
    transition: all 0.2s;
}
.bt-theme-toggle:hover { border-color: var(--bt-primary); color: var(--bt-primary); transform: rotate(15deg); }
.bt-icon-moon { display: none; }
html[data-theme="dark"] .bt-icon-sun { display: none; }
html[data-theme="dark"] .bt-icon-moon { display: block; }

/* دکمه سبد */
.bt-cart-btn {
    position: relative; width: 40px; height: 40px;
    display: grid; place-items: center;
    background: var(--bt-bg); border: 1px solid var(--bt-border);
    border-radius: 10px; color: var(--bt-text); transition: all 0.2s;
}
.bt-cart-btn:hover { border-color: var(--bt-primary); color: var(--bt-primary); }
.bt-cart-count {
    position: absolute; top: -6px; left: -6px;
    background: var(--bt-primary); color: #fff;
    font-size: 11px; font-weight: 700;
    min-width: 18px; height: 18px; border-radius: 9px;
    display: none; align-items: center; justify-content: center; padding: 0 4px;
}
.bt-account-btn { gap: 6px; }

/* منوی موبایل */
.bt-burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px; width: 40px; height: 40px;
    justify-content: center; align-items: center;
}
.bt-burger span { width: 22px; height: 2px; background: var(--bt-text); border-radius: 2px; transition: 0.25s; }
.bt-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bt-burger.active span:nth-child(2) { opacity: 0; }
.bt-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.bt-mobile-overlay {
    position: fixed; inset: 0; background: rgba(8,12,24,0.55);
    z-index: 99998; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(2px);
}
.bt-mobile-overlay.show { opacity: 1; visibility: visible; }

.bt-mobile-menu {
    position: fixed; top: 0; right: 0; width: 300px; max-width: 85vw; height: 100vh; height: 100dvh;
    background: var(--bt-surface); z-index: 99999;
    box-shadow: -10px 0 40px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.32,0.72,0,1);
    padding: 76px 22px 24px; overflow-y: auto;
    visibility: hidden;
    display: flex; flex-direction: column;
}
.bt-mobile-menu.open { transform: translateX(0); visibility: visible; }
.bt-mobile-brand { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--bt-border); }
.bt-mobile-menu .bt-nav-list { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.bt-mobile-menu .bt-nav-list a {
    display: block; padding: 14px 16px; border-radius: 10px;
    color: var(--bt-text); font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--bt-border);
}
.bt-mobile-menu .bt-nav-list a:hover { background: var(--bt-bg); color: var(--bt-primary); }
.bt-mobile-close {
    position: absolute; top: 18px; left: 18px;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--bt-bg); border: 1px solid var(--bt-border);
    font-size: 22px; line-height: 1; cursor: pointer; color: var(--bt-text);
    display: grid; place-items: center; z-index: 1;
}
.bt-mobile-close:hover { background: var(--bt-border); }
.bt-mobile-actions { margin-top: auto; padding-top: 16px; }
.bt-btn-block { width: 100%; justify-content: center; }
body.bt-menu-open { overflow: hidden; }

/* ---------- صفحه ورود/عضویت ---------- */
.bt-auth-wrap {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 40px 20px; position: relative; overflow: hidden;
}
.bt-auth-bg { position: absolute; inset: 0; z-index: 0; }
.bt-auth-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; }
.bt-auth-blob-1 { width: 400px; height: 400px; background: var(--bt-primary); top: -100px; right: -80px; }
.bt-auth-blob-2 { width: 350px; height: 350px; background: var(--bt-accent); bottom: -100px; left: -60px; }
.bt-auth-card {
    position: relative; z-index: 1; width: 100%; max-width: 440px;
    background: var(--bt-surface); border: 1px solid var(--bt-border);
    border-radius: 20px; padding: 36px; box-shadow: 0 30px 70px rgba(15,23,42,0.15);
}
.bt-auth-brand {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 22px; font-weight: 800; margin-bottom: 26px; color: var(--bt-text);
}
.bt-auth-tabs { display: flex; background: var(--bt-bg); border-radius: 12px; padding: 5px; margin-bottom: 26px; }
.bt-auth-tab {
    flex: 1; padding: 11px; border: none; background: none; cursor: pointer;
    font-family: inherit; font-size: 15px; font-weight: 700; color: var(--bt-muted);
    border-radius: 9px; transition: all 0.2s;
}
.bt-auth-tab.active { background: var(--bt-surface); color: var(--bt-primary); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.bt-auth-panel { display: none; }
.bt-auth-panel.active { display: block; animation: bt-fade 0.3s; }
@keyframes bt-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.bt-auth-title { font-size: 24px; font-weight: 800; margin: 0 0 8px; }
.bt-auth-sub { font-size: 14px; color: var(--bt-muted); margin: 0 0 24px; }
.bt-auth-card label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.bt-auth-card input[type="text"], .bt-auth-card input[type="email"],
.bt-auth-card input[type="password"] {
    width: 100%; padding: 12px 14px; border: 1px solid var(--bt-border);
    border-radius: 10px; font-family: inherit; font-size: 15px; margin-bottom: 16px;
    background: var(--bt-bg); color: var(--bt-text);
}
.bt-auth-card input:focus { outline: none; border-color: var(--bt-primary); }
.bt-auth-card .login-remember { font-weight: 400; display: flex; align-items: center; gap: 8px; }
.bt-auth-card .login-remember input { width: auto; margin: 0; }
.bt-auth-card .login-submit input, .bt-auth-card input[type="submit"] {
    width: 100%; padding: 13px; background: var(--bt-primary); color: #fff;
    border: none; border-radius: 10px; font-family: inherit; font-size: 16px;
    font-weight: 700; cursor: pointer; transition: background 0.2s;
}
.bt-auth-card .login-submit input:hover, .bt-auth-card input[type="submit"]:hover { background: var(--bt-primary-dark); }
.bt-reg-note { font-size: 13px; color: var(--bt-muted); margin: -6px 0 16px; }
.bt-auth-foot { text-align: center; margin-top: 16px; font-size: 14px; }
.bt-auth-back { text-align: center; margin-top: 20px; font-size: 14px; }
.bt-auth-disabled { text-align: center; color: var(--bt-muted); padding: 20px; }

/* ---------- حساب کاربری ---------- */
.bt-account-wrap { padding: 40px 0 60px; }
.bt-account-header {
    display: flex; align-items: center; gap: 18px;
    background: var(--bt-surface); border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius); padding: 24px; margin-bottom: 24px;
}
.bt-account-avatar img { border-radius: 50%; }
.bt-account-id { flex: 1; }
.bt-account-id h1 { font-size: 22px; margin: 0 0 4px; }
.bt-account-email { color: var(--bt-muted); font-size: 14px; }
.bt-account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.bt-account-nav { display: flex; flex-direction: column; gap: 4px; }
.bt-acc-tab {
    text-align: right; padding: 13px 18px; border: none; background: none;
    cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 600;
    color: var(--bt-muted); border-radius: 10px; transition: all 0.18s;
}
.bt-acc-tab:hover { background: var(--bt-surface); color: var(--bt-text); }
.bt-acc-tab.active { background: var(--bt-primary); color: #fff; }
.bt-account-content {
    background: var(--bt-surface); border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius); padding: 30px;
}
.bt-acc-panel { display: none; }
.bt-acc-panel.active { display: block; animation: bt-fade 0.3s; }
.bt-acc-panel h2 { font-size: 22px; margin: 0 0 20px; }
.bt-acc-hint { color: var(--bt-muted); font-size: 14px; margin-bottom: 16px; }
.bt-acc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.bt-acc-card {
    background: var(--bt-bg); border: 1px solid var(--bt-border);
    border-radius: 12px; padding: 20px; text-align: center;
}
.bt-acc-card-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.bt-acc-card-label { display: block; font-size: 13px; color: var(--bt-muted); margin-bottom: 4px; }
.bt-acc-card-value { display: block; font-size: 20px; font-weight: 800; color: var(--bt-primary); }
.bt-form-row { margin-bottom: 16px; }
.bt-form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.bt-form-row input, .bt-form-row textarea, .bt-form-row select {
    width: 100%; padding: 11px 14px; border: 1px solid var(--bt-border);
    border-radius: 10px; font-family: inherit; font-size: 15px;
    background: var(--bt-bg); color: var(--bt-text);
}
.bt-form-row input:focus, .bt-form-row textarea:focus { outline: none; border-color: var(--bt-primary); }
.bt-profile-msg, .bt-form-msg { display: block; margin-top: 10px; font-size: 14px; }
.bt-profile-msg.success, .bt-form-msg.success { color: var(--bt-success); }
.bt-profile-msg.error, .bt-form-msg.error { color: #dc2626; }
.bt-sub-box { background: var(--bt-bg); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.bt-sub-plan { font-size: 20px; font-weight: 800; color: var(--bt-primary); }
.bt-sub-expiry { font-size: 14px; color: var(--bt-muted); margin-top: 6px; }
.bt-purchase-row, .bt-purchases-list { font-size: 14px; }
.bt-purchase-row { display: flex; justify-content: space-between; padding: 12px; border-bottom: 1px solid var(--bt-border); }

/* ---------- تیکتینگ ---------- */
.bt-ticket-fab {
    position: fixed; bottom: 24px; right: 24px; z-index: 1500;
    height: 58px; border-radius: 30px;
    background: linear-gradient(135deg, var(--bt-primary), var(--bt-accent));
    color: #fff; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0 22px 0 16px;
    box-shadow: 0 10px 30px rgba(26,86,219,0.45);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    animation: bt-fab-pulse 2.5s ease-in-out infinite;
}
.bt-ticket-fab:hover { transform: translateY(-3px) scale(1.04); color: #fff; box-shadow: 0 16px 40px rgba(26,86,219,0.55); }
.bt-ticket-fab svg { flex-shrink: 0; }
.bt-ticket-fab-label { font-size: 14px; font-weight: 700; white-space: nowrap; }
@keyframes bt-fab-pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(26,86,219,0.45); }
    50% { box-shadow: 0 10px 30px rgba(26,86,219,0.45), 0 0 0 8px rgba(26,86,219,0.12); }
}
.bt-ticket-modal {
    position: fixed; bottom: 94px; right: 24px; z-index: 1500;
    width: 380px; max-width: calc(100vw - 48px);
    background: var(--bt-surface); border: 1px solid var(--bt-border);
    border-radius: 16px; box-shadow: 0 20px 60px rgba(15,23,42,0.25);
    opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.96); transition: 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.bt-ticket-modal.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.bt-ticket-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; background: var(--bt-primary); color: #fff;
    border-radius: 16px 16px 0 0; font-weight: 700;
}
.bt-ticket-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; }
.bt-ticket-tabs { display: flex; border-bottom: 1px solid var(--bt-border); }
.bt-ticket-tab {
    flex: 1; padding: 12px; border: none; background: none; cursor: pointer;
    font-family: inherit; font-weight: 600; color: var(--bt-muted); font-size: 14px;
}
.bt-ticket-tab.active { color: var(--bt-primary); border-bottom: 2px solid var(--bt-primary); }
.bt-ticket-panel { display: none; padding: 18px; max-height: 400px; overflow-y: auto; }
.bt-ticket-panel.active { display: block; }
.bt-ticket-panel input[type="text"], .bt-ticket-panel textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--bt-border);
    border-radius: 10px; font-family: inherit; font-size: 14px; margin-bottom: 12px;
    background: var(--bt-bg); color: var(--bt-text);
}
.bt-ticket-file-label {
    display: block; padding: 10px; border: 1px dashed var(--bt-border);
    border-radius: 10px; text-align: center; cursor: pointer; font-size: 13px;
    color: var(--bt-muted); margin-bottom: 12px;
}
.bt-ticket-file-label input { display: none; }
.bt-ticket-msg { font-size: 13px; margin-top: 8px; text-align: center; }
.bt-ticket-msg.success { color: var(--bt-success); }
.bt-ticket-msg.error { color: #dc2626; }
.bt-tk-item { border: 1px solid var(--bt-border); border-radius: 10px; margin-bottom: 10px; }
.bt-tk-item summary {
    padding: 12px 14px; cursor: pointer; font-weight: 600; font-size: 14px;
    display: flex; align-items: center; justify-content: space-between;
}
.bt-tk-status { font-size: 12px; padding: 3px 10px; border-radius: 12px; }
.bt-tk-st-open { background: #fef3c7; color: #92400e; }
.bt-tk-st-answered { background: #d1fae5; color: #065f46; }
.bt-tk-st-closed { background: #e2e8f0; color: #475569; }
.bt-tk-conv { padding: 0 14px 12px; }
.bt-tk-msg { padding: 10px; border-radius: 10px; margin-bottom: 8px; font-size: 13px; }
.bt-tk-user { background: var(--bt-bg); }
.bt-tk-admin { background: #eff4ff; }
.bt-tk-msg p { margin: 6px 0 0; }
.bt-tk-reply { display: flex; gap: 8px; padding: 0 14px 14px; }
.bt-tk-reply input { flex: 1; margin: 0; }

/* ---------- سبد خرید ---------- */
.bt-cart-app { max-width: 760px; margin: 0 auto; }
.bt-cart-empty { text-align: center; padding: 60px 20px; }
.bt-cart-empty-icon { font-size: 60px; display: block; margin-bottom: 16px; }
.bt-cart-empty h2 { margin: 0 0 8px; }
.bt-cart-empty p { color: var(--bt-muted); margin: 0 0 20px; }
.bt-cart-item {
    display: flex; align-items: center; gap: 16px;
    background: var(--bt-surface); border: 1px solid var(--bt-border);
    border-radius: 12px; padding: 16px 20px; margin-bottom: 12px;
}
.bt-cart-item-info { flex: 1; }
.bt-cart-item-name { display: block; font-weight: 700; }
.bt-cart-item-type { font-size: 13px; color: var(--bt-muted); }
.bt-cart-item-price { font-weight: 700; color: var(--bt-primary); }
.bt-cart-remove { background: none; border: none; color: #dc2626; font-size: 22px; cursor: pointer; }
.bt-cart-summary {
    background: var(--bt-surface); border: 1px solid var(--bt-border);
    border-radius: 12px; padding: 24px; margin-top: 20px;
}
.bt-cart-total-row { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.bt-cart-total-row span:last-child { color: var(--bt-primary); }

/* ---------- مشاوران ---------- */
.bt-advisors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.bt-advisor-card {
    background: var(--bt-surface); border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius); overflow: hidden; transition: all 0.2s;
}
.bt-advisor-card:hover { transform: translateY(-4px); box-shadow: var(--bt-shadow); }
.bt-advisor-photo { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bt-bg); }
.bt-advisor-photo img { width: 100%; height: 100%; object-fit: cover; }
.bt-advisor-noimg { display: grid; place-items: center; height: 100%; font-size: 60px; opacity: 0.3; }
.bt-advisor-body { padding: 20px; }
.bt-advisor-body h3 { margin: 0 0 4px; font-size: 18px; }
.bt-advisor-body h3 a { color: var(--bt-text); }
.bt-advisor-role { color: var(--bt-primary); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.bt-advisor-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.bt-advisor-tag { background: var(--bt-bg); font-size: 12px; padding: 4px 10px; border-radius: 12px; color: var(--bt-muted); }
.bt-advisor-exp { font-size: 13px; color: var(--bt-muted); margin-bottom: 12px; }

.bt-advisor-rate-chip {
    display: inline-block; background: var(--bt-primary); color: #fff;
    font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 20px;
    margin-bottom: 14px;
}
.bt-advisor-rate-chip-sm { font-size: 11px; padding: 3px 10px; margin-bottom: 8px; }
.bt-advisor-rate-box { background: var(--bt-bg); border-radius: var(--bt-radius); padding: 18px 20px; }
.bt-rate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.bt-rate-item {
    display: flex; flex-direction: column; gap: 4px;
    background: var(--bt-surface); border: 1px solid var(--bt-border);
    border-radius: 10px; padding: 12px 16px;
}
.bt-rate-item-label { font-size: 12px; color: var(--bt-muted); }
.bt-rate-item-value { font-size: 16px; font-weight: 700; color: var(--bt-primary); }
.bt-rate-item-value small { font-size: 12px; font-weight: 500; color: var(--bt-muted); }
.bt-rate-note { margin: 12px 0 0; font-size: 13px; color: var(--bt-muted); }
.bt-advisor-locked { font-size: 13px; color: var(--bt-muted); }
.bt-advisor-profile { max-width: 760px; margin: 0 auto; background: var(--bt-surface); border: 1px solid var(--bt-border); border-radius: var(--bt-radius); padding: 30px; }
.bt-advisor-profile-head { display: flex; gap: 24px; margin-bottom: 24px; }
.bt-advisor-profile-photo { width: 140px; height: 140px; border-radius: 16px; overflow: hidden; flex-shrink: 0; background: var(--bt-bg); }
.bt-advisor-profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.bt-advisor-profile-id h1 { margin: 0 0 6px; }
.bt-advisor-profile-contact { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.bt-advisor-locked-box { background: var(--bt-bg); border-radius: 10px; padding: 16px; font-size: 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.bt-advisor-section { margin-top: 24px; }
.bt-advisor-section h3 { font-size: 18px; margin: 0 0 12px; }

/* ---------- تماس ---------- */
.bt-contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; }
.bt-contact-info { display: flex; flex-direction: column; gap: 18px; }
.bt-contact-item { display: flex; gap: 14px; align-items: flex-start; background: var(--bt-surface); border: 1px solid var(--bt-border); border-radius: 12px; padding: 18px; }
.bt-contact-icon { font-size: 24px; }
.bt-contact-label { display: block; font-size: 13px; color: var(--bt-muted); margin-bottom: 2px; }
.bt-contact-form-wrap { background: var(--bt-surface); border: 1px solid var(--bt-border); border-radius: var(--bt-radius); padding: 28px; }
.bt-contact-form-wrap h2 { margin: 0 0 20px; }

/* ---------- صفحات با hero ---------- */
.bt-page-hero { position: relative; padding: 56px 0; text-align: center; overflow: hidden; background: var(--bt-surface); border-bottom: 1px solid var(--bt-border); }
.bt-page-hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(26,86,219,0.06), transparent 45%), radial-gradient(circle at 75% 60%, rgba(59,130,246,0.05), transparent 45%); }
.bt-page-hero h1 { position: relative; font-size: 34px; font-weight: 800; margin: 0 0 8px; }
.bt-page-hero p { position: relative; color: var(--bt-muted); font-size: 16px; margin: 0; }
.bt-content-narrow { max-width: 800px; }

/* ---------- تم شب: تنظیمات ظریف ---------- */
html[data-theme="dark"] body { background: transparent; color: var(--bt-text); }
html[data-theme="dark"] { background: var(--bt-bg); }
html[data-theme="dark"] .bt-header { background: rgba(11,17,32,0.85); border-bottom-color: var(--bt-border); }
html[data-theme="dark"] .bt-hero-doc-main,
html[data-theme="dark"] .bt-hero-badge { background: var(--bt-surface); }
html[data-theme="dark"] .bt-dl, html[data-theme="dark"] .bt-doc-line { background: #1e293b; }
html[data-theme="dark"] .bt-post-card-cat { background: rgba(17,28,51,0.95); }
html[data-theme="dark"] img.bt-hero-img { opacity: 0.9; }

/* انیمیشن گذار تم */
body, .bt-header, .bt-card, .bt-feature, .bt-post-card, .bt-account-content,
.bt-auth-card, .bt-showcase-card { transition: background-color 0.3s, border-color 0.3s, color 0.3s; }

/* ---------- ریسپانسیو ---------- */
@media (max-width: 980px) {
    .bt-account-layout { grid-template-columns: 1fr; }
    .bt-account-nav { flex-direction: row; flex-wrap: wrap; }
    .bt-acc-tab { flex: 1; min-width: 100px; text-align: center; }
    .bt-contact-layout { grid-template-columns: 1fr; }
    .bt-advisor-profile-head { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 880px) {
    .bt-nav-desktop { display: none !important; }
    .bt-burger { display: flex; }
    .bt-account-btn .bt-btn-label { display: none; }
    .bt-acc-cards { grid-template-columns: 1fr; }
    .bt-header-inner { gap: 8px; justify-content: space-between; flex-wrap: nowrap; }
    .bt-branding { flex: 1 1 auto; min-width: 0; overflow: hidden; }
    .bt-branding .bt-logo { font-size: 16px; gap: 7px; }
    .bt-branding .bt-logo-mark { width: 28px; height: 28px; font-size: 15px; }
    .bt-branding .bt-logo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; max-width: 100%; }
    .bt-header-actions { flex-shrink: 0; }
}
@media (max-width: 480px) {
    .bt-header-actions { gap: 4px; }
    .bt-theme-toggle, .bt-cart-btn { width: 34px; height: 34px; }
    .bt-ticket-modal { right: 12px; left: 12px; width: auto; bottom: 84px; }
    .bt-ticket-fab { bottom: 16px; right: 16px; padding: 0; width: 56px; height: 56px; justify-content: center; border-radius: 50%; }
    .bt-ticket-fab-label { display: none; }
    .bt-auth-card { padding: 24px; }
    .bt-logo-tagline { display: none; }
    .bt-account-btn { padding: 8px 10px; }
    .bt-branding .bt-logo { font-size: 14px; gap: 6px; }
    .bt-branding .bt-logo-mark { width: 26px; height: 26px; font-size: 13px; }
    .bt-branding .bt-logo-text { max-width: 90px; }
}
@media (max-width: 360px) {
    .bt-branding .bt-logo-text { max-width: 60px; }
    .bt-cart-btn { display: none; }
}

/* ---------- نوبت‌دهی و پنل مشاور ---------- */
.bt-booking-box { background: var(--bt-surface); border: 1px solid var(--bt-border); border-radius: var(--bt-radius); padding: 24px; margin-top: 24px; }
.bt-schedule { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; padding: 14px; background: var(--bt-bg); border-radius: 10px; }
.bt-schedule-label { font-weight: 700; font-size: 14px; }
.bt-schedule-slot { background: var(--bt-surface); border: 1px solid var(--bt-border); border-radius: 20px; padding: 5px 14px; font-size: 13px; }
.bt-form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bt-booking-msg { display: block; margin-top: 10px; font-size: 14px; }
.bt-booking-msg.success { color: var(--bt-success); }
.bt-booking-msg.error { color: #dc2626; }
.bt-booking-external { margin-top: 14px; font-size: 14px; color: var(--bt-muted); }
.bt-advisor-panel-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bt-bookings-list { display: flex; flex-direction: column; gap: 14px; }
.bt-booking-card { background: var(--bt-surface); border: 1px solid var(--bt-border); border-radius: 12px; padding: 18px; }
.bt-booking-info { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bt-booking-status { font-size: 12px; padding: 4px 12px; border-radius: 12px; }
.bt-booking-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--bt-muted); margin-bottom: 10px; }
.bt-booking-note { font-size: 14px; color: var(--bt-text); background: var(--bt-bg); padding: 10px; border-radius: 8px; margin: 0 0 12px; }
.bt-booking-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.bt-btn-danger { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.bt-btn-danger:hover { background: #dc2626; color: #fff; }
.bt-btn-sm { padding: 7px 14px; font-size: 13px; }

/* ---------- صفحه اشتراک‌ها ---------- */
.bt-plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.bt-plan-card { position: relative; background: var(--bt-surface); border: 1px solid var(--bt-border); border-radius: 18px; padding: 32px 26px; transition: transform 0.25s, box-shadow 0.25s; }
.bt-plan-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(15,23,42,0.1); }
.bt-plan-featured { border-color: var(--bt-primary); border-width: 2px; box-shadow: 0 16px 44px rgba(26,86,219,0.15); }
.bt-plan-badge { position: absolute; top: -13px; right: 26px; background: linear-gradient(135deg, var(--bt-primary), var(--bt-accent)); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 20px; }
.bt-plan-name { font-size: 20px; font-weight: 800; margin: 0 0 14px; }
.bt-plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.bt-plan-amount { font-size: 34px; font-weight: 900; color: var(--bt-primary); }
.bt-plan-unit { font-size: 14px; color: var(--bt-muted); }
.bt-plan-desc { font-size: 14px; color: var(--bt-muted); margin: 0 0 18px; }
.bt-plan-features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 11px; }
.bt-plan-features li { font-size: 14px; padding-right: 26px; position: relative; }
.bt-plan-features li::before { content: "✓"; position: absolute; right: 0; color: var(--bt-success); font-weight: 800; }

/* ---------- بهبود مدرن: گرادیان و عمق بیشتر ---------- */
.bt-feature, .bt-showcase-card, .bt-plan-card { backdrop-filter: blur(6px); }

/* دکمه تم: انیمیشن چرخش نرم */
.bt-theme-toggle svg { transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.bt-theme-toggle:active svg { transform: rotate(180deg); }

@media (max-width: 600px) {
    .bt-form-grid2 { grid-template-columns: 1fr; }
    .bt-advisor-panel-stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .bt-feature, .bt-step, .bt-showcase-card, .bt-plan-card, .bt-stat { animation: none; }
}

/* ---------- صفحه فرم‌ساز (تمام‌عرض، بدون محدودیت) ---------- */
.bt-app-wrap { padding: 30px 0 60px; }
.bt-app-container { max-width: 1280px; margin: 0 auto; padding: 0 22px; }
.bt-app-container .bizplan-app { width: 100%; }
@media (max-width: 600px) { .bt-app-container { padding: 0 14px; } }

/* ---------- صفحه درباره (توسعه‌یافته) ---------- */
.bt-about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.bt-about-value { background: var(--bt-surface); border: 1px solid var(--bt-border); border-radius: var(--bt-radius); padding: 26px; text-align: center; }
.bt-about-icon { font-size: 36px; display: block; margin-bottom: 14px; }
.bt-about-value h3 { font-size: 17px; margin: 0 0 8px; }
.bt-about-value p { font-size: 14px; color: var(--bt-muted); margin: 0; line-height: 1.8; }
.bt-about-cta { text-align: center; background: linear-gradient(135deg, var(--bt-primary), var(--bt-accent)); border-radius: 18px; padding: 40px; margin-top: 40px; }
.bt-about-cta h2 { color: #fff; margin: 0 0 18px; }
@media (max-width: 700px) { .bt-about-values { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    .bt-ticket-fab { animation: none; }
}

/* ═══════════ ارتقای گرافیکی-انیمیشنی ═══════════ */

/* درخشش گرادیانی پشت کارت قهرمان */
.bt-hero-stack::before {
    content: ""; position: absolute; inset: -30px;
    background: radial-gradient(circle at 50% 50%, rgba(59,130,246,0.18), transparent 65%);
    filter: blur(30px); z-index: 0; animation: bt-glow 4s ease-in-out infinite;
}
@keyframes bt-glow { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }

/* افکت hover ارتقایافته روی کارت‌ها */
.bt-feature, .bt-showcase-card, .bt-plan-card, .bt-advisor-card {
    position: relative; overflow: hidden;
}
.bt-feature::after, .bt-showcase-card::after {
    content: ""; position: absolute; top: 0; right: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.13), transparent);
    transition: right 0.6s; pointer-events: none;
}
html[data-theme="dark"] .bt-feature::after,
html[data-theme="dark"] .bt-showcase-card::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}
.bt-feature:hover::after, .bt-showcase-card:hover::after { right: 100%; }

/* آیکون مزایا: حرکت نرم هنگام hover */
.bt-feature-icon { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.bt-feature:hover .bt-feature-icon { transform: scale(1.12) rotate(-5deg); }

/* دکمه‌های اصلی: درخشش هنگام hover */
.bt-btn-primary { position: relative; overflow: hidden; }
.bt-btn-primary::before {
    content: ""; position: absolute; top: 0; right: -120%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg); transition: right 0.5s;
}
.bt-btn-primary:hover::before { right: 130%; }

/* گرادیان متحرک نوار CTA */
.bt-cta-bg, .bt-about-cta {
    background-size: 200% 200%;
    animation: bt-gradient-shift 6s ease infinite;
}
@keyframes bt-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* عنوان قهرمان: گرادیان متن */
.bt-hero-title {
    background: linear-gradient(120deg, var(--bt-text) 30%, var(--bt-primary) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
html[data-theme="dark"] .bt-hero-title {
    background: linear-gradient(120deg, #fff 30%, var(--bt-accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
    .bt-hero-stack::before, .bt-cta-bg, .bt-about-cta { animation: none; }
    .bt-feature::after, .bt-showcase-card::after, .bt-btn-primary::before { display: none; }
}

.bt-contact-map { margin-top: 30px; border-radius: var(--bt-radius); overflow: hidden; border: 1px solid var(--bt-border); }
.bt-contact-map iframe { width: 100%; height: 320px; display: block; border: none; }

/* ---------- فهرست ویژگی شفاف پلن‌ها ---------- */
.bt-plan-features li { display: flex; align-items: flex-start; gap: 8px; padding-right: 0 !important; }
.bt-plan-features li::before { content: none !important; }
.bt-feat-mark { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 1px; }
.bt-feat-yes .bt-feat-mark { background: #dcfce7; color: #16a34a; }
.bt-feat-no .bt-feat-mark { background: #f1f5f9; color: #94a3b8; }
.bt-feat-no { color: var(--bt-muted); }
html[data-theme="dark"] .bt-feat-yes .bt-feat-mark { background: rgba(34,197,94,0.18); color: #4ade80; }
html[data-theme="dark"] .bt-feat-no .bt-feat-mark { background: rgba(148,163,184,0.12); color: #64748b; }

.bt-plans-trust {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
    margin: 36px auto 0; padding: 20px; max-width: 800px;
    font-size: 14px; color: var(--bt-muted); font-weight: 600;
}
@media (max-width: 600px) { .bt-plans-trust { gap: 14px; font-size: 13px; } }

/* ---------- آواتار سفارشی هدر و پروفایل ---------- */
.bt-header-avatar img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.bt-account-avatar img { border-radius: 50%; object-fit: cover; width: 72px; height: 72px; }

.bt-avatar-upload { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--bt-border); }
.bt-avatar-upload-img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--bt-border); }
.bt-avatar-upload-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bt-avatar-upload-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bt-avatar-msg { font-size: 13px; }
.bt-avatar-msg.success { color: var(--bt-success); }
.bt-avatar-msg.error { color: #dc2626; }

@media (max-width: 480px) {
    .bt-header-avatar img { width: 20px; height: 20px; }
}

/* ---------- بخش مشاوران در صفحه اصلی ---------- */
.bt-advisors-home { padding: 70px 0; }
.bt-advisors-home-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px; margin-top: 36px;
}
.bt-advisor-home-card {
    background: var(--bt-surface); border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius); padding: 24px; text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
}
.bt-advisor-home-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(15,23,42,0.1); }
.bt-advisor-home-photo {
    width: 90px; height: 90px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px;
    background: var(--bt-bg); border: 3px solid var(--bt-bg);
}
.bt-advisor-home-photo img { width: 100%; height: 100%; object-fit: cover; }
.bt-advisor-home-photo .bt-advisor-noimg { display: grid; place-items: center; height: 100%; font-size: 36px; opacity: 0.3; }
.bt-advisor-home-card h3 { font-size: 17px; margin: 0 0 6px; }
.bt-advisor-home-card .bt-advisor-role { color: var(--bt-primary); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.bt-advisor-home-card .bt-advisor-exp { font-size: 12px; color: var(--bt-muted); margin-bottom: 10px; }
.bt-advisor-home-card .bt-advisor-tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-bottom: 16px; }
.bt-advisors-home-more { text-align: center; margin-top: 30px; }

/* ---------- نشان اعتماد (اینماد) در فوتر ---------- */
.bt-footer-trust-seal { display: flex; justify-content: center; padding: 16px 0; border-top: 1px solid var(--bt-border); margin-top: 16px; }
.bt-footer-trust-seal img { max-width: 100px; height: auto; }

/* ---------- جستجوی فرم‌ها در صفحه اصلی ---------- */
.bt-forms-search { max-width: 760px; margin: 0 auto 36px; }
.bt-forms-search-bar {
    display: flex; align-items: center; gap: 10px;
    background: var(--bt-surface); border: 1px solid var(--bt-border);
    border-radius: 14px; padding: 12px 18px;
}
.bt-forms-search-bar svg { color: var(--bt-muted); flex-shrink: 0; }
.bt-forms-search-bar input {
    flex: 1; border: none; background: none; outline: none;
    font-family: inherit; font-size: 15px; color: var(--bt-text); min-width: 0;
}
.bt-forms-search-adv-toggle {
    background: var(--bt-bg); border: 1px solid var(--bt-border); border-radius: 8px;
    padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--bt-text);
    cursor: pointer; flex-shrink: 0; white-space: nowrap;
}
.bt-forms-search-adv-toggle:hover { border-color: var(--bt-primary); color: var(--bt-primary); }
.bt-forms-search-advanced {
    display: none; gap: 12px; margin-top: 12px; flex-wrap: wrap;
}
.bt-forms-search-advanced.open { display: flex; }
.bt-forms-search-advanced select {
    flex: 1; min-width: 160px; padding: 10px 14px; border: 1px solid var(--bt-border);
    border-radius: 10px; background: var(--bt-surface); color: var(--bt-text); font-family: inherit; font-size: 14px;
}
.bt-forms-search-empty { text-align: center; color: var(--bt-muted); padding: 30px 0; }
@media (max-width: 600px) {
    .bt-forms-search-bar { flex-wrap: wrap; }
    .bt-forms-search-adv-toggle { width: 100%; text-align: center; }
}

/* ═══════════ ذرات متحرک پس‌زمینه (Canvas) ═══════════ */
.bt-particles-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: transparent;
    display: block;
}
@media (prefers-reduced-motion: reduce) {
    .bt-particles-canvas { opacity: 0.5; }
}

/* دکمه جستجوی صریح */
.bt-forms-search-btn {
    background: var(--bt-primary); color: #fff; border: none;
    border-radius: 8px; padding: 9px 20px; font-family: inherit; font-size: 14px;
    font-weight: 600; cursor: pointer; flex-shrink: 0; white-space: nowrap;
}
.bt-forms-search-btn:hover { background: var(--bt-primary-dark); }

/* پیام‌های فرم ورود/عضویت اختصاصی */
.bt-auth-msg { font-size: 13px; margin: 4px 0; min-height: 1px; }
.bt-auth-msg.error { color: #dc2626; }
.bt-auth-msg.success { color: var(--bt-success); }
.bt-form-row-inline label { display: flex; align-items: center; gap: 7px; font-weight: 400; font-size: 14px; cursor: pointer; }
