/* =========================================================
   DOMAIN SERVICES PAGE
========================================================= */


/* =========================================================
   HERO
========================================================= */

.domain-hero {
    position: relative;
    overflow: hidden;

    padding: 160px 0 100px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(16, 185, 129, .15),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 75%,
            rgba(37, 99, 235, .14),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #eef6ff 0%,
            #e9f9f4 100%
        );
}


.domain-grid {
    position: absolute;

    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(37, 99, 235, .045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(37, 99, 235, .045) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );
}


.domain-orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(10px);

    pointer-events: none;
}


.orb-one {
    width: 420px;
    height: 420px;

    top: -150px;
    right: -120px;

    background:
        rgba(37, 99, 235, .16);
}


.orb-two {
    width: 300px;
    height: 300px;

    bottom: -130px;
    left: 5%;

    background:
        rgba(16, 185, 129, .14);
}


.domain-hero-content {
    position: relative;

    display: grid;

    grid-template-columns:
        1fr 1.05fr;

    gap: 70px;

    align-items: center;
}


.product-label {
    width: fit-content;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        8px 16px;

    border:
        1px solid
        rgba(37, 99, 235, .15);

    border-radius: 100px;

    background:
        rgba(255, 255, 255, .75);

    color:
        #2563eb;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

    box-shadow:
        0 10px 30px
        rgba(37, 99, 235, .08);
}


.label-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #10b981
        );

    font-size: 15px;
}


.domain-hero h1 {
    max-width: 680px;

    margin:
        25px 0 20px;

    color:
        #0b2850;

    font-size:
        clamp(
            38px,
            5vw,
            65px
        );

    line-height: 1.3;
}


.domain-hero h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #10b981
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color:
        transparent;
}


.hero-description {
    max-width: 620px;

    color:
        #56708f;

    font-size: 17px;

    line-height: 2;
}


.hero-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 35px;
}


.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 54px;

    padding:
        0 25px;

    border-radius: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        .3s ease;
}


.primary-button {
    color: white;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #0ea5a4
        );

    box-shadow:
        0 15px 35px
        rgba(37, 99, 235, .25);
}


.primary-button:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 20px 45px
        rgba(37, 99, 235, .35);
}


.secondary-button {
    border:
        1px solid
        rgba(37, 99, 235, .15);

    color:
        #174678;

    background:
        rgba(255, 255, 255, .75);
}


.secondary-button:hover {
    background: white;

    transform:
        translateY(-3px);
}


.hero-mini-features {
    display: flex;

    flex-wrap: wrap;

    gap:
        12px 20px;

    margin-top: 30px;

    color:
        #466887;

    font-size: 14px;
}


.hero-mini-features div {
    display: flex;

    align-items: center;

    gap: 7px;
}


.hero-mini-features span {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    color:
        #059669;

    background:
        rgba(16, 185, 129, .12);

    font-size: 12px;

    font-weight: 900;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.domain-hero-visual {
    position: relative;
}


.domain-window {
    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, .8);

    border-radius: 25px;

    background:
        rgba(255, 255, 255, .9);

    box-shadow:
        0 35px 80px
        rgba(20, 70, 130, .18);

    backdrop-filter:
        blur(20px);
}


.domain-window-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        18px 22px;

    border-bottom:
        1px solid
        #e9eef5;
}


.window-title {
    display: flex;

    align-items: center;

    gap: 12px;
}


.window-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #10b981
        );
}


.window-title strong {
    display: block;

    color:
        #183b63;

    font-size: 14px;
}


.window-title span {
    display: block;

    margin-top: 3px;

    color:
        #8aa0b8;

    font-size: 11px;
}


.status-dot {
    padding:
        7px 12px;

    border-radius: 100px;

    color:
        #059669;

    background:
        rgba(16, 185, 129, .1);

    font-size: 11px;

    font-weight: 700;
}


.domain-dashboard-body {
    padding: 25px;
}


.domain-search {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 16px;

    border:
        1px solid
        #e9eef5;

    border-radius: 14px;

    background:
        #f8fbff;
}


.domain-search > div {
    flex: 1;

    color:
        #183d66;

    font-size: 15px;

    font-weight: 800;

    direction: ltr;

    text-align: left;
}


.domain-search small {
    padding:
        6px 10px;

    border-radius: 100px;

    color:
        #059669;

    background:
        #dcfce7;

    font-size: 9px;
}


.domain-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin:
        18px 0;
}


.domain-info-card {
    padding: 15px;

    border-radius: 14px;

    background:
        #f7faff;
}


.domain-info-card span {
    display: block;

    margin-bottom: 8px;

    color:
        #94a6b8;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;
}


.domain-info-card strong {
    color:
        #315271;

    font-size: 11px;
}


.success-text {
    color:
        #059669 !important;
}


.dns-section {
    padding: 18px;

    border:
        1px solid
        #edf1f6;

    border-radius: 16px;
}


.dns-heading {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 15px;
}


.dns-heading strong {
    color:
        #183d66;

    font-size: 13px;
}


.dns-heading span {
    color:
        #95a7b9;

    font-size: 10px;
}


.dns-row {
    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        10px 0;

    border-bottom:
        1px solid
        #f0f3f6;
}


.dns-row:last-child {
    border-bottom: none;
}


.dns-row > span {
    min-width: 42px;

    padding:
        6px;

    border-radius: 7px;

    text-align: center;

    color: white;

    background:
        #7c3aed;

    font-size: 8px;

    font-weight: 800;
}


.dns-row > span.blue {
    background:
        #2563eb;
}


.dns-row > span.green {
    background:
        #10b981;
}


.dns-row div {
    flex: 1;
}


.dns-row strong {
    display: block;

    color:
        #355473;

    font-size: 10px;
}


.dns-row small {
    display: block;

    margin-top: 3px;

    color:
        #9baabd;

    font-size: 8px;
}


.dns-row b {
    color:
        #059669;

    font-size: 9px;
}


.floating-domain {
    position: absolute;

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        12px 16px;

    border:
        1px solid
        rgba(255, 255, 255, .8);

    border-radius: 13px;

    background:
        rgba(255, 255, 255, .92);

    box-shadow:
        0 20px 45px
        rgba(30, 70, 110, .15);

    color:
        #315271;

    font-size: 11px;

    font-weight: 700;
}


.floating-domain span {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 25px;
    height: 25px;

    border-radius: 8px;

    color: white;

    background:
        #10b981;
}


.domain-one {
    bottom: -20px;

    right: 40px;
}


.domain-two {
    top: 100px;

    left: -45px;
}


.domain-two span {
    background:
        #2563eb;
}


/* =========================================================
   COMMON SECTIONS
========================================================= */

.domain-services,
.domain-types,
.domain-benefits,
.domain-process,
.related-services {
    padding:
        110px 0;
}


.section-heading {
    margin-bottom: 55px;
}


.center-heading {
    max-width: 720px;

    margin:
        0 auto 55px;

    text-align: center;
}


.section-tag {
    display: inline-block;

    margin-bottom: 16px;

    color:
        #2563eb;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.section-heading h2 {
    margin:
        0 0 18px;

    color:
        #0d3159;

    font-size:
        clamp(
            30px,
            4vw,
            48px
        );
}


.section-heading p {
    margin: 0;

    color:
        #617b96;

    line-height: 2;
}


/* =========================================================
   DOMAIN SERVICES
========================================================= */

.domain-services {
    background:
        #ffffff;
}


.domain-services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.domain-service-card {
    padding: 32px;

    border:
        1px solid
        #eaf0f6;

    border-radius: 22px;

    background:
        #f9fcff;

    transition:
        .35s ease;
}


.domain-service-card:hover {
    transform:
        translateY(-8px);

    border-color:
        rgba(37, 99, 235, .2);

    background:
        white;

    box-shadow:
        0 20px 50px
        rgba(20, 70, 120, .1);
}


.service-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 22px;

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #e5efff,
            #dff9ef
        );

    font-size: 25px;
}


.domain-service-card h3 {
    margin:
        0 0 12px;

    color:
        #163d64;

    font-size: 19px;
}


.domain-service-card p {
    margin: 0;

    color:
        #728aa1;

    line-height: 1.9;

    font-size: 14px;
}


/* =========================================================
   DOMAIN TYPES
========================================================= */

.domain-types {
    background:
        #f6fbff;
}


.domain-types-layout {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}


.domain-types-text h2 {
    margin:
        0 0 20px;

    color:
        #10365e;

    font-size:
        clamp(
            30px,
            4vw,
            48px
        );

    line-height: 1.5;
}


.domain-types-text h2 span {
    display: block;

    color:
        #0d9b88;
}


.domain-types-text > p {
    color:
        #66809a;

    line-height: 2;
}


.type-features {
    display: grid;

    gap: 15px;

    margin-top: 30px;
}


.type-features div {
    display: flex;

    align-items: center;

    gap: 10px;

    color:
        #466887;
}


.type-features span {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 25px;
    height: 25px;

    border-radius: 8px;

    color:
        #059669;

    background:
        #dcfce7;

    font-size: 12px;

    font-weight: 900;
}


.extensions-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}


.extension-card {
    padding: 28px;

    border:
        1px solid
        #e7eef5;

    border-radius: 20px;

    text-align: center;

    background:
        white;

    transition:
        .3s ease;
}


.extension-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        0 18px 40px
        rgba(20, 70, 120, .1);
}


.extension-card strong {
    display: block;

    margin-bottom: 10px;

    direction: ltr;

    color:
        #2563eb;

    font-size: 28px;
}


.extension-card span {
    color:
        #8196aa;

    font-size: 12px;
}


.extension-card.featured {
    color: white;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #0ea5a4
        );
}


.extension-card.featured strong,
.extension-card.featured span {
    color: white;
}


.extension-card.iran strong {
    color:
        #059669;
}


/* =========================================================
   BENEFITS
========================================================= */

.domain-benefits {
    background:
        white;
}


.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.benefit-card {
    padding: 30px 24px;

    border:
        1px solid
        #eaf0f6;

    border-radius: 22px;

    background:
        #f9fcff;

    transition:
        .35s ease;
}


.benefit-card:hover {
    transform:
        translateY(-7px);

    background:
        white;

    box-shadow:
        0 20px 50px
        rgba(20, 70, 120, .1);
}


.benefit-card > div {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 56px;
    height: 56px;

    margin-bottom: 20px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #e5efff,
            #dff9ef
        );

    font-size: 25px;
}


.benefit-card h3 {
    margin:
        0 0 10px;

    color:
        #163d64;

    font-size: 18px;
}


.benefit-card p {
    margin: 0;

    color:
        #728aa1;

    line-height: 1.9;

    font-size: 14px;
}


/* =========================================================
   PROCESS
========================================================= */

.domain-process {
    position: relative;

    overflow: hidden;

    background:
        #0e3561;
}


.domain-process .section-heading h2 {
    color: white;
}


.domain-process .section-tag {
    color:
        #67e8c6;
}


.process-wrapper {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}


.process-line {
    position: absolute;

    top: 75px;

    right: 10%;

    width: 80%;

    height: 2px;

    opacity: .45;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #10b981
        );
}


.process-step {
    position: relative;

    z-index: 2;

    text-align: center;
}


.process-step > span {
    display: block;

    margin-bottom: 15px;

    color:
        #5b8ec5;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.step-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 85px;
    height: 85px;

    margin:
        0 auto 20px;

    border:
        8px solid
        #0e3561;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #10b981
        );

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, .18);

    font-size: 27px;
}


.process-step h3 {
    margin:
        0 0 10px;

    color: white;

    font-size: 19px;
}


.process-step p {
    margin: 0;

    color:
        #a9c0d8;

    line-height: 1.9;

    font-size: 14px;
}


/* =========================================================
   RELATED SERVICES
========================================================= */

.related-services {
    background:
        #f6fbff;
}


.related-box {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    overflow: hidden;

    border-radius: 30px;

    background:
        white;

    box-shadow:
        0 25px 70px
        rgba(20, 70, 120, .09);
}


.related-content {
    padding: 65px;
}


.related-content h2 {
    margin:
        0 0 20px;

    color:
        #12395f;

    font-size:
        clamp(
            30px,
            4vw,
            44px
        );

    line-height: 1.5;
}


.related-content > p {
    color:
        #6b849e;

    line-height: 2;
}


.related-list {
    display: grid;

    gap: 14px;

    margin-top: 30px;
}


.related-list div {
    display: flex;

    align-items: center;

    gap: 12px;

    color:
        #375a7a;
}


.related-list span {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 27px;
    height: 27px;

    border-radius: 8px;

    color:
        #059669;

    background:
        #dcfce7;

    font-size: 13px;

    font-weight: 900;
}


.related-visual {
    position: relative;

    min-height: 500px;

    background:
        linear-gradient(
            135deg,
            #1559c5,
            #0d9b88
        );
}


.connection-center {
    position: absolute;

    top: 50%;
    left: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 110px;
    height: 110px;

    border:
        10px solid
        rgba(255, 255, 255, .15);

    border-radius: 50%;

    transform:
        translate(-50%, -50%);

    background:
        rgba(255, 255, 255, .15);

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, .2);

    font-size: 40px;
}


.connection-node {
    position: absolute;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 100px;
    height: 100px;

    border:
        1px solid
        rgba(255, 255, 255, .25);

    border-radius: 20px;

    color: white;

    background:
        rgba(255, 255, 255, .1);

    backdrop-filter:
        blur(10px);

    font-size: 25px;
}


.connection-node span {
    margin-top: 8px;

    font-size: 10px;
}


.node-one {
    top: 15%;
    right: 18%;
}


.node-two {
    bottom: 15%;
    right: 15%;
}


.node-three {
    top: 18%;
    left: 15%;
}


.node-four {
    bottom: 15%;
    left: 18%;
}


/* =========================================================
   CTA
========================================================= */

.domain-cta {
    padding:
        70px 0 110px;

    background:
        #f7fbff;
}


.cta-box {
    position: relative;

    overflow: hidden;

    padding:
        85px 30px;

    border-radius: 32px;

    text-align: center;

    color: white;

    background:
        linear-gradient(
            135deg,
            #0e3f85,
            #0c9d8a
        );

    box-shadow:
        0 30px 70px
        rgba(10, 90, 130, .2);
}


.cta-glow {
    position: absolute;

    width: 400px;
    height: 400px;

    top: -250px;
    left: -100px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .12);

    filter:
        blur(10px);
}


.cta-content {
    position: relative;

    z-index: 2;
}


.cta-content > span {
    color:
        #77f5d0;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}


.cta-content h2 {
    margin:
        20px 0 15px;

    font-size:
        clamp(
            30px,
            4vw,
            48px
        );
}


.cta-content p {
    max-width: 600px;

    margin:
        auto;

    color:
        #d3edf2;

    line-height: 2;
}


.cta-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 30px;

    padding:
        15px 28px;

    border-radius: 14px;

    color:
        #0d5f76;

    background:
        white;

    font-weight: 800;

    text-decoration: none;

    transition:
        .3s ease;
}


.cta-button:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 15px 30px
        rgba(0, 0, 0, .15);
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}


.reveal.show {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {


    .domain-hero-content {
        grid-template-columns:
            1fr;

        gap: 60px;
    }


    .domain-hero-text {
        max-width: 750px;
    }


    .domain-hero-visual {
        width: 100%;

        max-width: 700px;

        margin: auto;
    }


    .domain-types-layout {
        grid-template-columns:
            1fr;

        gap: 50px;
    }


    .domain-types-text {
        max-width: 700px;
    }


    .benefits-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .related-box {
        grid-template-columns:
            1fr;
    }


}


@media (max-width: 850px) {


    .domain-hero {
        padding:
            130px 0 80px;
    }


    .domain-services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .process-wrapper {
        grid-template-columns:
            repeat(2, 1fr);

        gap:
            50px 30px;
    }


    .process-line {
        display: none;
    }


}


@media (max-width: 650px) {


    .domain-hero,
    .domain-services,
    .domain-types,
    .domain-benefits,
    .domain-process,
    .related-services {
        padding:
            75px 0;
    }


    .domain-hero {
        padding-top:
            120px;
    }


    .hero-actions {
        flex-direction:
            column;

        align-items:
            stretch;
    }


    .primary-button,
    .secondary-button {
        width: 100%;
    }


    .hero-mini-features {
        flex-direction:
            column;
    }


    .domain-info-grid {
        grid-template-columns:
            1fr;
    }


    .domain-services-grid {
        grid-template-columns:
            1fr;
    }


    .extensions-grid {
        grid-template-columns:
            1fr;
    }


    .benefits-grid {
        grid-template-columns:
            1fr;
    }


    .process-wrapper {
        grid-template-columns:
            1fr;
    }


    .related-content {
        padding:
            40px 25px;
    }


    .related-visual {
        min-height:
            430px;
    }


    .connection-node {
        width: 80px;
        height: 80px;

        font-size: 20px;
    }


    .connection-node span {
        font-size: 8px;
    }


    .node-one {
        top: 10%;
        right: 10%;
    }


    .node-two {
        bottom: 10%;
        right: 10%;
    }


    .node-three {
        top: 10%;
        left: 10%;
    }


    .node-four {
        bottom: 10%;
        left: 10%;
    }


    .floating-domain {
        display: none;
    }


    .domain-cta {
        padding:
            60px 0 80px;
    }


    .cta-box {
        padding:
            60px 20px;
    }


}


@media (max-width: 420px) {


    .domain-window-top {
        padding:
            15px;
    }


    .domain-dashboard-body {
        padding:
            15px;
    }


    .domain-search {
        flex-wrap:
            wrap;
    }


    .dns-row b {
        display: none;
    }


}