:root {
    --c-bg: #f8f9fa;
    --c-surface: #ffffff;
    --c-text: #2d3436;
    --c-text-muted: #636e72;
    --c-accent: #e84393;
    --c-accent-light: #fd79a8;
    --c-accent-gradient: linear-gradient(135deg, #e84393 0%, #a29bfe 100%);
    --c-border: #f1f2f6;
    --c-radius: 16px;
    --c-shadow-sm: 0 4px 6px rgba(0,0,0,0.02);
    --c-shadow-md: 0 10px 25px rgba(0,0,0,0.05);
    --c-shadow-lg: 0 20px 40px rgba(232, 67, 147, 0.08);
    --c-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body {
    font-family: 'IRANSans', sans-serif;
    background-color: var(--c-bg);
    color: var(--c-text);
    line-height: 1.8;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* هدر شیشه‌ای هوشمند */
.c-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.4s ease;
}
body.has-hero .c-header { background: transparent; box-shadow: none; padding: 20px 0; }
body.has-hero .c-header .c-nav a, body.has-hero .c-header .c-back-btn { color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
body.has-hero .c-header.scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: 0 1px 0 rgba(0,0,0,0.05); padding: 12px 0; }
body.has-hero .c-header.scrolled .c-nav a, body.has-hero .c-header.scrolled .c-back-btn { color: var(--c-text); text-shadow: none; }

.c-header-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.c-header-spacer { width: 40px; }
.c-back-btn { font-size: 18px; padding: 5px; color: inherit; transition: var(--c-transition); }
.c-back-btn:hover { color: var(--c-accent); transform: translateX(-5px); }

.c-nav { display: flex; gap: 15px; align-items: center; white-space: nowrap; }
.c-nav a { font-size: 13px; font-weight: 600; transition: var(--c-transition); }
.c-nav a:not(.c-btn-book):not(.c-profile-link):hover { color: var(--c-accent) !important; }
.c-nav .c-profile-link { background: rgba(232, 67, 147, 0.1); padding: 8px 15px; border-radius: 20px; color: var(--c-accent); }
.c-nav .c-btn-book { background: var(--c-accent-gradient); color: #fff !important; padding: 10px 24px; border-radius: 30px; box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3); transition: transform 0.3s; }
.c-nav .c-btn-book:hover { transform: translateY(-2px); }

/* سیستم اعلان‌ها (Toast) */
.c-toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: #1e293b; color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 13px; font-weight: 600; box-shadow: 0 10px 25px rgba(0,0,0,0.2); z-index: 99999; opacity: 0; transition: all 0.4s ease; display: flex; align-items: center; gap: 10px; max-width: 90%; text-align: center; }
.c-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.c-toast.success { background: #2ecc71; }
.c-toast.error { background: #e74c3c; }
.c-toast i { font-size: 16px; }

/* بنر اصلی (Hero) */
.hero {
    position: relative; min-height: 450px;
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: 100px;
    text-align: center; overflow: hidden; background: var(--c-surface);
}
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center; opacity: 0.8; }
.hero-bg::after { content: ''; position: absolute; top:0; left:0; right:0; bottom:0; background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(248,249,250,1)); }
.hero-content { position: relative; z-index: 2; padding: 0 20px; }
.hero-logo-container { position: relative; width: 180px; height: 180px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.hero-logo-container::before { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%; background: var(--c-accent-gradient); filter: blur(15px); opacity: 0.6; z-index: 0; animation: pulse 3s infinite; }
.hero-logo { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; position: relative; z-index: 1; box-shadow: var(--c-shadow-md); }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.1); opacity: 0.8; } }
.hero-content h1 { font-size: 32px; font-weight: 800; color: var(--c-text); margin-bottom: 10px; }

/* ساختار کلی */
.c-container { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
body:not(.has-hero) .c-container { padding-top: 100px; }

/* بخش درباره من و راه‌های ارتباطی */
.about-section { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.about-section h2 { font-size: 22px; font-weight: 800; margin-bottom: 15px; color: var(--c-text); }
.about-section p { font-size: 15px; color: var(--c-text-muted); line-height: 2; }
.contact-box { display: flex; justify-content: center; gap: 15px; margin-top: 25px; flex-wrap: wrap; }
.contact-item { display: flex; align-items: center; gap: 8px; background: #fff; padding: 10px 20px; border-radius: 30px; box-shadow: var(--c-shadow-sm); font-size: 14px; font-weight: 600; color: var(--c-text); border: 1px solid var(--c-border); transition: var(--c-transition); }
.contact-item:hover { transform: translateY(-2px); box-shadow: var(--c-shadow-md); color: var(--c-accent); }
.contact-item i { color: var(--c-accent); }

/* عناوین بخش‌ها */
.section-header { margin-bottom: 35px; text-align: center; }
.section-header h2 { font-size: 22px; font-weight: 800; position: relative; display: inline-block; padding-bottom: 10px; }
.section-header h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 3px; background: var(--c-accent-gradient); border-radius: 2px; }
.section-header p { font-size: 14px; color: var(--c-text-muted); margin-top: 10px; }

/* کارت‌های مینیمال (مهارت‌ها و مدارک) */
.minimal-card { background: var(--c-surface); border-radius: var(--c-radius); padding: 25px; box-shadow: var(--c-shadow-md); border: 1px solid var(--c-border); transition: var(--c-transition); height: 100%; }
.minimal-card:hover { transform: translateY(-5px); box-shadow: var(--c-shadow-lg); border-color: var(--c-accent-light); }

.c-grid { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-bottom: 50px; }
.c-grid > * { width: 100%; max-width: 400px; }
@media (min-width: 600px) { .c-grid > * { width: calc(50% - 15px); max-width: none; } }
@media (min-width: 992px) { .c-grid > * { width: calc(33.33% - 20px); } }

.skill-item { text-align: center; }
.skill-item .icon-box { width: 60px; height: 60px; background: rgba(232, 67, 147, 0.05); border-radius: var(--c-radius); display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; color: var(--c-accent); font-size: 24px; transition: var(--c-transition); }
.skill-item:hover .icon-box { background: var(--c-accent); color: #fff; }
.skill-item h4 { font-size: 14px; font-weight: 700; }

.cert-item { border-radius: var(--c-radius); overflow: hidden; box-shadow: var(--c-shadow-sm); border: 1px solid var(--c-border); background: #fff; }
.cert-item img { width: 100%; height: 150px; object-fit: cover; }
.cert-item .cert-body { padding: 15px; }
.cert-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.cert-item p { font-size: 12px; color: var(--c-text-muted); }

/* کارت ویژه (نمونه‌کار و دوره) */
.featured-card { display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--c-shadow-md); margin-bottom: 60px; border: 1px solid var(--c-border); }
@media (min-width: 768px) { .featured-card { flex-direction: row; } }
.featured-card .fc-img { width: 100%; height: 250px; object-fit: cover; }
@media (min-width: 768px) { .featured-card .fc-img { width: 45%; height: auto; } }
.featured-card .fc-body { padding: 30px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.featured-card .fc-badge { display: inline-block; width: fit-content; background: rgba(232, 67, 147, 0.1); color: var(--c-accent); padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 15px; }
.featured-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.featured-card p { font-size: 14px; color: var(--c-text-muted); margin-bottom: 20px; line-height: 1.8; }
.fc-actions { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
.link-btn { font-size: 14px; font-weight: 600; color: var(--c-text); border-bottom: 2px solid var(--c-accent); padding-bottom: 2px; }
.link-btn:hover { color: var(--c-accent); }

/* تایمر معکوس */
.countdown-timer { display: flex; gap: 8px; margin-bottom: 20px; flex-direction: row-reverse; }
.timer-box { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 12px; padding: 10px 15px; text-align: center; min-width: 60px; }
.timer-box strong { display: block; font-size: 20px; font-weight: 800; color: var(--c-accent); }
.timer-box span { font-size: 11px; color: var(--c-text-muted); }

/* اسکرول افقی برای موبایل (خدمات در صفحه اصلی) */
.h-scroll { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; padding-bottom: 15px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; overflow-x: auto; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: center; flex-shrink: 0; width: 280px; max-width: 85%; }
@media (min-width: 768px) { .h-scroll { overflow: visible; justify-content: center; } .h-scroll > * { width: calc(33.33% - 20px); max-width: 350px; } }

/* فوتر */
.c-footer { text-align: center; padding: 40px 20px; margin-top: 60px; border-top: 1px solid var(--c-border); color: var(--c-text-muted); font-size: 13px; }
.c-footer a { color: var(--c-accent); font-weight: 700; text-decoration: none; }
.c-footer i { color: var(--c-accent); }

/* کارت خدمات */
.service-card-v2 { background: #fff; border-radius: 20px; padding: 25px; box-shadow: var(--c-shadow-sm); border: 1px solid var(--c-border); display: flex; flex-direction: column; height: 100%; transition: var(--c-transition); }
.service-card-v2:hover { box-shadow: var(--c-shadow-lg); transform: translateY(-3px); }
.service-card-v2 h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--c-text); }
.service-card-v2 .s-desc { font-size: 14px; color: var(--c-text-muted); line-height: 1.8; flex-grow: 1; margin-bottom: 20px; }
.service-card-v2 .s-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid var(--c-border); }
.service-card-v2 .s-price { font-size: 16px; font-weight: 800; color: var(--c-accent); }

/* دکمه‌ها و ابزارها */
.c-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; background: var(--c-accent-gradient); color: #fff; border-radius: 25px; font-weight: 700; font-size: 14px; transition: var(--c-transition); box-shadow: 0 6px 15px rgba(232, 67, 147, 0.2); border: none; cursor: pointer; font-family: inherit; }
.c-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(232, 67, 147, 0.3); }
.text-center { text-align: center; }

/* استایل مدرن برای سلکت باکس نیتیو */
select {
    width: 100%; padding: 12px 40px 12px 16px; border: 2px solid var(--c-border);
    border-radius: var(--c-radius); background-color: var(--c-surface); font-size: 14px; color: var(--c-text);
    font-family: inherit; cursor: pointer; box-sizing: border-box; transition: var(--c-transition);
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23636e72"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat; background-position: left 12px center; background-size: 18px;
    box-shadow: var(--c-shadow-sm);
}
select:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.1); }
select:disabled { background-color: #f1f5f9; cursor: not-allowed; color: var(--c-text-muted); }
select option { padding: 12px; background-color: #ffffff; color: var(--c-text); font-weight: 500; }
select option:checked, select option:hover { background-color: var(--c-accent) !important; color: #fff !important; }

/* استایل‌های وضعیت (Badge) */
.status-pill { padding: 5px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; display: inline-block; white-space: nowrap; text-align: center; min-width: 60px; }
.status-pill.pending { background: #fef3c7; color: #d97706; }
.status-pill.approved { background: #dcfce7; color: #16a34a; }
.status-pill.pending_assignment { background: #e0e7ff; color: #4f46e5; }
.status-pill.completed { background: #e0e7ff; color: #4f46e5; }
.status-pill.canceled, .status-pill.rejected { background: #fee2e2; color: #dc2626; }

/* دکمه‌های اکشن در هدر پروفایل مشتری */
.profile-action-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 30px; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--c-transition); border: 1px solid var(--c-border); background: rgba(255,255,255,0.8); color: var(--c-text-muted); text-decoration: none; font-family: inherit; }
.profile-action-btn:hover { transform: translateY(-2px); box-shadow: var(--c-shadow-sm); color: var(--c-text); }
.profile-action-btn.edit { color: var(--c-accent); border-color: rgba(232, 67, 147, 0.2); background: rgba(232, 67, 147, 0.05); }
.profile-action-btn.edit:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.profile-action-btn.logout { color: #d63031; border-color: rgba(214, 48, 49, 0.2); background: rgba(214, 48, 49, 0.05); }
.profile-action-btn.logout:hover { background: #d63031; color: #fff; border-color: #d63031; }

/* صفحه پروفایل مشتری */
.profile-header { display: flex; align-items: center; gap: 20px; background: #fff; padding: 30px; border-radius: 24px; box-shadow: var(--c-shadow-md); margin-bottom: 40px; }
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--c-accent-gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 800; }
.profile-info h2 { font-size: 20px; font-weight: 800; margin-bottom: 5px; }
.profile-info p { font-size: 14px; color: var(--c-text-muted); }

/* بهینه‌سازی هدر پروفایل در موبایل */
@media (max-width: 768px) {
    .profile-header { flex-direction: column; text-align: center; padding: 20px; gap: 15px; }
    .profile-header .profile-info { text-align: center; }
    .profile-header > div:last-child { margin-right: 0 !important; width: 100%; justify-content: center; }
    .profile-action-btn { flex: 1; justify-content: center; }
}

.profile-tabs { display: flex; gap: 10px; margin-bottom: 30px; border-bottom: 2px solid var(--c-border); }
.profile-tab { padding: 12px 20px; font-size: 14px; font-weight: 700; color: var(--c-text-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: var(--c-transition); }
.profile-tab.active { color: var(--c-accent); border-bottom-color: var(--c-accent); }

.booking-item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--c-radius); padding: 20px; margin-bottom: 15px; box-shadow: var(--c-shadow-sm); }
.booking-item .bi-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dashed var(--c-border); }
.booking-item .bi-date { font-size: 16px; font-weight: 700; }
.booking-item .bi-service { font-size: 13px; color: var(--c-accent); margin-top: 5px; }
.booking-item .bi-actions { margin-top: 15px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* بهینه‌سازی نمایش زمان ورود و خروج */
.bi-times { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; font-size: 13px; }
.bi-time-entry { color: #16a34a; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.bi-time-exit { color: #dc2626; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

.btn-cancel { background: #fff0f3; color: #d63031; padding: 8px 15px; border-radius: 10px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; transition: var(--c-transition); font-family: inherit; }
.btn-cancel:hover { background: #d63031; color: #fff; }
.btn-cancel:disabled { background: #f1f2f6; color: #ccc; cursor: not-allowed; }

.course-item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--c-radius); padding: 20px; margin-bottom: 15px; box-shadow: var(--c-shadow-sm); display: flex; justify-content: space-between; align-items: center; }
.course-item h4 { font-size: 15px; font-weight: 700; }
.course-item span { font-size: 13px; color: var(--c-text-muted); }

/* مودال‌های سمت مشتری */
.modal-overlay { position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: none; justify-content: center; align-items: center; z-index: 9999; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal-card { background: #fff; border-radius: 24px; width: 100%; max-width: 400px; padding: 30px; text-align: center; animation: scaleIn 0.3s ease; }
@keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-icon { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; color: #fff; }
.modal-icon.warning { background: #ff9f43; }
.modal-icon.danger { background: #d63031; }
.modal-card h3 { font-size: 20px; margin-bottom: 15px; color: var(--c-text); }
.modal-card p { font-size: 14px; color: var(--c-text-muted); margin-bottom: 20px; line-height: 1.8; }
.modal-btns { display: flex; gap: 10px; }
.modal-btn { flex: 1; padding: 12px; border: none; border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; transition: var(--c-transition); font-family: inherit; }
.modal-btn.primary { background: var(--c-accent-gradient); color: #fff; }
.modal-btn.danger { background: #d63031; color: #fff; }
.modal-btn.secondary { background: var(--c-bg); color: var(--c-text); }
.modal-input { width: 100%; padding: 15px; border: 2px solid var(--c-border); border-radius: 12px; text-align: center; font-size: 18px; font-weight: 700; margin-bottom: 20px; font-family: inherit; }
.modal-input:focus { outline: none; border-color: var(--c-accent); }

/* مودال اسلایدری نمونه‌کارها (طراحی اسپلیت حرفه‌ای) */
.gallery-modal { position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(8px); z-index: 9999; display: none; justify-content: center; align-items: center; padding: 20px; }
.gallery-modal.active { display: flex; }
.gm-content { background: #fff; border-radius: 24px; width: 100%; max-width: 900px; max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; position: relative; box-shadow: 0 25px 50px rgba(0,0,0,0.25); }
@media (min-width: 768px) { .gm-content { flex-direction: row; } }
.gm-close { position: absolute; top: 15px; left: 15px; color: #fff; font-size: 20px; cursor: pointer; background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.2); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 20; transition: var(--c-transition); }
.gm-close:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; transform: rotate(90deg); }
.gm-carousel-wrapper { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f8fafc; border-radius: 24px 24px 0 0; }
@media (min-width: 768px) { .gm-carousel-wrapper { border-radius: 24px 0 0 24px; } }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; width: 100%; scrollbar-width: none; -ms-overflow-style: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex-shrink: 0; width: 100%; scroll-snap-align: start; height: 350px; display: flex; align-items: center; justify-content: center; background: #f8fafc; }
@media (min-width: 768px) { .carousel-slide { height: 500px; } }
.carousel-slide img, .carousel-slide video { width: 100%; height: 100%; object-fit: cover; max-width: none; max-height: none; border-radius: 0; }

/* محو کردن دکمه‌های فلش */
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.2); color: #fff; backdrop-filter: blur(4px); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; font-size: 16px; opacity: 0.6; transition: opacity 0.3s ease, background 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.carousel-arrow:hover { opacity: 1; background: rgba(0,0,0,0.5); }
.carousel-arrow.prev { right: 15px; }
.carousel-arrow.next { left: 15px; }

.slide-counter { font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,0.6); padding: 5px 12px; border-radius: 20px; position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); z-index: 10; }
.gm-info-panel { padding: 30px; width: 100%; max-width: 320px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.gm-info-panel h3 { font-size: 20px; font-weight: 800; color: var(--c-text); margin-bottom: 15px; }
.gm-info-panel p { font-size: 14px; color: var(--c-text-muted); line-height: 1.8; margin-bottom: 0; }

/* ابزار برش متن (برای ۲ خط کردن توضیحات) */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }

/* صفحه سینگل دوره */
.course-hero { position: relative; height: 300px; border-radius: 24px; overflow: hidden; background: #000; margin-bottom: 30px; box-shadow: var(--c-shadow-md); margin-top: 20px; }
.course-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.course-hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 20px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: #fff; }
.course-hero-content h1 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.course-hero-badge { display: inline-block; background: var(--c-accent); color: #fff; padding: 6px 15px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.course-body-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 60px; }
@media (min-width: 768px) { .course-body-grid { grid-template-columns: 2fr 1fr; align-items: start; } }
.course-main-content { background: #fff; padding: 30px; border-radius: 20px; box-shadow: var(--c-shadow-sm); border: 1px solid var(--c-border); }
.course-main-content h2 { font-size: 18px; font-weight: 700; margin-bottom: 15px; border-right: 4px solid var(--c-accent); padding-right: 10px; }
.course-main-content p { font-size: 15px; color: var(--c-text-muted); line-height: 2; margin-bottom: 20px; }
.course-sidebar { position: sticky; top: 100px; }
.sidebar-card { background: #fff; padding: 25px; border-radius: 20px; box-shadow: var(--c-shadow-md); border: 1px solid var(--c-border); text-align: center; }
.sidebar-spec { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 14px; padding-bottom: 15px; border-bottom: 1px dashed var(--c-border); }
.sidebar-spec span:first-child { color: var(--c-text-muted); }
.sidebar-spec span:last-child { font-weight: 700; }

/* تایمر معکوس نسخه ۲ (سینگل صفحه) */
.timer-v2 { display: flex; gap: 8px; justify-content: center; margin: 20px 0; }
.timer-v2-box { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 12px; padding: 10px; flex: 1; text-align: center; }
.timer-v2-box strong { display: block; font-size: 24px; font-weight: 800; color: var(--c-accent); }
.timer-v2-box span { font-size: 11px; color: var(--c-text-muted); }

/* مودال ثبت‌نام دوره */
.modal-card .info-text { background: #f0f9ff; border: 1px solid #bae6fd; color: #0369a1; padding: 15px; border-radius: 12px; font-size: 13px; line-height: 1.8; margin-bottom: 20px; text-align: right; }

/* اسلایدر کارت ویژه (نمونه‌کار در صفحه اصلی) */
.fc-carousel-wrapper { position: relative; width: 100%; height: 250px; overflow: hidden; background: #0f172a; }
@media (min-width: 768px) { .fc-carousel-wrapper { width: 45%; height: auto; } }
.fc-carousel-track { direction: rtl !important; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; width: 100%; height: 100%; scrollbar-width: none; cursor: grab; }
.fc-carousel-slide img, .fc-carousel-slide video { width: 100%; height: 100%; object-fit: cover; }
.fc-carousel-track:active { cursor: grabbing; }
.fc-carousel-track::-webkit-scrollbar { display: none; }
.fc-carousel-slide { flex-shrink: 0; width: 100%; height: 100%; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; }
.fc-carousel-slide img, .fc-carousel-slide video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* استایل نقاط (Dots) مشترک */
.c-carousel-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 10; background: rgba(0,0,0,0.6); padding: 5px 10px; border-radius: 10px; }
.c-carousel-dots .dot { width: 8px; height: 8px; background: rgba(255,255,255,0.4); border-radius: 50%; transition: 0.3s; }
.c-carousel-dots .dot.active { background: #fff; width: 20px; border-radius: 4px; }
