/* ==========================================================================
   تم «پیود استاندارد» — استایل لندینگ‌پیج (نسخه ۱.۰.۰)
   ریسپانسیو کامل | راست‌به‌چپ | برند پیود (بنفش/نیلی)
   ========================================================================== */

.lp {
    --lp-primary: #4f46e5;
    --lp-primary-dark: #3730a3;
    --lp-primary-soft: #eef2ff;
    --lp-accent: #f59e0b;
    --lp-success: #16a34a;
    --lp-danger: #dc2626;
    --lp-text: #111827;
    --lp-muted: #6b7280;
    --lp-border: #e5e7eb;
    --lp-bg: #f8fafc;
    --lp-radius: 20px;
    --lp-shadow: 0 18px 40px rgba(15, 23, 42, .08);

    font-family: "Peyda", "YekanBakh", Tahoma, sans-serif;
    color: var(--lp-text);
    background: var(--lp-bg);
    direction: rtl;
    text-align: right;
    line-height: 1.9;
    overflow-x: hidden;
}

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

/* پنهان‌سازی مطمئن عناصر با hidden (تایمر، فرم و پیام تشکر با JS کنترل می‌شوند) */
.lp [hidden] {
    display: none !important;
}

.lp img {
    max-width: 100%;
    height: auto;
    display: block;
}

.lp h1,
.lp h2,
.lp h3 {
    margin: 0 0 .6rem;
    line-height: 1.6;
    font-weight: 800;
}

.lp p {
    margin: 0 0 1rem;
}

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

/* ------------------------------- هدر ------------------------------- */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem clamp(1rem, 4vw, 3rem);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--lp-border);
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.lp-brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.lp-brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.lp-brand b {
    font-size: 1.05rem;
}

.lp-brand small {
    font-size: .72rem;
    color: var(--lp-muted);
}

.lp-header-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: .92rem;
    color: var(--lp-muted);
}

.lp-header-nav a:hover {
    color: var(--lp-primary);
}

.lp-header-cta {
    padding: .55rem 1.1rem;
    border-radius: 999px;
    background: var(--lp-primary);
    color: #fff !important;
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(79, 70, 229, .25);
}

/* ------------------------------- هیرو ------------------------------- */
.lp-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 5vw, 4rem);
    background:
        radial-gradient(1000px 500px at 90% -10%, rgba(79, 70, 229, .16), transparent 60%),
        radial-gradient(700px 400px at 5% 100%, rgba(245, 158, 11, .12), transparent 60%),
        #fff;
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: var(--lp-primary-soft);
    color: var(--lp-primary-dark);
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.lp-eyebrow-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--lp-success);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, .18);
}

.lp-title {
    font-size: clamp(1.6rem, 4.4vw, 2.6rem);
    letter-spacing: -.01em;
    overflow-wrap: anywhere;
}

.lp-slogan {
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    font-weight: 700;
    color: var(--lp-primary);
    overflow-wrap: anywhere;
}

.lp-subtitle {
    color: var(--lp-muted);
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.lp-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    display: grid;
    gap: .5rem;
}

.lp-bullets li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .95rem;
}

.lp-bullets .material-icons {
    font-size: 20px;
    color: var(--lp-success);
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-bottom: 1.4rem;
}

.lp-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lp-primary), #6366f1);
    color: #fff !important;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(79, 70, 229, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}

.lp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(79, 70, 229, .34);
}

.lp-cta--ghost {
    background: #fff;
    color: var(--lp-primary) !important;
    border: 1.5px solid var(--lp-primary);
    box-shadow: none;
}

.lp-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .82rem;
    color: var(--lp-muted);
}

.lp-trust span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.lp-trust .material-icons {
    font-size: 18px;
    color: var(--lp-primary);
}

.lp-hero-media {
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: var(--lp-shadow);
    background: #fff;
}

.lp-hero-media img {
    width: 100%;
    object-fit: cover;
}

.lp-hero-placeholder {
    display: grid;
    place-items: center;
    min-height: 320px;
    background: linear-gradient(135deg, var(--lp-primary-soft), #fff);
}

.lp-hero-placeholder .material-icons {
    font-size: 96px;
    color: var(--lp-primary);
}


/* ------------------------------ تایمر ------------------------------ */
.lp-countdown {
    margin: clamp(1rem, 4vw, 2rem) auto;
    max-width: 900px;
    padding: 1.2rem clamp(1rem, 4vw, 2rem);
    border-radius: var(--lp-radius);
    background: linear-gradient(135deg, #1e1b4b, #4338ca);
    color: #fff;
    text-align: center;
    box-shadow: var(--lp-shadow);
}

.lp-countdown-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: .9rem;
}

.lp-countdown-timer {
    display: flex;
    justify-content: center;
    gap: clamp(.5rem, 2vw, 1.2rem);
}

.lp-cd-unit {
    min-width: clamp(64px, 18vw, 92px);
    padding: .6rem .4rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lp-cd-unit b {
    font-size: clamp(1.3rem, 4.6vw, 1.9rem);
    font-weight: 800;
}

.lp-cd-unit small {
    font-size: .74rem;
    opacity: .85;
}

.lp-countdown-expired {
    margin: .6rem 0 0;
    font-weight: 700;
    color: #fde68a;
}

/* ------------------------------ فرم لید ------------------------------ */
.lp-form-section {
    padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1rem, 5vw, 4rem);
    scroll-margin-top: 90px;
}

.lp-form-card,
.lp-thankyou {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--lp-radius);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow);
    padding: clamp(1.2rem, 4vw, 2.4rem);
}

.lp-form-head {
    text-align: center;
    margin-bottom: 1.4rem;
}

.lp-form-head h2 {
    font-size: clamp(1.15rem, 3.4vw, 1.6rem);
}

.lp-form-head p {
    color: var(--lp-muted);
    font-size: .92rem;
    margin: 0;
}

.lp-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.lp-field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.lp-field--full {
    grid-column: 1 / -1;
}

.lp-field-label {
    font-size: .86rem;
    font-weight: 700;
    color: #374151;
}

.lp-req {
    color: var(--lp-danger);
}

.lp-field input,
.lp-field textarea {
    width: 100%;
    padding: .8rem .95rem;
    border-radius: 14px;
    border: 1.5px solid var(--lp-border);
    background: #fbfdff;
    font-family: inherit;
    font-size: .95rem;
    color: var(--lp-text);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.lp-field textarea {
    resize: vertical;
    min-height: 92px;
}

.lp-field input:focus,
.lp-field textarea:focus {
    outline: none;
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
}

.lp-field input.is-invalid,
.lp-field textarea.is-invalid {
    border-color: var(--lp-danger);
}

.lp-field-error {
    color: var(--lp-danger);
    font-size: .78rem;
}

.lp-honeypot {
    position: absolute;
    right: -9999px;
    opacity: 0;
    pointer-events: none;
}

.lp-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    margin-top: 1.3rem;
    padding: .95rem 1.4rem;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--lp-primary), #6366f1);
    color: #fff;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(79, 70, 229, .26);
    transition: transform .18s ease, opacity .18s ease;
}

.lp-submit:hover:not(:disabled) {
    transform: translateY(-2px);
}

.lp-submit:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.lp-form-msg {
    margin: .9rem 0 0;
    font-size: .88rem;
    text-align: center;
    min-height: 1.2rem;
}

.lp-form-msg.is-error {
    color: var(--lp-danger);
    font-weight: 700;
}

.lp-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin: 1rem 0 0;
    font-size: .76rem;
    color: var(--lp-muted);
}

.lp-privacy .material-icons {
    font-size: 15px;
}

/* ---------------------------- پیام تشکر ---------------------------- */
.lp-thankyou {
    text-align: center;
}

.lp-thankyou-icon .material-icons {
    font-size: 64px;
    color: var(--lp-success);
}

.lp-thankyou h2 {
    font-size: clamp(1.15rem, 3.4vw, 1.5rem);
}

.lp-thankyou p {
    color: var(--lp-muted);
}

.lp-thankyou .lp-cta {
    margin-top: .6rem;
}

.lp-thankyou-link {
    display: block;
    margin-top: 1rem;
    font-size: .85rem;
    color: var(--lp-primary);
    font-weight: 700;
}

/* ----------------------------- مزیت‌ها ----------------------------- */
.lp-features {
    padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1rem, 5vw, 4rem);
    background: #fff;
}

.lp-features h2 {
    text-align: center;
    margin-bottom: 1.6rem;
    font-size: clamp(1.2rem, 3.4vw, 1.7rem);
}

.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
    max-width: 1150px;
    margin: 0 auto;
}

.lp-feature {
    padding: 1.3rem;
    border-radius: 18px;
    background: var(--lp-bg);
    border: 1px solid var(--lp-border);
    transition: transform .2s ease, box-shadow .2s ease;
}

.lp-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow);
}

.lp-feature .material-icons {
    font-size: 34px;
    color: var(--lp-primary);
    margin-bottom: .5rem;
}

.lp-feature h3 {
    font-size: 1rem;
    margin-bottom: .35rem;
}

.lp-feature p {
    margin: 0;
    font-size: .88rem;
    color: var(--lp-muted);
}

/* ---------------------------- متن سئو ---------------------------- */
.lp-body-text {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(1.2rem, 4vw, 2.4rem) clamp(1rem, 5vw, 2rem);
    color: #374151;
    font-size: .95rem;
}

.lp-body-text h2,
.lp-body-text h3 {
    color: var(--lp-text);
}

/* ------------------------------ فوتر ------------------------------ */
.lp-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: clamp(1.6rem, 5vw, 3rem) clamp(1rem, 5vw, 4rem) 1.2rem;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.6rem;
    max-width: 1150px;
    margin: 0 auto;
}

.lp-footer-brand img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: .6rem;
}

.lp-footer-brand p {
    font-size: .85rem;
    color: #94a3b8;
}

.lp-footer-links {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    font-size: .88rem;
}

.lp-footer-links b {
    color: #fff;
    margin-bottom: .3rem;
}

.lp-footer-links a:hover {
    color: #fff;
}

.lp-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    max-width: 1150px;
    margin: 1.6rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, .25);
    font-size: .78rem;
    color: #94a3b8;
}

/* --------------------------- ریسپانسیو --------------------------- */
@media (max-width: 992px) {
    .lp-hero {
        grid-template-columns: 1fr;
    }

    .lp-hero-media {
        order: -1;
    }

    .lp-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .lp-header {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: .6rem 1rem;
    }

    .lp-header-nav {
        display: none;
    }

    .lp-hero {
        padding: 1.6rem 1rem 2rem;
    }

    .lp-fields {
        grid-template-columns: 1fr;
    }

    .lp-footer-grid {
        grid-template-columns: 1fr;
    }

    .lp-trust {
        gap: .6rem;
    }

    .lp-cd-unit {
        min-width: 62px;
        padding: .5rem .3rem;
    }
}

@media (max-width: 420px) {
    .lp-title {
        font-size: 1.45rem;
    }

    .lp-cta {
        width: 100%;
        justify-content: center;
    }

    .lp-hero-actions {
        flex-direction: column;
    }

    .lp-cd-unit {
        min-width: 54px;
    }

    .lp-cd-unit small {
        font-size: .66rem;
    }
}

