/* صفحه سئو و بازاریابی دیجیتال */

.weblazem-seo-page {
    font-family: 'Dana', Tahoma, sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}

.weblazem-seo-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Gradient wave decorations ─── */
.seo-page__wave-decor {
    position: absolute;
    pointer-events: none;
    opacity: 0.85;
}

.seo-page__wave-decor--corner-tl,
.seo-page__wave-decor--corner-tr {
    top: 0;
    width: 220px;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 120'%3E%3Cpath d='M0,60 Q55,0 110,50 T220,40' fill='none' stroke='url(%23g)' stroke-width='3'/%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23e879f9'/%3E%3Cstop offset='100%25' stop-color='%23fb923c'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E") no-repeat;
}

.seo-page__wave-decor--corner-bl,
.seo-page__wave-decor--corner-br {
    bottom: 0;
    width: 220px;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 120'%3E%3Cpath d='M0,40 Q55,90 110,50 T220,60' fill='none' stroke='url(%23g)' stroke-width='3'/%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23e879f9'/%3E%3Cstop offset='100%25' stop-color='%23fb923c'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E") no-repeat;
}

.seo-page__wave-decor--corner-tl { right: 0; }
.seo-page__wave-decor--corner-tr { left: 0; transform: scaleX(-1); }
.seo-page__wave-decor--corner-bl { right: 0; }
.seo-page__wave-decor--corner-br { left: 0; transform: scaleX(-1); }

.seo-page__wave-decor--top {
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #05052d 0%, #05052d 40%, transparent 40%),
                linear-gradient(90deg, #e879f9, #fb923c);
    background-size: 100% 4px, 100% 2px;
    background-position: 0 0, 0 4px;
    background-repeat: no-repeat;
    position: relative;
}

.webdesign-advantages--wave {
    position: relative;
    padding-top: 88px;
}

.webdesign-advantages--wave .seo-page__wave-decor--bottom {
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, transparent, rgba(232, 121, 249, 0.08));
}

/* ─── Hero ─── */
.seo-hero {
    padding: 48px 0 0;
    background: #ffffff;
    position: relative;
}

.seo-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    direction: ltr;
    padding-bottom: 48px;
}

.seo-hero__visual {
    order: 1;
}

.seo-hero__content {
    order: 2;
    text-align: right;
}

.seo-hero__image {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(59, 130, 246, 0.2));
}

.seo-hero__en-title {
    display: block;
    font-size: 14px;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.seo-hero__calligraphy {
    margin-bottom: 14px;
}

.seo-hero__title {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 800;
    color: #05052d;
    margin: 0 0 18px;
}

.seo-hero__text {
    font-size: 14px;
    line-height: 2;
    color: #64748b;
}

.seo-hero__text p {
    margin: 0 0 12px;
}

.seo-hero__wave {
    display: block;
    width: 100%;
    height: 48px;
}

/* ─── Clients ─── */
.seo-clients {
    position: relative;
    padding: 80px 0 96px;
    background: #ffffff;
    overflow: hidden;
}

.seo-clients__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
    position: relative;
    z-index: 1;
}

.seo-clients__calligraphy {
    margin-bottom: 16px;
}

.seo-clients__subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 14px;
}

.seo-clients__description {
    font-size: 14px;
    line-height: 1.9;
    color: #64748b;
    margin: 0;
}

.seo-clients__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border: 1px solid #f1f5f9;
    position: relative;
    z-index: 1;
}

.seo-clients__cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    min-height: 72px;
    border: 1px solid #f1f5f9;
    transition: background 0.25s;
}

.seo-clients__cell:hover {
    background: #f8fafc;
}

.seo-clients__cell img {
    max-height: 32px;
    max-width: 90px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.65;
    transition: opacity 0.25s, filter 0.25s;
}

.seo-clients__cell:hover img {
    opacity: 0.9;
    filter: grayscale(0.3);
}

/* ─── Process wave transition ─── */
.webdesign-process--wave-top {
    padding-top: 0;
    margin-top: 0;
}

.webdesign-process__wave {
    display: block;
    width: 100%;
    height: 64px;
    margin-bottom: -1px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .seo-clients__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .seo-hero__grid {
        grid-template-columns: 1fr;
        direction: rtl;
    }

    .seo-hero__visual {
        order: 1;
    }

    .seo-hero__content {
        order: 2;
    }

    .seo-clients__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .seo-page__wave-decor {
        opacity: 0.5;
        width: 140px;
    }
}

@media (max-width: 480px) {
    .seo-clients__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Pricing plans (تعرفه‌ها) ─── */
.seo-page-tariffs {
    padding: 72px 0 80px;
    background: #ffffff;
}

.seo-page-tariffs__title {
    text-align: center;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 40px;
    line-height: 1.5;
}

.seo-page-tariffs__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.seo-page-tariffs__card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(64, 22, 92, 0.08);
    overflow: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.seo-page-tariffs__blob {
    position: absolute;
    top: -28px;
    inset-inline-end: -18px;
    width: 150px;
    height: 150px;
    background: #ebe0f5;
    border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%;
    z-index: 0;
    pointer-events: none;
}

.seo-page-tariffs__card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 22px 24px;
    text-align: right;
}

.seo-page-tariffs__card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 18px;
    line-height: 1.55;
}

.seo-page-tariffs__features {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    flex: 1;
}

.seo-page-tariffs__features li {
    position: relative;
    padding-inline-start: 14px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.75;
    color: #3d3d3d;
}

.seo-page-tariffs__features li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0.72em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2b2b2b;
    transform: translateY(-50%);
}

.seo-page-tariffs__price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0 18px;
    margin-bottom: 4px;
    border-top: 1px solid #ece6f2;
    font-size: 14px;
    color: #1a1a1a;
}

.seo-page-tariffs__price-label {
    font-weight: 600;
}

.seo-page-tariffs__price-value {
    font-weight: 700;
    white-space: nowrap;
}

.seo-page-tariffs__btn {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 13px 16px;
    border: none;
    border-radius: 12px;
    background: #f5e042;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(245, 224, 66, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.seo-page-tariffs__btn:hover {
    background: #f0d62e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 224, 66, 0.45);
    color: #1a1a1a;
}

@media (max-width: 1100px) {
    .seo-page-tariffs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .seo-page-tariffs {
        padding: 56px 0 64px;
    }

    .seo-page-tariffs__grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
}
