/* ============================================
   لندینگ پیج - نسخه نهایی
   ============================================ */

body.landing-body {
    background: #fbfcfe;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── نوار بالا ─── */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(15,23,42,.06);
}
.landing-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 66px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.landing-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.5px;
}
.landing-logo:hover { opacity: 1; }

.landing-nav-links {
    display: flex;
    gap: 24px;
}
.landing-nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    transition: color .15s;
}
.landing-nav-links a:hover { color: var(--primary); opacity: 1; }

.landing-nav-cta { display: flex; gap: 8px; align-items: center; }

@media (max-width: 820px) {
    .landing-nav-links { display: none; }
}

/* ─── هیرو ─── */
.landing-hero {
    position: relative;
    padding: 60px 20px 80px;
    overflow: hidden;
}
.landing-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.landing-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
}
.blob-1 { width: 500px; height: 500px; background: var(--primary-light); top: -100px; right: -100px; }
.blob-2 { width: 400px; height: 400px; background: #fef3c7; bottom: -100px; left: -100px; }
.blob-3 { width: 350px; height: 350px; background: #fce7f3; top: 40%; left: 30%; opacity: .35; }

.landing-hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 900px) {
    .landing-hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-soft), #fef3c7);
    border: 1px solid var(--primary-light);
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.landing-title {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width: 900px) {
    .landing-title { font-size: 38px; letter-spacing: -1px; }
}

.landing-subtitle {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 520px;
}

.landing-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.landing-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 520px;
}
.landing-stat { text-align: center; }
.landing-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -.5px;
    line-height: 1.2;
}
.landing-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}
@media (max-width: 500px) {
    .landing-stat-num { font-size: 20px; }
    .landing-stat-label { font-size: 11px; }
}

/* ─── موکاپ موبایل ─── */
.landing-hero-preview {
    display: flex;
    justify-content: center;
    position: relative;
}
.phone-mockup {
    width: 280px;
    height: 570px;
    background: #1a1a1a;
    border-radius: 42px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(15,23,42,.25), 0 0 0 2px #2a2a2a inset;
    position: relative;
    transform: rotate(-4deg);
    transition: transform .6s;
}
.phone-mockup:hover { transform: rotate(0deg) translateY(-8px); }
.phone-mockup::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--surface);
    border-radius: 32px;
    overflow: hidden;
    padding: 40px 12px 12px;
}
.mock-post { padding: 8px; }
.mock-head { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.mock-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.mock-name { font-size: 12px; font-weight: 700; line-height: 1.2; }
.mock-time { font-size: 10px; color: var(--text-light); }
.mock-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 8px; }
.mock-actions {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}
@media (max-width: 900px) {
    .phone-mockup { transform: rotate(0); }
}

/* ─── سکشن‌ها ─── */
.landing-features,
.landing-shops,
.landing-products,
.landing-how,
.landing-faq {
    padding: 80px 20px;
}
.landing-shops, .landing-faq { background: #f8fafc; }

.landing-section-head {
    text-align: center;
    margin-bottom: 50px;
    max-width: 640px;
    margin-inline: auto;
}
.landing-section-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: .3px;
}
.landing-section-head h2 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.8px;
    margin-bottom: 10px;
    line-height: 1.3;
}
.landing-section-head p {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.8;
}
@media (max-width: 640px) {
    .landing-section-head h2 { font-size: 26px; letter-spacing: -.4px; }
    .landing-features, .landing-shops, .landing-products, .landing-how, .landing-faq { padding: 60px 16px; }
}

.container { max-width: 1200px; margin: 0 auto; }

/* ─── گرید امکانات ─── */
.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.feature-card {
    background: #fff;
    padding: 26px 22px;
    border-radius: 20px;
    border: 1px solid rgba(15,23,42,.06);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15,23,42,.08);
    border-color: var(--primary-light);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}
.feature-card h3 {
    font-size: 16.5px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -.3px;
}
.feature-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.9;
}

/* ─── گرید فروشگاه‌ها ─── */
.landing-shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.landing-shop-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,.06);
    transition: transform .2s, box-shadow .2s;
    color: var(--text);
    display: block;
}
.landing-shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15,23,42,.1);
    opacity: 1;
    color: var(--text);
}
.landing-shop-cover {
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    background-size: cover;
    background-position: center;
}
.landing-shop-body {
    padding: 0 20px 20px;
    text-align: center;
}
.landing-shop-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    margin: -32px auto 10px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15,23,42,.1);
}
.landing-shop-name {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.landing-shop-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 6px;
    justify-content: center;
    font-weight: 600;
}

/* ─── گرید محصولات ─── */
.landing-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.landing-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,.06);
    transition: transform .2s, box-shadow .2s;
    color: var(--text);
    display: block;
}
.landing-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15,23,42,.1);
    opacity: 1;
    color: var(--text);
}
.landing-product-thumb {
    position: relative;
    aspect-ratio: 1;
    background: #f2f3f5;
    overflow: hidden;
}
.landing-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.landing-product-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 40px;
    color: var(--text-light);
}
.landing-product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--danger);
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 800;
}
.landing-product-body { padding: 12px 14px 16px; }
.landing-product-name {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 4px;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.landing-product-shop {
    font-size: 11.5px;
    color: var(--text-light);
    margin-bottom: 8px;
}
.landing-product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.landing-price-old {
    font-size: 11.5px;
    color: var(--text-light);
    text-decoration: line-through;
}
.landing-price-new {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}
.landing-price-unit {
    font-size: 11px;
    color: var(--text-muted);
}

/* ─── مراحل ─── */
.landing-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin-inline: auto;
}
.landing-step {
    text-align: center;
    padding: 30px 20px;
}
.step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    margin: 0 auto 16px;
    box-shadow: 0 10px 24px rgba(22,163,74,.3);
}
.landing-step h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}
.landing-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ─── FAQ ─── */
.landing-faq-list {
    max-width: 720px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,.06);
    padding: 18px 22px;
    cursor: pointer;
    transition: border-color .2s;
}
.faq-item[open] { border-color: var(--primary-light); }
.faq-item summary {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 22px;
    color: var(--primary);
    font-weight: 400;
    transition: transform .2s;
}
.faq-item[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}
.faq-item p {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.9;
}

/* ─── CTA نهایی ─── */
.landing-final-cta {
    padding: 60px 20px;
}
.final-cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 28px;
    padding: 60px 30px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(22,163,74,.25);
}
.final-cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.15), transparent 50%);
    pointer-events: none;
}
.final-cta-box > * { position: relative; z-index: 1; }
.final-cta-box h2 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.8px;
    margin-bottom: 12px;
}
.final-cta-box p {
    font-size: 16px;
    opacity: .9;
    margin-bottom: 26px;
}
.final-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── فوتر ─── */
.landing-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 20px 30px;
}
.landing-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}
@media (max-width: 800px) {
    .landing-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 500px) {
    .landing-footer-grid { grid-template-columns: 1fr; }
}
.landing-footer-logo {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.landing-footer-desc {
    font-size: 13.5px;
    line-height: 1.9;
    opacity: .8;
}
.landing-footer h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.landing-footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.landing-footer ul a {
    font-size: 13.5px;
    color: #cbd5e1;
    transition: color .15s;
}
.landing-footer ul a:hover { color: #fff; opacity: 1; }

.landing-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    opacity: .7;
    max-width: 1200px;
    margin: 0 auto;
}

/* ─── انیمیشن ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.landing-hero-content > * {
    animation: fadeInUp .6s ease backwards;
}
.landing-hero-content > *:nth-child(1) { animation-delay: .05s; }
.landing-hero-content > *:nth-child(2) { animation-delay: .15s; }
.landing-hero-content > *:nth-child(3) { animation-delay: .25s; }
.landing-hero-content > *:nth-child(4) { animation-delay: .35s; }
.landing-hero-content > *:nth-child(5) { animation-delay: .45s; }