/*
Theme Name: Senator Member
Theme URI: https://senatormember.com
Author: Senator Member
Description: قالب اختصاصی سناتورممبر — پنل رسمی افزایش فالوور، ممبر و تعامل اینستاگرام و تلگرام. تم تیره با رنگ‌های برند (بنفش/طلایی).
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: senator-member
*/

/* =============================================================
   ۱. توکن‌های طراحی
   پالت: پس‌زمینه‌ی تیره + بنفش اصلی برند (#4D2973) + طلایی برند (#FFBB02)
   بر اساس رنگ‌های واقعی لوگوی ربات سناتورممبر
   تایپ: وزیرمتن (فارسی) + Space Grotesk (لاتین، برچسب/اعداد)
   ============================================================= */

:root {
    /* رنگ پایه */
    --sm-bg: #0F0A18;
    --sm-bg-alt: #150E22;
    --sm-surface: #1B1329;
    --sm-surface-raised: #241A35;
    --sm-ink: #F5F1FA;
    --sm-ink-soft: #B3A8C4;
    --sm-line: #2E2440;

    /* رنگ برند (از لوگوی واقعی) */
    --sm-purple: #4D2973;
    --sm-purple-bright: #8B4FE7;
    --sm-purple-dark: #2E1849;
    --sm-gold: #FFBB02;
    --sm-gold-soft: #4A3B14;

    --sm-gradient-brand: linear-gradient(135deg, var(--sm-purple-bright) 0%, var(--sm-gold) 100%);

    /* تایپوگرافی */
    --sm-font-fa: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
    --sm-font-latin: 'Space Grotesk', 'Segoe UI', sans-serif;

    /* هندسه */
    --sm-radius-sm: 8px;
    --sm-radius-md: 14px;
    --sm-radius-lg: 28px;
    --sm-container: 1180px;

    /* سایه / درخشش */
    --sm-shadow-card: 0 30px 70px -30px rgba(139, 79, 231, 0.45);
    --sm-shadow-soft: 0 14px 34px -18px rgba(139, 79, 231, 0.35);
    --sm-glow-gold: 0 0 40px rgba(255, 187, 2, 0.25);
}

/* =============================================================
   ۲. ریست پایه
   ============================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    margin: 0;
    direction: rtl;
    background: var(--sm-bg);
    color: var(--sm-ink);
    font-family: var(--sm-font-fa);
    font-size: 17px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.01em;
}

p {
    margin: 0;
}

.sm-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.sm-skip-link {
    position: absolute;
    right: 12px;
    top: -60px;
    background: var(--sm-purple);
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: var(--sm-radius-sm);
    z-index: 999;
    transition: top 0.2s ease;
}

.sm-skip-link:focus {
    top: 12px;
}

:focus-visible {
    outline: 2px solid var(--sm-purple);
    outline-offset: 3px;
}

.sm-container {
    max-width: var(--sm-container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* =============================================================
   ۳. عناصر مشترک: برچسب سربرگ، عنوان بخش، دکمه‌ها
   ============================================================= */

.sm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sm-font-latin);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--sm-gold);
    margin: 0 0 18px;
}

.sm-eyebrow--center {
    display: flex;
    justify-content: center;
    text-align: center;
}

.sm-section-title {
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.28;
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: 56px;
}

.sm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.sm-btn:hover {
    transform: translateY(-2px);
}

.sm-btn--lg {
    padding: 15px 32px;
    font-size: 16px;
}

.sm-btn--primary {
    background: var(--sm-purple);
    color: #FFFFFF;
    box-shadow: 0 10px 28px -12px rgba(139, 79, 231, 0.6);
}

.sm-btn--primary:hover {
    background: var(--sm-purple-bright);
    box-shadow: var(--sm-glow-gold);
}

.sm-btn--ghost {
    background: transparent;
    color: var(--sm-ink);
}

.sm-btn--ghost:hover {
    background: rgba(139, 79, 231, 0.14);
}

.sm-btn--outline {
    background: transparent;
    color: var(--sm-ink);
    border-color: var(--sm-purple-bright);
}

.sm-btn--outline:hover {
    background: var(--sm-purple-bright);
    color: #FFFFFF;
}

.sm-btn--paper {
    background: var(--sm-gold);
    color: var(--sm-purple-dark);
}

.sm-btn--paper:hover {
    background: #FFD666;
}

/* =============================================================
   ۴. هدر
   ============================================================= */

.sm-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 10, 24, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sm-line);
}

.sm-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 84px;
}

.sm-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-inline-end: auto;
}

.sm-brand__seal {
    width: 40px;
    height: 40px;
    color: var(--sm-purple-bright);
    flex-shrink: 0;
}

.sm-brand__seal--footer {
    width: 52px;
    height: 52px;
    color: var(--sm-purple-bright);
}

.sm-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.sm-brand__title {
    font-weight: 800;
    font-size: 19px;
}

.sm-brand__eyebrow {
    font-family: var(--sm-font-latin);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--sm-gold);
}

.sm-nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 15px;
    font-weight: 500;
}

.sm-nav__list a {
    position: relative;
    padding-block: 6px;
}

.sm-nav__list a::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: var(--sm-gold);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.sm-nav__list a:hover::after {
    transform: scaleX(1);
}

.sm-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sm-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius-sm);
    cursor: pointer;
}

.sm-nav-toggle span {
    display: block;
    height: 1.6px;
    width: 18px;
    margin-inline: auto;
    background: var(--sm-ink);
}

/* =============================================================
   ۵. هیرو
   ============================================================= */

.sm-hero {
    padding-block: 64px 88px;
    background-image:
        radial-gradient(620px 360px at 50% -10%, rgba(139, 79, 231, 0.28), transparent 70%),
        radial-gradient(420px 260px at 85% 10%, rgba(255, 187, 2, 0.12), transparent 70%);
}

.sm-hero__card {
    position: relative;
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
    background: var(--sm-surface);
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius-lg);
    padding: 76px 48px 44px;
    box-shadow: var(--sm-shadow-card);
}

.sm-hero__card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 187, 2, 0.22);
    border-radius: calc(var(--sm-radius-lg) - 8px);
    pointer-events: none;
}

.sm-hero__seal {
    position: absolute;
    top: -34px;
    right: 50%;
    transform: translateX(50%);
    width: 76px;
    height: 76px;
    color: var(--sm-purple-bright);
    background: var(--sm-surface);
    border-radius: 50%;
    padding: 6px;
    box-shadow: var(--sm-shadow-soft), var(--sm-glow-gold);
    transform-origin: center;
    animation: sm-seal-stamp 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
    animation-delay: 0.15s;
}

@keyframes sm-seal-stamp {
    0% {
        opacity: 0;
        transform: translateX(50%) scale(1.6) rotate(-14deg);
    }
    70% {
        opacity: 1;
        transform: translateX(50%) scale(0.94) rotate(3deg);
    }
    100% {
        opacity: 1;
        transform: translateX(50%) scale(1) rotate(0deg);
    }
}

.sm-hero__title {
    font-size: clamp(38px, 5.6vw, 60px);
    line-height: 1.14;
    margin-bottom: 22px;
    background: var(--sm-gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sm-hero__subtitle {
    max-width: 520px;
    margin-inline: auto;
    color: var(--sm-ink-soft);
    font-size: 17px;
    margin-bottom: 34px;
}

.sm-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.sm-hero__serial {
    font-family: var(--sm-font-latin);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--sm-gold);
    border-top: 1px dashed var(--sm-line);
    padding-top: 18px;
}

/* =============================================================
   ۶. نوار آمار
   ============================================================= */

.sm-stats {
    border-block: 1px solid var(--sm-line);
    background: var(--sm-surface);
}

.sm-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-block: 40px;
}

.sm-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    border-inline-start: 1px solid var(--sm-line);
}

.sm-stat:first-child {
    border-inline-start: none;
}

.sm-stat__value {
    font-family: var(--sm-font-latin);
    font-weight: 600;
    font-size: 30px;
    color: var(--sm-purple-bright);
}

.sm-stat__label {
    font-size: 14px;
    color: var(--sm-ink-soft);
}

/* =============================================================
   ۷. خدمات
   ============================================================= */

.sm-services {
    padding-block: 96px;
}

.sm-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.sm-service-card {
    background: var(--sm-surface);
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius-md);
    padding: 40px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sm-service-card:hover {
    box-shadow: var(--sm-shadow-soft);
    transform: translateY(-4px);
}

.sm-service-card__title {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--sm-line);
}

.sm-chip-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.sm-chip-list li {
    position: relative;
    padding-inline-start: 20px;
    color: var(--sm-ink-soft);
    font-size: 15px;
}

.sm-chip-list li::before {
    content: '';
    position: absolute;
    inline-size: 6px;
    block-size: 6px;
    border-radius: 50%;
    background: var(--sm-gold);
    inset-inline-start: 0;
    top: 9px;
}

.sm-service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--sm-purple-bright);
}

.sm-service-card__link span {
    transition: transform 0.18s ease;
}

.sm-service-card__link:hover span {
    transform: translateX(-4px);
}

/* =============================================================
   ۸. روند سفارش
   ============================================================= */

.sm-steps {
    padding-block: 96px;
    background: var(--sm-surface);
    border-block: 1px solid var(--sm-line);
}

.sm-steps__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.sm-step {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-inline-start: 20px;
    border-inline-start: 1px solid var(--sm-line);
}

.sm-step__num {
    font-family: var(--sm-font-latin);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 26px;
    color: var(--sm-gold);
}

.sm-step__body h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.sm-step__body p {
    color: var(--sm-ink-soft);
    font-size: 14.5px;
}

/* =============================================================
   ۹. چرا سناتورممبر
   ============================================================= */

.sm-why {
    padding-block: 96px;
}

.sm-why__list {
    max-width: 760px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
}

.sm-why__item {
    display: flex;
    gap: 20px;
    padding-block: 26px;
    border-bottom: 1px dashed var(--sm-line);
}

.sm-why__item:first-child {
    border-top: 1px dashed var(--sm-line);
}

.sm-why__mark {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: 8px;
    background: var(--sm-gold);
    transform: rotate(45deg);
}

.sm-why__item h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.sm-why__item p {
    color: var(--sm-ink-soft);
    font-size: 15px;
}

/* =============================================================
   ۱۰. فراخوان نهایی
   ============================================================= */

.sm-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sm-purple-dark) 0%, var(--sm-purple) 60%, var(--sm-purple-bright) 130%);
    color: #FFFFFF;
    padding-block: 100px;
    text-align: center;
}

.sm-cta__watermark {
    position: absolute;
    inset-inline-end: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    height: 340px;
    color: rgba(255, 187, 2, 0.14);
    pointer-events: none;
}

.sm-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.sm-cta h2 {
    font-size: clamp(26px, 3.2vw, 36px);
    margin-bottom: 16px;
}

.sm-cta p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 32px;
    font-size: 16px;
}

/* =============================================================
   ۱۱. فوتر
   ============================================================= */

.sm-footer {
    background: var(--sm-surface);
    border-top: 1px solid var(--sm-line);
    padding-top: 64px;
}

.sm-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.sm-footer__brand {
    display: flex;
    gap: 16px;
}

.sm-footer__tagline {
    color: var(--sm-ink-soft);
    font-size: 14.5px;
    max-width: 320px;
}

.sm-footer__heading {
    font-size: 14px;
    color: var(--sm-gold);
    margin-bottom: 18px;
}

.sm-footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14.5px;
    color: var(--sm-ink-soft);
}

.sm-footer__list a:hover {
    color: var(--sm-purple-bright);
}

.sm-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--sm-line);
    padding-block: 22px;
    font-size: 13px;
    color: var(--sm-ink-soft);
}

.sm-footer__serial {
    font-family: var(--sm-font-latin);
    text-transform: uppercase;
    color: var(--sm-gold);
}

/* =============================================================
   ۱۲. سربرگ صفحات داخلی (page.php / single.php / archive / 404)
   ============================================================= */

.sm-page-header {
    text-align: center;
    padding-block: 64px 48px;
    border-bottom: 1px solid var(--sm-line);
    background-image: radial-gradient(480px 220px at 50% -20%, rgba(139, 79, 231, 0.22), transparent 70%);
}

.sm-page-header__eyebrow {
    justify-content: center;
}

.sm-page-header__title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 12px;
}

.sm-page-header__desc {
    max-width: 560px;
    margin-inline: auto;
    color: var(--sm-ink-soft);
}

/* =============================================================
   ۱۳. صفحات پایه و محتوای عمومی (page.php / single.php / 404)
   ============================================================= */

.sm-main--basic {
    padding-block: 64px 96px;
}

.sm-basic-post {
    max-width: 760px;
    margin-inline: auto;
}

.sm-basic-post__meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-family: var(--sm-font-latin);
    text-transform: uppercase;
    font-size: 13px;
    color: var(--sm-gold);
    margin-bottom: 14px;
}

.sm-basic-post__thumb {
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    margin-bottom: 36px;
    border: 1px solid var(--sm-line);
}

/*
 * .sm-content به هر محتوای تولیدشده با ویرایشگر وردپرس یا افزونه‌های
 * دیگر (فرم‌های ورود، جدول‌ها، دکمه‌ها) اعمال می‌شود تا حتی محتوای
 * خارج از کنترل قالب هم با زبان بصری سایت هماهنگ دیده شود.
 */
.sm-content {
    color: var(--sm-ink-soft);
    font-size: 16.5px;
    line-height: 1.9;
}

.sm-content > * + * {
    margin-top: 22px;
}

.sm-content h1,
.sm-content h2,
.sm-content h3,
.sm-content h4 {
    color: var(--sm-ink);
    line-height: 1.4;
    margin-top: 40px;
    margin-bottom: 4px;
}

.sm-content h2 {
    font-size: 26px;
}

.sm-content h3 {
    font-size: 21px;
}

.sm-content a {
    color: var(--sm-purple-bright);
    text-decoration: underline;
    text-decoration-color: var(--sm-gold);
    text-underline-offset: 3px;
}

.sm-content ul,
.sm-content ol {
    padding-inline-start: 22px;
    list-style: disc;
}

.sm-content ol {
    list-style: decimal;
}

.sm-content li + li {
    margin-top: 8px;
}

.sm-content blockquote {
    margin: 0;
    padding: 20px 24px;
    border-inline-start: 3px solid var(--sm-gold);
    background: var(--sm-surface);
    border-radius: 0 var(--sm-radius-sm) var(--sm-radius-sm) 0;
    color: var(--sm-ink);
    font-style: italic;
}

.sm-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.sm-content th,
.sm-content td {
    border: 1px solid var(--sm-line);
    padding: 10px 14px;
    text-align: right;
}

.sm-content th {
    background: var(--sm-surface);
    font-weight: 700;
}

.sm-content img {
    border-radius: var(--sm-radius-md);
}

.sm-content hr {
    border: none;
    border-top: 1px dashed var(--sm-line);
}

/* فرم‌ها و دکمه‌های تولیدشده توسط افزونه‌های شخص‌ثالث (مثل فرم ورود) */
.sm-content input[type="text"],
.sm-content input[type="email"],
.sm-content input[type="tel"],
.sm-content input[type="password"],
.sm-content input[type="number"],
.sm-content textarea,
.sm-content select {
    width: 100%;
    font-family: var(--sm-font-fa);
    font-size: 15px;
    padding: 12px 16px;
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius-sm);
    background: var(--sm-surface);
    color: var(--sm-ink);
}

.sm-content input:focus,
.sm-content textarea:focus,
.sm-content select:focus {
    outline: none;
    border-color: var(--sm-purple-bright);
}

.sm-content label {
    display: block;
    font-size: 14px;
    color: var(--sm-ink);
    font-weight: 600;
    margin-bottom: 6px;
}

.sm-content button,
.sm-content input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    background: var(--sm-purple);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    font-family: var(--sm-font-fa);
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.sm-content button:hover,
.sm-content input[type="submit"]:hover {
    background: var(--sm-purple-dark);
    transform: translateY(-2px);
}

/* پیجینیشن، ۴۰۴ و آرشیو */
.sm-empty-state {
    text-align: center;
    padding-block: 48px;
    color: var(--sm-ink-soft);
}

.sm-404 {
    text-align: center;
    padding-block: 40px 100px;
}

.sm-404__code {
    font-family: var(--sm-font-latin);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 96px;
    color: var(--sm-gold);
    line-height: 1;
    margin-bottom: 16px;
}

.sm-404__actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* آرشیو بلاگ (home.php) */
.sm-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.sm-post-card {
    background: var(--sm-surface);
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sm-post-card:hover {
    box-shadow: var(--sm-shadow-soft);
    transform: translateY(-4px);
}

.sm-post-card__thumb {
    aspect-ratio: 16 / 10;
    background: var(--sm-gold-soft);
    overflow: hidden;
}

.sm-post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-post-card__body {
    padding: 24px;
}

.sm-post-card__date {
    font-family: var(--sm-font-latin);
    text-transform: uppercase;
    font-size: 12px;
    color: var(--sm-gold);
    margin-bottom: 10px;
    display: block;
}

.sm-post-card__title {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.sm-post-card__excerpt {
    font-size: 14.5px;
    color: var(--sm-ink-soft);
}

.sm-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.sm-pagination a,
.sm-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding-inline: 10px;
    border-radius: var(--sm-radius-sm);
    border: 1px solid var(--sm-line);
    font-size: 14px;
}

.sm-pagination .current {
    background: var(--sm-purple);
    color: #FFFFFF;
    border-color: var(--sm-purple-bright);
}

/* =============================================================
   ۱۴. صفحه سرویس‌ها (page-services.php)
   ============================================================= */

.sm-price-section {
    padding-block: 56px 100px;
}

.sm-price-section + .sm-price-section {
    padding-top: 0;
}

.sm-price-platform {
    margin-bottom: 64px;
}

.sm-price-platform__title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 22px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--sm-line);
}

.sm-price-platform__title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--sm-gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.sm-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.sm-price-card {
    background: var(--sm-surface);
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.sm-price-card:hover {
    border-color: var(--sm-gold);
    box-shadow: var(--sm-shadow-soft);
}

.sm-price-card__name {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.6;
}

.sm-price-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    color: var(--sm-ink-soft);
}

.sm-price-card__meta span {
    background: var(--sm-bg);
    border: 1px solid var(--sm-line);
    border-radius: 999px;
    padding: 4px 10px;
}

.sm-price-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px dashed var(--sm-line);
}

.sm-price-card__price {
    font-family: var(--sm-font-latin);
    font-weight: 600;
    font-size: 17px;
    color: var(--sm-purple-bright);
    direction: ltr;
    unicode-bidi: embed;
}

.sm-price-card__price small {
    font-family: var(--sm-font-fa);
    font-size: 12px;
    font-weight: 400;
    color: var(--sm-ink-soft);
}

.sm-price-card__order {
    font-size: 13px;
    font-weight: 700;
    color: var(--sm-purple-bright);
}

.sm-price-notice {
    max-width: 620px;
    margin: 0 auto 56px;
    text-align: center;
    color: var(--sm-ink-soft);
    font-size: 14.5px;
    background: var(--sm-surface);
    border: 1px dashed var(--sm-line);
    border-radius: var(--sm-radius-sm);
    padding: 16px 20px;
}

/* =============================================================
   ۱۵. ورود با تلگرام (page-login.php)
   ============================================================= */

.sm-auth {
    padding-block: 80px 100px;
    display: flex;
    justify-content: center;
}

.sm-auth__card {
    position: relative;
    max-width: 440px;
    width: 100%;
    text-align: center;
    background: var(--sm-surface);
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius-lg);
    padding: 64px 36px 40px;
    box-shadow: var(--sm-shadow-card);
}

.sm-auth__seal {
    position: absolute;
    top: -30px;
    right: 50%;
    transform: translateX(50%);
    width: 64px;
    height: 64px;
    color: var(--sm-gold);
    background: var(--sm-surface);
    border-radius: 50%;
    padding: 6px;
    box-shadow: var(--sm-shadow-soft);
}

.sm-auth__widget {
    display: flex;
    justify-content: center;
    margin-block: 28px 20px;
    min-height: 40px;
}

.sm-auth__error {
    background: rgba(239, 68, 68, 0.14);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: var(--sm-radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 8px;
}

.sm-auth__hint {
    font-size: 14px;
    color: var(--sm-ink-soft);
}

.sm-auth__hint a {
    color: var(--sm-purple-bright);
    font-weight: 600;
}

/* =============================================================
   ۱۶. پنل کاربری (page-dashboard.php)
   ============================================================= */

.sm-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    text-align: right;
    padding-block: 40px;
}

.sm-dash-header .sm-page-header__title {
    font-size: 26px;
}

.sm-dash-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
    margin-bottom: 64px;
}

.sm-wallet-card,
.sm-quick-card {
    background: var(--sm-surface);
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius-md);
    padding: 32px;
}

.sm-wallet-card__value {
    font-family: var(--sm-font-latin);
    font-weight: 600;
    font-size: 36px;
    color: var(--sm-gold);
    direction: ltr;
    text-align: right;
    margin-bottom: 20px;
}

.sm-wallet-card__value small {
    font-family: var(--sm-font-fa);
    font-size: 14px;
    font-weight: 400;
    color: var(--sm-ink-soft);
}

.sm-wallet-card .sm-btn {
    width: 100%;
    margin-bottom: 12px;
}

.sm-wallet-card__note {
    font-size: 13px;
    color: var(--sm-ink-soft);
}

.sm-quick-card h3 {
    font-size: 19px;
    margin: 8px 0 10px;
}

.sm-quick-card p {
    color: var(--sm-ink-soft);
    font-size: 14.5px;
    margin-bottom: 20px;
}

.sm-quick-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sm-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius-md);
}

.sm-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

.sm-orders-table th,
.sm-orders-table td {
    padding: 14px 18px;
    text-align: right;
    white-space: nowrap;
}

.sm-orders-table thead th {
    background: var(--sm-surface);
    color: var(--sm-gold);
    font-family: var(--sm-font-latin);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 13px;
    border-bottom: 1px solid var(--sm-line);
}

.sm-orders-table tbody tr:not(:last-child) td {
    border-bottom: 1px dashed var(--sm-line);
}

.sm-status-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    background: var(--sm-bg);
    border: 1px solid var(--sm-line);
    color: var(--sm-ink-soft);
}

.sm-status-badge--completed {
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.35);
    color: #86EFAC;
}

.sm-status-badge--processing,
.sm-status-badge--pending {
    background: rgba(255, 187, 2, 0.14);
    border-color: rgba(255, 187, 2, 0.35);
    color: var(--sm-gold);
}

.sm-status-badge--canceled,
.sm-status-badge--cancelled,
.sm-status-badge--failed,
.sm-status-badge--incomplete {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.35);
    color: #FCA5A5;
}

/* =============================================================
   ۱۷. درباره ما (page-about-us.php)
   ============================================================= */

.sm-about-mission {
    padding-block: 80px;
    border-bottom: 1px solid var(--sm-line);
}

.sm-about-mission__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 56px;
    align-items: center;
}

.sm-about-seal {
    width: 200px;
    height: 200px;
    margin-inline: auto;
    color: var(--sm-purple-bright);
    opacity: 0.5;
}

/* =============================================================
   ۱۸. تماس با ما (page-contact-us.php)
   ============================================================= */

.sm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    padding-block: 64px 100px;
}

.sm-contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sm-contact-info__item {
    background: var(--sm-surface);
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius-md);
    padding: 26px;
}

.sm-contact-info__item h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.sm-contact-info__item p {
    color: var(--sm-ink-soft);
    font-size: 14.5px;
    margin-bottom: 16px;
}

.sm-form {
    background: var(--sm-surface);
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius-md);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sm-form__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sm-form__row label {
    font-size: 14px;
    font-weight: 600;
    color: var(--sm-ink);
}

.sm-form__row input,
.sm-form__row textarea {
    font-family: var(--sm-font-fa);
    font-size: 15px;
    padding: 12px 16px;
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius-sm);
    background: var(--sm-bg);
    color: var(--sm-ink);
    resize: vertical;
}

.sm-form__row input:focus,
.sm-form__row textarea:focus {
    outline: none;
    border-color: var(--sm-purple-bright);
}

.sm-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.sm-form-notice {
    padding: 14px 18px;
    border-radius: var(--sm-radius-sm);
    font-size: 14.5px;
    margin-bottom: 20px;
}

.sm-form-notice--success {
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #86EFAC;
}

.sm-form-notice--error {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #FCA5A5;
}

/* =============================================================
   ۱۹. حالت آماده برای انیمیشن ورود هنگام اسکرول
   (کلاس‌ها با جاوااسکریپت اضافه می‌شوند؛ در نبود جاوااسکریپت
   یا با prefers-reduced-motion محتوا کاملاً نمایان می‌ماند)
   ============================================================= */

.sm-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sm-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .sm-reveal {
        opacity: 1;
        transform: none;
    }
    .sm-hero__seal {
        animation: none;
    }
}

/* =============================================================
   ۲۰. ریسپانسیو
   ============================================================= */

@media (max-width: 960px) {
    .sm-services__grid {
        grid-template-columns: 1fr;
    }

    .sm-steps__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .sm-footer__brand {
        grid-column: 1 / -1;
    }

    .sm-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-dash-grid {
        grid-template-columns: 1fr;
    }

    .sm-about-mission__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sm-about-mission__grid .sm-content {
        text-align: right;
    }

    .sm-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .sm-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: var(--sm-surface);
        border-bottom: 1px solid var(--sm-line);
        padding: 16px 24px;
        display: none;
    }

    .sm-nav.is-open {
        display: block;
    }

    .sm-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .sm-nav-toggle {
        display: flex;
    }

    .sm-header__actions .sm-btn--ghost {
        display: none;
    }

    .sm-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .sm-stat:nth-child(3) {
        border-inline-start: none;
    }

    .sm-steps__list {
        grid-template-columns: 1fr;
    }

    .sm-hero__card {
        padding: 64px 24px 32px;
    }

    .sm-footer__grid {
        grid-template-columns: 1fr;
    }

    .sm-cta__watermark {
        width: 220px;
        height: 220px;
        inset-inline-end: -80px;
    }

    .sm-archive-grid {
        grid-template-columns: 1fr;
    }

    .sm-price-grid {
        grid-template-columns: 1fr;
    }

    .sm-404__code {
        font-size: 64px;
    }

    .sm-dash-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: right;
    }

    .sm-orders-table th,
    .sm-orders-table td {
        padding: 10px 14px;
        font-size: 13.5px;
    }

    .sm-about-seal {
        width: 120px;
        height: 120px;
    }

    .sm-form {
        padding: 24px;
    }
}

/* =============================================================
   ۲۱. بازطراحی ۲۰۲۶ — جلوه‌های حرکتی، نور و تعامل
   این بخش فقط جلوه اضافه می‌کنه؛ هیچ کلاس قبلی رو حذف نمی‌کنه.
   همه‌چیز زیر prefers-reduced-motion (بخش ۲) خاموش می‌شه.
   ============================================================= */

:root {
    --sm-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --sm-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --sm-glow-purple: 0 0 0 1px rgba(139, 79, 231, 0.4), 0 0 40px -4px rgba(139, 79, 231, 0.55);
    --sm-mx: 50%;
    --sm-my: 50%;
}

/* ---------- نوار پیشرفت اسکرول ---------- */
.sm-progress {
    position: fixed;
    inset-inline: 0;
    top: 0;
    height: 3px;
    z-index: 999;
    background: transparent;
    pointer-events: none;
}

.sm-progress__bar {
    height: 100%;
    width: 0%;
    background: var(--sm-gradient-brand);
    box-shadow: 0 0 12px rgba(255, 187, 2, 0.65);
    transition: width 0.1s linear;
}

/* ---------- زمینه‌ی محیطی: اورورا + نویز ظریف ---------- */
body {
    position: relative;
    overflow-x: clip;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

body::before {
    background-image:
        radial-gradient(760px 480px at 12% -8%, rgba(139, 79, 231, 0.24), transparent 60%),
        radial-gradient(680px 460px at 108% 18%, rgba(255, 187, 2, 0.14), transparent 60%),
        radial-gradient(620px 420px at 50% 108%, rgba(139, 79, 231, 0.16), transparent 60%);
    animation: sm-aurora-drift 22s ease-in-out infinite alternate;
}

body::after {
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes sm-aurora-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-2%, 1.5%, 0) scale(1.05); }
    100% { transform: translate3d(2%, -1%, 0) scale(1.02); }
}

/* body::before/after must sit behind everything, so give real content stacking context */
.sm-header,
.sm-main,
.sm-footer,
main {
    position: relative;
    z-index: 1;
}

/* ---------- هدر: کوچک‌شدن هنگام اسکرول ---------- */
.sm-header {
    transition: height 0.35s var(--sm-ease-out), background-color 0.35s ease, box-shadow 0.35s ease;
}

.sm-header.is-scrolled .sm-header__inner {
    height: 66px;
}

.sm-header.is-scrolled {
    background: rgba(15, 10, 24, 0.94);
    box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.6);
}

.sm-header__inner {
    transition: height 0.35s var(--sm-ease-out);
}

.sm-brand__seal {
    transition: transform 0.4s var(--sm-ease-spring), filter 0.3s ease;
}

.sm-brand:hover .sm-brand__seal {
    transform: rotate(-14deg) scale(1.08);
    filter: drop-shadow(0 0 10px rgba(139, 79, 231, 0.65));
}

/* ---------- منوی موبایل: مورف همبرگر به ضربدر ---------- */
.sm-nav-toggle span {
    transition: transform 0.3s var(--sm-ease-out), opacity 0.2s ease, width 0.3s ease;
}

.sm-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.6px) rotate(45deg);
}

.sm-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.sm-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.6px) rotate(-45deg);
}

.sm-nav.is-open {
    animation: sm-fade-blur-in 0.32s var(--sm-ease-out) both;
}

/* ---------- دکمه‌ها: درخشش مغناطیسی + ریپل ---------- */
.sm-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.28s var(--sm-ease-spring), background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.28s ease;
}

.sm-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 66%);
    background-size: 220% 100%;
    background-position: 130% 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sm-btn:hover::before {
    opacity: 1;
    animation: sm-shimmer 1.1s var(--sm-ease-out);
}

.sm-btn:active {
    transform: translateY(0) scale(0.97);
}

.sm-btn--primary:hover,
.sm-btn--paper:hover {
    box-shadow: 0 16px 36px -14px rgba(139, 79, 231, 0.75);
}

@keyframes sm-shimmer {
    from { background-position: 130% 0; }
    to   { background-position: -30% 0; }
}

.sm-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: -1;
    animation: sm-ripple 0.65s var(--sm-ease-out) forwards;
}

@keyframes sm-ripple {
    to {
        transform: scale(2.6);
        opacity: 0;
    }
}

/* ---------- هیرو: مدال شناور + عنوان درخشان ---------- */
.sm-hero {
    position: relative;
}

.sm-hero::before,
.sm-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
    animation: sm-float 9s ease-in-out infinite;
}

.sm-hero::before {
    width: 260px;
    height: 260px;
    top: -60px;
    right: 6%;
    background: rgba(139, 79, 231, 0.35);
}

.sm-hero::after {
    width: 200px;
    height: 200px;
    bottom: -40px;
    left: 8%;
    background: rgba(255, 187, 2, 0.22);
    animation-delay: -3.5s;
    animation-duration: 11s;
}

@keyframes sm-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50%      { transform: translate3d(0, -22px, 0); }
}

.sm-hero__card {
    z-index: 1;
    animation: sm-fade-blur-in 0.7s var(--sm-ease-out) both;
    transition: transform 0.35s var(--sm-ease-out), box-shadow 0.35s ease;
}

.sm-hero__card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--sm-spin, 0deg), rgba(139, 79, 231, 0), rgba(139, 79, 231, 0.55), rgba(255, 187, 2, 0.5), rgba(139, 79, 231, 0));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.7;
    pointer-events: none;
    animation: sm-spin-slow 7s linear infinite;
}

@keyframes sm-spin-slow {
    to { --sm-spin: 360deg; }
}

@property --sm-spin {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.sm-hero__title {
    background-size: 200% auto;
    animation: sm-gradient-slide 6s ease-in-out infinite;
}

@keyframes sm-gradient-slide {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.sm-hero__seal {
    animation:
        sm-seal-stamp 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) both,
        sm-seal-pulse 3.2s ease-in-out 0.8s infinite;
}

@keyframes sm-seal-pulse {
    0%, 100% { box-shadow: var(--sm-shadow-soft), 0 0 0 0 rgba(255, 187, 2, 0.45); }
    50%      { box-shadow: var(--sm-shadow-soft), 0 0 0 10px rgba(255, 187, 2, 0); }
}

.sm-btn--primary,
.sm-btn--outline {
    animation: none;
}

.sm-hero__actions .sm-btn--primary {
    animation: sm-cta-pulse 2.6s ease-in-out 1.4s infinite;
}

@keyframes sm-cta-pulse {
    0%, 100% { box-shadow: 0 10px 28px -12px rgba(139, 79, 231, 0.6); }
    50%      { box-shadow: 0 10px 34px -8px rgba(139, 79, 231, 0.9), 0 0 0 6px rgba(139, 79, 231, 0.12); }
}

/* ---------- کارت‌های سه‌بعدی با درخشش دنبال‌کننده‌ی موس ---------- */
.sm-service-card,
.sm-price-card,
.sm-post-card,
.sm-auth__card,
.sm-wallet-card,
.sm-quick-card,
.sm-contact-info__item {
    position: relative;
    isolation: isolate;
    transition: transform 0.4s var(--sm-ease-out), box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: transform;
}

.sm-service-card::before,
.sm-price-card::before,
.sm-post-card::before,
.sm-auth__card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    background: radial-gradient(220px circle at var(--sm-mx) var(--sm-my), rgba(139, 79, 231, 0.28), transparent 65%);
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.sm-service-card:hover::before,
.sm-price-card:hover::before,
.sm-post-card:hover::before,
.sm-auth__card:hover::before {
    opacity: 1;
}

.sm-service-card:hover,
.sm-post-card:hover {
    border-color: rgba(139, 79, 231, 0.5);
}

/* ---------- آمار: بزرگ‌نمایی نرم + خط رشد ---------- */
.sm-stat {
    position: relative;
    transition: transform 0.3s var(--sm-ease-out);
}

.sm-stat::after {
    content: '';
    position: absolute;
    bottom: -14px;
    right: 50%;
    left: 50%;
    height: 2px;
    background: var(--sm-gradient-brand);
    transition: right 0.5s var(--sm-ease-out), left 0.5s var(--sm-ease-out);
}

.sm-reveal.is-visible .sm-stat::after {
    right: 30%;
    left: 30%;
}

.sm-stat__value {
    display: inline-block;
    transition: transform 0.25s var(--sm-ease-spring), color 0.25s ease;
}

.sm-stat:hover .sm-stat__value {
    transform: translateY(-3px) scale(1.06);
    color: var(--sm-gold);
}

/* ---------- روند سفارش: شماره‌ها با نور ---------- */
.sm-step {
    transition: transform 0.3s var(--sm-ease-out);
}

.sm-step__num {
    display: inline-block;
    transition: text-shadow 0.3s ease, transform 0.3s var(--sm-ease-spring);
}

.sm-step:hover {
    transform: translateY(-4px);
}

.sm-step:hover .sm-step__num {
    text-shadow: 0 0 18px rgba(255, 187, 2, 0.7);
    transform: scale(1.08);
}

/* ---------- چرا سناتورممبر: نشانگر چرخان ---------- */
.sm-why__mark {
    transition: transform 0.4s var(--sm-ease-spring), box-shadow 0.4s ease;
}

.sm-why__item:hover .sm-why__mark {
    transform: rotate(225deg) scale(1.25);
    box-shadow: 0 0 14px rgba(255, 187, 2, 0.6);
}

.sm-why__item {
    transition: padding-inline-start 0.3s ease;
}

.sm-why__item:hover {
    padding-inline-start: 8px;
}

/* ---------- فراخوان نهایی: پس‌زمینه‌ی زنده ---------- */
.sm-cta {
    background-size: 220% 220%;
    animation: sm-gradient-slide 10s ease-in-out infinite;
}

.sm-cta__watermark {
    animation: sm-spin-very-slow 40s linear infinite;
}

@keyframes sm-spin-very-slow {
    to { transform: translateY(-50%) rotate(360deg); }
}

.sm-cta .sm-btn--paper {
    animation: sm-cta-pulse 2.6s ease-in-out infinite;
}

/* ---------- افکت کلی ورود عناصر ---------- */
.sm-reveal {
    filter: blur(6px);
    transition: opacity 0.7s var(--sm-ease-out), transform 0.7s var(--sm-ease-out), filter 0.7s var(--sm-ease-out);
}

.sm-reveal.is-visible {
    filter: blur(0);
}

@keyframes sm-fade-blur-in {
    from { opacity: 0; filter: blur(6px); transform: translateY(10px); }
    to   { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* ---------- کارت‌های شبکه‌ای: ظهور پلکانی ---------- */
.sm-services__grid.sm-reveal.is-visible > *,
.sm-steps__list.sm-reveal.is-visible > *,
.sm-why__list.sm-reveal.is-visible > *,
.sm-stats__grid.sm-reveal.is-visible > *,
.sm-price-grid.sm-reveal.is-visible > *,
.sm-archive-grid.sm-reveal.is-visible > *,
.sm-dash-grid.sm-reveal.is-visible > * {
    animation: sm-fade-blur-in 0.6s var(--sm-ease-out) both;
}

.sm-services__grid > *:nth-child(1),
.sm-steps__list > *:nth-child(1),
.sm-why__list > *:nth-child(1),
.sm-stats__grid > *:nth-child(1),
.sm-price-grid > *:nth-child(1),
.sm-archive-grid > *:nth-child(1) { animation-delay: 0.02s; }

.sm-services__grid > *:nth-child(2),
.sm-steps__list > *:nth-child(2),
.sm-why__list > *:nth-child(2),
.sm-stats__grid > *:nth-child(2),
.sm-price-grid > *:nth-child(2),
.sm-archive-grid > *:nth-child(2) { animation-delay: 0.1s; }

.sm-steps__list > *:nth-child(3),
.sm-why__list > *:nth-child(3),
.sm-stats__grid > *:nth-child(3),
.sm-price-grid > *:nth-child(3),
.sm-archive-grid > *:nth-child(3) { animation-delay: 0.18s; }

.sm-steps__list > *:nth-child(4),
.sm-why__list > *:nth-child(4),
.sm-stats__grid > *:nth-child(4),
.sm-price-grid > *:nth-child(4) { animation-delay: 0.26s; }

.sm-price-grid > *:nth-child(5) { animation-delay: 0.34s; }
.sm-price-grid > *:nth-child(6) { animation-delay: 0.42s; }

/* ---------- لینک‌های منو: نقطه‌ی همراه ---------- */
.sm-nav__list a::after {
    background: var(--sm-gradient-brand);
    height: 2px;
    border-radius: 2px;
}

/* ---------- اسکرول‌بار سفارشی ---------- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--sm-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--sm-purple);
    border-radius: 999px;
    border: 2px solid var(--sm-bg);
}

::selection {
    background: var(--sm-purple-bright);
    color: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after,
    .sm-hero::before,
    .sm-hero::after,
    .sm-hero__card::after,
    .sm-cta__watermark,
    .sm-hero__title,
    .sm-cta,
    .sm-hero__actions .sm-btn--primary,
    .sm-cta .sm-btn--paper,
    .sm-hero__seal {
        animation: none !important;
    }
}

@media (max-width: 760px) {
    .sm-hero::before,
    .sm-hero::after {
        display: none;
    }
}
