/* ==========================================================================
   Mealio — سایت عمومی (لندینگ، مقالات، صفحات عمومی)
   ========================================================================== */

:root {
    --ink: #10192a;
    --ink-2: #2b3a52;
    --ink-soft: #5a6b82;
    --muted: #8b98a5;
    --line: #e8edf4;
    --bg: #ffffff;
    --bg-soft: #f6f8fc;
    --brand: #ff6b35;
    --brand-2: #f7451f;
    --brand-soft: #fff2ec;
    --accent: #12b886;
    --accent-soft: #e8faf3;
    --indigo: #3b5bdb;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow-sm: 0 4px 16px rgba(16, 25, 42, .05);
    --shadow: 0 14px 40px rgba(16, 25, 42, .08);
    --shadow-lg: 0 28px 70px rgba(16, 25, 42, .12);
    --container: 1200px;
}

* { box-sizing: border-box; }

.site-body {
    margin: 0;
    font-family: 'IRANYekan', 'IRANYekanX', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.site-body a { text-decoration: none; }

.site-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== سربرگ ==================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s, background .25s;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 4px 20px rgba(16, 25, 42, .05);
}

.site-header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 74px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -.4px;
    flex-shrink: 0;
}

.site-logo-mark {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 8px 20px rgba(255, 107, 53, .32);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: auto;
}

.site-nav a {
    color: var(--ink-soft);
    font-size: .87rem;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 10px;
    transition: color .18s, background .18s;
}

.site-nav a:hover { color: var(--ink); background: var(--bg-soft); }

.site-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    padding: 11px 22px;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .16s, box-shadow .16s, background .16s, color .16s, border-color .16s;
    white-space: nowrap;
}

.btn-site-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 107, 53, .3);
}

.btn-site-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(255, 107, 53, .38); color: #fff; }

.btn-site-ghost {
    background: #fff;
    color: var(--ink);
    border: 1.6px solid var(--line);
}

.btn-site-ghost:hover { border-color: #cfd8e3; color: var(--ink); }

.btn-site-lg { padding: 15px 32px; font-size: .95rem; border-radius: 14px; }

.site-burger {
    display: none;
    background: none;
    border: 0;
    font-size: 1.3rem;
    color: var(--ink);
    cursor: pointer;
    padding: 6px;
    margin-right: auto;
}

/* ==================== هیرو ==================== */
.hero {
    position: relative;
    padding: 70px 0 90px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 460px at 88% -8%, rgba(255, 107, 53, .1), transparent 62%),
        radial-gradient(720px 420px at 6% 12%, rgba(59, 91, 219, .08), transparent 60%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-soft);
    color: var(--brand-2);
    border-radius: 30px;
    padding: 7px 16px;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero-badge i { font-size: .8rem; }

.hero h1 {
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -1px;
    margin: 0 0 20px;
    color: var(--ink);
}

.hero h1 .hl {
    position: relative;
    background: linear-gradient(120deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 1.02rem;
    line-height: 2.2;
    color: var(--ink-soft);
    margin: 0 0 32px;
    max-width: 540px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-stats {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.hero-stat b {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.5px;
}

.hero-stat span { font-size: .8rem; color: var(--muted); }

/* موبایل هیرو */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone-mock {
    position: relative;
    width: 290px;
    border-radius: 38px;
    background: #10192a;
    padding: 11px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
}

.phone-screen {
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 9 / 18.4;
    display: flex;
    flex-direction: column;
}

.phone-notch {
    height: 26px;
    background: #10192a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-notch::after {
    content: '';
    width: 78px; height: 7px;
    border-radius: 20px;
    background: #2b3a52;
}

.phone-body { flex: 1; padding: 14px; background: #fbfcfe; overflow: hidden; }

.pm-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }

.pm-logo {
    width: 36px; height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .85rem;
    flex-shrink: 0;
}

.pm-title { font-size: .8rem; font-weight: 700; color: var(--ink); }
.pm-sub { font-size: .64rem; color: var(--muted); }

.pm-cats { display: flex; gap: 7px; margin-bottom: 13px; overflow: hidden; }

.pm-cat {
    flex-shrink: 0;
    width: 44px;
    text-align: center;
    font-size: .54rem;
    color: var(--ink-soft);
}

.pm-cat b {
    display: block;
    width: 44px; height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, #ffe1d4, #ffd0bd);
    margin-bottom: 4px;
}

.pm-cat:nth-child(2) b { background: linear-gradient(135deg, #d9e4ff, #c7d6ff); }
.pm-cat:nth-child(3) b { background: linear-gradient(135deg, #d4f5e6, #bdeed8); }
.pm-cat:nth-child(4) b { background: linear-gradient(135deg, #ffe9c7, #ffdca8); }

.pm-item {
    display: flex;
    gap: 9px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 8px;
    margin-bottom: 8px;
}

.pm-item-img {
    width: 50px; height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef2f8, #e2e8f2);
    flex-shrink: 0;
}

.pm-item-body { flex: 1; min-width: 0; }
.pm-item-name { font-size: .7rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.pm-item-desc { font-size: .58rem; color: var(--muted); margin-bottom: 5px; }
.pm-item-price { font-size: .66rem; font-weight: 700; color: var(--brand); }

.pm-cart {
    margin-top: auto;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border-radius: 13px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .68rem;
    font-weight: 700;
}

/* کارت‌های شناور کنار موبایل */
.hero-float {
    position: absolute;
    background: #fff;
    border-radius: 15px;
    padding: 12px 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    animation: floaty 5s ease-in-out infinite;
}

.hero-float-1 { top: 12%; right: -6%; animation-delay: 0s; }
.hero-float-2 { bottom: 16%; left: -8%; animation-delay: 1.6s; }

.hero-float i { font-size: 1.15rem; }
.hero-float-1 i { color: var(--accent); }
.hero-float-2 i { color: var(--indigo); }

.hero-float b { display: block; font-size: .78rem; color: var(--ink); }
.hero-float span { font-size: .66rem; color: var(--muted); }

@@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-11px); }
}

/* ==================== نوار اعتماد ==================== */
.trust-bar {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
}

.trust-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--ink-soft);
    font-size: .85rem;
    font-weight: 600;
}

.trust-item i { color: var(--brand); font-size: 1.05rem; }

/* ==================== بخش‌ها ==================== */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 52px;
}

.section-tag {
    display: inline-block;
    background: var(--brand-soft);
    color: var(--brand-2);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: .76rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.6px;
    margin: 0 0 14px;
    color: var(--ink);
    line-height: 1.6;
}

.section-head p {
    margin: 0;
    font-size: .95rem;
    line-height: 2.1;
    color: var(--ink-soft);
}

/* ==================== ویژگی‌ها ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.feature-icon {
    width: 52px; height: 52px;
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.fi-1 { background: var(--brand-soft); color: var(--brand-2); }
.fi-2 { background: #eef2ff; color: var(--indigo); }
.fi-3 { background: var(--accent-soft); color: #0b8f68; }
.fi-4 { background: #fff7e6; color: #b9770e; }
.fi-5 { background: #fdeef5; color: #c2255c; }
.fi-6 { background: #eaf6fb; color: #0b7285; }

.feature-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--ink);
}

.feature-card p {
    margin: 0;
    font-size: .86rem;
    line-height: 2.1;
    color: var(--ink-soft);
}

/* ==================== گالری قالب‌ها ==================== */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.template-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .22s, box-shadow .22s;
    cursor: pointer;
}

.template-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.template-cover {
    position: relative;
    aspect-ratio: 16 / 11;
    background: linear-gradient(135deg, #eef2f8, #e2e8f2);
    overflow: hidden;
}

.template-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.template-card:hover .template-cover img { transform: scale(1.05); }

.template-cover-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b6c0cc;
    font-size: 2.2rem;
}

.template-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(16, 25, 42, .78);
    backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: .7rem;
    font-weight: 700;
}

.template-badge.is-default { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }

.template-count {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    border-radius: 20px;
    padding: 4px 11px;
    font-size: .7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.template-body { padding: 18px 20px 20px; }

.template-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 7px;
    color: var(--ink);
}

.template-body p {
    margin: 0 0 14px;
    font-size: .82rem;
    line-height: 2;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.template-feats { display: flex; flex-wrap: wrap; gap: 6px; }

.template-feat {
    background: var(--bg-soft);
    color: var(--ink-soft);
    border-radius: 20px;
    padding: 3px 11px;
    font-size: .71rem;
    font-weight: 600;
}

.template-more {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .8rem;
    font-weight: 700;
    color: var(--brand);
}

/* لایت‌باکس گالری */
.tpl-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(9, 14, 24, .82);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tpl-modal.is-open { display: flex; }

.tpl-modal-box {
    background: #fff;
    border-radius: 22px;
    max-width: 940px;
    width: 100%;
    max-height: 92vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tpl-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
}

.tpl-modal-head h4 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.tpl-modal-head p { margin: 3px 0 0; font-size: .8rem; color: var(--muted); }

.tpl-modal-close {
    background: var(--bg-soft);
    border: 0;
    width: 36px; height: 36px;
    border-radius: 11px;
    cursor: pointer;
    color: var(--ink-soft);
    font-size: .95rem;
    flex-shrink: 0;
}

.tpl-modal-close:hover { background: #eef1f6; }

.tpl-modal-body { padding: 22px 24px; overflow-y: auto; }

.tpl-shots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.tpl-shot {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-soft);
}

.tpl-shot img { width: 100%; display: block; aspect-ratio: 9 / 16; object-fit: cover; }

.tpl-shot figcaption {
    padding: 9px 12px;
    font-size: .78rem;
    color: var(--ink-soft);
    text-align: center;
}

/* ==================== مراحل کار ==================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}

.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 24px 26px;
    text-align: center;
}

.step-num {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(255, 107, 53, .28);
}

.step-card h3 { font-size: .96rem; font-weight: 700; margin: 0 0 9px; color: var(--ink); }
.step-card p { margin: 0; font-size: .83rem; line-height: 2.05; color: var(--ink-soft); }

/* ==================== تعرفه‌ها ==================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    position: relative;
    background: #fff;
    border: 1.8px solid var(--line);
    border-radius: 24px;
    padding: 34px 30px;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}

.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.price-card.is-featured {
    border-color: var(--brand);
    box-shadow: 0 20px 50px rgba(255, 107, 53, .16);
}

.price-ribbon {
    position: absolute;
    top: -14px;
    right: 30px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border-radius: 20px;
    padding: 5px 16px;
    font-size: .74rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(255, 107, 53, .32);
}

.price-name { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.price-desc { font-size: .82rem; color: var(--muted); margin: 0 0 22px; }

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.price-amount b {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--ink);
}

.price-amount span { font-size: .86rem; color: var(--muted); }

.price-old {
    font-size: .85rem;
    color: var(--muted);
    text-decoration: line-through;
    margin-bottom: 18px;
}

.price-discount {
    display: inline-block;
    background: var(--accent-soft);
    color: #0b8f68;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: .74rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.price-list { list-style: none; padding: 0; margin: 22px 0 26px; }

.price-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .85rem;
    color: var(--ink-soft);
    padding: 8px 0;
    line-height: 1.9;
}

.price-list i { color: var(--accent); margin-top: 5px; font-size: .82rem; }

/* ==================== نظرات ==================== */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testi-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    transition: transform .22s, box-shadow .22s;
}

.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.testi-stars { color: #ffb400; font-size: .82rem; margin-bottom: 14px; letter-spacing: 2px; }

.testi-text {
    font-size: .88rem;
    line-height: 2.2;
    color: var(--ink-2);
    margin: 0 0 22px;
    flex: 1;
}

.testi-author { display: flex; align-items: center; gap: 12px; }

.testi-avatar {
    width: 44px; height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--indigo), #5f3dc4);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: .95rem;
    flex-shrink: 0;
    overflow: hidden;
}

.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testi-name { font-size: .88rem; font-weight: 700; color: var(--ink); }
.testi-role { font-size: .76rem; color: var(--muted); }

/* ==================== مقالات ==================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .22s, box-shadow .22s;
}

.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.article-cover {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #eef2f8, #e2e8f2);
    position: relative;
    overflow: hidden;
}

.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-cover-empty {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #b6c0cc; font-size: 2rem;
}

.article-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }

.article-cat {
    display: inline-block;
    background: #eef2ff;
    color: var(--indigo);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: .71rem;
    font-weight: 700;
    margin-bottom: 12px;
    align-self: flex-start;
}

.article-body h3 {
    font-size: .98rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--ink);
    line-height: 1.8;
}

.article-body p {
    margin: 0 0 16px;
    font-size: .83rem;
    line-height: 2.05;
    color: var(--ink-soft);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: .76rem;
    color: var(--muted);
}

.article-meta .read { color: var(--brand); font-weight: 700; }

/* ==================== بنر CTA ==================== */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #1b2438, #16233d 55%, #0f1a30);
    color: #fff;
    padding: 62px 48px;
    text-align: center;
}

.cta-band::before,
.cta-band::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .45;
}

.cta-band::before { width: 340px; height: 340px; background: var(--brand); top: -130px; right: -70px; }
.cta-band::after { width: 300px; height: 300px; background: var(--indigo); bottom: -130px; left: -70px; }

.cta-band > * { position: relative; z-index: 1; }

.cta-band h2 {
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -.6px;
    line-height: 1.6;
}

.cta-band p {
    margin: 0 auto 30px;
    max-width: 520px;
    font-size: .95rem;
    line-height: 2.1;
    color: rgba(255, 255, 255, .76);
}

.cta-band .btn-site-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); }
.cta-band .btn-site-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* ==================== پاورقی ==================== */
.site-footer {
    background: #0f1729;
    color: rgba(255, 255, 255, .68);
    padding: 62px 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 46px;
}

.footer-brand .site-logo { color: #fff; margin-bottom: 16px; }

.footer-brand p {
    font-size: .85rem;
    line-height: 2.1;
    margin: 0 0 20px;
    max-width: 320px;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .8);
    display: flex; align-items: center; justify-content: center;
    transition: background .18s, color .18s;
}

.footer-social a:hover { background: var(--brand); color: #fff; }

.footer-col h4 {
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
    margin: 0 0 18px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }

.footer-col li { margin-bottom: 11px; }

.footer-col a {
    color: rgba(255, 255, 255, .64);
    font-size: .84rem;
    transition: color .18s;
}

.footer-col a:hover { color: var(--brand); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .8rem;
}

/* ==================== حالت خالی ==================== */
.empty-note {
    background: #fff;
    border: 1px dashed #d8e0ea;
    border-radius: var(--radius);
    padding: 52px 24px;
    text-align: center;
    color: var(--muted);
}

.empty-note i { font-size: 2.4rem; opacity: .3; display: block; margin-bottom: 14px; }
.empty-note p { margin: 0; font-size: .88rem; }

/* ==========================================================================
   ریسپانسیو — موبایل و تبلت
   نقاط شکست: 1200 / 1080 / 991 / 768 / 620 / 420
   ========================================================================== */

/* ==================== تبلت افقی و لپ‌تاپ کوچک ==================== */
@media (max-width: 1200px) {
    .site-container { padding: 0 20px; }

    .hero h1 { font-size: 2.55rem; }
    .hero-grid { gap: 40px; }
    .phone-mock { width: 268px; }

    .hero-float-1 { right: -2%; }
    .hero-float-2 { left: -3%; }

    .footer-grid { gap: 32px; }
}

/* ==================== تبلت ==================== */
@media (max-width: 1080px) {
    .hero { padding: 56px 0 74px; }
    .hero h1 { font-size: 2.25rem; letter-spacing: -.7px; }
    .hero-sub { font-size: .96rem; }

    .features-grid,
    .templates-grid,
    .testi-grid,
    .articles-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }

    .section { padding: 70px 0; }
    .section-head { margin-bottom: 44px; }
    .section-head h2 { font-size: 1.75rem; }

    .cta-band { padding: 52px 34px; border-radius: 24px; }
    .cta-band h2 { font-size: 1.6rem; }

    .price-card { padding: 30px 26px; }
}

/* ==================== تبلت عمودی — چیدمان تک‌ستونه هیرو ==================== */
@media (max-width: 991px) {

    /* --- سربرگ و منوی موبایل --- */
    .site-header-inner { height: 68px; gap: 14px; }

    .site-burger {
        display: block;
        order: -1;
        margin-right: 0;
        margin-left: auto;
    }

    .site-logo { order: 0; margin-right: auto; }

    .site-actions { order: 1; margin-right: 0; }

    .site-nav {
        display: none;
        position: absolute;
        top: 68px;
        right: 0;
        left: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        padding: 14px 20px 22px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 34px rgba(16, 25, 42, .1);
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }

    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 13px 15px; font-size: .9rem; }

    /* --- هیرو --- */
    .hero { padding: 42px 0 58px; }
    .hero::before { opacity: .7; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
        text-align: center;
    }

    .hero-copy { display: flex; flex-direction: column; align-items: center; }

    .hero h1 { font-size: 2rem; line-height: 1.55; letter-spacing: -.5px; }
    .hero-sub { font-size: .93rem; line-height: 2.1; max-width: 560px; }

    .hero-cta { justify-content: center; width: 100%; }

    .hero-stats {
        justify-content: center;
        gap: 26px;
        width: 100%;
        padding-top: 24px;
    }

    .hero-stat { text-align: center; }

    /* موبایل شبیه‌سازی‌شده: کوچک‌تر و بدون چرخش */
    .hero-visual { order: -1; padding: 0 10px; }
    .phone-mock { width: 240px; transform: none; border-radius: 32px; padding: 9px; }
    .phone-screen { border-radius: 24px; }

    /* کارت‌های شناور: داخل کادر و کوچک‌تر */
    .hero-float {
        padding: 9px 12px;
        border-radius: 13px;
        animation: none;
    }

    .hero-float-1 { top: 6%; right: 0; }
    .hero-float-2 { bottom: 8%; left: 0; }
    .hero-float b { font-size: .72rem; }
    .hero-float span { font-size: .62rem; }
    .hero-float i { font-size: 1rem; }

    /* --- بخش‌ها --- */
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 38px; }
    .section-head h2 { font-size: 1.55rem; line-height: 1.65; }
    .section-head p { font-size: .9rem; }

    .trust-inner { justify-content: center; gap: 18px 28px; }
    .trust-item { font-size: .82rem; }

    .pricing-grid { max-width: 520px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .site-footer { padding-top: 48px; }
}

/* ==================== موبایل بزرگ ==================== */
@media (max-width: 768px) {
    .site-container { padding: 0 18px; }

    .hero { padding: 34px 0 48px; }
    .hero-badge { font-size: .74rem; padding: 6px 14px; margin-bottom: 18px; }
    .hero h1 { font-size: 1.78rem; }
    .hero-sub { font-size: .89rem; line-height: 2.05; }
    .hero-cta { flex-direction: column; gap: 10px; }
    .hero-cta .btn-site { width: 100%; }
    .hero-stats { gap: 20px 24px; }
    .hero-stat b { font-size: 1.3rem; }
    .hero-stat span { font-size: .74rem; }

    .phone-mock { width: 216px; }
    .hero-float-1 { top: 2%; right: -4px; }
    .hero-float-2 { bottom: 4%; left: -4px; }

    .features-grid,
    .templates-grid,
    .testi-grid,
    .articles-grid,
    .steps-grid,
    .pricing-grid { grid-template-columns: 1fr; gap: 16px; }

    .section { padding: 50px 0; }
    .section-head { margin-bottom: 30px; }
    .section-head h2 { font-size: 1.4rem; }
    .section-tag { font-size: .72rem; padding: 5px 14px; }

    .feature-card { padding: 24px 20px; }
    .feature-icon { width: 46px; height: 46px; font-size: 1.1rem; margin-bottom: 14px; }

    .step-card { padding: 26px 20px 22px; }

    .price-card { padding: 28px 22px; }
    .price-amount b { font-size: 1.7rem; }
    .price-ribbon { right: 22px; }

    .testi-card { padding: 24px 20px; }
    .testi-text { font-size: .85rem; }

    .article-body { padding: 18px 18px 20px; }

    .cta-band { padding: 40px 22px; border-radius: 20px; }
    .cta-band h2 { font-size: 1.28rem; line-height: 1.7; }
    .cta-band p { font-size: .88rem; }
    .cta-band .btn-site { width: 100%; }

    .tpl-modal { padding: 12px; }
    .tpl-modal-box { border-radius: 18px; max-height: 94vh; }
    .tpl-modal-head { padding: 14px 16px; }
    .tpl-modal-head h4 { font-size: .95rem; }
    .tpl-modal-body { padding: 14px 16px; }
    .tpl-shots { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-brand p { max-width: 100%; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: .76rem; }
}

/* ==================== موبایل کوچک ==================== */
@media (max-width: 480px) {
    .site-container { padding: 0 15px; }

    .site-header-inner { height: 62px; }
    .site-nav { top: 62px; }
    .site-logo { font-size: 1.1rem; }
    .site-logo-mark { width: 36px; height: 36px; font-size: .95rem; }
    .site-actions .btn-site { padding: 9px 15px; font-size: .8rem; }
    .site-actions .btn-site-ghost { display: none; }

    .hero h1 { font-size: 1.55rem; }
    .hero-badge { font-size: .7rem; }
    .hero-sub { font-size: .85rem; }

    .phone-mock { width: 196px; padding: 8px; border-radius: 28px; }
    .phone-screen { border-radius: 21px; }
    .pm-item-img { width: 44px; height: 44px; }

    /* کارت‌های شناور در موبایل کوچک حذف می‌شوند تا شلوغ نشود */
    .hero-float { display: none; }

    .hero-stats { gap: 16px 20px; }
    .hero-stat b { font-size: 1.15rem; }
    .hero-stat span { font-size: .7rem; }

    .section { padding: 42px 0; }
    .section-head h2 { font-size: 1.25rem; }

    .feature-card,
    .step-card,
    .price-card,
    .testi-card { padding: 20px 17px; border-radius: 16px; }

    .template-body { padding: 15px 16px 17px; }

    .tpl-shots { grid-template-columns: 1fr; }

    .cta-band { padding: 34px 18px; }
    .cta-band h2 { font-size: 1.15rem; }

    .btn-site { padding: 10px 18px; font-size: .84rem; }
    .btn-site-lg { padding: 13px 22px; font-size: .88rem; }

    .footer-social a { width: 36px; height: 36px; }
}

/* ==================== حالت افقی موبایل ==================== */
@media (max-width: 991px) and (orientation: landscape) and (max-height: 520px) {
    .hero { padding: 26px 0 34px; }
    .phone-mock { width: 178px; }
    .hero h1 { font-size: 1.5rem; }
    .site-nav { max-height: calc(100vh - 62px); }
}

/* ==================== چاپ ==================== */
@media print {
    .site-header,
    .site-footer,
    .hero-visual,
    .cta-band,
    .hero-float { display: none !important; }

    .site-body { background: #fff; }
    .section { padding: 18px 0; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==================== انیمیشن ورود بخش‌ها ==================== */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s cubic-bezier(.2, .7, .3, 1), transform .6s cubic-bezier(.2, .7, .3, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-float { animation: none; }
}
