/* بخش‌های لندینگ الهام‌گرفته از الگوی ارائه‌دهنده خدمات آنلاین */
.port-land-block {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 1.5rem);
}

.port-land-block__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1565c0;
    background: rgba(21, 101, 192, 0.08);
    border: 1px solid rgba(21, 101, 192, 0.18);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
}

.port-land-block__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: #0d2137;
    line-height: 1.35;
}

.port-land-block__lead {
    margin: 0 0 1.5rem;
    color: #546e7a;
    line-height: 1.85;
    font-size: 0.95rem;
    max-width: 52rem;
}

.port-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.port-stat-card {
    background: linear-gradient(145deg, #fff, #f4f8ff);
    border: 1px solid rgba(21, 101, 192, 0.14);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(13, 33, 55, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.port-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(13, 33, 55, 0.1);
}

.port-stat-card__icon {
    color: #1565c0;
    margin-bottom: 0.35rem;
}

.port-stat-card__value {
    display: block;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: #0d47a1;
    line-height: 1.2;
    min-height: 2.4rem;
}

.port-stat-card__label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #607d8b;
    font-weight: 600;
}

.port-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.port-why-card {
    background: #fff;
    border: 1px solid #e3eaf3;
    border-radius: 16px;
    padding: 1.15rem;
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.05);
    height: 100%;
}

.port-why-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.65rem;
}

.port-why-card__icon--blue { background: rgba(21, 101, 192, 0.12); color: #1565c0; }
.port-why-card__icon--green { background: rgba(46, 125, 50, 0.12); color: #2e7d32; }
.port-why-card__icon--amber { background: rgba(237, 108, 2, 0.12); color: #ed6c02; }
.port-why-card__icon--purple { background: rgba(123, 31, 162, 0.12); color: #7b1fa2; }

.port-why-card__title {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1a237e;
}

.port-why-card__text {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.75;
    color: #607d8b;
}

.port-faq-wrap .mud-expand-panel {
    border-radius: 12px !important;
    margin-bottom: 0.5rem;
    border: 1px solid #e3eaf3 !important;
}

.port-clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.85rem;
}

.port-client-logo {
    background: #fff;
    border: 1px dashed #cfd8dc;
    border-radius: 12px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem;
    color: #78909c;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.port-client-logo:hover {
    border-color: #90caf9;
    transform: translateY(-2px);
}

.port-licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.port-license-badge {
    background: linear-gradient(180deg, #fff, #f8fbff);
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 1rem 0.75rem;
    text-align: center;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.port-license-badge__title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #37474f;
}

.port-widget-canvas-wrap {
    position: relative;
    width: 100%;
}

.port-widget-canvas {
    position: relative;
    min-height: 480px;
    background: linear-gradient(180deg, rgba(244, 248, 255, 0.65), rgba(255, 255, 255, 0.9));
    border: 1px solid #e3eaf3;
    border-radius: 18px;
    overflow: hidden;
    touch-action: none;
    user-select: none;
}

.port-widget-canvas--editing {
    border: 2px dashed #7eb6ff;
    background: rgba(248, 251, 255, 0.95);
}

.port-widget-slot {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e3eaf3;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.port-widget-canvas--editing .port-widget-slot {
    border: 1px dashed #1976d2;
}

.port-widget-slot__toolbar {
    flex-shrink: 0;
    border-bottom: 1px solid #eef2f7;
    background: rgba(248, 251, 255, 0.95);
}

.port-widget-slot__drag {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    cursor: grab;
    background: linear-gradient(90deg, rgba(25, 118, 210, 0.1), rgba(46, 212, 165, 0.08));
    border-bottom: 1px solid #e3eaf3;
    touch-action: none;
}

.port-widget-slot__host {
    flex: 1;
    min-height: 180px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.port-widget-slot__host .sc-analytics-pack-host {
    flex: 1;
    min-height: 0;
}

.port-widget-resize-se {
    position: absolute;
    inset-inline-end: -5px;
    bottom: -5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1976d2;
    border: 2px solid #fff;
    cursor: nwse-resize;
    z-index: 5;
}

.port-land-section--stats { background: linear-gradient(180deg, #f8fbff 0%, #fff 100%); }
.port-land-section--why { background: #fff; }
.port-land-section--faq { background: linear-gradient(180deg, #fff, #f4f8ff); }
.port-land-section--clients { background: #fff; }
.port-land-section--licenses { background: linear-gradient(180deg, #f8fbff, #eef3fb); }

[dir="rtl"] .port-land-block__title,
[dir="rtl"] .port-land-block__lead,
[dir="rtl"] .port-why-card__text,
[dir="rtl"] .port-faq-wrap .mud-expand-panel .mud-expand-panel-text {
    text-align: right;
}

@media (max-width: 720px) {
    .port-widget-canvas {
        min-height: 360px;
    }
}
