/* ==========================================================
   Naserimind.ir - تم اصلی بنفش / سفید / آبی کم‌رنگ
   دنیا ناصری
   ========================================================== */

:root {
    --purple-900: #4c1d95;
    --purple-800: #5b21b6;
    --purple-700: #6d28d9;
    --purple-600: #7c3aed;
    --purple-500: #8b5cf6;
    --purple-400: #a78bfa;
    --purple-300: #c4b5fd;
    --purple-200: #ddd6fe;
    --purple-100: #ede9fe;
    --purple-50: #f5f3ff;
    --blue-100: #e0f2fe;
    --blue-200: #bae6fd;
    --blue-300: #7dd3fc;
    --blue-400: #38bdf8;
    --blue-500: #0ea5e9;
    --grad-primary: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    --grad-dark: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
    --grad-light: linear-gradient(135deg, #ede9fe 0%, #e0f2fe 100%);
    --ink: #1e1b4b;
    --text-soft: #6b7280;
    --shadow-sm: 0 2px 8px rgba(76, 29, 149, .08);
    --shadow-md: 0 8px 30px rgba(76, 29, 149, .12);
    --shadow-lg: 0 18px 50px rgba(76, 29, 149, .18);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
    --font-body: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
}

* { -webkit-box-sizing: border-box; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: #ffffff;
    line-height: 1.9;
    overflow-x: hidden;
    letter-spacing: 0;
}

h1, h2, h3, h4, h5, h6 { font-weight: 800; color: var(--ink); line-height: 1.5; }
a { text-decoration: none; color: var(--purple-600); transition: all .25s ease; }
a:hover { color: var(--purple-800); }
img { max-width: 100%; height: auto; }
::selection { background: var(--purple-600); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--purple-50); }
::-webkit-scrollbar-thumb { background: var(--purple-400); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-600); }

/* ============ نوار بالای سایت ============ */
.topbar {
    background: var(--grad-dark);
    color: #fff;
    font-size: 13px;
    padding: 7px 0;
    position: relative;
    z-index: 1030;
}
.topbar a.topbar-link {
    color: rgba(255,255,255,.9);
    display: inline-flex;
    align-items: center;
    transition: .25s;
}
.topbar a.topbar-link:hover { color: #fff; transform: translateY(-1px); }
.topbar-sep { color: rgba(255,255,255,.3); margin: 0 10px; }

/* ============ هدر ============ */
.site-header { background: rgba(255,255,255,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); }
.navbar { padding: 14px 0; }
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
    width: 46px; height: 46px;
    background: var(--grad-primary);
    color: #fff;
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 21px;
    box-shadow: 0 8px 20px rgba(124,58,237,.35);
}
.brand-logo.light { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25); box-shadow: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text span { font-weight: 900; font-size: 19px; color: var(--purple-700); }
.brand-text small { font-size: 11px; color: var(--text-soft); font-weight: 500; }
.site-header .brand-text.light span { color: #fff; }

.navbar-nav .nav-link {
    font-weight: 700;
    color: var(--ink);
    padding: 9px 16px !important;
    border-radius: var(--radius-full);
    position: relative;
    font-size: 14.5px;
    transition: all .25s;
}
.navbar-nav .nav-link:hover { color: var(--purple-600); background: var(--purple-50); }
.navbar-nav .nav-link.active {
    color: var(--purple-700);
    background: linear-gradient(135deg, var(--purple-100), var(--blue-100));
}
.navbar-toggler { border: none; color: var(--purple-700); font-size: 22px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%237c3aed' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-admin {
    background: linear-gradient(135deg, #312e81, #7c3aed);
    color: #fff !important;
    padding: 9px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 13.5px;
    border: none;
}
.btn-admin:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(124,58,237,.4); }

.offcanvas { --bs-offcanvas-width: 300px; }

/* ============ دکمه‌ها ============ */
.btn {
    border-radius: var(--radius-full);
    padding: 11px 26px;
    font-weight: 700;
    font-size: 14.5px;
    transition: all .3s ease;
}
.btn-primary {
    background: var(--grad-primary);
    border: none;
    color: #fff;
    box-shadow: 0 6px 18px rgba(124,58,237,.3);
}
.btn-primary:hover, .btn-primary:focus { background: var(--grad-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(124,58,237,.4); }
.btn-outline-primary { border: 2px solid var(--purple-500); color: var(--purple-600); background: transparent; }
.btn-outline-primary:hover { background: var(--purple-600); border-color: var(--purple-600); color: #fff; transform: translateY(-2px); }
.btn-soft { background: var(--purple-100); color: var(--purple-700); border: none; }
.btn-soft:hover { background: var(--purple-200); color: var(--purple-800); }
.btn-light-gradient { background: var(--grad-light); color: var(--purple-800); border: none; }
.btn-light-gradient:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--purple-700); border: none; box-shadow: var(--shadow-sm); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn i { margin-inline-start: 6px; }

.offcanvas-start { border-inline-end: 1px solid var(--purple-100); }

/* ============ هیرو / اسلایدشو ============ */
.hero-section {
    position: relative;
    background: var(--grad-light);
    overflow: hidden;
    padding: 0;
    min-height: 560px;
    display: flex;
    align-items: center;
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; }
.hero-blob-1 { width: 380px; height: 380px; background: var(--purple-300); top: -80px; right: -60px; }
.hero-blob-2 { width: 320px; height: 320px; background: var(--blue-200); bottom: -100px; left: -50px; }

.carousel, .carousel-inner, .carousel-item { height: 100%; min-height: 560px; }
.carousel-item { position: relative; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    display: flex; align-items: center;
}
.hero-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(76,29,149,.82) 0%, rgba(124,58,237,.65) 45%, rgba(56,189,248,.35) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 640px; padding: 60px 0; }
.hero-content .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.3);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 22px;
}
.hero-content h1 {
    color: #fff;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 18px;
    line-height: 1.4;
}
.hero-content p.lead {
    color: rgba(255,255,255,.92);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 2;
    margin-bottom: 30px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.carousel-indicators { bottom: 24px; }
.carousel-indicators [data-bs-target] {
    width: 34px; height: 5px; border-radius: 5px;
    background: rgba(255,255,255,.5);
    border: 0;
    opacity: 1;
    transition: .3s;
}
.carousel-indicators .active { background: #fff; width: 52px; }
.carousel-control-prev, .carousel-control-next { width: 8%; opacity: 0; transition: .3s; }
.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next { opacity: 1; }

@media (max-width: 768px) {
    .hero-section, .carousel, .carousel-inner, .carousel-item { min-height: 480px; }
    .hero-content { padding: 40px 0; }
}

/* ============ کمربند ویژگی‌ها ============ */
.features-strip {
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: -46px;
    position: relative;
    z-index: 5;
    padding: 30px;
}
.feature-item { text-align: center; padding: 14px 8px; }
.feature-item .feature-icon {
    width: 62px; height: 62px;
    margin: 0 auto 14px;
    border-radius: 18px;
    background: var(--grad-primary);
    color: #fff;
    font-size: 25px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(124,58,237,.35);
}
.feature-item h6 { font-weight: 800; font-size: 14.5px; margin: 0 0 4px; }
.feature-item p { font-size: 12.5px; color: var(--text-soft); margin: 0; line-height: 1.8; }

/* ============ بخش‌های عمومی ============ */
.section { padding: 90px 0; position: relative; }
.section-alt { background: var(--grad-light); }
.section-dark { background: var(--grad-dark); color: #fff; }
.section-title-wrap { max-width: 640px; margin: 0 auto 55px; text-align: center; }
.section-tag {
    display: inline-block;
    background: var(--purple-100);
    color: var(--purple-700);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    border: 1px solid var(--purple-200);
}
.section-title-wrap h2 { font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 12px; }
.section-title-wrap p { color: var(--text-soft); font-size: 15px; }
.section-dark .section-title-wrap h2 { color: #fff; }
.section-dark .section-title-wrap p { color: rgba(255,255,255,.85); }
.section-dark .section-tag { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.25); }

/* ============ کارت‌ها ============ */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all .35s ease;
    overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

/* ============ کارت محصول ============ */
.product-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: .35s; position: relative; height: 100%; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card .product-img {
    position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--purple-50);
}
.product-card .product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-badge {
    position: absolute; top: 14px; inset-inline-start: 14px;
    background: var(--grad-primary); color: #fff;
    font-size: 11.5px; font-weight: 700;
    padding: 5px 14px; border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}
.product-card .product-body { padding: 22px; }
.product-card .product-category { font-size: 12px; color: var(--purple-500); font-weight: 700; }
.product-card .product-title { font-weight: 800; font-size: 16.5px; margin: 8px 0 12px; min-height: 52px; }
.product-card .product-title a { color: var(--ink); }
.product-card .product-title a:hover { color: var(--purple-600); }
.product-card .product-price { display: flex; align-items: center; justify-content: space-between; }
.price-tag {
    background: var(--grad-light);
    color: var(--purple-800);
    font-weight: 800;
    font-size: 16px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
}
.price-tag small { font-size: 11px; font-weight: 600; }

/* ============ کارت پست / بلاگ ============ */
.post-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: .35s; height: 100%; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .post-img { aspect-ratio: 16/9; overflow: hidden; background: var(--purple-100); }
.post-card .post-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.post-card:hover .post-img img { transform: scale(1.07); }
.post-card .post-body { padding: 22px; }
.post-meta { font-size: 12.5px; color: var(--text-soft); display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; }
.post-meta i { color: var(--purple-500); }
.post-card .post-title { font-size: 16px; font-weight: 800; line-height: 1.8; margin-bottom: 10px; }
.post-card .post-title a { color: var(--ink); }
.post-card .post-title a:hover { color: var(--purple-600); }
.post-card .post-excerpt { font-size: 13.5px; color: var(--text-soft); line-height: 1.9; }

/* ============ دکمه خواندن بیشتر ============ */
.read-more { font-weight: 700; font-size: 13.5px; color: var(--purple-600); }
.read-more:hover { color: var(--purple-800); }

/* ============ رزومه ============ */
.resume-page-hero { background: var(--grad-dark); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.resume-page-hero::after {
    content: '';
    position: absolute; width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255,255,255,.08); top: -150px; left: -100px;
}
.resume-page-hero .resume-avatar {
    width: 170px; height: 170px;
    border-radius: 30px;
    border: 4px solid rgba(255,255,255,.35);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
    object-fit: cover;
    background: var(--purple-400);
}
.contact-chip {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    color: #fff;
    transition: .3s;
}
.contact-chip:hover { background: rgba(255,255,255,.25); color: #fff; transform: translateY(-2px); }

.resume-timeline { position: relative; padding-inline-start: 36px; }
.resume-timeline::before {
    content: '';
    position: absolute; top: 4px; bottom: 4px; inset-inline-start: 12px;
    width: 3px;
    background: linear-gradient(180deg, var(--purple-400), var(--blue-300));
    border-radius: 3px;
}
.resume-item { position: relative; padding: 20px 24px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-bottom: 22px; transition: .3s; border: 1px solid var(--purple-50); }
.resume-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.resume-item::before {
    content: '';
    position: absolute; top: 28px; inset-inline-start: -34px;
    width: 18px; height: 18px;
    background: #fff;
    border: 4px solid var(--purple-500);
    border-radius: 50%;
    z-index: 2;
}
.resume-item .resume-date {
    display: inline-block;
    background: var(--grad-light);
    color: var(--purple-700);
    font-size: 12px; font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}
.resume-item h4 { font-size: 16.5px; margin-bottom: 6px; }
.resume-item .resume-org { color: var(--purple-500); font-weight: 700; font-size: 13.5px; margin-bottom: 8px; }
.resume-item p { font-size: 14px; color: #4b5563; margin: 0; line-height: 2; }

/* نمودار مهارت */
.skill-bar { margin-bottom: 22px; }
.skill-bar .skill-label { display: flex; justify-content: space-between; font-weight: 700; font-size: 13.5px; margin-bottom: 8px; }
.skill-bar .skill-track { height: 10px; background: var(--purple-100); border-radius: 10px; overflow: hidden; }
.skill-bar .skill-fill {
    height: 100%;
    background: var(--grad-primary);
    border-radius: 10px;
    width: 0;
    transition: width 1.2s ease;
}

/* کارت مهارت */
.skill-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff;
    border: 1.5px solid var(--purple-100);
    color: var(--ink);
    font-weight: 700;
    font-size: 13.5px;
    padding: 9px 20px;
    border-radius: var(--radius-full);
    margin: 4px;
    box-shadow: var(--shadow-sm);
    transition: .3s;
}
.skill-tag i { color: var(--purple-500); }
.skill-tag:hover { border-color: var(--purple-400); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* باکس دانلود رزومه */
.resume-download-box {
    background: var(--grad-dark);
    border-radius: var(--radius-lg);
    color: #fff;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.resume-download-box::before {
    content: '';
    position: absolute; width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,.1); top: -80px; inset-inline-end: -60px;
}
.resume-download-box i.big { font-size: 54px; color: var(--blue-300); }

/* ============ گالری ============ */
.gallery-grid { column-count: 3; column-gap: 16px; }
.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    break-inside: avoid;
    cursor: pointer;
    display: block;
}
.gallery-item img { width: 100%; border-radius: var(--radius-lg); transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(76,29,149,.85));
    opacity: 0;
    transition: .35s;
    display: flex; align-items: flex-end;
    padding: 20px;
    border-radius: var(--radius-lg);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item .gallery-title { color: #fff; font-weight: 800; font-size: 15px; transform: translateY(10px); transition: .35s; }
.gallery-item:hover .gallery-title { transform: translateY(0); }

@media (max-width: 992px) { .gallery-grid { column-count: 2; } }
@media (max-width: 576px) { .gallery-grid { column-count: 1; } }

/* ============ سایدبار فروشگاه ============ */
.shop-sidebar { position: sticky; top: 92px; }
.sidebar-widget {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 26px;
    margin-bottom: 24px;
    border: 1px solid var(--purple-50);
}
.sidebar-widget .widget-title {
    font-size: 16px; font-weight: 800;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--grad-light);
    position: relative;
    color: var(--purple-800);
}
.sidebar-widget .widget-title::after {
    content: '';
    position: absolute; bottom: -2px; inset-inline-start: 0;
    width: 46px; height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
}
.category-list { list-style: none; margin: 0; padding: 0; }
.category-list li { margin-bottom: 6px; }
.category-list a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 16px;
    border-radius: 12px;
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    background: var(--purple-50);
    transition: .25s;
}
.category-list a:hover, .category-list a.active { background: var(--grad-primary); color: #fff; transform: translateX(-4px); }
.category-list a .count { background: rgba(255,255,255,.6); color: var(--purple-700); padding: 1px 10px; border-radius: 20px; font-size: 11.5px; }
.category-list a:hover .count, .category-list a.active .count { background: rgba(255,255,255,.9); }

/* ============ تماس با ما ============ */
.contact-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; text-align: center; height: 100%; transition: .3s; border: 1px solid var(--purple-50); }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-card .contact-icon {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: var(--grad-light);
    color: var(--purple-700);
    font-size: 25px;
    display: flex; align-items: center; justify-content: center;
}
.contact-card h6 { font-weight: 800; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--text-soft); word-break: break-all; }
.contact-card a:hover { color: var(--purple-600); }

/* فرم */
.form-control, .form-select {
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    padding: 12px 16px;
    font-size: 14.5px;
    transition: .3s;
    font-family: var(--font-body);
    background-clip: padding-box;
}
.form-control:focus, .form-select:focus {
    border-color: var(--purple-500);
    box-shadow: 0 0 0 4px rgba(124,58,237,.12);
}
.form-label { font-weight: 700; font-size: 13.5px; color: var(--purple-900); margin-bottom: 6px; }
.form-check-input:checked { background-color: var(--purple-600); border-color: var(--purple-600); }

/* ============ فوتر ============ */
.site-footer { background: var(--grad-dark); color: #fff; position: relative; overflow: hidden; padding: 70px 0 0; }
.footer-blob { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.06); top: -120px; inset-inline-end: -100px; }
.footer-brand .brand-text { color: #fff; }
.site-footer .footer-about { color: rgba(255,255,255,.75); font-size: 14px; line-height: 2; max-width: 320px; }
.footer-title { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-title::after {
    content: ''; position: absolute; bottom: 0; inset-inline-start: 0;
    width: 36px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--blue-400), var(--purple-400));
}
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.8); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: #fff; transform: translateX(-4px); }
.footer-links a i { font-size: 11px; color: var(--blue-300); }
.footer-contact li { margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.footer-contact li i { color: var(--blue-300); margin-top: 6px; }
.footer-contact li a { color: rgba(255,255,255,.85); word-break: break-all; }
.footer-contact li a:hover { color: #fff; }
.footer-contact li span { color: rgba(255,255,255,.85); }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 17px;
    transition: .3s;
}
.social-links a:hover { background: var(--purple-500); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(139,92,246,.4); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 60px; padding: 22px 0; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.footer-bottom .small { font-size: 12px; }
.footer-dev-link { color: var(--blue-300); font-weight: 700; }
.footer-dev-link:hover { color: #fff; }

/* ============ دکمه شناور ============ */
.back-to-top {
    position: fixed; bottom: 24px; inset-inline-start: 24px;
    width: 46px; height: 46px;
    border-radius: 14px;
    background: var(--grad-primary);
    color: #fff;
    border: none;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: .35s;
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

.floating-contacts {
    position: fixed; bottom: 24px; inset-inline-end: 24px;
    display: flex; flex-direction: column; gap: 10px;
    z-index: 999;
}
.fab {
    width: 50px; height: 50px;
    border-radius: 15px;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px;
    box-shadow: var(--shadow-md);
    transition: .3s;
    animation: fab-pulse 2.5s infinite;
}
.fab:hover { transform: translateY(-4px) scale(1.05); color: #fff; }
.fab-telegram { background: linear-gradient(135deg, #38bdf8, #0ea5e9); animation-delay: 0s; }
.fab-eitaa { background: linear-gradient(135deg, #7c3aed, #a78bfa); animation-delay: .3s; }
.fab-phone { background: linear-gradient(135deg, #8b5cf6, #6d28d9); animation-delay: .6s; }
@keyframes fab-pulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(0,0,0,.18); }
    50% { box-shadow: 0 8px 28px rgba(124,58,237,.45); }
}

/* ============ صفحات ورود/ثبت‌نام ============ */
.auth-wrap { background: var(--grad-light); min-height: calc(100vh - 120px); padding: 60px 0; }
.auth-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 45px; max-width: 460px; margin: 0 auto; }
.auth-card .auth-icon {
    width: 72px; height: 72px;
    margin: 0 auto 18px;
    border-radius: 22px;
    background: var(--grad-primary);
    color: #fff;
    font-size: 30px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 30px rgba(124,58,237,.4);
}
.auth-card h3 { font-weight: 900; text-align: center; margin-bottom: 6px; }
.auth-card .auth-sub { text-align: center; color: var(--text-soft); font-size: 13.5px; margin-bottom: 28px; }

/* ============ پنل کاربری ============ */
.user-panel-wrap { background: #f5f3ff; min-height: calc(100vh - 120px); padding: 40px 0; }
.panel-sidebar { background: var(--grad-dark); border-radius: var(--radius-lg); padding: 30px; color: #fff; position: sticky; top: 92px; }
.panel-sidebar .user-box { text-align: center; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.15); margin-bottom: 20px; }
.panel-sidebar .user-avatar { width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.panel-sidebar .user-name { font-weight: 800; }
.panel-sidebar .user-email { font-size: 12.5px; color: rgba(255,255,255,.7); word-break: break-all; }
.panel-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.panel-menu a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 18px;
    border-radius: 12px;
    color: rgba(255,255,255,.85);
    font-weight: 600;
    font-size: 14px;
    transition: .25s;
}
.panel-menu a:hover, .panel-menu a.active { background: rgba(255,255,255,.14); color: #fff; }
.panel-menu a i { width: 20px; text-align: center; }

.panel-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; margin-bottom: 24px; }
.panel-card .panel-card-title { font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--purple-800); }
.panel-card .panel-card-title i { color: var(--purple-500); }

/* جدول‌ها */
.table { --bs-table-header-bg: transparent; font-size: 14px; }
.table thead th { background: var(--purple-50); color: var(--purple-900); font-weight: 800; border: none; font-size: 13px; padding: 13px; white-space: nowrap; }
.table tbody td { padding: 13px; vertical-align: middle; border-color: #f3f4f6; }
.table-hover tbody tr:hover { background: var(--purple-50); }
.status-badge { padding: 4px 14px; border-radius: var(--radius-full); font-size: 12px; font-weight: 700; }
.badge-status { padding: 3px 12px; border-radius: var(--radius-full); font-size: 12px; font-weight: 700; }
.badge-active { background: #e0f2fe; color: #0369a1; }
.badge-on { background: #dcfce7; color: #15803d; }
.status-badge.active, .status-badge.published { background: #dcfce7; color: #15803d; }
.status-badge.inactive, .status-badge.draft { background: #fee2e2; color: #b91c1c; }
.status-badge.pending { background: #fef9c3; color: #a16207; }

/* ============ دکمه‌های اکشن ============ */
.btn-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
    padding: 0;
    margin-inline-end: 4px;
}
.btn-icon.btn-edit { background: var(--purple-100); color: var(--purple-700); }
.btn-icon.btn-edit:hover { background: var(--purple-600); color: #fff; }
.btn-icon.btn-delete { background: #fee2e2; color: #b91c1c; }
.btn-icon.btn-delete:hover { background: var(--purple-600); color: #fff; }
.btn-icon.btn-view { background: var(--blue-100); color: var(--blue-500); }
.btn-icon.btn-view:hover { background: var(--blue-400); color: #fff; }

/* ============ صفحه محصولات داخل پنل ============ */
.product-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; background: var(--purple-50); }
.category-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; background: var(--purple-50); }

/* ============ صفحه فروشگاه عمومی ============ */
.shop-page-hero { background: var(--grad-light); padding: 45px 0; position: relative; overflow: hidden; }
.shop-page-hero::before {
    content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
    background: rgba(124,58,237,.1); top: -100px; inset-inline-start: -80px;
}
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 52px; color: var(--purple-300); }
.empty-state h4 { margin: 16px 0 6px; }
.empty-state p { color: var(--text-soft); }

/* ============ صفحه محصول ============ */
.product-page { padding: 60px 0; }
.product-gallery-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.product-page .product-title-lg { font-size: clamp(22px, 3vw, 30px); font-weight: 900; }
.product-price-lg { font-size: 28px; font-weight: 900; color: var(--purple-700); }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { padding: 8px 0; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.feature-list i { color: var(--purple-500); margin-top: 6px; }

/* ============ نوار مراحل سفارش ============ */
.order-steps { display: flex; align-items: flex-start; gap: 4px; }
.order-steps .step { flex: 1; text-align: center; position: relative; }
.order-steps .step:not(:last-child)::before {
    content: ''; position: absolute; top: 15px; right: 50%; left: -50%;
    height: 3px; background: var(--purple-100); border-radius: 99px;
}
.order-steps .step.done:not(:last-child)::before { background: var(--purple-500); }
.order-steps .step-dot {
    width: 32px; height: 32px; margin: 0 auto 8px;
    border-radius: 50%; background: var(--purple-100); color: var(--purple-400);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; border: 2px solid #fff; box-shadow: var(--shadow-sm);
}
.order-steps .step.current .step-dot { background: var(--purple-600); color: #fff; box-shadow: 0 0 0 4px var(--purple-100); }
.order-steps .step.done .step-dot { background: #dcfce7; color: #15803d; }
.order-steps .step-label { font-size: 11.5px; font-weight: 700; color: var(--text-soft); }
.order-steps .step.current .step-label { color: var(--purple-700); }
.order-steps .step.done .step-label { color: #15803d; }
@media (max-width: 480px) {
    .order-steps .step-label { font-size: 10px; }
}

/* ============ پیجینیشن ============ */
.pagination { justify-content: center; gap: 6px; }
.pagination .page-link {
    border: none; border-radius: 12px;
    color: var(--purple-700);
    font-weight: 700;
    padding: 9px 17px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: .25s;
}
.pagination .page-item.active .page-link { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-md); }
.pagination .page-link:hover { background: var(--purple-600); color: #fff; }

/* ============ درباره ============ */
.about-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-frame::before {
    content: '';
    position: absolute; inset: 0;
    border: 4px solid var(--purple-500);
    border-radius: var(--radius-lg);
    transform: rotate(3deg);
    z-index: -1;
}
.about-frame img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; border-radius: var(--radius-lg); }

.stat-box { background: #fff; border-radius: var(--radius-lg); text-align: center; padding: 28px 16px; box-shadow: var(--shadow-sm); transition: .3s; }
.stat-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-box .stat-num { font-size: 30px; font-weight: 900; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-box .stat-label { color: var(--text-soft); font-size: 13px; margin-top: 4px; }

/* ============ به‌دست آوردن برخی داده‌ها در نظیمات ============ */
main .alert { border-radius: var(--radius-lg); border: none; box-shadow: var(--shadow-sm); }

/* ============ انیمیشن‌ها ============ */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; transform: none; }
    * { animation: none !important; transition: none !important; }
}

/* ============ سفارشی خط پایانی ============ */
.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* استایل صفحه رزومه / دانلود پی‌دی‌اف روی چاپ */
@media print {
    .topbar, .site-header, .site-footer, .back-to-top, .floating-contacts, .btn, .resume-download-box { display: none !important; }
    body { background: #fff !important; }
    .card, .resume-item { box-shadow: none !important; border: 1px solid #eee !important; }
}