﻿/* =================================================================
   landing.css — صفحه‌ی اصلی (Default.aspx)
   رنگ‌ها هم‌خانواده‌ی styles.css (--primary #3b82f6 / --secondary #1d4ed8)
   ================================================================= */
:root {
    --lp-primary: #2563eb;
    --lp-primary-600: #1d4ed8;
    --lp-primary-400: #3b82f6;
    --lp-green: #10b981;
    --lp-amber: #f59e0b;
    --lp-rose: #f43f5e;
    --lp-ink: #0f172a;
    --lp-text: #334155;
    --lp-muted: #64748b;
    --lp-line: #e2e8f0;
    --lp-bg: #ffffff;
    --lp-bg-alt: #f6f7fb;
    --lp-radius: 18px;
    --lp-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .04);
    --lp-shadow: 0 14px 34px -14px rgba(30, 27, 75, .22);
    --lp-shadow-lg: 0 34px 70px -24px rgba(30, 27, 75, .38);
    --lp-gradient: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 55%, #1d4ed8 100%);
    --lp-font: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --lp-header-h: 72px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--lp-header-h) + 12px); }

body {
    font-family: var(--lp-font);
    color: var(--lp-text);
    background: var(--lp-bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: inherit; }
.lp-header a, .lp-footer a, .lp-btn, .lp-live { text-decoration: none; }
[dir="ltr"] .lp-flip { transform: scaleX(-1); }

.lp-container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.lp-container--narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px; border-radius: 12px; border: 1.5px solid transparent;
    font-family: inherit; font-weight: 600; font-size: .95rem; line-height: 1.5;
    cursor: pointer; white-space: nowrap;
    transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:focus-visible { outline: 3px solid rgba(59, 130, 246, .35); outline-offset: 2px; }
.lp-btn--sm { padding: 7px 14px; font-size: .875rem; border-radius: 10px; }
.lp-btn--lg { padding: 13px 26px; font-size: 1rem; border-radius: 14px; }
.lp-btn--primary { background: var(--lp-gradient); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .6); }
.lp-btn--primary:hover { color: #fff; box-shadow: 0 12px 26px -8px rgba(37, 99, 235, .7); }
.lp-btn--outline { background: #fff; color: var(--lp-primary); border-color: rgba(59, 130, 246, .35); }
.lp-btn--outline:hover { color: var(--lp-primary-600); border-color: var(--lp-primary); background: #fafaff; }
.lp-btn--ghost { background: transparent; color: var(--lp-text); }
.lp-btn--ghost:hover { background: rgba(15, 23, 42, .05); color: var(--lp-ink); }
.lp-btn--soft { background: rgba(59, 130, 246, .1); color: var(--lp-primary); }
.lp-btn--soft:hover { background: rgba(59, 130, 246, .17); color: var(--lp-primary-600); }
.lp-btn--white { background: #fff; color: var(--lp-primary); }
.lp-btn--white:hover { color: var(--lp-primary-600); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .45); }
.lp-btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); }
.lp-btn--glass:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.lp-btn--disabled { background: var(--lp-bg-alt); color: var(--lp-muted); cursor: default; }
.lp-btn--disabled:hover { transform: none; }
.lp-btn.is-loading, .lp-btn:disabled { opacity: .65; pointer-events: none; }

/* ---------- Header ---------- */
.lp-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 1000;
    transition: background-color .25s, box-shadow .25s, border-color .25s;
    border-bottom: 1px solid transparent;
}
.lp-header.is-scrolled, .lp-menu-open .lp-header {
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom-color: rgba(226, 232, 240, .9);
    box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .35);
}
.lp-header__inner { height: var(--lp-header-h); display: flex; align-items: center; gap: 24px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--lp-ink); flex-shrink: 0; }
.lp-brand__logo { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.lp-brand__full { height: 42px; width: auto; max-width: 210px; object-fit: contain; }
.lp-footer .lp-brand__full { height: 46px; max-width: 230px; }
.lp-brand__text { font-weight: 800; font-size: 1.05rem; }
.lp-brand:hover { color: var(--lp-ink); }
.lp-brand--light .lp-brand__text { color: #fff; }

.lp-nav { display: flex; gap: 4px; margin-inline: auto; }
.lp-nav__link { padding: 8px 14px; border-radius: 10px; color: var(--lp-text); font-weight: 500; font-size: .95rem; transition: background-color .2s, color .2s; }
.lp-nav__link:hover { background: rgba(59, 130, 246, .08); color: var(--lp-primary); }

.lp-header__actions { display: flex; align-items: center; gap: 8px; }
.lp-menu-toggle {
    display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--lp-line);
    background: #fff; color: var(--lp-ink); place-items: center; font-size: 1.05rem; cursor: pointer;
}

/* ---------- Hero ---------- */
.lp-hero {
    position: relative; overflow: hidden;
    padding: calc(var(--lp-header-h) + 64px) 0 128px;
    background:
        radial-gradient(1100px 560px at 90% -10%, rgba(29, 78, 216, .14), transparent 60%),
        radial-gradient(900px 520px at 0% 25%, rgba(59, 130, 246, .12), transparent 60%),
        linear-gradient(180deg, #f7f8ff 0%, #ffffff 100%);
}
.lp-blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .5; }
.lp-blob--1 { width: 420px; height: 420px; background: #bfdbfe; top: -140px; inset-inline-start: -90px; animation: lp-float 14s ease-in-out infinite; }
.lp-blob--2 { width: 360px; height: 360px; background: #bae6fd; bottom: -110px; inset-inline-end: 12%; animation: lp-float 18s ease-in-out infinite reverse; }
.lp-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(37, 99, 235, .13) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.lp-hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lp-hero__content > * { animation: lp-rise .7s ease both; }
.lp-hero__content > :nth-child(2) { animation-delay: .06s; }
.lp-hero__content > :nth-child(3) { animation-delay: .12s; }
.lp-hero__content > :nth-child(4) { animation-delay: .18s; }
.lp-hero__content > :nth-child(n+5) { animation-delay: .24s; }

.lp-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .85); border: 1px solid rgba(59, 130, 246, .22);
    color: var(--lp-primary); font-size: .85rem; font-weight: 600; box-shadow: var(--lp-shadow-sm);
}
.lp-hero__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); font-weight: 800; line-height: 1.4; color: var(--lp-ink); margin: 20px 0 16px; }
.lp-gradient-text { display: block; background: var(--lp-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero__subtitle { font-size: 1.1rem; color: var(--lp-muted); max-width: 540px; margin-bottom: 28px; line-height: 2; }
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.lp-live {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px;
    border-radius: 999px; background: rgba(16, 185, 129, .1); color: #047857; font-weight: 600; font-size: .9rem;
}
.lp-live:hover { color: #065f46; }
.lp-live.is-idle { background: rgba(245, 158, 11, .12); color: #b45309; }
.lp-live.is-idle .lp-pulse { background: var(--lp-amber); }

.lp-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-green); flex-shrink: 0; }
.lp-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: inherit; opacity: .45; animation: lp-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }

.lp-hero__points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; }
.lp-hero__points i { color: var(--lp-green); margin-inline-end: 6px; }

/* نمونه‌ی صفحه‌ی آزمون */
.lp-hero__visual { position: relative; padding: 28px 20px; }
.lp-mock {
    position: relative; background: #fff; border-radius: 22px; padding: 22px;
    border: 1px solid rgba(226, 232, 240, .9); box-shadow: var(--lp-shadow-lg);
    transform: rotate(-2deg); animation: lp-rise .9s .15s ease both;
}
[dir="ltr"] .lp-mock { transform: rotate(2deg); }
.lp-mock__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lp-mock__dots { display: flex; gap: 5px; }
.lp-mock__dots i { width: 9px; height: 9px; border-radius: 50%; background: #fca5a5; }
.lp-mock__dots i:nth-child(2) { background: #fcd34d; }
.lp-mock__dots i:nth-child(3) { background: #86efac; }
.lp-mock__label { font-size: .82rem; color: var(--lp-muted); font-weight: 600; }
.lp-mock__timer {
    margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px;
    background: rgba(59, 130, 246, .1); color: var(--lp-primary); padding: 3px 10px;
    border-radius: 999px; font-size: .82rem; font-weight: 700;
}
.lp-mock__progress { height: 6px; background: #eff6ff; border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.lp-mock__progress span { display: block; width: 20%; height: 100%; background: var(--lp-gradient); border-radius: inherit; }
.lp-mock__question { font-weight: 700; color: var(--lp-ink); font-size: 1rem; margin-bottom: 14px; line-height: 1.9; }
.lp-mock__options { list-style: none; counter-reset: opt; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.lp-mock__options li {
    counter-increment: opt; display: flex; align-items: center; gap: 10px; padding: 9px 12px;
    border: 1.5px solid var(--lp-line); border-radius: 12px; font-size: .88rem;
}
.lp-mock__options li::before {
    content: counter(opt); width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
    display: inline-grid; place-items: center; background: var(--lp-bg-alt); color: var(--lp-muted);
    font-weight: 700; font-size: .8rem;
}
[dir="rtl"] .lp-mock__options li::before { content: counter(opt, persian); }
.lp-mock__options li.is-selected { border-color: var(--lp-primary-400); background: rgba(59, 130, 246, .06); color: var(--lp-ink); font-weight: 600; }
.lp-mock__options li.is-selected::before { background: var(--lp-gradient); color: #fff; }
.lp-mock__options li i { margin-inline-start: auto; color: var(--lp-primary); }
.lp-mock__foot { display: flex; justify-content: space-between; }
.lp-mock__btn { padding: 6px 16px; border-radius: 10px; background: var(--lp-bg-alt); color: var(--lp-muted); font-size: .85rem; font-weight: 600; }
.lp-mock__btn--primary { background: var(--lp-gradient); color: #fff; }

.lp-float {
    position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    background: #fff; border: 1px solid rgba(226, 232, 240, .9); border-radius: 14px;
    box-shadow: var(--lp-shadow); font-size: .85rem; animation: lp-float 6s ease-in-out infinite;
}
.lp-float--result { bottom: -18px; inset-inline-end: -4px; }
.lp-float--secure { top: 4px; inset-inline-start: 0; color: #047857; font-weight: 600; animation-delay: -3s; }
.lp-float--secure i { color: var(--lp-green); }
.lp-float__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(245, 158, 11, .14); color: var(--lp-amber); }
.lp-float b { display: block; color: var(--lp-ink); font-size: .88rem; line-height: 1.5; }
.lp-float small { color: var(--lp-muted); font-size: .78rem; }

/* ---------- Stats ---------- */
.lp-stats-wrap { position: relative; z-index: 2; margin-top: -68px; }
.lp-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border: 1px solid var(--lp-line); border-radius: 20px; box-shadow: var(--lp-shadow);
}
.lp-stat { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.lp-stat + .lp-stat { border-inline-start: 1px solid var(--lp-line); }
.lp-stat__icon { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.2rem; background: rgba(59, 130, 246, .1); color: var(--lp-primary); }
.lp-stat__icon--deep { background: rgba(29, 78, 216, .12); color: #1d4ed8; }
.lp-stat__icon--green { background: rgba(16, 185, 129, .12); color: #059669; }
.lp-stat__icon--amber { background: rgba(245, 158, 11, .14); color: #d97706; }
.lp-stat__value { display: block; font-size: 1.6rem; font-weight: 800; color: var(--lp-ink); line-height: 1.3; }
.lp-stat__label { font-size: .88rem; color: var(--lp-muted); }

/* ---------- Sections ---------- */
.lp-section { padding: 96px 0; }
.lp-section--alt { background: var(--lp-bg-alt); }
.lp-section--tight { padding: 48px 0; }
.lp-section__head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.lp-eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--lp-primary); background: rgba(59, 130, 246, .1); padding: 3px 14px; border-radius: 999px; margin-bottom: 14px; }
.lp-eyebrow--light { color: #fff; background: rgba(255, 255, 255, .16); }
.lp-section__title { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); font-weight: 800; color: var(--lp-ink); line-height: 1.5; margin-bottom: 12px; }
.lp-section__subtitle { color: var(--lp-muted); font-size: 1.02rem; margin: 0; }

/* ---------- Exams toolbar ---------- */
.lp-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.lp-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--lp-bg-alt); border: 1px solid var(--lp-line); border-radius: 14px; }
.lp-tab {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 0; border-radius: 10px;
    background: transparent; color: var(--lp-muted); font-family: inherit; font-weight: 600; font-size: .9rem;
    cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s;
}
.lp-tab:hover { color: var(--lp-ink); }
.lp-tab.is-active { background: #fff; color: var(--lp-primary); box-shadow: var(--lp-shadow-sm); }
.lp-dot { width: 7px; height: 7px; border-radius: 50%; }
.lp-dot--green { background: var(--lp-green); }
.lp-dot--amber { background: var(--lp-amber); }

.lp-toolbar__filters { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-field { position: relative; display: flex; align-items: center; margin: 0; }
.lp-field > i { position: absolute; inset-inline-start: 14px; color: var(--lp-muted); font-size: .9rem; pointer-events: none; }
.lp-field input, .lp-field select {
    height: 44px; min-width: 240px; padding-inline: 40px 14px;
    border: 1.5px solid var(--lp-line); border-radius: 12px; background-color: #fff;
    font-family: inherit; font-size: .92rem; color: var(--lp-ink);
    transition: border-color .2s, box-shadow .2s;
}
.lp-field select {
    min-width: 210px; padding-inline-end: 36px; cursor: pointer;
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: left 14px center;
}
[dir="ltr"] .lp-field select { background-position: right 14px center; }
.lp-field input:focus, .lp-field select:focus { outline: none; border-color: var(--lp-primary-400); box-shadow: 0 0 0 4px rgba(59, 130, 246, .12); }
.lp-result-count { min-height: 1.6em; margin-bottom: 12px; color: var(--lp-muted); font-size: .88rem; }

/* ---------- Exam cards ---------- */
.lp-exam-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-exam-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
    padding: 22px 20px 20px; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-sm); animation: lp-rise .5s ease both;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.lp-exam-card::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 4px; background: var(--lp-line); }
.lp-exam-card--active::before { background: linear-gradient(90deg, #10b981, #34d399); }
.lp-exam-card--upcoming::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.lp-exam-card:not(.lp-skeleton):hover { transform: translateY(-4px); box-shadow: var(--lp-shadow); border-color: rgba(59, 130, 246, .3); }
.lp-exam-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-status { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.lp-status--active { background: rgba(16, 185, 129, .12); color: #047857; }
.lp-status--upcoming { background: rgba(245, 158, 11, .14); color: #b45309; }
.lp-status--ended { background: #f1f5f9; color: var(--lp-muted); }
.lp-fee { font-weight: 800; color: var(--lp-ink); font-size: 1rem; }
.lp-fee small { font-weight: 500; color: var(--lp-muted); font-size: .78rem; }
.lp-fee--free { color: #047857; background: rgba(16, 185, 129, .1); padding: 2px 10px; border-radius: 8px; font-size: .85rem; }
.lp-exam-card__title { margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--lp-ink); line-height: 1.7; }
.lp-exam-card__path, .lp-exam-card__lessons { display: flex; align-items: baseline; gap: 8px; font-size: .85rem; color: var(--lp-muted); }
.lp-exam-card__path > i, .lp-exam-card__lessons > i { color: var(--lp-primary-400); }
.lp-exam-card__path span i { margin: 0 6px; font-size: .7rem; color: #cbd5e1; }
.lp-exam-card__lessons span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-exam-card__desc { margin: 0; font-size: .88rem; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-exam-card__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-exam-card__meta li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 9px; background: var(--lp-bg-alt); font-size: .8rem; font-weight: 500; }
.lp-exam-card__meta i { color: var(--lp-primary-400); font-size: .78rem; }
.lp-exam-card__schedule { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--lp-line); display: grid; gap: 2px; font-size: .84rem; }
.lp-exam-card__schedule i { width: 18px; margin-inline-end: 6px; color: var(--lp-muted); }
.lp-exam-card__timeline { margin-top: 4px; font-size: .82rem; font-weight: 700; color: var(--lp-muted); }
.lp-exam-card--active .lp-exam-card__timeline { color: #047857; }
.lp-exam-card--upcoming .lp-exam-card__timeline { color: #b45309; }
.lp-exam-card__actions { display: flex; align-items: center; gap: 8px; }
.lp-exam-card__actions > :last-child { flex: 1; }

.lp-skeleton { min-height: 340px; animation: none; }
.lp-skeleton span {
    display: block; height: 14px; border-radius: 8px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%); background-size: 400% 100%;
    animation: lp-shimmer 1.4s ease infinite;
}
.lp-skeleton span:nth-child(1) { width: 35%; height: 22px; }
.lp-skeleton span:nth-child(2) { width: 85%; height: 20px; }
.lp-skeleton span:nth-child(3) { width: 60%; }
.lp-skeleton span:nth-child(4) { height: 44px; }
.lp-skeleton span:nth-child(5) { height: 38px; margin-top: auto; }

.lp-state { grid-column: 1 / -1; text-align: center; padding: 56px 20px; background: #fff; border: 1.5px dashed var(--lp-line); border-radius: var(--lp-radius); }
.lp-state__icon { width: 64px; height: 64px; border-radius: 20px; display: inline-grid; place-items: center; margin-bottom: 14px; font-size: 1.5rem; background: rgba(59, 130, 246, .1); color: var(--lp-primary); }
.lp-state--error .lp-state__icon { background: rgba(244, 63, 94, .1); color: var(--lp-rose); }
.lp-state h3 { font-size: 1.1rem; font-weight: 800; color: var(--lp-ink); margin-bottom: 6px; }
.lp-state p { color: var(--lp-muted); font-size: .92rem; margin-bottom: 16px; }
.lp-load-more { text-align: center; margin-top: 32px; }

/* ---------- Steps ---------- */
.lp-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-step { counter-increment: step; position: relative; padding: 28px 22px 24px; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); }
.lp-step::before { content: counter(step); position: absolute; top: 14px; inset-inline-end: 20px; font-size: 2.6rem; font-weight: 900; line-height: 1.2; color: rgba(59, 130, 246, .12); }
[dir="rtl"] .lp-step::before { content: counter(step, persian); }
.lp-step:not(:last-child)::after { content: ''; position: absolute; top: 54px; inset-inline-end: -20px; width: 20px; border-top: 2px dashed #bfdbfe; }
.lp-step__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: var(--lp-gradient); color: #fff; font-size: 1.2rem; box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .7); }
.lp-step h3, .lp-feature h3 { font-size: 1.05rem; font-weight: 800; color: var(--lp-ink); margin-bottom: 8px; }
.lp-step p, .lp-feature p { margin: 0; font-size: .9rem; color: var(--lp-muted); line-height: 1.9; }

/* ---------- Features ---------- */
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-feature { padding: 26px; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); transition: transform .25s, box-shadow .25s; }
.lp-feature:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow); }
.lp-feature__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; font-size: 1.2rem; background: rgba(59, 130, 246, .1); color: var(--lp-primary); }
.lp-feature__icon--rose { background: rgba(244, 63, 94, .1); color: #e11d48; }
.lp-feature__icon--cyan { background: rgba(6, 182, 212, .12); color: #0891b2; }
.lp-feature__icon--amber { background: rgba(245, 158, 11, .14); color: #d97706; }
.lp-feature__icon--green { background: rgba(16, 185, 129, .12); color: #059669; }
.lp-feature__icon--deep { background: rgba(29, 78, 216, .12); color: #1d4ed8; }

/* ---------- Organizations band ---------- */
.lp-org {
    position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
    padding: 56px; border-radius: 28px; color: #dbeafe;
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 55%, #0369a1 100%);
}
.lp-org::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .07); top: -150px; inset-inline-end: -110px; }
.lp-org__content, .lp-org__visual { position: relative; z-index: 1; }
.lp-org h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; line-height: 1.5; margin-bottom: 12px; }
.lp-org p { color: #bfdbfe; margin-bottom: 20px; }
.lp-org__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.lp-org__list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #eff6ff; }
.lp-org__list i { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .16); font-size: .62rem; color: #fff; }
.lp-chart { padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.lp-chart__head { display: flex; justify-content: space-between; margin-bottom: 18px; }
.lp-chart__head span { height: 10px; width: 40%; border-radius: 6px; background: rgba(255, 255, 255, .3); }
.lp-chart__head span:last-child { width: 18%; background: rgba(255, 255, 255, .18); }
.lp-chart__bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-bottom: 16px; }
.lp-chart__bars i { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; transform-origin: bottom; background: linear-gradient(180deg, #93c5fd, rgba(147, 197, 253, .3)); }
.lp-chart__bars i:nth-child(4), .lp-chart__bars i:nth-child(6) { background: linear-gradient(180deg, #fde68a, rgba(253, 230, 138, .3)); }
.lp-js .lp-org .lp-chart__bars i { transform: scaleY(0); }
.lp-js .lp-org.is-visible .lp-chart__bars i { animation: lp-grow 1s ease forwards; }
.lp-org.is-visible .lp-chart__bars i:nth-child(2) { animation-delay: .06s; }
.lp-org.is-visible .lp-chart__bars i:nth-child(3) { animation-delay: .12s; }
.lp-org.is-visible .lp-chart__bars i:nth-child(4) { animation-delay: .18s; }
.lp-org.is-visible .lp-chart__bars i:nth-child(5) { animation-delay: .24s; }
.lp-org.is-visible .lp-chart__bars i:nth-child(6) { animation-delay: .3s; }
.lp-org.is-visible .lp-chart__bars i:nth-child(7) { animation-delay: .36s; }
.lp-chart__rows span { display: block; height: 9px; margin-top: 9px; border-radius: 6px; background: rgba(255, 255, 255, .18); }
.lp-chart__rows span:nth-child(1) { width: 90%; }
.lp-chart__rows span:nth-child(2) { width: 68%; }
.lp-chart__rows span:nth-child(3) { width: 80%; }

/* ---------- FAQ ---------- */
.lp-faq { display: grid; gap: 12px; }
.lp-faq__item { padding: 0 22px; background: #fff; border: 1px solid var(--lp-line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.lp-faq__item[open] { border-color: rgba(59, 130, 246, .35); box-shadow: var(--lp-shadow-sm); }
.lp-faq__item summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 0; font-weight: 700; font-size: 1rem; color: var(--lp-ink);
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary i { width: 30px; height: 30px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: var(--lp-bg-alt); color: var(--lp-primary); font-size: .8rem; transition: transform .25s, background-color .25s; }
.lp-faq__item[open] summary i { transform: rotate(45deg); background: rgba(59, 130, 246, .12); }
.lp-faq__item p { margin: 0; padding: 0 0 20px; color: var(--lp-muted); font-size: .94rem; line-height: 2; }

/* ---------- CTA ---------- */
.lp-cta { position: relative; overflow: hidden; text-align: center; padding: 64px 24px; border-radius: 28px; color: #fff; background: var(--lp-gradient); }
.lp-cta::before, .lp-cta::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.lp-cta::before { width: 280px; height: 280px; top: -120px; inset-inline-start: -80px; }
.lp-cta::after { width: 200px; height: 200px; bottom: -90px; inset-inline-end: 8%; }
.lp-cta > * { position: relative; z-index: 1; }
.lp-cta h2 { color: #fff; font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem); margin-bottom: 10px; }
.lp-cta p { color: rgba(255, 255, 255, .88); margin-bottom: 26px; }
.lp-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.lp-footer { background: #0b1120; color: #94a3b8; padding-top: 64px; }
.lp-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.lp-footer__about p { margin: 16px 0 0; max-width: 380px; font-size: .92rem; line-height: 2; }
.lp-footer h4 { color: #fff; font-size: .98rem; font-weight: 700; margin-bottom: 16px; }
.lp-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-footer a { color: #94a3b8; font-size: .92rem; transition: color .2s; }
.lp-footer a:hover { color: #fff; }
.lp-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(148, 163, 184, .15); font-size: .85rem; }
.lp-back-top i { margin-inline-end: 6px; }

/* ---------- SweetAlert (مودال جزئیات) ---------- */
.swal2-popup.lp-swal { border-radius: 22px; padding: 26px 22px 22px; font-family: var(--lp-font); }
.lp-swal .swal2-title { font-size: 1.2rem; font-weight: 800; color: var(--lp-ink); line-height: 1.7; }
.lp-swal .swal2-actions { gap: 8px; }
.lp-modal { text-align: start; }
.lp-modal__desc { margin-bottom: 16px; color: var(--lp-text); font-size: .94rem; line-height: 2; }
.lp-modal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lp-modal__row { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--lp-bg-alt); }
.lp-modal__row span { font-size: .78rem; color: var(--lp-muted); }
.lp-modal__row b { font-size: .9rem; font-weight: 700; color: var(--lp-ink); }
.lp-modal__note { margin-top: 14px; font-size: .9rem; font-weight: 700; color: var(--lp-muted); }
.lp-modal__note--active { color: #047857; }
.lp-modal__note--upcoming { color: #b45309; }

/* ---------- Reveal ---------- */
.lp-js .lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.lp-js .lp-reveal.is-visible { opacity: 1; transform: none; }
.lp-steps .lp-reveal:nth-child(2), .lp-features .lp-reveal:nth-child(2), .lp-faq .lp-reveal:nth-child(2) { transition-delay: .08s; }
.lp-steps .lp-reveal:nth-child(3), .lp-features .lp-reveal:nth-child(3), .lp-faq .lp-reveal:nth-child(3) { transition-delay: .16s; }
.lp-steps .lp-reveal:nth-child(4), .lp-features .lp-reveal:nth-child(4) { transition-delay: .24s; }
.lp-features .lp-reveal:nth-child(5) { transition-delay: .32s; }
.lp-features .lp-reveal:nth-child(6) { transition-delay: .4s; }

@keyframes lp-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes lp-ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
@keyframes lp-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@keyframes lp-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* چرخشِ کارتِ نمونه نباید با انیمیشن ورود از بین برود */
.lp-mock { animation-name: lp-rise-tilt; }
@keyframes lp-rise-tilt { from { opacity: 0; transform: translateY(20px) rotate(-2deg); } to { opacity: 1; transform: rotate(-2deg); } }
[dir="ltr"] .lp-mock { animation-name: lp-rise-tilt-ltr; }
@keyframes lp-rise-tilt-ltr { from { opacity: 0; transform: translateY(20px) rotate(2deg); } to { opacity: 1; transform: rotate(2deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .lp-exam-grid, .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-steps { grid-template-columns: repeat(2, 1fr); }
    .lp-step::after { display: none; }
}

@media (max-width: 992px) {
    .lp-menu-toggle { display: inline-grid; }
    .lp-header__actions { margin-inline-start: auto; }
    .lp-nav {
        position: fixed; top: calc(var(--lp-header-h) - 2px); inset-inline: 12px; margin: 0;
        flex-direction: column; padding: 8px; background: #fff; border: 1px solid var(--lp-line);
        border-radius: 16px; box-shadow: var(--lp-shadow);
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
    }
    .lp-menu-open .lp-nav { opacity: 1; visibility: visible; transform: none; }
    .lp-nav__link { padding: 12px 14px; }

    .lp-hero { padding-bottom: 108px; }
    .lp-hero__inner { grid-template-columns: 1fr; gap: 36px; }
    .lp-hero__content { text-align: center; }
    .lp-hero__subtitle { margin-inline: auto; }
    .lp-hero__cta, .lp-hero__points { justify-content: center; }
    .lp-hero__visual { width: 100%; max-width: 460px; margin-inline: auto; }

    .lp-stats { grid-template-columns: repeat(2, 1fr); }
    .lp-stat:nth-child(3) { border-inline-start: 0; }
    .lp-stat:nth-child(n+3) { border-top: 1px solid var(--lp-line); }

    .lp-toolbar { flex-direction: column; align-items: stretch; }
    .lp-tabs { align-self: center; }
    .lp-field { flex: 1; }
    .lp-field input, .lp-field select { width: 100%; min-width: 0; }

    .lp-org { grid-template-columns: 1fr; padding: 40px 28px; }
    .lp-org__visual { display: none; }
    .lp-footer__grid { grid-template-columns: 1fr 1fr; }
    .lp-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    :root { --lp-header-h: 64px; }
    .lp-section { padding: 64px 0; }
    .lp-section--tight { padding: 32px 0; }
    .lp-hide-xs { display: none; }
    .lp-brand__full { height: 34px; max-width: 168px; }
    .lp-exam-grid, .lp-features, .lp-steps { grid-template-columns: 1fr; }
    .lp-stat { padding: 16px 14px; gap: 10px; }
    .lp-stat__icon { width: 40px; height: 40px; font-size: 1rem; border-radius: 12px; }
    .lp-stat__value { font-size: 1.3rem; }
    .lp-stat__label { font-size: .8rem; }
    .lp-tabs { align-self: stretch; }
    .lp-tab { flex: 1; justify-content: center; padding: 8px 10px; }
    .lp-toolbar__filters { flex-direction: column; }
    .lp-float--secure { display: none; }
    .lp-org__list { grid-template-columns: 1fr; }
    .lp-org, .lp-cta { border-radius: 22px; }
    .lp-modal__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
    .lp-brand__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .lp-js .lp-reveal { opacity: 1; transform: none; }
}
