/*
|--------------------------------------------------------------------------
| EDP Professional Minimal UX Polish
|--------------------------------------------------------------------------
| ساده برای کاربران عمومی، حرفه‌ای برای کاربران آگاه و تیم‌های فنی.
*/

:root {
    --edp-pro-bg: #f8fafc;
    --edp-pro-card: #ffffff;
    --edp-pro-text: #0f172a;
    --edp-pro-muted: #64748b;
    --edp-pro-border: #e2e8f0;
    --edp-pro-primary: #2563eb;
    --edp-pro-primary-dark: #1d4ed8;
    --edp-pro-soft: #eff6ff;
    --edp-pro-green: #16a34a;
    --edp-pro-orange: #f97316;
    --edp-pro-red: #dc2626;
    --edp-pro-radius: 26px;
    --edp-pro-shadow: 0 24px 65px rgba(15, 23, 42, .08);
}

.edp-pro-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(37, 99, 235, .18);
    background: var(--edp-pro-soft);
    color: var(--edp-pro-primary-dark);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.edp-pro-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
    gap: 24px;
    align-items: stretch;
}

.edp-pro-request-hero,
.edp-pro-tool-hero {
    padding: 44px 0 22px;
    background:
        radial-gradient(circle at 85% 10%, rgba(37, 99, 235, .10), transparent 32%),
        radial-gradient(circle at 10% 90%, rgba(14, 165, 233, .08), transparent 28%);
}

.edp-pro-hero-copy,
.edp-pro-help-card,
.edp-pro-form-card,
.edp-pro-request-card,
.edp-pro-card,
.edp-pro-context-note,
.edp-pro-details,
.edp-pro-service-dual-section article {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: var(--edp-pro-radius);
    box-shadow: var(--edp-pro-shadow);
}

.edp-pro-hero-copy {
    padding: 32px;
}

.edp-pro-hero-copy h1 {
    margin: 0 0 12px;
    color: var(--edp-pro-text);
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.45;
    letter-spacing: -1px;
}

.edp-pro-hero-copy p {
    margin: 0;
    color: var(--edp-pro-muted);
    font-size: 15px;
    max-width: 760px;
}

.edp-pro-audience-grid,
.edp-pro-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.edp-pro-audience-grid div,
.edp-pro-badges span {
    border: 1px solid var(--edp-pro-border);
    background: #fff;
    border-radius: 20px;
    padding: 14px 16px;
}

.edp-pro-audience-grid b {
    display: block;
    color: var(--edp-pro-text);
    font-size: 14px;
    margin-bottom: 4px;
}

.edp-pro-audience-grid span,
.edp-pro-badges span {
    color: var(--edp-pro-muted);
    font-size: 12px;
}

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

.edp-pro-help-card strong,
.edp-pro-form-card h2 {
    display: block;
    color: var(--edp-pro-text);
    font-size: 18px;
    margin-bottom: 10px;
}

.edp-pro-help-card ol {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.edp-pro-help-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--edp-pro-muted);
    font-size: 13px;
}

.edp-pro-help-card li b {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: var(--edp-pro-soft);
    color: var(--edp-pro-primary);
    display: grid;
    place-items: center;
}

.edp-pro-help-card a,
.edp-pro-check-form button,
.edp-pro-submit-row button,
.edp-pro-next-actions a,
.edp-service-sales-actions a.secondary,
.edp-service-sales-links a.is-pro,
.edp-service-plan-card a.is-pro,
.edp-service-side-card a.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    background: var(--edp-pro-primary);
    color: #fff;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: .18s ease;
}

.edp-pro-help-card a:hover,
.edp-pro-check-form button:hover,
.edp-pro-submit-row button:hover,
.edp-pro-next-actions a:hover {
    transform: translateY(-1px);
    background: var(--edp-pro-primary-dark);
}

.edp-pro-request-section,
.edp-pro-result-wrap {
    padding: 24px 0 52px;
}

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

.edp-pro-request-head h2,
.edp-pro-card-headline h3,
.edp-pro-result-head h2 {
    color: var(--edp-pro-text);
    margin: 0 0 6px;
}

.edp-pro-request-head p,
.edp-pro-card-headline p,
.edp-pro-result-head p,
.edp-pro-muted,
.edp-pro-form-card p,
.edp-pro-help-card p {
    color: var(--edp-pro-muted);
    font-size: 13px;
    margin: 0;
}

.edp-pro-context-note {
    padding: 14px 16px;
    margin: 16px 0;
    display: grid;
    gap: 4px;
    background: linear-gradient(135deg, #fff, #f8fbff);
}

.edp-pro-context-note strong {
    font-size: 13px;
    color: var(--edp-pro-text);
}

.edp-pro-context-note span,
.edp-pro-context-note small {
    color: var(--edp-pro-muted);
    font-size: 12px;
}

.edp-pro-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.edp-pro-mode-switch label {
    display: grid;
    gap: 4px;
    border: 1px solid var(--edp-pro-border);
    border-radius: 20px;
    background: #fff;
    padding: 16px;
    cursor: pointer;
}

.edp-pro-mode-switch label.is-active,
.edp-pro-mode-switch label:has(input:checked) {
    border-color: rgba(37, 99, 235, .45);
    background: var(--edp-pro-soft);
    box-shadow: 0 16px 36px rgba(37, 99, 235, .10);
}

.edp-pro-mode-switch input {
    display: none;
}

.edp-pro-mode-switch strong {
    color: var(--edp-pro-text);
    font-size: 14px;
}

.edp-pro-mode-switch span {
    color: var(--edp-pro-muted);
    font-size: 12px;
}

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

.edp-pro-form-grid label,
.edp-pro-professional-grid label,
.edp-pro-check-form label,
.edp-pro-optional-box label,
.edp-pro-final-message {
    display: grid;
    gap: 7px;
}

.edp-pro-form-grid .wide,
.edp-pro-professional-grid .wide,
.edp-pro-final-message,
.edp-pro-check-form button,
.edp-pro-check-form .wide {
    grid-column: 1 / -1;
}

.edp-pro-form-grid span,
.edp-pro-professional-grid span,
.edp-pro-check-form span,
.edp-pro-optional-box span,
.edp-pro-final-message span,
.edp-pro-feature-box > span {
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.edp-pro-form-grid input,
.edp-pro-form-grid select,
.edp-pro-form-grid textarea,
.edp-pro-professional-grid input,
.edp-pro-professional-grid select,
.edp-pro-professional-grid textarea,
.edp-pro-check-form input,
.edp-pro-check-form select,
.edp-pro-optional-box textarea,
.edp-pro-final-message textarea {
    width: 100%;
    border: 1px solid var(--edp-pro-border);
    border-radius: 16px;
    background: #fff;
    color: var(--edp-pro-text);
    padding: 12px 14px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.edp-pro-form-grid input:focus,
.edp-pro-form-grid select:focus,
.edp-pro-form-grid textarea:focus,
.edp-pro-professional-grid textarea:focus,
.edp-pro-professional-grid select:focus,
.edp-pro-check-form input:focus,
.edp-pro-check-form select:focus {
    border-color: rgba(37, 99, 235, .55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.edp-pro-optional-box,
.edp-pro-professional-box,
.edp-pro-details {
    margin-top: 16px;
    border: 1px solid var(--edp-pro-border);
    border-radius: 22px;
    background: #fff;
    padding: 0;
    overflow: hidden;
}

.edp-pro-optional-box summary,
.edp-pro-professional-box summary,
.edp-pro-details summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    color: var(--edp-pro-text);
    font-size: 14px;
    font-weight: 900;
}

.edp-pro-professional-box summary span,
.edp-pro-professional-box summary small,
.edp-pro-details summary span,
.edp-pro-details summary small {
    display: block;
}

.edp-pro-professional-box summary small,
.edp-pro-details summary small {
    color: var(--edp-pro-muted);
    font-size: 11px;
    font-weight: 500;
    margin-top: 4px;
}

.edp-pro-optional-box > *:not(summary),
.edp-pro-professional-box > *:not(summary),
.edp-pro-details > *:not(summary) {
    padding: 0 18px 18px;
}

.edp-pro-feature-box {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.edp-pro-feature-box > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.edp-pro-feature-box label {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--edp-pro-border);
    border-radius: 14px;
    padding: 10px;
    background: #f8fafc;
}

.edp-pro-final-message {
    margin-top: 16px;
}

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

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

.edp-pro-submit-row strong {
    color: var(--edp-pro-text);
    font-size: 14px;
}

.edp-pro-submit-row span {
    color: var(--edp-pro-muted);
    font-size: 12px;
}

.edp-pro-form-card h2 {
    margin: 0 0 8px;
}

.edp-pro-check-form {
    margin-top: 18px;
}

.edp-pro-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    border-radius: 28px;
    padding: 24px;
    color: #fff;
    box-shadow: var(--edp-pro-shadow);
}

.edp-pro-result-head h2,
.edp-pro-result-head p {
    color: #fff;
}

.edp-pro-result-head .edp-pro-kicker {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.16);
}

.edp-pro-score {
    width: 112px;
    height: 112px;
    border-radius: 32px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.18);
    display: grid;
    place-items: center;
    text-align: center;
}

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

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

.edp-pro-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 16px 0;
}

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

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

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

.edp-pro-summary-grid .good b { color: var(--edp-pro-green); }
.edp-pro-summary-grid .warning b { color: var(--edp-pro-orange); }
.edp-pro-summary-grid .bad b { color: var(--edp-pro-red); }

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

.edp-pro-card {
    padding: 20px;
}

.edp-pro-issue-list,
.edp-pro-check-group,
.edp-pro-next-actions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.edp-pro-issue-list > div,
.edp-pro-check-row {
    border: 1px solid var(--edp-pro-border);
    background: #f8fafc;
    border-radius: 18px;
    padding: 12px 14px;
}

.edp-pro-issue-list strong,
.edp-pro-check-row strong {
    display: block;
    color: var(--edp-pro-text);
    font-size: 13px;
}

.edp-pro-issue-list p,
.edp-pro-check-row p {
    margin: 4px 0 0;
    color: var(--edp-pro-muted);
    font-size: 12px;
}

.edp-pro-issue-list .is-bad,
.edp-pro-check-row.is-bad {
    border-color: rgba(220,38,38,.22);
    background: #fff7f7;
}

.edp-pro-issue-list .is-warning,
.edp-pro-check-row.is-warning {
    border-color: rgba(249,115,22,.25);
    background: #fffaf3;
}

.edp-pro-check-row.is-good {
    border-color: rgba(22,163,74,.20);
    background: #f7fff9;
}

.edp-pro-next-actions a.secondary,
.edp-service-sales-actions a.secondary,
.edp-service-sales-links a.is-pro,
.edp-service-plan-card a.is-pro,
.edp-service-side-card a.secondary {
    background: #0f172a;
}

.edp-pro-next-actions a.ghost {
    background: #fff;
    color: var(--edp-pro-text);
    border: 1px solid var(--edp-pro-border);
}

.edp-pro-recommendations {
    margin-top: 16px;
}

.edp-pro-recommendations ul {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.edp-pro-recommendations li {
    position: relative;
    padding-right: 20px;
    color: var(--edp-pro-muted);
    font-size: 13px;
}

.edp-pro-recommendations li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--edp-pro-green);
}

.edp-pro-details {
    margin-top: 16px;
}

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

.edp-pro-check-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.edp-pro-check-row > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff;
    font-weight: 900;
}

.edp-pro-service-dual-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.edp-pro-service-dual-section article {
    padding: 22px;
}

.edp-pro-service-dual-section span {
    color: var(--edp-pro-primary);
    font-size: 12px;
    font-weight: 900;
}

.edp-pro-service-dual-section h2 {
    color: var(--edp-pro-text);
    font-size: 19px;
    margin: 8px 0;
}

.edp-pro-service-dual-section p,
.edp-pro-service-note {
    color: var(--edp-pro-muted);
    font-size: 13px;
}

.edp-service-sales-actions a.secondary,
.edp-service-sales-links a.is-pro,
.edp-service-plan-card a.is-pro,
.edp-service-side-card a.secondary {
    margin-inline-start: 8px;
}

.edp-service-sales-links,
.edp-service-sales-actions {
    flex-wrap: wrap;
}

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

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

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

@media (max-width: 720px) {
    .edp-pro-request-hero,
    .edp-pro-tool-hero {
        padding-top: 24px;
    }

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

    .edp-pro-audience-grid,
    .edp-pro-badges,
    .edp-pro-mode-switch,
    .edp-pro-form-grid,
    .edp-pro-professional-grid,
    .edp-pro-summary-grid,
    .edp-pro-check-form,
    .edp-pro-feature-box > div {
        grid-template-columns: 1fr;
    }

    .edp-pro-hero-copy h1 {
        font-size: 26px;
    }
}
