/*
|--------------------------------------------------------------------------
| EDP UX Polish - Simpler Iranian Customer Journey
|--------------------------------------------------------------------------
| هدف: کاهش پیچیدگی، فرم‌های کوتاه‌تر، کارت‌های ساده‌تر و CTA روشن‌تر.
*/

:root {
    --edp-simple-bg: #f8fafc;
    --edp-simple-card: #ffffff;
    --edp-simple-text: #0f172a;
    --edp-simple-muted: #64748b;
    --edp-simple-border: #e2e8f0;
    --edp-simple-blue: #2563eb;
    --edp-simple-blue-2: #1d4ed8;
    --edp-simple-green: #16a34a;
    --edp-simple-orange: #f59e0b;
    --edp-simple-red: #ef4444;
    --edp-simple-radius: 26px;
    --edp-simple-shadow: 0 18px 50px rgba(15, 23, 42, .07);
}

.edp-public-body,
.edp-panel-body {
    font-family: Vazirmatn, Tahoma, Arial, sans-serif !important;
}

.edp-public-container {
    width: min(1160px, calc(100% - 32px)) !important;
}

.edp-site-header {
    border-bottom: 1px solid rgba(226, 232, 240, .85) !important;
    background: rgba(255, 255, 255, .92) !important;
    backdrop-filter: blur(18px);
}

.edp-site-brand img {
    max-height: 54px !important;
    width: auto !important;
    object-fit: contain !important;
}

.edp-site-brand-text strong {
    font-size: 15px !important;
}

.edp-site-brand-text small {
    font-size: 11px !important;
    white-space: nowrap;
}

.edp-site-nav {
    gap: 6px !important;
}

.edp-site-nav a {
    padding: 9px 11px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
}

.edp-panel-link,
.edp-site-actions a {
    border-radius: 14px !important;
    padding: 11px 16px !important;
}

.edp-simple-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 24px;
    align-items: center;
}

.edp-simple-tool-hero,
.edp-simple-request-hero {
    padding: 58px 0 28px;
    background:
        radial-gradient(circle at 85% 15%, rgba(37, 99, 235, .10), transparent 32%),
        linear-gradient(180deg, #fff, #f8fafc);
}

.edp-simple-hero-copy h1 {
    margin: 8px 0 14px;
    color: var(--edp-simple-text);
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.55;
    letter-spacing: -.02em;
}

.edp-simple-hero-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--edp-simple-muted);
    font-size: 16px;
    line-height: 2.15;
}

.edp-simple-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: var(--edp-simple-blue);
    border-radius: 999px;
    padding: 6px 13px;
    font-size: 12px;
    font-weight: 900;
}

.edp-simple-badges,
.edp-simple-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.edp-simple-badges span {
    background: #fff;
    border: 1px solid var(--edp-simple-border);
    border-radius: 999px;
    padding: 8px 14px;
    color: #334155;
    font-size: 13px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.edp-simple-steps div {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    background: #fff;
    border: 1px solid var(--edp-simple-border);
    border-radius: 18px;
    padding: 9px 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.edp-simple-steps b {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: #dbeafe;
    color: var(--edp-simple-blue);
}

.edp-simple-steps span {
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.edp-simple-form-card,
.edp-simple-help-card,
.edp-simple-request-card,
.edp-simple-card {
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: var(--edp-simple-radius);
    box-shadow: var(--edp-simple-shadow);
}

.edp-simple-form-card,
.edp-simple-help-card {
    padding: 24px;
}

.edp-simple-form-card h2,
.edp-simple-help-card strong,
.edp-simple-request-head h2,
.edp-simple-card h3 {
    margin: 0 0 8px;
    color: var(--edp-simple-text);
}

.edp-simple-form-card p,
.edp-simple-help-card p,
.edp-simple-request-head p,
.edp-simple-card p,
.edp-simple-muted {
    color: var(--edp-simple-muted);
    line-height: 2;
}

.edp-simple-check-form,
.edp-simple-request-form {
    display: grid;
    gap: 14px;
}

.edp-simple-check-form label,
.edp-simple-request-form label,
.edp-simple-optional-box label {
    display: grid;
    gap: 8px;
}

.edp-simple-check-form label span,
.edp-simple-request-form label span,
.edp-simple-optional-box label span,
.edp-simple-feature-list > span {
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.edp-simple-check-form input,
.edp-simple-check-form select,
.edp-simple-request-form input,
.edp-simple-request-form select,
.edp-simple-request-form textarea,
.edp-simple-optional-box textarea {
    width: 100%;
    border: 1px solid #dbe3ef;
    background: #f8fafc;
    border-radius: 18px;
    padding: 14px 15px;
    color: var(--edp-simple-text);
    outline: none;
    font-family: inherit;
    font-size: 14px;
    transition: .16s ease;
}

.edp-simple-check-form input:focus,
.edp-simple-check-form select:focus,
.edp-simple-request-form input:focus,
.edp-simple-request-form select:focus,
.edp-simple-request-form textarea:focus,
.edp-simple-optional-box textarea:focus {
    background: #fff;
    border-color: rgba(37, 99, 235, .55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.edp-simple-check-form button,
.edp-simple-submit-row button,
.edp-simple-next-card a,
.edp-simple-help-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border: 0;
    border-radius: 17px;
    background: var(--edp-simple-blue);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(37, 99, 235, .22);
}

.edp-simple-check-form button:hover,
.edp-simple-submit-row button:hover,
.edp-simple-next-card a:hover,
.edp-simple-help-card a:hover {
    background: var(--edp-simple-blue-2);
}

.edp-simple-alert {
    border-radius: 18px;
    padding: 12px 14px;
    margin: 12px 0;
    font-size: 13px;
    font-weight: 800;
}

.edp-simple-alert.danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.edp-simple-alert.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.edp-simple-result-wrap,
.edp-simple-request-section {
    padding: 28px 0 72px;
}

.edp-simple-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(135deg, #12213b, #2563eb);
    color: #fff;
    border-radius: 30px;
    padding: 26px;
    box-shadow: var(--edp-simple-shadow);
    margin-bottom: 18px;
}

.edp-simple-result-head h2,
.edp-simple-result-head p {
    color: #fff;
    margin: 8px 0 0;
}

.edp-simple-score {
    display: grid;
    place-items: center;
    min-width: 118px;
    height: 118px;
    border-radius: 32px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
}

.edp-simple-score strong {
    font-size: 38px;
    line-height: 1;
}

.edp-simple-score span {
    font-size: 12px;
    color: rgba(255, 255, 255, .74);
}

.edp-simple-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.edp-simple-summary-grid article {
    background: #fff;
    border: 1px solid var(--edp-simple-border);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}

.edp-simple-summary-grid b {
    display: block;
    font-size: 30px;
    color: var(--edp-simple-text);
}

.edp-simple-summary-grid span {
    color: var(--edp-simple-muted);
    font-size: 13px;
}

.edp-simple-summary-grid .good { border-color: rgba(22, 163, 74, .28); }
.edp-simple-summary-grid .warning { border-color: rgba(245, 158, 11, .34); }
.edp-simple-summary-grid .bad { border-color: rgba(239, 68, 68, .28); }

.edp-simple-result-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
}

.edp-simple-card {
    padding: 22px;
}

.edp-simple-issue-list {
    display: grid;
    gap: 10px;
}

.edp-simple-issue-list > div {
    border: 1px solid var(--edp-simple-border);
    border-radius: 18px;
    padding: 13px 14px;
    background: #f8fafc;
}

.edp-simple-issue-list > div.is-warning { background: #fffbeb; border-color: #fde68a; }
.edp-simple-issue-list > div.is-bad { background: #fef2f2; border-color: #fecaca; }

.edp-simple-issue-list strong,
.edp-simple-check-row strong {
    color: var(--edp-simple-text);
}

.edp-simple-issue-list p,
.edp-simple-check-row p {
    margin: 3px 0 0;
    color: var(--edp-simple-muted);
    font-size: 13px;
    line-height: 1.9;
}

.edp-simple-next-card {
    align-self: start;
}

.edp-simple-next-card a {
    width: 100%;
    margin-top: 10px;
}

.edp-simple-next-card a.ghost {
    background: #eff6ff;
    color: var(--edp-simple-blue);
    box-shadow: none;
}

.edp-simple-recommendations,
.edp-simple-details {
    margin-top: 16px;
}

.edp-simple-recommendations ul {
    margin: 0;
    padding: 0 20px 0 0;
    color: var(--edp-simple-muted);
    line-height: 2.1;
}

.edp-simple-details {
    background: #fff;
    border: 1px solid var(--edp-simple-border);
    border-radius: 24px;
    padding: 16px 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}

.edp-simple-details summary {
    cursor: pointer;
    color: var(--edp-simple-text);
    font-weight: 950;
}

.edp-simple-check-group {
    margin-top: 16px;
}

.edp-simple-check-group h4 {
    margin: 0 0 8px;
    color: var(--edp-simple-text);
}

.edp-simple-check-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px 0;
    border-top: 1px solid #edf2f7;
}

.edp-simple-check-row > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #e0f2fe;
    color: var(--edp-simple-blue);
    font-weight: 950;
}

.edp-simple-check-row.is-good > span { background: #dcfce7; color: #15803d; }
.edp-simple-check-row.is-warning > span { background: #fef3c7; color: #b45309; }
.edp-simple-check-row.is-bad > span { background: #fee2e2; color: #b91c1c; }

.edp-simple-empty {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 16px;
    color: var(--edp-simple-muted);
}

.edp-simple-request-card {
    padding: 26px;
}

.edp-simple-request-head {
    margin-bottom: 20px;
}

.edp-simple-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.edp-simple-form-grid .wide {
    grid-column: 1 / -1;
}

.edp-simple-tool-note {
    display: grid;
    gap: 5px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 14px 16px;
    margin-bottom: 16px;
    color: #1e3a8a;
}

.edp-simple-tool-note strong {
    color: #1d4ed8;
}

.edp-simple-optional-box {
    margin-top: 16px;
    border: 1px solid var(--edp-simple-border);
    border-radius: 22px;
    padding: 14px 16px;
    background: #f8fafc;
}

.edp-simple-optional-box summary {
    cursor: pointer;
    font-weight: 950;
    color: var(--edp-simple-text);
}

.edp-simple-optional-box[open] {
    display: grid;
    gap: 14px;
}

.edp-simple-feature-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.edp-simple-feature-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 12px;
}

.edp-simple-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--edp-simple-border);
}

.edp-simple-submit-row strong,
.edp-simple-submit-row span {
    display: block;
}

.edp-simple-submit-row span {
    color: var(--edp-simple-muted);
    font-size: 13px;
    margin-top: 3px;
}

.edp-simple-submit-row button {
    min-width: 260px;
    padding: 0 20px;
}

/* General polish for existing service/home/cards without rewriting every file */
.edp-service-sales-hero,
.edp-service-final-cta,
.edp-public-main section:first-child {
    scroll-margin-top: 90px;
}

.edp-section-head h2,
.edp-section-head p {
    max-width: 760px;
}

.edp-section-head p {
    color: var(--edp-simple-muted) !important;
    line-height: 2 !important;
}

.edp-service-sales-card,
.edp-service-path-card,
.edp-service-proof-card,
.edp-article-card,
.edp-portfolio-card,
.edp-card,
.edp-metric-card {
    border-radius: 24px !important;
}

.edp-service-sales-links a,
.edp-service-sales-actions a,
.edp-service-path-card a,
.edp-service-final-cta a {
    border-radius: 16px !important;
}

/* Panel polish */
.edp-sidebar-brand {
    padding-bottom: 18px !important;
}

.edp-brand-simple span small {
    white-space: nowrap;
    font-size: 11px !important;
}

.edp-topbar-title h1 {
    font-size: 22px !important;
}

.edp-alert {
    border-radius: 18px !important;
}

@media (max-width: 980px) {
    .edp-simple-two-col,
    .edp-simple-result-grid {
        grid-template-columns: 1fr;
    }

    .edp-simple-form-card,
    .edp-simple-help-card {
        order: 2;
    }

    .edp-site-brand-text small {
        white-space: normal;
    }
}

@media (max-width: 720px) {
    .edp-public-container {
        width: min(100% - 22px, 1160px) !important;
    }

    .edp-simple-tool-hero,
    .edp-simple-request-hero {
        padding: 34px 0 20px;
    }

    .edp-simple-hero-copy h1 {
        font-size: 25px;
    }

    .edp-simple-hero-copy p {
        font-size: 14px;
    }

    .edp-simple-summary-grid,
    .edp-simple-form-grid {
        grid-template-columns: 1fr;
    }

    .edp-simple-result-head,
    .edp-simple-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .edp-simple-score {
        width: 100%;
        height: auto;
        min-height: 92px;
    }

    .edp-simple-submit-row button {
        width: 100%;
        min-width: 0;
    }

    .edp-simple-request-card,
    .edp-simple-card,
    .edp-simple-form-card,
    .edp-simple-help-card {
        border-radius: 22px;
        padding: 18px;
    }
}
