/* ================================
   Services Page
================================ */

.services-page {
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

.services-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 16%, rgba(94, 234, 212, 0.08), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.13), transparent 34%),
        radial-gradient(circle at 50% 90%, rgba(34, 211, 238, 0.07), transparent 32%);
}

/* اگر این متغیرها در CSS اصلی تعریف نشده‌اند، این بخش را نگه دار */
:root {
    --text: #f8fafc;
    --soft: #94a3b8;
    --mint: #5eead4;
    --dark: #020617;
    --card: rgba(15, 23, 42, 0.86);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

/* Breadcrumb */
.services-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
    color: var(--soft);
    font-size: 13px;
    font-weight: 800;
}

.services-breadcrumb a {
    color: var(--soft);
    transition: color 0.25s ease;
}

.services-breadcrumb a:hover {
    color: var(--mint);
}

.services-breadcrumb strong {
    color: var(--mint);
}

/* Shared */
.services-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(94, 234, 212, 0.2);
    background: rgba(15, 23, 42, 0.72);
    color: var(--mint);
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 18px;
    backdrop-filter: blur(12px);
}

.services-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 18px rgba(94, 234, 212, 0.9);
}

.services-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 23px;
    border-radius: 999px;
    border: 1px solid rgba(94, 234, 212, 0.22);
    background: rgba(15, 23, 42, 0.55);
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
}

.services-ghost-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(94, 234, 212, 0.42);
    background: rgba(94, 234, 212, 0.08);
}

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Hero
================================ */

.services-hero {
    padding: 85px 0 58px;
}

.services-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    gap: 48px;
    align-items: center;
}

.services-hero__content h1 {
    max-width: 900px;
    color: var(--text);
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -1.2px;
    margin-bottom: 22px;
}

.services-hero__content h1 span {
    color: var(--mint);
    text-shadow: 0 0 35px rgba(94, 234, 212, 0.18);
}

.services-hero__content p {
    max-width: 780px;
    color: var(--soft);
    font-size: 16px;
    line-height: 2.1;
}

.services-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.services-hero__card {
    position: relative;
}

.hero-services-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 36px;
    border: 1px solid rgba(94, 234, 212, 0.16);
    background:
        radial-gradient(circle at 18% 0%, rgba(94, 234, 212, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(8, 13, 28, 0.98));
    box-shadow: 0 38px 95px rgba(0, 0, 0, 0.42);
}

.hero-services-card::before {
    content: "";
    position: absolute;
    top: -70px;
    left: -70px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(94, 234, 212, 0.08);
}

.hero-services-card__top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.hero-services-card__top span {
    color: var(--soft);
    font-size: 14px;
    font-weight: 900;
}

.hero-services-card__top strong {
    color: var(--mint);
    font-size: 46px;
    font-weight: 950;
    line-height: 1;
}

.hero-services-card p {
    position: relative;
    color: var(--soft);
    font-size: 15px;
    line-height: 2;
    margin-bottom: 24px;
}

.hero-services-card ul {
    position: relative;
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-services-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
}

.hero-services-card li span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 16px rgba(94, 234, 212, 0.9);
}

.services-orbit {
    position: absolute;
    inset: -24px;
    pointer-events: none;
    z-index: -1;
    border-radius: 42px;
    border: 1px solid rgba(94, 234, 212, 0.08);
    animation: servicesOrbit 7s ease-in-out infinite alternate;
}

.services-orbit span {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 22px rgba(94, 234, 212, 0.9);
}

.services-orbit span:nth-child(1) {
    top: 14%;
    right: 4%;
}

.services-orbit span:nth-child(2) {
    bottom: 19%;
    left: 6%;
}

.services-orbit span:nth-child(3) {
    top: 48%;
    left: -4px;
}

@keyframes servicesOrbit {
    from {
        transform: rotate(0deg) scale(1);
    }

    to {
        transform: rotate(2deg) scale(1.02);
    }
}

/* ================================
   Services List
================================ */

.services-list-section {
    padding: 38px 0 58px;
}

.services-section-heading {
    max-width: 820px;
    margin-bottom: 34px;
}

.services-section-heading h2 {
    color: var(--text);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.4;
    font-weight: 950;
    margin-bottom: 12px;
}

.services-section-heading p {
    color: var(--soft);
    font-size: 15px;
    line-height: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    padding: 28px;
    border-radius: 32px;
    border: 1px solid rgba(94, 234, 212, 0.13);
    background:
        radial-gradient(circle at 20% 0%, rgba(94, 234, 212, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(8, 13, 28, 0.98));
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(94, 234, 212, 0.34);
}

.service-card::before {
    content: "";
    position: absolute;
    top: -55px;
    left: -55px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: rgba(94, 234, 212, 0.08);
}

.service-card__number {
    position: absolute;
    top: 24px;
    left: 26px;
    color: rgba(94, 234, 212, 0.16);
    font-size: 44px;
    font-weight: 950;
    line-height: 1;
}

.service-card__icon {
    position: relative;
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(94, 234, 212, 0.1);
    color: var(--mint);
    font-size: 22px;
    margin-bottom: 22px;
}

.service-card h3 {
    position: relative;
    color: var(--text);
    font-size: 22px;
    line-height: 1.5;
    font-weight: 950;
    margin-bottom: 12px;
}

.service-card p {
    position: relative;
    color: var(--soft);
    font-size: 14px;
    line-height: 1.95;
    margin-bottom: 18px;
}

.service-card ul {
    position: relative;
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.service-card li {
    display: flex;
    gap: 9px;
    color: var(--soft);
    font-size: 13px;
    line-height: 1.8;
    font-weight: 800;
}

.service-card li span {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 9px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 14px rgba(94, 234, 212, 0.8);
}

.service-card__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--mint);
    font-size: 14px;
    font-weight: 950;
    transition: all 0.25s ease;
}

.service-card__link:hover {
    transform: translateX(-4px);
}

/* ================================
   Why
================================ */

.services-why-section {
    padding: 48px 0 58px;
}

.services-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 28px;
    align-items: stretch;
}

.services-why-content,
.services-why-card {
    border-radius: 34px;
    border: 1px solid rgba(94, 234, 212, 0.15);
    background:
        radial-gradient(circle at 20% 0%, rgba(94, 234, 212, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(8, 13, 28, 0.98));
    box-shadow: var(--shadow);
}

.services-why-content {
    padding: 36px;
}

.services-why-content h2 {
    color: var(--text);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.45;
    font-weight: 950;
    margin-bottom: 14px;
}

.services-why-content > p {
    color: var(--soft);
    font-size: 15px;
    line-height: 2.05;
    margin-bottom: 26px;
}

.services-feature-list {
    display: grid;
    gap: 14px;
}

.services-feature-list div {
    position: relative;
    padding: 18px 18px 18px 18px;
    border-radius: 22px;
    border: 1px solid rgba(94, 234, 212, 0.13);
    background: rgba(2, 6, 23, 0.5);
}

.services-feature-list div > span {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 16px rgba(94, 234, 212, 0.9);
    margin-bottom: 10px;
}

.services-feature-list strong {
    display: block;
    color: var(--text);
    font-size: 15px;
    font-weight: 950;
    margin-bottom: 6px;
}

.services-feature-list p {
    color: var(--soft);
    font-size: 13px;
    line-height: 1.9;
}

.services-why-card {
    padding: 28px;
    display: grid;
    gap: 16px;
}

.why-stat {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(94, 234, 212, 0.13);
    background: rgba(2, 6, 23, 0.5);
}

.why-stat strong {
    display: block;
    color: var(--mint);
    font-size: 34px;
    font-weight: 950;
    margin-bottom: 8px;
}

.why-stat span {
    color: var(--text);
    font-size: 15px;
    font-weight: 900;
}

/* ================================
   Process
================================ */

.services-process-section {
    padding: 44px 0 58px;
}

.services-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-card {
    position: relative;
    min-height: 245px;
    padding: 26px;
    border-radius: 30px;
    border: 1px solid rgba(94, 234, 212, 0.13);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(8, 13, 28, 0.98));
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    border-color: rgba(94, 234, 212, 0.34);
}

.process-card span {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(94, 234, 212, 0.1);
    color: var(--mint);
    font-size: 15px;
    font-weight: 950;
    margin-bottom: 20px;
}

.process-card h3 {
    color: var(--text);
    font-size: 21px;
    font-weight: 950;
    margin-bottom: 12px;
}

.process-card p {
    color: var(--soft);
    font-size: 14px;
    line-height: 1.95;
}

/* ================================
   Consultation CTA
================================ */

.services-consult-section {
    padding: 26px 0 20px;
}

.services-consult-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 40px;
    border-radius: 36px;
    border: 1px solid rgba(94, 234, 212, 0.16);
    background:
        radial-gradient(circle at 15% 0%, rgba(94, 234, 212, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(8, 13, 28, 0.98));
    box-shadow: var(--shadow);
}

.services-consult-box h2 {
    color: var(--text);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 950;
    line-height: 1.4;
    margin-bottom: 12px;
}

.services-consult-box p {
    max-width: 760px;
    color: var(--soft);
    line-height: 1.95;
}

.services-consult-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ================================
   Responsive
================================ */

@media (max-width: 1150px) {
    .services-hero__grid,
    .services-why-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-consult-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .services-hero {
        padding: 70px 0 44px;
    }

    .services-grid,
    .services-process-grid {
        grid-template-columns: 1fr;
    }

    .hero-services-card,
    .service-card,
    .services-why-content,
    .services-why-card,
    .services-consult-box {
        padding: 26px;
    }
}

@media (max-width: 540px) {
    .services-hero__actions,
    .services-consult-actions {
        width: 100%;
        flex-direction: column;
    }

    .services-hero__actions a,
    .services-consult-actions a {
        width: 100%;
    }

    .hero-services-card__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-services-card__top strong {
        font-size: 38px;
    }
}
