/* --- VARIABLES --- */
:root {
    --bg-deep: #0b0d17;
    --orange: #ff7b00;
    --orange-glow: rgba(255, 123, 0, 0.5);
    --blue: #00d4ff;
    --panel-bg: #15192b;
    --text-white: #f0f0f0;
    --text-gray: #8f9bb3;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* FONTS */
.font-mono { font-family: 'Roboto Mono', monospace; }

/* --- NETWORK BACKGROUND --- */
.network-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 123, 0, 0.08), transparent 25%), 
        radial-gradient(circle at 85% 30%, rgba(0, 212, 255, 0.05), transparent 25%);
    z-index: -2;
}
.particles {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--text-gray) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: -1;
}

/* --- UTILS --- */
.text-orange { color: var(--orange); text-shadow: 0 0 15px var(--orange-glow); }
.text-blue { color: var(--blue); }
.text-gray { color: var(--text-gray); }

.bg-dark-glass { background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); }
.bg-darker-panel { background: #080a12; }
.border-y-orange { border-top: 1px solid rgba(255,123,0,0.3); border-bottom: 1px solid rgba(255,123,0,0.3); }
.border-end-orange { border-right: 1px solid rgba(255,123,0,0.3); }
.border-orange { border: 1px solid var(--orange); }

@media (max-width: 768px) { .border-end-orange { border-right: none; border-bottom: 1px solid rgba(255,123,0,0.3); padding-bottom: 20px; } }

/* --- HERO --- */
.api-hero { padding: 80px 0; min-height: 90vh; display: flex; align-items: center; }
.badge-api { border: 1px solid var(--orange); color: var(--orange); display: inline-block; padding: 5px 20px; border-radius: 4px; font-family: 'Roboto Mono'; text-transform: uppercase; margin-bottom: 20px; font-size: 0.8rem; background: rgba(255,123,0,0.1); }

.btn-orange {
    background: var(--orange); color: #000; padding: 15px 40px; font-weight: 800; text-decoration: none; border-radius: 4px; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.btn-orange:hover { background: #ff9100; box-shadow: 0 0 30px var(--orange-glow); transform: translateY(-2px); color: black; }

/* --- 3D NODE ANIMATION --- */
.api-node-container { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.center-node {
    width: 80px; height: 80px; background: var(--orange); border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #000; box-shadow: 0 0 50px var(--orange-glow); z-index: 2;
}
.satellite {
    width: 50px; height: 50px; background: #222; border: 1px solid var(--orange); border-radius: 50%; position: absolute;
    display: flex; align-items: center; justify-content: center; color: var(--text-white); font-size: 1.2rem;
    animation: orbit 6s linear infinite;
}
.sat-1 { top: 0; left: 50%; animation-delay: 0s; transform-origin: 0 150px; }
.sat-2 { top: 50%; left: 100%; animation-delay: -2s; transform-origin: -150px 0; }
.sat-3 { top: 100%; left: 50%; animation-delay: -4s; transform-origin: 0 -150px; }

.connection-rings {
    width: 100%; height: 100%; border: 1px dashed rgba(255,123,0,0.3); border-radius: 50%; position: absolute; top: 0; left: 0; animation: spin 20s linear infinite;
}

@keyframes orbit { from { transform: rotate(0deg) translateX(120px) rotate(0deg); } to { transform: rotate(360deg) translateX(120px) rotate(-360deg); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- POSTMAN UI --- */
.postman-ui { background: #1e1e1e; border-radius: 8px; overflow: hidden; max-width: 800px; margin: 0 auto; border: 1px solid #333; }
.ui-header { background: #2d2d2d; padding: 8px 15px; display: flex; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.bg-code { background: #111; color: #d4d4d4; font-family: 'Roboto Mono'; min-height: 250px; }
.json-display { white-space: pre-wrap; color: #a2f; }

/* JSON Colors */
.j-key { color: #4ec9b0; } .j-string { color: #ce9178; } .j-num { color: #b5cea8; } .j-bool { color: #569cd6; }

/* --- DIAGRAMS --- */
.flow-diagram { display: flex; justify-content: space-between; align-items: center; text-align: center; }
.flow-step { background: #222; padding: 15px; border-radius: 8px; border: 1px solid #444; width: 80px; }
.flow-arrow { font-size: 1.5rem; }
.tiny { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 1px; }

/* --- CARDS --- */
.data-card { background: rgba(255,255,255,0.05); padding: 20px; border-radius: 8px; border-left: 4px solid var(--orange); }
.icon-pulse { font-size: 1.5rem; color: var(--orange); margin-right: 15px; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }

.tool-icon-box { background: var(--panel-bg); padding: 30px; border-radius: 8px; transition: 0.3s; height: 100%; border: 1px solid transparent; }
.tool-icon-box:hover { border-color: var(--orange); transform: translateY(-5px); }

.outcome-pill { background: rgba(255,255,255,0.05); padding: 10px 15px; border-radius: 4px; border: 1px solid #333; font-size: 0.9rem; }