/* ============================================================
   Premium Croplod — سرویس پریمیوم (premium.croplod.com)
   ============================================================ */

/* ---------- Hero ---------- */
.pm-hero {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 46px 40px 40px;
    margin-bottom: 26px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #4f46e5 100%);
    color: #fff;
    isolation: isolate;
}
.pm-hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(420px 220px at 85% 0%, rgba(251,191,36,.28), transparent 65%),
        radial-gradient(520px 300px at 10% 110%, rgba(99,102,241,.5), transparent 60%);
    z-index: -1;
    pointer-events: none;
}
.pm-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
    z-index: -1;
    pointer-events: none;
}
.pm-hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28);
    color: #fde68a;
    font-size: 12px; font-weight: 800;
    padding: 6px 16px; border-radius: 999px;
    margin-bottom: 16px;
}
.pm-hero h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; margin: 0 0 12px; line-height: 1.45; }
.pm-hero h1 .pm-accent {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.pm-hero p { font-size: 14px; line-height: 2.05; color: rgba(255,255,255,.85); max-width: 620px; margin: 0 0 22px; }
.pm-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pm-btn-gold {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1a1205 !important;
    font-weight: 800; font-size: 13.5px;
    padding: 11px 22px; border-radius: 10px;
    border: none; cursor: pointer;
    box-shadow: 0 10px 28px -8px rgba(251,191,36,.65);
    transition: transform 150ms ease, filter 150ms ease;
    text-decoration: none;
}
.pm-btn-gold:hover { transform: translateY(-2px); filter: brightness(1.05); }
.pm-btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.1);
    color: #fff !important;
    font-weight: 700; font-size: 13px;
    padding: 11px 20px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,.3);
    transition: background 150ms ease;
    text-decoration: none;
}
.pm-btn-ghost:hover { background: rgba(255,255,255,.18); }

/* ---------- وضعیت اشتراک ---------- */
.pm-status-card {
    display: flex; align-items: center; gap: 18px;
    background: linear-gradient(135deg, rgba(245,158,11,.12), rgba(251,191,36,.06));
    border: 1px solid rgba(245,158,11,.35);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 26px;
}
.pm-status-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1a1205;
}
.pm-status-info { flex: 1; }
.pm-status-info b { display: block; font-size: 15px; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.pm-status-info span { font-size: 12.5px; color: var(--text-secondary); line-height: 1.9; }
.pm-status-action { flex-shrink: 0; }

/* ---------- آمار ---------- */
.pm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.pm-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.pm-stat:hover { transform: translateY(-3px); border-color: rgba(245,158,11,.35); box-shadow: 0 14px 30px -16px rgba(245,158,11,.4); }
.pm-stat b { display: block; font-size: 22px; font-weight: 900; color: var(--text-primary); margin-bottom: 4px; }
.pm-stat b .pm-symbol { color: #f59e0b; }
.pm-stat span { font-size: 12px; color: var(--text-tertiary); line-height: 1.8; display: block; }

/* ---------- امکانات ---------- */
.pm-features { margin-bottom: 34px; }
.pm-section-title { font-size: 17px; font-weight: 900; color: var(--text-primary); margin: 0 0 16px; display: flex; align-items: center; gap: 9px; }
.pm-section-title .pm-title-icon {
    width: 30px; height: 30px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(245,158,11,.14); color: #f59e0b; flex-shrink: 0;
}
.pm-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pm-feature {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px 18px;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.pm-feature:hover { transform: translateY(-3px); border-color: rgba(245,158,11,.4); box-shadow: 0 16px 34px -18px rgba(245,158,11,.45); }
.pm-feature-icon {
    width: 42px; height: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
}
.pm-feature h4 { font-size: 14px; font-weight: 800; color: var(--text-primary); margin: 0 0 6px; }
.pm-feature p { font-size: 12.5px; line-height: 1.9; color: var(--text-secondary); margin: 0; }

/* ---------- طرح‌ها ---------- */
.pm-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.pm-plan {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px 24px 24px;
    text-align: center;
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
    overflow: hidden;
}
.pm-plan:hover { transform: translateY(-4px); box-shadow: 0 20px 46px -18px rgba(99,102,241,.45); }
.pm-plan.pm-popular {
    border: 2px solid #f59e0b;
    background: linear-gradient(180deg, rgba(251,191,36,.08), var(--bg-card) 40%);
    box-shadow: 0 0 0 4px rgba(245,158,11,.08), 0 18px 44px -18px rgba(245,158,11,.5);
}
.pm-plan-tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1a1205; font-size: 11px; font-weight: 900;
    padding: 5px 16px; border-radius: 999px;
    white-space: nowrap; box-shadow: 0 4px 14px rgba(245,158,11,.5);
}
.pm-plan-name { font-size: 14px; font-weight: 800; color: var(--text-secondary); margin-bottom: 10px; }
.pm-plan-price { font-size: 30px; font-weight: 900; color: var(--text-primary); line-height: 1.2; }
.pm-plan-price small { font-size: 12.5px; color: var(--text-tertiary); font-weight: 600; }
.pm-plan-per { font-size: 12px; color: var(--text-tertiary); margin: 6px 0 4px; }
.pm-plan-save {
    display: inline-block; margin: 4px auto 12px;
    font-size: 11px; font-weight: 800; color: #16a34a;
    background: rgba(22,163,74,.1); border-radius: 999px; padding: 3px 12px;
}
.pm-plan-features { list-style: none; margin: 6px 0 20px; padding: 0; text-align: right; flex: 1; }
.pm-plan-features li {
    font-size: 12.5px; color: var(--text-secondary);
    padding: 6px 0; display: flex; align-items: center; gap: 8px;
}
.pm-plan-features li svg { color: #4ade80; flex-shrink: 0; }
.pm-plan .pm-btn-gold, .pm-plan .btn { width: 100%; justify-content: center; border-radius: 9px; }
.pm-balance-note { text-align: center; font-size: 12.5px; color: var(--text-tertiary); margin-bottom: 36px; }
.pm-balance-note a { color: var(--color-primary-500); font-weight: 700; text-decoration: none; }

/* ---------- مقایسه ساده ---------- */
.pm-compare { margin-bottom: 34px; }
.pm-compare-table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; overflow: hidden; }
.pm-compare-table th, .pm-compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); text-align: center; }
.pm-compare-table tr:last-child td { border-bottom: none; }
.pm-compare-table th { background: rgba(245,158,11,.07); color: var(--text-primary); font-weight: 800; font-size: 12.5px; }
.pm-compare-table td:first-child, .pm-compare-table th:first-child { text-align: right; color: var(--text-secondary); font-weight: 600; }
.pm-yes { color: #4ade80; font-weight: 900; }
.pm-no { color: var(--text-tertiary); font-weight: 700; }

/* ---------- سوابق خرید ---------- */
.pm-history { margin-bottom: 36px; }
.pm-history table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; overflow: hidden; }
.pm-history th, .pm-history td { padding: 11px 16px; border-bottom: 1px solid var(--border-subtle); text-align: right; }
.pm-history th { color: var(--text-tertiary); font-weight: 700; font-size: 12px; background: rgba(99,102,241,.05); }
.pm-history tr:last-child td { border-bottom: none; }

/* ---------- راهنما / مراحل ---------- */
.pm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 34px; }
.pm-step {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 12px; padding: 18px;
}
.pm-step-num {
    width: 34px; height: 34px; flex-shrink: 0;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff; font-weight: 900; font-size: 14px;
}
.pm-step b { display: block; font-size: 13.5px; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.pm-step span { font-size: 12px; line-height: 1.9; color: var(--text-secondary); }

/* ---------- سوالات متداول ---------- */
.pm-faq { margin-bottom: 36px; }
.pm-faq-item {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 12px; margin-bottom: 10px; overflow: hidden;
}
.pm-faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: none; border: none; cursor: pointer;
    padding: 15px 18px; font-size: 13.5px; font-weight: 800;
    color: var(--text-primary); text-align: right; font-family: inherit;
}
.pm-faq-q .pm-chev { transition: transform 180ms ease; color: #f59e0b; flex-shrink: 0; }
.pm-faq-item.open .pm-chev { transform: rotate(180deg); }
.pm-faq-a { display: none; padding: 0 18px 16px; font-size: 12.5px; line-height: 2; color: var(--text-secondary); }
.pm-faq-item.open .pm-faq-a { display: block; }

/* ---------- اسناد رسمی ---------- */
.pm-legal { max-width: 860px; margin: 0 auto; }
.pm-legal-head {
    background: linear-gradient(135deg, #1e1b4b, #312e81 60%, #4f46e5);
    color: #fff; border-radius: 14px;
    padding: 30px 28px; margin-bottom: 22px;
    position: relative; overflow: hidden;
}
.pm-legal-head::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(300px 160px at 85% 0%, rgba(251,191,36,.25), transparent 65%);
    pointer-events: none;
}
.pm-legal-head h1 { font-size: 21px; font-weight: 900; margin: 0 0 10px; position: relative; }
.pm-legal-head p { font-size: 13px; line-height: 2; color: rgba(255,255,255,.85); margin: 0; position: relative; }
.pm-legal-chip {
    display: inline-block; background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px; font-size: 11px; font-weight: 700;
    padding: 5px 14px; margin-bottom: 12px; position: relative;
}
.pm-legal-section {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 11px; padding: 22px 24px; margin-bottom: 16px;
}
.pm-legal-section h2 { font-size: 15px; font-weight: 800; margin: 0 0 12px; color: var(--text-primary); }
.pm-legal-section p { font-size: 13px; line-height: 2.1; color: var(--text-secondary); margin: 0 0 10px; }
.pm-legal-section p:last-child { margin-bottom: 0; }
.pm-legal-section ul { margin: 0 0 10px; padding-right: 20px; }
.pm-legal-section li { font-size: 13px; line-height: 2.1; color: var(--text-secondary); }
.pm-legal-section strong { color: var(--text-primary); }

/* ---------- هشدار / باکس ---------- */
.pm-note {
    display: flex; gap: 12px; align-items: flex-start;
    background: rgba(245,158,11,.08);
    border: 1px solid rgba(245,158,11,.3);
    border-radius: 12px; padding: 14px 16px;
    font-size: 12.5px; line-height: 1.95; color: var(--text-primary);
    margin: 0 0 24px;
}
.pm-note svg { flex-shrink: 0; color: #f59e0b; }

/* ---------- ریسپانسیو ---------- */
@media (max-width: 1100px) {
    .pm-stats { grid-template-columns: repeat(2, 1fr); }
    .pm-feature-grid, .pm-plans, .pm-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .pm-hero { padding: 34px 20px 30px; }
    .pm-feature-grid, .pm-plans, .pm-steps, .pm-stats { grid-template-columns: 1fr; }
    .pm-status-card { flex-direction: column; text-align: center; }
    .pm-compare-table { font-size: 12px; }
    .pm-compare-table th, .pm-compare-table td { padding: 9px 8px; }
}
