   
/* ========================================
   CODE BOX
======================================== */

.code-box {
    color: #e5e7eb;
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    margin: 0;
    box-shadow: 0 0 20px rgba(140, 135, 135, 0.5);
}

.keyword {
    color: #38bdf8;
}

.string {
    color: #22c55e;
}

.comment {
    color: #94a3b8;
}

.copy_btn {
    background: unset;
    padding: 3px 10px;
    font-size: 15px;
    border: 1px solid #ffffff7d;
    border-radius: 5px;
    color: #fff;
}

.copy_btn:hover {
    color: #22c55e;
    border-color: #22c55e;
}


/* ========================================
   PREMIUM 3D GAME API SCENE
======================================== */

.hero-visual-wrapper {
    --neon-blue: #38bdf8;
    --neon-purple: #818cf8;
    --neon-green: #10b981;

    position: relative;
    width: 100%;
    height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: visible;
    isolation: isolate;
}

.scene-3d {
    position: relative;
    width: min(370px, calc(100vw - 50px));
    aspect-ratio: 1;
    transform-style: preserve-3d;
    transform: rotateX(0deg) rotateY(0deg);
    will-change: transform;
    transition: transform 0.15s ease-out;
}


/* ========================================
   BACKGROUND GLOW
======================================== */

.scene-glow {
    position: absolute;
    inset: 5%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,.15), rgba(99,102,241,.08) 45%, transparent 72%);
    filter: blur(20px);
    animation: glowBreathing 5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes glowBreathing {
    from {
        opacity: .5;
        transform: scale(.85);
    }
    to {
        opacity: 1;
        transform: scale(1.15);
    }
}


/* ========================================
   ORBITAL RINGS
======================================== */

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    transform-style: preserve-3d;
}

.orbit-ring-inner {
    inset: 5%;
    border: 1px dashed rgba(56,189,248,.35);
    animation: orbitRotate 35s linear infinite;
}

.orbit-ring-middle {
    inset: -5%;
    border: 1px solid rgba(129,140,248,.2);
    transform: rotateX(65deg);
    animation: orbitMiddle 25s linear infinite;
}

.orbit-ring-outer {
    inset: -12%;
    border: 1px dashed rgba(56,189,248,.17);
    transform: rotateY(65deg);
    animation: orbitOuter 45s linear infinite;
}

@keyframes orbitRotate {
    to {
        transform: rotateZ(360deg);
    }
}

@keyframes orbitMiddle {
    to {
        transform: rotateX(65deg) rotateZ(360deg);
    }
}

@keyframes orbitOuter {
    from {
        transform: rotateY(65deg) rotateZ(360deg);
    }
    to {
        transform: rotateY(65deg) rotateZ(0deg);
    }
}


/* ========================================
   SVG CONNECTIONS
======================================== */

.connections-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 3;
}

.connection-line {
    fill: none;
    stroke: url(#connectionGradient);
    stroke-width: 1.4;
    stroke-dasharray: 5 7;
    animation: connectionFlow 12s linear infinite;
}

.connection-line-glow {
    fill: none;
    stroke: rgba(56,189,248,.13);
    stroke-width: 5;
    filter: blur(3px);
}

@keyframes connectionFlow {
    to {
        stroke-dashoffset: -240;
    }
}


/* ========================================
   CENTRAL API CORE
======================================== */

.api-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    transform: translate(-50%, -50%) translateZ(45px);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(30,41,59,.96), rgba(7,15,31,.97));
    border: 1px solid rgba(56,189,248,.55);
    box-shadow:
        0 0 25px rgba(56,189,248,.22),
        0 0 65px rgba(56,189,248,.18),
        inset 0 0 30px rgba(99,102,241,.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: coreFloat 5s ease-in-out infinite;
}

.api-core::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 34px;
    border: 1px solid rgba(56,189,248,.25);
    animation: coreBorder 4s linear infinite;
    pointer-events: none;
}

@keyframes coreBorder {
    0%, 100% {
        opacity: .3;
        transform: scale(1);
    }
    50% {
        opacity: .8;
        transform: scale(1.04);
    }
}

@keyframes coreFloat {
    0%, 100% {
        margin-top: 0;
    }
    50% {
        margin-top: -9px;
    }
}


/* ========================================
   CORE ICON
======================================== */

.core-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(56,189,248,.12);
    border: 1px solid rgba(56,189,248,.3);
    margin-bottom: 8px;
    box-shadow: 0 0 20px rgba(56,189,248,.15);
}

.core-icon i {
    font-size: 23px;
    color: var(--neon-blue);
    filter: drop-shadow(0 0 8px rgba(56,189,248,.8));
}

.api-core-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

.api-core-subtitle {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--neon-blue);
    margin-top: 2px;
}

.core-status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    font-size: 7px;
    letter-spacing: 1px;
    color: #a5f3fc;
}

.core-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 9px #10b981;
    animation: statusBlink 1.5s infinite;
}

@keyframes statusBlink {
    50% {
        opacity: .35;
    }
}


/* ========================================
   CORE PULSE
======================================== */

.core-pulse-wave {
    position: absolute;
    inset: -15px;
    border: 1px solid rgba(56,189,248,.5);
    border-radius: 38px;
    animation: corePulse 3s ease-out infinite;
    pointer-events: none;
}

.core-pulse-delay {
    animation-delay: 1.5s;
}

@keyframes corePulse {
    0% {
        transform: scale(.9);
        opacity: .7;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}


/* ========================================
   SATELLITE GLASS CARDS
   Dynamic Position: JavaScript Controlled
======================================== */


.satellite-card {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    margin: 0;

    transform: translate(
        calc(-50% + var(--sat-x, 0px)),
        calc(-50% + var(--sat-y, 0px))
    );

    min-width: 110px;
    padding: 10px 12px;

    display: flex;
    align-items: center;
    gap: 9px;

    border-radius: 13px;
    background: linear-gradient(135deg, rgba(17,30,54,.88), rgba(12,20,39,.78));
    border: 1px solid rgba(148,163,184,.2);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        0 8px 25px rgba(0,0,0,.3),
        inset 0 1px 0 rgba(255,255,255,.07);

    color: #fff;
    z-index: 5;
    cursor: pointer;

    transform-style: preserve-3d;
    will-change: transform;

    transition:
        border-color .3s,
        box-shadow .3s,
        background .3s;

    animation: satelliteFloat 5s ease-in-out infinite;
}

.satellite-card:hover {
    border-color: rgba(56,189,248,.8);
    background: rgba(18,39,68,.96);

    box-shadow:
        0 10px 35px rgba(56,189,248,.22),
        inset 0 0 20px rgba(56,189,248,.08);

    transform: translate(
        calc(-50% + var(--sat-x, 0px)),
        calc(-50% + var(--sat-y, 0px))
    ) scale(1.06) translateZ(30px);

    z-index: 15;
}

@keyframes satelliteFloat {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -8px;
    }
}



/* ========================================
   SATELLITE ICONS
======================================== */

.sat-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    font-size: 15px;
    transform: translateZ(15px);
}

.sat-icon-sports {
    color: #10b981;
}

.sat-icon-casino {
    color: #f59e0b;
}

.sat-icon-payment {
    color: #c084fc;
}

.sat-icon-otp {
    color: #f472b6;
}

.sat-icon-sms {
    color: #38bdf8;
}

.sat-icon-saas {
    color: #60a5fa;
}


/* ========================================
   SATELLITE TEXT
======================================== */

.sat-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    white-space: nowrap;
}

.sat-info span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
}

.sat-info small {
    font-size: 8px;
    color: #94a3b8;
}


/* ========================================
   SATELLITE STATUS
======================================== */

.sat-status {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}


/* ========================================
   DECORATIVE PARTICLES
======================================== */

.scene-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 12px 3px rgba(56,189,248,.5);
    pointer-events: none;
    z-index: 4;
    animation: particleFloat 4s ease-in-out infinite;
}

.particle-1 {
    top: 15%;
    left: 45%;
}

.particle-2 {
    top: 65%;
    left: 20%;
    animation-delay: .7s;
}

.particle-3 {
    top: 25%;
    right: 15%;
    animation-delay: 1.2s;
}

.particle-4 {
    bottom: 12%;
    right: 35%;
    animation-delay: 2s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(.7);
        opacity: .4;
    }
    50% {
        transform: translateY(-18px) scale(1.3);
        opacity: 1;
    }
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 991px) {
    .hero-visual-wrapper {
        height: 420px;
    }

    .scene-3d {
        width: min(340px, calc(100vw - 60px));
    }

    .satellite-card {
        min-width: 85px;
        padding: 8px 9px;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {
    .hero-visual-wrapper {
        height: 350px;
        margin: 10px auto;
    }

    .scene-3d {
        width: min(280px, calc(100vw - 80px));
    }

    .api-core {
        width: 85px;
        height: 85px;
        border-radius: 22px;
    }

    .core-icon {
        width: 25px;
        height: 25px;
        border-radius: 9px;
        margin-bottom: 4px;
    }

    .core-icon i {
        font-size: 16px;
    }

    .api-core-title {
        font-size: 10px;
    }

    .api-core-subtitle {
        font-size: 7px;
    }

    .core-status {
        font-size: 6px;
        margin-top: 5px;
    }

    .satellite-card {
        min-width: 85px;
        padding: 6px 7px;
        gap: 6px;
        border-radius: 9px;
    }

    .sat-icon {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 12px;
        border-radius: 7px;
    }

    .sat-info span {
        font-size: 8px;
    }

    .sat-info small {
        font-size: 6px;
    }

    .sat-status {
        width: 4px;
        height: 4px;
        top: 5px;
        right: 5px;
    }

    .orbit-ring-outer {
        inset: -5%;
    }

    .particle-1,
    .particle-2,
    .particle-3,
    .particle-4 {
        display: none;
    }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 360px) {
    .hero-visual-wrapper {
        height: 310px;
    }

    .scene-3d {
        width: 300px;
    }

    .satellite-card {
        min-width: 50px;
        padding: 5px;
        gap: 4px;
    }

    .sat-info span {
        font-size: 10px;
    }

    .sat-info small {
        font-size: 9px;
    }

    .sat-icon {
        width: 23px;
        height: 23px;
        min-width: 23px;
        font-size: 10px;
    }
}


/* ========================================
   REDUCED MOTION ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {
    .scene-3d,
    .orbit-ring,
    .api-core,
    .core-pulse-wave,
    .satellite-card,
    .scene-particle,
    .scene-glow,
    .connection-line {
        animation: none !important;
        transition: none !important;
    }
}
.faq-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.faq-hero__meta span {
	cursor: pointer;
	padding: 8px 10px;
	border-radius: 8px;
	color: #94a3b8;
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.1);
	transition: all .3s ease;
	font-size: 12px;
	font-weight: bold;
}
.faq-hero__meta span:hover, .faq-hero__meta span.active {
	color: #fff;
	background: linear-gradient(135deg, #6b85be, #8c66cd);
	border-color: transparent;
	box-shadow: 0 4px 15px rgba(37,99,235,.3);
}
.api-tab-content {
    display: none;
    animation: tabFade .35s ease;
}

.api-tab-content.active {
    display: block;
}

@keyframes tabFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.satellite-card.active {
    border-color: #38bdf8;
    background: linear-gradient(135deg, rgba(37,99,235,.35), rgba(12,20,39,.95));
    box-shadow:
        0 0 15px rgba(56,189,248,.35),
        0 0 35px rgba(56,189,248,.2),
        inset 0 0 15px rgba(56,189,248,.12);
}
.satellite-card.active .sat-icon::before {
	content: "✓";
	position: absolute;
	top: -15px;
	right: 8px;
	font-size: 20px;
	font-weight: 900;
	color: #10bc12;
	text-shadow: 0 0 8px #38bdf8;
}
.satellite-card.active .sat-info span {
    color: #38bdf8;
}

.satellite-card.active .sat-icon {
    background: rgba(56,189,248,.15);
    box-shadow: 0 0 12px rgba(56,189,248,.2);
}