/* =========================================================
   PHASE 15 — CTA SECTION
   Shivanya Tech Premium CTA
   ========================================================= */

.cs-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 130px 0 120px;
    background:
        radial-gradient(circle at 50% 45%,
            rgba(0, 217, 255, 0.08),
            transparent 32%),
        #080808;
    color: var(--cs-white, #f5f5f5);
}

/* =========================================================
   BACKGROUND
   ========================================================= */

.cs-cta-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.cs-cta-grid {
    position: absolute;
    inset: 0;
    opacity: 0.22;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
}

/* =========================================================
   GLOWS
   ========================================================= */

.cs-cta-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.16;
}

.cs-cta-glow-1 {
    top: -260px;
    left: -180px;
    background: var(--cs-primary, #00d9ff);
}

.cs-cta-glow-2 {
    right: -220px;
    bottom: -300px;
    background: var(--cs-warning, #f8a51b);
}

/* =========================================================
   CONTENT
   ========================================================= */

.cs-cta-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* =========================================================
   EYEBROW
   ========================================================= */

.cs-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-bottom: 24px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: rgba(245, 245, 245, 0.58);
}

.cs-cta-eyebrow-line {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--cs-primary, #00d9ff);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.7);
}

/* =========================================================
   TITLE
   ========================================================= */

.cs-cta-title {
    margin: 0;

    font-family: var(
        --cs-heading-font,
        var(--cs-font-heading, inherit)
    );

    font-size: clamp(48px, 6vw, 88px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.045em;

    color: var(--cs-white, #f5f5f5);
}

.cs-cta-title span {
    display: block;

    background: linear-gradient(
        90deg,
        var(--cs-primary, #00d9ff),
        #ffffff 48%,
        var(--cs-warning, #f8a51b)
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* =========================================================
   DESCRIPTION
   ========================================================= */

.cs-cta-description {
    max-width: 700px;
    margin: 28px auto 0;

    font-size: 17px;
    line-height: 1.8;
    font-weight: 400;

    color: rgba(245, 245, 245, 0.62);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.cs-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 38px;
}

.cs-cta-btn {
    min-width: 175px;
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 24px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

/* Primary */

.cs-cta .cs-btn-primary {
    background: var(--cs-primary, #00d9ff);
    /* color: #050505; */
    border: 1px solid var(--cs-primary, #00d9ff);
}

.cs-cta .cs-btn-primary:hover {
    /* color: #050505; */
    transform: translateY(-3px);

    box-shadow:
        0 12px 35px rgba(0, 217, 255, 0.22),
        0 0 25px rgba(0, 217, 255, 0.12);
}

.cs-cta .cs-btn-primary i {
    transition: transform 0.3s ease;
}

.cs-cta .cs-btn-primary:hover i {
    transform: translate(3px, -3px);
}

/* Outline */

.cs-cta .cs-btn-outline {
    background: rgba(255, 255, 255, 0.025);
    color: var(--cs-white, #f5f5f5);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.cs-cta .cs-btn-outline:hover {
    color: var(--cs-white, #f5f5f5);
    border-color: rgba(0, 217, 255, 0.55);
    background: rgba(0, 217, 255, 0.06);

    transform: translateY(-3px);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   TRUST LINE
   ========================================================= */

.cs-cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;

    margin-top: 48px;
}

.cs-cta-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: rgba(245, 245, 245, 0.45);
}

.cs-cta-trust-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;

    background: var(--cs-primary, #00d9ff);

    box-shadow:
        0 0 10px rgba(0, 217, 255, 0.7);
}

/* =========================================================
   DECORATIVE CORE
   ========================================================= */

.cs-cta-core {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 620px;
    height: 620px;

    transform: translate(-50%, -50%);
    z-index: 1;

    pointer-events: none;
    opacity: 0.45;
}

.cs-cta-core-ring {
    position: absolute;
    top: 50%;
    left: 50%;

    border: 1px solid rgba(0, 217, 255, 0.08);
    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.cs-cta-core-ring-1 {
    width: 430px;
    height: 430px;
}

.cs-cta-core-ring-2 {
    width: 570px;
    height: 570px;

    border-color: rgba(248, 165, 27, 0.06);
}

/* Core center */

.cs-cta-core-center {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(0, 217, 255, 0.15);
    border-radius: 50%;

    background: rgba(0, 217, 255, 0.025);

    box-shadow:
        0 0 50px rgba(0, 217, 255, 0.08),
        inset 0 0 30px rgba(0, 217, 255, 0.04);
}

.cs-cta-core-center span {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.08em;

    color: rgba(245, 245, 245, 0.15);
}

/* =========================================================
   ORBITS
   ========================================================= */

.cs-cta-orbit {
    position: absolute;
    top: 50%;
    left: 50%;

    border: 1px dashed rgba(255, 255, 255, 0.06);
    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.cs-cta-orbit-1 {
    width: 760px;
    height: 300px;
    transform:
        translate(-50%, -50%)
        rotate(-12deg);
}

.cs-cta-orbit-2 {
    width: 850px;
    height: 380px;
    transform:
        translate(-50%, -50%)
        rotate(18deg);
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.cs-cta-btn:focus-visible {
    outline: 2px solid var(--cs-primary, #00d9ff);
    outline-offset: 4px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .cs-cta {
        padding: 105px 0 95px;
    }

    .cs-cta-title {
        font-size: clamp(44px, 8vw, 68px);
    }

    .cs-cta-description {
        font-size: 16px;
        max-width: 600px;
    }

    .cs-cta-core {
        width: 500px;
        height: 500px;
    }

    .cs-cta-core-ring-1 {
        width: 350px;
        height: 350px;
    }

    .cs-cta-core-ring-2 {
        width: 460px;
        height: 460px;
    }

    .cs-cta-orbit-1 {
        width: 600px;
    }

    .cs-cta-orbit-2 {
        width: 700px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .cs-cta {
        padding: 85px 0 78px;
    }

    .cs-cta-grid {
        background-size: 38px 38px;
    }

    .cs-cta-eyebrow {
        margin-bottom: 18px;
        font-size: 9px;
        letter-spacing: 0.14em;
    }

    .cs-cta-eyebrow-line {
        width: 22px;
    }

    .cs-cta-title {
        font-size: clamp(40px, 12vw, 58px);
        line-height: 1;
        letter-spacing: -0.04em;
    }

    .cs-cta-description {
        margin-top: 22px;
        font-size: 14px;
        line-height: 1.7;
    }

    .cs-cta-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 30px;
    }

    .cs-cta-btn {
        width: 100%;
        max-width: 290px;
        min-height: 52px;
    }

    .cs-cta-trust {
        gap: 16px 22px;
        margin-top: 35px;
    }

    .cs-cta-trust-item {
        font-size: 9px;
        letter-spacing: 0.08em;
    }

    .cs-cta-core {
        width: 380px;
        height: 380px;
        opacity: 0.3;
    }

    .cs-cta-core-ring-1 {
        width: 270px;
        height: 270px;
    }

    .cs-cta-core-ring-2 {
        width: 340px;
        height: 340px;
    }

    .cs-cta-core-center {
        width: 70px;
        height: 70px;
    }

    .cs-cta-core-center span {
        font-size: 14px;
    }

    .cs-cta-orbit {
        display: none;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .cs-cta {
        padding: 72px 0 68px;
    }

    .cs-cta-title {
        font-size: 39px;
    }

    .cs-cta-description {
        padding: 0 8px;
    }

    .cs-cta-trust {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cs-cta *,
    .cs-cta *::before,
    .cs-cta *::after {
        transition: none !important;
        animation: none !important;
    }
}